include/SDL_opengl_glext.h
author Jørgen P. Tjernø <jorgen@uberent.com>
Wed, 04 Jun 2014 01:21:00 -0700
changeset 8805 a5c009ff64d7
child 8807 20294e387cab
permissions -rw-r--r--
SDL_opengl: Move glext.h to a separate file.
jorgen@8805
     1
#ifndef __glext_h_
jorgen@8805
     2
#define __glext_h_
jorgen@8805
     3
jorgen@8805
     4
#ifdef __cplusplus
jorgen@8805
     5
extern "C" {
jorgen@8805
     6
#endif
jorgen@8805
     7
jorgen@8805
     8
/*
jorgen@8805
     9
** Copyright (c) 2007-2010 The Khronos Group Inc.
jorgen@8805
    10
**
jorgen@8805
    11
** Permission is hereby granted, free of charge, to any person obtaining a
jorgen@8805
    12
** copy of this software and/or associated documentation files (the
jorgen@8805
    13
** "Materials"), to deal in the Materials without restriction, including
jorgen@8805
    14
** without limitation the rights to use, copy, modify, merge, publish,
jorgen@8805
    15
** distribute, sublicense, and/or sell copies of the Materials, and to
jorgen@8805
    16
** permit persons to whom the Materials are furnished to do so, subject to
jorgen@8805
    17
** the following conditions:
jorgen@8805
    18
**
jorgen@8805
    19
** The above copyright notice and this permission notice shall be included
jorgen@8805
    20
** in all copies or substantial portions of the Materials.
jorgen@8805
    21
**
jorgen@8805
    22
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
jorgen@8805
    23
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
jorgen@8805
    24
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
jorgen@8805
    25
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
jorgen@8805
    26
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
jorgen@8805
    27
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
jorgen@8805
    28
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
jorgen@8805
    29
*/
jorgen@8805
    30
jorgen@8805
    31
/* Header file version number, required by OpenGL ABI for Linux */
jorgen@8805
    32
/* glext.h last updated $Date: 2010-08-03 01:30:25 -0700 (Tue, 03 Aug 2010) $ */
jorgen@8805
    33
/* Current version at http://www.opengl.org/registry/ */
jorgen@8805
    34
#define GL_GLEXT_VERSION 64
jorgen@8805
    35
/* Function declaration macros - to move into glplatform.h */
jorgen@8805
    36
jorgen@8805
    37
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
jorgen@8805
    38
#define WIN32_LEAN_AND_MEAN 1
jorgen@8805
    39
#include <windows.h>
jorgen@8805
    40
#endif
jorgen@8805
    41
jorgen@8805
    42
#ifndef APIENTRY
jorgen@8805
    43
#define APIENTRY
jorgen@8805
    44
#endif
jorgen@8805
    45
#ifndef APIENTRYP
jorgen@8805
    46
#define APIENTRYP APIENTRY *
jorgen@8805
    47
#endif
jorgen@8805
    48
#ifndef GLAPI
jorgen@8805
    49
#define GLAPI extern
jorgen@8805
    50
#endif
jorgen@8805
    51
jorgen@8805
    52
/*************************************************************/
jorgen@8805
    53
jorgen@8805
    54
#ifndef GL_VERSION_1_2
jorgen@8805
    55
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
jorgen@8805
    56
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
jorgen@8805
    57
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
jorgen@8805
    58
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
jorgen@8805
    59
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
jorgen@8805
    60
#define GL_TEXTURE_BINDING_3D             0x806A
jorgen@8805
    61
#define GL_PACK_SKIP_IMAGES               0x806B
jorgen@8805
    62
#define GL_PACK_IMAGE_HEIGHT              0x806C
jorgen@8805
    63
#define GL_UNPACK_SKIP_IMAGES             0x806D
jorgen@8805
    64
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
jorgen@8805
    65
#define GL_TEXTURE_3D                     0x806F
jorgen@8805
    66
#define GL_PROXY_TEXTURE_3D               0x8070
jorgen@8805
    67
#define GL_TEXTURE_DEPTH                  0x8071
jorgen@8805
    68
#define GL_TEXTURE_WRAP_R                 0x8072
jorgen@8805
    69
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
jorgen@8805
    70
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
jorgen@8805
    71
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
jorgen@8805
    72
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
jorgen@8805
    73
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
jorgen@8805
    74
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
jorgen@8805
    75
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
jorgen@8805
    76
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
jorgen@8805
    77
#define GL_BGR                            0x80E0
jorgen@8805
    78
#define GL_BGRA                           0x80E1
jorgen@8805
    79
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
jorgen@8805
    80
#define GL_MAX_ELEMENTS_INDICES           0x80E9
jorgen@8805
    81
#define GL_CLAMP_TO_EDGE                  0x812F
jorgen@8805
    82
#define GL_TEXTURE_MIN_LOD                0x813A
jorgen@8805
    83
#define GL_TEXTURE_MAX_LOD                0x813B
jorgen@8805
    84
#define GL_TEXTURE_BASE_LEVEL             0x813C
jorgen@8805
    85
#define GL_TEXTURE_MAX_LEVEL              0x813D
jorgen@8805
    86
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
jorgen@8805
    87
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
jorgen@8805
    88
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
jorgen@8805
    89
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
jorgen@8805
    90
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
jorgen@8805
    91
#endif
jorgen@8805
    92
jorgen@8805
    93
#ifndef GL_VERSION_1_2_DEPRECATED
jorgen@8805
    94
#define GL_RESCALE_NORMAL                 0x803A
jorgen@8805
    95
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
jorgen@8805
    96
#define GL_SINGLE_COLOR                   0x81F9
jorgen@8805
    97
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
jorgen@8805
    98
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
jorgen@8805
    99
#endif
jorgen@8805
   100
jorgen@8805
   101
#ifndef GL_ARB_imaging
jorgen@8805
   102
#define GL_CONSTANT_COLOR                 0x8001
jorgen@8805
   103
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
jorgen@8805
   104
#define GL_CONSTANT_ALPHA                 0x8003
jorgen@8805
   105
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
jorgen@8805
   106
#define GL_BLEND_COLOR                    0x8005
jorgen@8805
   107
#define GL_FUNC_ADD                       0x8006
jorgen@8805
   108
#define GL_MIN                            0x8007
jorgen@8805
   109
#define GL_MAX                            0x8008
jorgen@8805
   110
#define GL_BLEND_EQUATION                 0x8009
jorgen@8805
   111
#define GL_FUNC_SUBTRACT                  0x800A
jorgen@8805
   112
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
jorgen@8805
   113
#endif
jorgen@8805
   114
jorgen@8805
   115
#ifndef GL_ARB_imaging_DEPRECATED
jorgen@8805
   116
#define GL_CONVOLUTION_1D                 0x8010
jorgen@8805
   117
#define GL_CONVOLUTION_2D                 0x8011
jorgen@8805
   118
#define GL_SEPARABLE_2D                   0x8012
jorgen@8805
   119
#define GL_CONVOLUTION_BORDER_MODE        0x8013
jorgen@8805
   120
#define GL_CONVOLUTION_FILTER_SCALE       0x8014
jorgen@8805
   121
#define GL_CONVOLUTION_FILTER_BIAS        0x8015
jorgen@8805
   122
#define GL_REDUCE                         0x8016
jorgen@8805
   123
#define GL_CONVOLUTION_FORMAT             0x8017
jorgen@8805
   124
#define GL_CONVOLUTION_WIDTH              0x8018
jorgen@8805
   125
#define GL_CONVOLUTION_HEIGHT             0x8019
jorgen@8805
   126
#define GL_MAX_CONVOLUTION_WIDTH          0x801A
jorgen@8805
   127
#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
jorgen@8805
   128
#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
jorgen@8805
   129
#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
jorgen@8805
   130
#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
jorgen@8805
   131
#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
jorgen@8805
   132
#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
jorgen@8805
   133
#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
jorgen@8805
   134
#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
jorgen@8805
   135
#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
jorgen@8805
   136
#define GL_HISTOGRAM                      0x8024
jorgen@8805
   137
#define GL_PROXY_HISTOGRAM                0x8025
jorgen@8805
   138
#define GL_HISTOGRAM_WIDTH                0x8026
jorgen@8805
   139
#define GL_HISTOGRAM_FORMAT               0x8027
jorgen@8805
   140
#define GL_HISTOGRAM_RED_SIZE             0x8028
jorgen@8805
   141
#define GL_HISTOGRAM_GREEN_SIZE           0x8029
jorgen@8805
   142
#define GL_HISTOGRAM_BLUE_SIZE            0x802A
jorgen@8805
   143
#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
jorgen@8805
   144
#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
jorgen@8805
   145
#define GL_HISTOGRAM_SINK                 0x802D
jorgen@8805
   146
#define GL_MINMAX                         0x802E
jorgen@8805
   147
#define GL_MINMAX_FORMAT                  0x802F
jorgen@8805
   148
#define GL_MINMAX_SINK                    0x8030
jorgen@8805
   149
#define GL_TABLE_TOO_LARGE                0x8031
jorgen@8805
   150
#define GL_COLOR_MATRIX                   0x80B1
jorgen@8805
   151
#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
jorgen@8805
   152
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
jorgen@8805
   153
#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
jorgen@8805
   154
#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
jorgen@8805
   155
#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
jorgen@8805
   156
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
jorgen@8805
   157
#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
jorgen@8805
   158
#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
jorgen@8805
   159
#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
jorgen@8805
   160
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
jorgen@8805
   161
#define GL_COLOR_TABLE                    0x80D0
jorgen@8805
   162
#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
jorgen@8805
   163
#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
jorgen@8805
   164
#define GL_PROXY_COLOR_TABLE              0x80D3
jorgen@8805
   165
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
jorgen@8805
   166
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
jorgen@8805
   167
#define GL_COLOR_TABLE_SCALE              0x80D6
jorgen@8805
   168
#define GL_COLOR_TABLE_BIAS               0x80D7
jorgen@8805
   169
#define GL_COLOR_TABLE_FORMAT             0x80D8
jorgen@8805
   170
#define GL_COLOR_TABLE_WIDTH              0x80D9
jorgen@8805
   171
#define GL_COLOR_TABLE_RED_SIZE           0x80DA
jorgen@8805
   172
#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
jorgen@8805
   173
#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
jorgen@8805
   174
#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
jorgen@8805
   175
#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
jorgen@8805
   176
#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
jorgen@8805
   177
#define GL_CONSTANT_BORDER                0x8151
jorgen@8805
   178
#define GL_REPLICATE_BORDER               0x8153
jorgen@8805
   179
#define GL_CONVOLUTION_BORDER_COLOR       0x8154
jorgen@8805
   180
#endif
jorgen@8805
   181
jorgen@8805
   182
#ifndef GL_VERSION_1_3
jorgen@8805
   183
#define GL_TEXTURE0                       0x84C0
jorgen@8805
   184
#define GL_TEXTURE1                       0x84C1
jorgen@8805
   185
#define GL_TEXTURE2                       0x84C2
jorgen@8805
   186
#define GL_TEXTURE3                       0x84C3
jorgen@8805
   187
#define GL_TEXTURE4                       0x84C4
jorgen@8805
   188
#define GL_TEXTURE5                       0x84C5
jorgen@8805
   189
#define GL_TEXTURE6                       0x84C6
jorgen@8805
   190
#define GL_TEXTURE7                       0x84C7
jorgen@8805
   191
#define GL_TEXTURE8                       0x84C8
jorgen@8805
   192
#define GL_TEXTURE9                       0x84C9
jorgen@8805
   193
#define GL_TEXTURE10                      0x84CA
jorgen@8805
   194
#define GL_TEXTURE11                      0x84CB
jorgen@8805
   195
#define GL_TEXTURE12                      0x84CC
jorgen@8805
   196
#define GL_TEXTURE13                      0x84CD
jorgen@8805
   197
#define GL_TEXTURE14                      0x84CE
jorgen@8805
   198
#define GL_TEXTURE15                      0x84CF
jorgen@8805
   199
#define GL_TEXTURE16                      0x84D0
jorgen@8805
   200
#define GL_TEXTURE17                      0x84D1
jorgen@8805
   201
#define GL_TEXTURE18                      0x84D2
jorgen@8805
   202
#define GL_TEXTURE19                      0x84D3
jorgen@8805
   203
#define GL_TEXTURE20                      0x84D4
jorgen@8805
   204
#define GL_TEXTURE21                      0x84D5
jorgen@8805
   205
#define GL_TEXTURE22                      0x84D6
jorgen@8805
   206
#define GL_TEXTURE23                      0x84D7
jorgen@8805
   207
#define GL_TEXTURE24                      0x84D8
jorgen@8805
   208
#define GL_TEXTURE25                      0x84D9
jorgen@8805
   209
#define GL_TEXTURE26                      0x84DA
jorgen@8805
   210
#define GL_TEXTURE27                      0x84DB
jorgen@8805
   211
#define GL_TEXTURE28                      0x84DC
jorgen@8805
   212
#define GL_TEXTURE29                      0x84DD
jorgen@8805
   213
#define GL_TEXTURE30                      0x84DE
jorgen@8805
   214
#define GL_TEXTURE31                      0x84DF
jorgen@8805
   215
#define GL_ACTIVE_TEXTURE                 0x84E0
jorgen@8805
   216
#define GL_MULTISAMPLE                    0x809D
jorgen@8805
   217
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
jorgen@8805
   218
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
jorgen@8805
   219
#define GL_SAMPLE_COVERAGE                0x80A0
jorgen@8805
   220
#define GL_SAMPLE_BUFFERS                 0x80A8
jorgen@8805
   221
#define GL_SAMPLES                        0x80A9
jorgen@8805
   222
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
jorgen@8805
   223
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
jorgen@8805
   224
#define GL_TEXTURE_CUBE_MAP               0x8513
jorgen@8805
   225
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
jorgen@8805
   226
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
jorgen@8805
   227
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
jorgen@8805
   228
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
jorgen@8805
   229
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
jorgen@8805
   230
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
jorgen@8805
   231
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
jorgen@8805
   232
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
jorgen@8805
   233
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
jorgen@8805
   234
#define GL_COMPRESSED_RGB                 0x84ED
jorgen@8805
   235
#define GL_COMPRESSED_RGBA                0x84EE
jorgen@8805
   236
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
jorgen@8805
   237
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
jorgen@8805
   238
#define GL_TEXTURE_COMPRESSED             0x86A1
jorgen@8805
   239
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
jorgen@8805
   240
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
jorgen@8805
   241
#define GL_CLAMP_TO_BORDER                0x812D
jorgen@8805
   242
#endif
jorgen@8805
   243
jorgen@8805
   244
#ifndef GL_VERSION_1_3_DEPRECATED
jorgen@8805
   245
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
jorgen@8805
   246
#define GL_MAX_TEXTURE_UNITS              0x84E2
jorgen@8805
   247
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
jorgen@8805
   248
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
jorgen@8805
   249
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
jorgen@8805
   250
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
jorgen@8805
   251
#define GL_MULTISAMPLE_BIT                0x20000000
jorgen@8805
   252
#define GL_NORMAL_MAP                     0x8511
jorgen@8805
   253
#define GL_REFLECTION_MAP                 0x8512
jorgen@8805
   254
#define GL_COMPRESSED_ALPHA               0x84E9
jorgen@8805
   255
#define GL_COMPRESSED_LUMINANCE           0x84EA
jorgen@8805
   256
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
jorgen@8805
   257
#define GL_COMPRESSED_INTENSITY           0x84EC
jorgen@8805
   258
#define GL_COMBINE                        0x8570
jorgen@8805
   259
#define GL_COMBINE_RGB                    0x8571
jorgen@8805
   260
#define GL_COMBINE_ALPHA                  0x8572
jorgen@8805
   261
#define GL_SOURCE0_RGB                    0x8580
jorgen@8805
   262
#define GL_SOURCE1_RGB                    0x8581
jorgen@8805
   263
#define GL_SOURCE2_RGB                    0x8582
jorgen@8805
   264
#define GL_SOURCE0_ALPHA                  0x8588
jorgen@8805
   265
#define GL_SOURCE1_ALPHA                  0x8589
jorgen@8805
   266
#define GL_SOURCE2_ALPHA                  0x858A
jorgen@8805
   267
#define GL_OPERAND0_RGB                   0x8590
jorgen@8805
   268
#define GL_OPERAND1_RGB                   0x8591
jorgen@8805
   269
#define GL_OPERAND2_RGB                   0x8592
jorgen@8805
   270
#define GL_OPERAND0_ALPHA                 0x8598
jorgen@8805
   271
#define GL_OPERAND1_ALPHA                 0x8599
jorgen@8805
   272
#define GL_OPERAND2_ALPHA                 0x859A
jorgen@8805
   273
#define GL_RGB_SCALE                      0x8573
jorgen@8805
   274
#define GL_ADD_SIGNED                     0x8574
jorgen@8805
   275
#define GL_INTERPOLATE                    0x8575
jorgen@8805
   276
#define GL_SUBTRACT                       0x84E7
jorgen@8805
   277
#define GL_CONSTANT                       0x8576
jorgen@8805
   278
#define GL_PRIMARY_COLOR                  0x8577
jorgen@8805
   279
#define GL_PREVIOUS                       0x8578
jorgen@8805
   280
#define GL_DOT3_RGB                       0x86AE
jorgen@8805
   281
#define GL_DOT3_RGBA                      0x86AF
jorgen@8805
   282
#endif
jorgen@8805
   283
jorgen@8805
   284
#ifndef GL_VERSION_1_4
jorgen@8805
   285
#define GL_BLEND_DST_RGB                  0x80C8
jorgen@8805
   286
#define GL_BLEND_SRC_RGB                  0x80C9
jorgen@8805
   287
#define GL_BLEND_DST_ALPHA                0x80CA
jorgen@8805
   288
#define GL_BLEND_SRC_ALPHA                0x80CB
jorgen@8805
   289
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
jorgen@8805
   290
#define GL_DEPTH_COMPONENT16              0x81A5
jorgen@8805
   291
#define GL_DEPTH_COMPONENT24              0x81A6
jorgen@8805
   292
#define GL_DEPTH_COMPONENT32              0x81A7
jorgen@8805
   293
#define GL_MIRRORED_REPEAT                0x8370
jorgen@8805
   294
#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
jorgen@8805
   295
#define GL_TEXTURE_LOD_BIAS               0x8501
jorgen@8805
   296
#define GL_INCR_WRAP                      0x8507
jorgen@8805
   297
#define GL_DECR_WRAP                      0x8508
jorgen@8805
   298
#define GL_TEXTURE_DEPTH_SIZE             0x884A
jorgen@8805
   299
#define GL_TEXTURE_COMPARE_MODE           0x884C
jorgen@8805
   300
#define GL_TEXTURE_COMPARE_FUNC           0x884D
jorgen@8805
   301
#endif
jorgen@8805
   302
jorgen@8805
   303
#ifndef GL_VERSION_1_4_DEPRECATED
jorgen@8805
   304
#define GL_POINT_SIZE_MIN                 0x8126
jorgen@8805
   305
#define GL_POINT_SIZE_MAX                 0x8127
jorgen@8805
   306
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
jorgen@8805
   307
#define GL_GENERATE_MIPMAP                0x8191
jorgen@8805
   308
#define GL_GENERATE_MIPMAP_HINT           0x8192
jorgen@8805
   309
#define GL_FOG_COORDINATE_SOURCE          0x8450
jorgen@8805
   310
#define GL_FOG_COORDINATE                 0x8451
jorgen@8805
   311
#define GL_FRAGMENT_DEPTH                 0x8452
jorgen@8805
   312
#define GL_CURRENT_FOG_COORDINATE         0x8453
jorgen@8805
   313
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
jorgen@8805
   314
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
jorgen@8805
   315
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
jorgen@8805
   316
#define GL_FOG_COORDINATE_ARRAY           0x8457
jorgen@8805
   317
#define GL_COLOR_SUM                      0x8458
jorgen@8805
   318
#define GL_CURRENT_SECONDARY_COLOR        0x8459
jorgen@8805
   319
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
jorgen@8805
   320
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
jorgen@8805
   321
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
jorgen@8805
   322
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
jorgen@8805
   323
#define GL_SECONDARY_COLOR_ARRAY          0x845E
jorgen@8805
   324
#define GL_TEXTURE_FILTER_CONTROL         0x8500
jorgen@8805
   325
#define GL_DEPTH_TEXTURE_MODE             0x884B
jorgen@8805
   326
#define GL_COMPARE_R_TO_TEXTURE           0x884E
jorgen@8805
   327
#endif
jorgen@8805
   328
jorgen@8805
   329
#ifndef GL_VERSION_1_5
jorgen@8805
   330
#define GL_BUFFER_SIZE                    0x8764
jorgen@8805
   331
#define GL_BUFFER_USAGE                   0x8765
jorgen@8805
   332
#define GL_QUERY_COUNTER_BITS             0x8864
jorgen@8805
   333
#define GL_CURRENT_QUERY                  0x8865
jorgen@8805
   334
#define GL_QUERY_RESULT                   0x8866
jorgen@8805
   335
#define GL_QUERY_RESULT_AVAILABLE         0x8867
jorgen@8805
   336
#define GL_ARRAY_BUFFER                   0x8892
jorgen@8805
   337
#define GL_ELEMENT_ARRAY_BUFFER           0x8893
jorgen@8805
   338
#define GL_ARRAY_BUFFER_BINDING           0x8894
jorgen@8805
   339
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
jorgen@8805
   340
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
jorgen@8805
   341
#define GL_READ_ONLY                      0x88B8
jorgen@8805
   342
#define GL_WRITE_ONLY                     0x88B9
jorgen@8805
   343
#define GL_READ_WRITE                     0x88BA
jorgen@8805
   344
#define GL_BUFFER_ACCESS                  0x88BB
jorgen@8805
   345
#define GL_BUFFER_MAPPED                  0x88BC
jorgen@8805
   346
#define GL_BUFFER_MAP_POINTER             0x88BD
jorgen@8805
   347
#define GL_STREAM_DRAW                    0x88E0
jorgen@8805
   348
#define GL_STREAM_READ                    0x88E1
jorgen@8805
   349
#define GL_STREAM_COPY                    0x88E2
jorgen@8805
   350
#define GL_STATIC_DRAW                    0x88E4
jorgen@8805
   351
#define GL_STATIC_READ                    0x88E5
jorgen@8805
   352
#define GL_STATIC_COPY                    0x88E6
jorgen@8805
   353
#define GL_DYNAMIC_DRAW                   0x88E8
jorgen@8805
   354
#define GL_DYNAMIC_READ                   0x88E9
jorgen@8805
   355
#define GL_DYNAMIC_COPY                   0x88EA
jorgen@8805
   356
#define GL_SAMPLES_PASSED                 0x8914
jorgen@8805
   357
#endif
jorgen@8805
   358
jorgen@8805
   359
#ifndef GL_VERSION_1_5_DEPRECATED
jorgen@8805
   360
#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
jorgen@8805
   361
#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
jorgen@8805
   362
#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
jorgen@8805
   363
#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
jorgen@8805
   364
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
jorgen@8805
   365
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
jorgen@8805
   366
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
jorgen@8805
   367
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
jorgen@8805
   368
#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
jorgen@8805
   369
#define GL_FOG_COORD_SRC                  0x8450
jorgen@8805
   370
#define GL_FOG_COORD                      0x8451
jorgen@8805
   371
#define GL_CURRENT_FOG_COORD              0x8453
jorgen@8805
   372
#define GL_FOG_COORD_ARRAY_TYPE           0x8454
jorgen@8805
   373
#define GL_FOG_COORD_ARRAY_STRIDE         0x8455
jorgen@8805
   374
#define GL_FOG_COORD_ARRAY_POINTER        0x8456
jorgen@8805
   375
#define GL_FOG_COORD_ARRAY                0x8457
jorgen@8805
   376
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
jorgen@8805
   377
#define GL_SRC0_RGB                       0x8580
jorgen@8805
   378
#define GL_SRC1_RGB                       0x8581
jorgen@8805
   379
#define GL_SRC2_RGB                       0x8582
jorgen@8805
   380
#define GL_SRC0_ALPHA                     0x8588
jorgen@8805
   381
#define GL_SRC1_ALPHA                     0x8589
jorgen@8805
   382
#define GL_SRC2_ALPHA                     0x858A
jorgen@8805
   383
#endif
jorgen@8805
   384
jorgen@8805
   385
#ifndef GL_VERSION_2_0
jorgen@8805
   386
#define GL_BLEND_EQUATION_RGB             0x8009
jorgen@8805
   387
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
jorgen@8805
   388
#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
jorgen@8805
   389
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
jorgen@8805
   390
#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
jorgen@8805
   391
#define GL_CURRENT_VERTEX_ATTRIB          0x8626
jorgen@8805
   392
#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
jorgen@8805
   393
#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
jorgen@8805
   394
#define GL_STENCIL_BACK_FUNC              0x8800
jorgen@8805
   395
#define GL_STENCIL_BACK_FAIL              0x8801
jorgen@8805
   396
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
jorgen@8805
   397
#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
jorgen@8805
   398
#define GL_MAX_DRAW_BUFFERS               0x8824
jorgen@8805
   399
#define GL_DRAW_BUFFER0                   0x8825
jorgen@8805
   400
#define GL_DRAW_BUFFER1                   0x8826
jorgen@8805
   401
#define GL_DRAW_BUFFER2                   0x8827
jorgen@8805
   402
#define GL_DRAW_BUFFER3                   0x8828
jorgen@8805
   403
#define GL_DRAW_BUFFER4                   0x8829
jorgen@8805
   404
#define GL_DRAW_BUFFER5                   0x882A
jorgen@8805
   405
#define GL_DRAW_BUFFER6                   0x882B
jorgen@8805
   406
#define GL_DRAW_BUFFER7                   0x882C
jorgen@8805
   407
#define GL_DRAW_BUFFER8                   0x882D
jorgen@8805
   408
#define GL_DRAW_BUFFER9                   0x882E
jorgen@8805
   409
#define GL_DRAW_BUFFER10                  0x882F
jorgen@8805
   410
#define GL_DRAW_BUFFER11                  0x8830
jorgen@8805
   411
#define GL_DRAW_BUFFER12                  0x8831
jorgen@8805
   412
#define GL_DRAW_BUFFER13                  0x8832
jorgen@8805
   413
#define GL_DRAW_BUFFER14                  0x8833
jorgen@8805
   414
#define GL_DRAW_BUFFER15                  0x8834
jorgen@8805
   415
#define GL_BLEND_EQUATION_ALPHA           0x883D
jorgen@8805
   416
#define GL_MAX_VERTEX_ATTRIBS             0x8869
jorgen@8805
   417
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
jorgen@8805
   418
#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
jorgen@8805
   419
#define GL_FRAGMENT_SHADER                0x8B30
jorgen@8805
   420
#define GL_VERTEX_SHADER                  0x8B31
jorgen@8805
   421
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
jorgen@8805
   422
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
jorgen@8805
   423
#define GL_MAX_VARYING_FLOATS             0x8B4B
jorgen@8805
   424
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
jorgen@8805
   425
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
jorgen@8805
   426
#define GL_SHADER_TYPE                    0x8B4F
jorgen@8805
   427
#define GL_FLOAT_VEC2                     0x8B50
jorgen@8805
   428
#define GL_FLOAT_VEC3                     0x8B51
jorgen@8805
   429
#define GL_FLOAT_VEC4                     0x8B52
jorgen@8805
   430
#define GL_INT_VEC2                       0x8B53
jorgen@8805
   431
#define GL_INT_VEC3                       0x8B54
jorgen@8805
   432
#define GL_INT_VEC4                       0x8B55
jorgen@8805
   433
#define GL_BOOL                           0x8B56
jorgen@8805
   434
#define GL_BOOL_VEC2                      0x8B57
jorgen@8805
   435
#define GL_BOOL_VEC3                      0x8B58
jorgen@8805
   436
#define GL_BOOL_VEC4                      0x8B59
jorgen@8805
   437
#define GL_FLOAT_MAT2                     0x8B5A
jorgen@8805
   438
#define GL_FLOAT_MAT3                     0x8B5B
jorgen@8805
   439
#define GL_FLOAT_MAT4                     0x8B5C
jorgen@8805
   440
#define GL_SAMPLER_1D                     0x8B5D
jorgen@8805
   441
#define GL_SAMPLER_2D                     0x8B5E
jorgen@8805
   442
#define GL_SAMPLER_3D                     0x8B5F
jorgen@8805
   443
#define GL_SAMPLER_CUBE                   0x8B60
jorgen@8805
   444
#define GL_SAMPLER_1D_SHADOW              0x8B61
jorgen@8805
   445
#define GL_SAMPLER_2D_SHADOW              0x8B62
jorgen@8805
   446
#define GL_DELETE_STATUS                  0x8B80
jorgen@8805
   447
#define GL_COMPILE_STATUS                 0x8B81
jorgen@8805
   448
#define GL_LINK_STATUS                    0x8B82
jorgen@8805
   449
#define GL_VALIDATE_STATUS                0x8B83
jorgen@8805
   450
#define GL_INFO_LOG_LENGTH                0x8B84
jorgen@8805
   451
#define GL_ATTACHED_SHADERS               0x8B85
jorgen@8805
   452
#define GL_ACTIVE_UNIFORMS                0x8B86
jorgen@8805
   453
#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
jorgen@8805
   454
#define GL_SHADER_SOURCE_LENGTH           0x8B88
jorgen@8805
   455
#define GL_ACTIVE_ATTRIBUTES              0x8B89
jorgen@8805
   456
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
jorgen@8805
   457
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
jorgen@8805
   458
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
jorgen@8805
   459
#define GL_CURRENT_PROGRAM                0x8B8D
jorgen@8805
   460
#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
jorgen@8805
   461
#define GL_LOWER_LEFT                     0x8CA1
jorgen@8805
   462
#define GL_UPPER_LEFT                     0x8CA2
jorgen@8805
   463
#define GL_STENCIL_BACK_REF               0x8CA3
jorgen@8805
   464
#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
jorgen@8805
   465
#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
jorgen@8805
   466
#endif
jorgen@8805
   467
jorgen@8805
   468
#ifndef GL_VERSION_2_0_DEPRECATED
jorgen@8805
   469
#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
jorgen@8805
   470
#define GL_POINT_SPRITE                   0x8861
jorgen@8805
   471
#define GL_COORD_REPLACE                  0x8862
jorgen@8805
   472
#define GL_MAX_TEXTURE_COORDS             0x8871
jorgen@8805
   473
#endif
jorgen@8805
   474
jorgen@8805
   475
#ifndef GL_VERSION_2_1
jorgen@8805
   476
#define GL_PIXEL_PACK_BUFFER              0x88EB
jorgen@8805
   477
#define GL_PIXEL_UNPACK_BUFFER            0x88EC
jorgen@8805
   478
#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
jorgen@8805
   479
#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
jorgen@8805
   480
#define GL_FLOAT_MAT2x3                   0x8B65
jorgen@8805
   481
#define GL_FLOAT_MAT2x4                   0x8B66
jorgen@8805
   482
#define GL_FLOAT_MAT3x2                   0x8B67
jorgen@8805
   483
#define GL_FLOAT_MAT3x4                   0x8B68
jorgen@8805
   484
#define GL_FLOAT_MAT4x2                   0x8B69
jorgen@8805
   485
#define GL_FLOAT_MAT4x3                   0x8B6A
jorgen@8805
   486
#define GL_SRGB                           0x8C40
jorgen@8805
   487
#define GL_SRGB8                          0x8C41
jorgen@8805
   488
#define GL_SRGB_ALPHA                     0x8C42
jorgen@8805
   489
#define GL_SRGB8_ALPHA8                   0x8C43
jorgen@8805
   490
#define GL_COMPRESSED_SRGB                0x8C48
jorgen@8805
   491
#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
jorgen@8805
   492
#endif
jorgen@8805
   493
jorgen@8805
   494
#ifndef GL_VERSION_2_1_DEPRECATED
jorgen@8805
   495
#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
jorgen@8805
   496
#define GL_SLUMINANCE_ALPHA               0x8C44
jorgen@8805
   497
#define GL_SLUMINANCE8_ALPHA8             0x8C45
jorgen@8805
   498
#define GL_SLUMINANCE                     0x8C46
jorgen@8805
   499
#define GL_SLUMINANCE8                    0x8C47
jorgen@8805
   500
#define GL_COMPRESSED_SLUMINANCE          0x8C4A
jorgen@8805
   501
#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
jorgen@8805
   502
#endif
jorgen@8805
   503
jorgen@8805
   504
#ifndef GL_VERSION_3_0
jorgen@8805
   505
#define GL_COMPARE_REF_TO_TEXTURE         0x884E
jorgen@8805
   506
#define GL_CLIP_DISTANCE0                 0x3000
jorgen@8805
   507
#define GL_CLIP_DISTANCE1                 0x3001
jorgen@8805
   508
#define GL_CLIP_DISTANCE2                 0x3002
jorgen@8805
   509
#define GL_CLIP_DISTANCE3                 0x3003
jorgen@8805
   510
#define GL_CLIP_DISTANCE4                 0x3004
jorgen@8805
   511
#define GL_CLIP_DISTANCE5                 0x3005
jorgen@8805
   512
#define GL_CLIP_DISTANCE6                 0x3006
jorgen@8805
   513
#define GL_CLIP_DISTANCE7                 0x3007
jorgen@8805
   514
#define GL_MAX_CLIP_DISTANCES             0x0D32
jorgen@8805
   515
#define GL_MAJOR_VERSION                  0x821B
jorgen@8805
   516
#define GL_MINOR_VERSION                  0x821C
jorgen@8805
   517
#define GL_NUM_EXTENSIONS                 0x821D
jorgen@8805
   518
#define GL_CONTEXT_FLAGS                  0x821E
jorgen@8805
   519
#define GL_DEPTH_BUFFER                   0x8223
jorgen@8805
   520
#define GL_STENCIL_BUFFER                 0x8224
jorgen@8805
   521
#define GL_COMPRESSED_RED                 0x8225
jorgen@8805
   522
#define GL_COMPRESSED_RG                  0x8226
jorgen@8805
   523
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
jorgen@8805
   524
#define GL_RGBA32F                        0x8814
jorgen@8805
   525
#define GL_RGB32F                         0x8815
jorgen@8805
   526
#define GL_RGBA16F                        0x881A
jorgen@8805
   527
#define GL_RGB16F                         0x881B
jorgen@8805
   528
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
jorgen@8805
   529
#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
jorgen@8805
   530
#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
jorgen@8805
   531
#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
jorgen@8805
   532
#define GL_CLAMP_READ_COLOR               0x891C
jorgen@8805
   533
#define GL_FIXED_ONLY                     0x891D
jorgen@8805
   534
#define GL_MAX_VARYING_COMPONENTS         0x8B4B
jorgen@8805
   535
#define GL_TEXTURE_1D_ARRAY               0x8C18
jorgen@8805
   536
#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
jorgen@8805
   537
#define GL_TEXTURE_2D_ARRAY               0x8C1A
jorgen@8805
   538
#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
jorgen@8805
   539
#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
jorgen@8805
   540
#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
jorgen@8805
   541
#define GL_R11F_G11F_B10F                 0x8C3A
jorgen@8805
   542
#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
jorgen@8805
   543
#define GL_RGB9_E5                        0x8C3D
jorgen@8805
   544
#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
jorgen@8805
   545
#define GL_TEXTURE_SHARED_SIZE            0x8C3F
jorgen@8805
   546
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
jorgen@8805
   547
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
jorgen@8805
   548
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
jorgen@8805
   549
#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
jorgen@8805
   550
#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
jorgen@8805
   551
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
jorgen@8805
   552
#define GL_PRIMITIVES_GENERATED           0x8C87
jorgen@8805
   553
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
jorgen@8805
   554
#define GL_RASTERIZER_DISCARD             0x8C89
jorgen@8805
   555
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
jorgen@8805
   556
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
jorgen@8805
   557
#define GL_INTERLEAVED_ATTRIBS            0x8C8C
jorgen@8805
   558
#define GL_SEPARATE_ATTRIBS               0x8C8D
jorgen@8805
   559
#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
jorgen@8805
   560
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
jorgen@8805
   561
#define GL_RGBA32UI                       0x8D70
jorgen@8805
   562
#define GL_RGB32UI                        0x8D71
jorgen@8805
   563
#define GL_RGBA16UI                       0x8D76
jorgen@8805
   564
#define GL_RGB16UI                        0x8D77
jorgen@8805
   565
#define GL_RGBA8UI                        0x8D7C
jorgen@8805
   566
#define GL_RGB8UI                         0x8D7D
jorgen@8805
   567
#define GL_RGBA32I                        0x8D82
jorgen@8805
   568
#define GL_RGB32I                         0x8D83
jorgen@8805
   569
#define GL_RGBA16I                        0x8D88
jorgen@8805
   570
#define GL_RGB16I                         0x8D89
jorgen@8805
   571
#define GL_RGBA8I                         0x8D8E
jorgen@8805
   572
#define GL_RGB8I                          0x8D8F
jorgen@8805
   573
#define GL_RED_INTEGER                    0x8D94
jorgen@8805
   574
#define GL_GREEN_INTEGER                  0x8D95
jorgen@8805
   575
#define GL_BLUE_INTEGER                   0x8D96
jorgen@8805
   576
#define GL_RGB_INTEGER                    0x8D98
jorgen@8805
   577
#define GL_RGBA_INTEGER                   0x8D99
jorgen@8805
   578
#define GL_BGR_INTEGER                    0x8D9A
jorgen@8805
   579
#define GL_BGRA_INTEGER                   0x8D9B
jorgen@8805
   580
#define GL_SAMPLER_1D_ARRAY               0x8DC0
jorgen@8805
   581
#define GL_SAMPLER_2D_ARRAY               0x8DC1
jorgen@8805
   582
#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
jorgen@8805
   583
#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
jorgen@8805
   584
#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
jorgen@8805
   585
#define GL_UNSIGNED_INT_VEC2              0x8DC6
jorgen@8805
   586
#define GL_UNSIGNED_INT_VEC3              0x8DC7
jorgen@8805
   587
#define GL_UNSIGNED_INT_VEC4              0x8DC8
jorgen@8805
   588
#define GL_INT_SAMPLER_1D                 0x8DC9
jorgen@8805
   589
#define GL_INT_SAMPLER_2D                 0x8DCA
jorgen@8805
   590
#define GL_INT_SAMPLER_3D                 0x8DCB
jorgen@8805
   591
#define GL_INT_SAMPLER_CUBE               0x8DCC
jorgen@8805
   592
#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
jorgen@8805
   593
#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
jorgen@8805
   594
#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
jorgen@8805
   595
#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
jorgen@8805
   596
#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
jorgen@8805
   597
#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
jorgen@8805
   598
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
jorgen@8805
   599
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
jorgen@8805
   600
#define GL_QUERY_WAIT                     0x8E13
jorgen@8805
   601
#define GL_QUERY_NO_WAIT                  0x8E14
jorgen@8805
   602
#define GL_QUERY_BY_REGION_WAIT           0x8E15
jorgen@8805
   603
#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
jorgen@8805
   604
#define GL_BUFFER_ACCESS_FLAGS            0x911F
jorgen@8805
   605
#define GL_BUFFER_MAP_LENGTH              0x9120
jorgen@8805
   606
#define GL_BUFFER_MAP_OFFSET              0x9121
jorgen@8805
   607
/* Reuse tokens from ARB_depth_buffer_float */
jorgen@8805
   608
/* reuse GL_DEPTH_COMPONENT32F */
jorgen@8805
   609
/* reuse GL_DEPTH32F_STENCIL8 */
jorgen@8805
   610
/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
jorgen@8805
   611
/* Reuse tokens from ARB_framebuffer_object */
jorgen@8805
   612
/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
jorgen@8805
   613
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
jorgen@8805
   614
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
jorgen@8805
   615
/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
jorgen@8805
   616
/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
jorgen@8805
   617
/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
jorgen@8805
   618
/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
jorgen@8805
   619
/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
jorgen@8805
   620
/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
jorgen@8805
   621
/* reuse GL_FRAMEBUFFER_DEFAULT */
jorgen@8805
   622
/* reuse GL_FRAMEBUFFER_UNDEFINED */
jorgen@8805
   623
/* reuse GL_DEPTH_STENCIL_ATTACHMENT */
jorgen@8805
   624
/* reuse GL_INDEX */
jorgen@8805
   625
/* reuse GL_MAX_RENDERBUFFER_SIZE */
jorgen@8805
   626
/* reuse GL_DEPTH_STENCIL */
jorgen@8805
   627
/* reuse GL_UNSIGNED_INT_24_8 */
jorgen@8805
   628
/* reuse GL_DEPTH24_STENCIL8 */
jorgen@8805
   629
/* reuse GL_TEXTURE_STENCIL_SIZE */
jorgen@8805
   630
/* reuse GL_TEXTURE_RED_TYPE */
jorgen@8805
   631
/* reuse GL_TEXTURE_GREEN_TYPE */
jorgen@8805
   632
/* reuse GL_TEXTURE_BLUE_TYPE */
jorgen@8805
   633
/* reuse GL_TEXTURE_ALPHA_TYPE */
jorgen@8805
   634
/* reuse GL_TEXTURE_DEPTH_TYPE */
jorgen@8805
   635
/* reuse GL_UNSIGNED_NORMALIZED */
jorgen@8805
   636
/* reuse GL_FRAMEBUFFER_BINDING */
jorgen@8805
   637
/* reuse GL_DRAW_FRAMEBUFFER_BINDING */
jorgen@8805
   638
/* reuse GL_RENDERBUFFER_BINDING */
jorgen@8805
   639
/* reuse GL_READ_FRAMEBUFFER */
jorgen@8805
   640
/* reuse GL_DRAW_FRAMEBUFFER */
jorgen@8805
   641
/* reuse GL_READ_FRAMEBUFFER_BINDING */
jorgen@8805
   642
/* reuse GL_RENDERBUFFER_SAMPLES */
jorgen@8805
   643
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
jorgen@8805
   644
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
jorgen@8805
   645
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
jorgen@8805
   646
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
jorgen@8805
   647
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
jorgen@8805
   648
/* reuse GL_FRAMEBUFFER_COMPLETE */
jorgen@8805
   649
/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
jorgen@8805
   650
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
jorgen@8805
   651
/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
jorgen@8805
   652
/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
jorgen@8805
   653
/* reuse GL_FRAMEBUFFER_UNSUPPORTED */
jorgen@8805
   654
/* reuse GL_MAX_COLOR_ATTACHMENTS */
jorgen@8805
   655
/* reuse GL_COLOR_ATTACHMENT0 */
jorgen@8805
   656
/* reuse GL_COLOR_ATTACHMENT1 */
jorgen@8805
   657
/* reuse GL_COLOR_ATTACHMENT2 */
jorgen@8805
   658
/* reuse GL_COLOR_ATTACHMENT3 */
jorgen@8805
   659
/* reuse GL_COLOR_ATTACHMENT4 */
jorgen@8805
   660
/* reuse GL_COLOR_ATTACHMENT5 */
jorgen@8805
   661
/* reuse GL_COLOR_ATTACHMENT6 */
jorgen@8805
   662
/* reuse GL_COLOR_ATTACHMENT7 */
jorgen@8805
   663
/* reuse GL_COLOR_ATTACHMENT8 */
jorgen@8805
   664
/* reuse GL_COLOR_ATTACHMENT9 */
jorgen@8805
   665
/* reuse GL_COLOR_ATTACHMENT10 */
jorgen@8805
   666
/* reuse GL_COLOR_ATTACHMENT11 */
jorgen@8805
   667
/* reuse GL_COLOR_ATTACHMENT12 */
jorgen@8805
   668
/* reuse GL_COLOR_ATTACHMENT13 */
jorgen@8805
   669
/* reuse GL_COLOR_ATTACHMENT14 */
jorgen@8805
   670
/* reuse GL_COLOR_ATTACHMENT15 */
jorgen@8805
   671
/* reuse GL_DEPTH_ATTACHMENT */
jorgen@8805
   672
/* reuse GL_STENCIL_ATTACHMENT */
jorgen@8805
   673
/* reuse GL_FRAMEBUFFER */
jorgen@8805
   674
/* reuse GL_RENDERBUFFER */
jorgen@8805
   675
/* reuse GL_RENDERBUFFER_WIDTH */
jorgen@8805
   676
/* reuse GL_RENDERBUFFER_HEIGHT */
jorgen@8805
   677
/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
jorgen@8805
   678
/* reuse GL_STENCIL_INDEX1 */
jorgen@8805
   679
/* reuse GL_STENCIL_INDEX4 */
jorgen@8805
   680
/* reuse GL_STENCIL_INDEX8 */
jorgen@8805
   681
/* reuse GL_STENCIL_INDEX16 */
jorgen@8805
   682
/* reuse GL_RENDERBUFFER_RED_SIZE */
jorgen@8805
   683
/* reuse GL_RENDERBUFFER_GREEN_SIZE */
jorgen@8805
   684
/* reuse GL_RENDERBUFFER_BLUE_SIZE */
jorgen@8805
   685
/* reuse GL_RENDERBUFFER_ALPHA_SIZE */
jorgen@8805
   686
/* reuse GL_RENDERBUFFER_DEPTH_SIZE */
jorgen@8805
   687
/* reuse GL_RENDERBUFFER_STENCIL_SIZE */
jorgen@8805
   688
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
jorgen@8805
   689
/* reuse GL_MAX_SAMPLES */
jorgen@8805
   690
/* Reuse tokens from ARB_framebuffer_sRGB */
jorgen@8805
   691
/* reuse GL_FRAMEBUFFER_SRGB */
jorgen@8805
   692
/* Reuse tokens from ARB_half_float_vertex */
jorgen@8805
   693
/* reuse GL_HALF_FLOAT */
jorgen@8805
   694
/* Reuse tokens from ARB_map_buffer_range */
jorgen@8805
   695
/* reuse GL_MAP_READ_BIT */
jorgen@8805
   696
/* reuse GL_MAP_WRITE_BIT */
jorgen@8805
   697
/* reuse GL_MAP_INVALIDATE_RANGE_BIT */
jorgen@8805
   698
/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
jorgen@8805
   699
/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
jorgen@8805
   700
/* reuse GL_MAP_UNSYNCHRONIZED_BIT */
jorgen@8805
   701
/* Reuse tokens from ARB_texture_compression_rgtc */
jorgen@8805
   702
/* reuse GL_COMPRESSED_RED_RGTC1 */
jorgen@8805
   703
/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
jorgen@8805
   704
/* reuse GL_COMPRESSED_RG_RGTC2 */
jorgen@8805
   705
/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
jorgen@8805
   706
/* Reuse tokens from ARB_texture_rg */
jorgen@8805
   707
/* reuse GL_RG */
jorgen@8805
   708
/* reuse GL_RG_INTEGER */
jorgen@8805
   709
/* reuse GL_R8 */
jorgen@8805
   710
/* reuse GL_R16 */
jorgen@8805
   711
/* reuse GL_RG8 */
jorgen@8805
   712
/* reuse GL_RG16 */
jorgen@8805
   713
/* reuse GL_R16F */
jorgen@8805
   714
/* reuse GL_R32F */
jorgen@8805
   715
/* reuse GL_RG16F */
jorgen@8805
   716
/* reuse GL_RG32F */
jorgen@8805
   717
/* reuse GL_R8I */
jorgen@8805
   718
/* reuse GL_R8UI */
jorgen@8805
   719
/* reuse GL_R16I */
jorgen@8805
   720
/* reuse GL_R16UI */
jorgen@8805
   721
/* reuse GL_R32I */
jorgen@8805
   722
/* reuse GL_R32UI */
jorgen@8805
   723
/* reuse GL_RG8I */
jorgen@8805
   724
/* reuse GL_RG8UI */
jorgen@8805
   725
/* reuse GL_RG16I */
jorgen@8805
   726
/* reuse GL_RG16UI */
jorgen@8805
   727
/* reuse GL_RG32I */
jorgen@8805
   728
/* reuse GL_RG32UI */
jorgen@8805
   729
/* Reuse tokens from ARB_vertex_array_object */
jorgen@8805
   730
/* reuse GL_VERTEX_ARRAY_BINDING */
jorgen@8805
   731
#endif
jorgen@8805
   732
jorgen@8805
   733
#ifndef GL_VERSION_3_0_DEPRECATED
jorgen@8805
   734
#define GL_CLAMP_VERTEX_COLOR             0x891A
jorgen@8805
   735
#define GL_CLAMP_FRAGMENT_COLOR           0x891B
jorgen@8805
   736
#define GL_ALPHA_INTEGER                  0x8D97
jorgen@8805
   737
/* Reuse tokens from ARB_framebuffer_object */
jorgen@8805
   738
/* reuse GL_TEXTURE_LUMINANCE_TYPE */
jorgen@8805
   739
/* reuse GL_TEXTURE_INTENSITY_TYPE */
jorgen@8805
   740
#endif
jorgen@8805
   741
jorgen@8805
   742
#ifndef GL_VERSION_3_1
jorgen@8805
   743
#define GL_SAMPLER_2D_RECT                0x8B63
jorgen@8805
   744
#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
jorgen@8805
   745
#define GL_SAMPLER_BUFFER                 0x8DC2
jorgen@8805
   746
#define GL_INT_SAMPLER_2D_RECT            0x8DCD
jorgen@8805
   747
#define GL_INT_SAMPLER_BUFFER             0x8DD0
jorgen@8805
   748
#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
jorgen@8805
   749
#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
jorgen@8805
   750
#define GL_TEXTURE_BUFFER                 0x8C2A
jorgen@8805
   751
#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
jorgen@8805
   752
#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
jorgen@8805
   753
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
jorgen@8805
   754
#define GL_TEXTURE_BUFFER_FORMAT          0x8C2E
jorgen@8805
   755
#define GL_TEXTURE_RECTANGLE              0x84F5
jorgen@8805
   756
#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
jorgen@8805
   757
#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
jorgen@8805
   758
#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
jorgen@8805
   759
#define GL_RED_SNORM                      0x8F90
jorgen@8805
   760
#define GL_RG_SNORM                       0x8F91
jorgen@8805
   761
#define GL_RGB_SNORM                      0x8F92
jorgen@8805
   762
#define GL_RGBA_SNORM                     0x8F93
jorgen@8805
   763
#define GL_R8_SNORM                       0x8F94
jorgen@8805
   764
#define GL_RG8_SNORM                      0x8F95
jorgen@8805
   765
#define GL_RGB8_SNORM                     0x8F96
jorgen@8805
   766
#define GL_RGBA8_SNORM                    0x8F97
jorgen@8805
   767
#define GL_R16_SNORM                      0x8F98
jorgen@8805
   768
#define GL_RG16_SNORM                     0x8F99
jorgen@8805
   769
#define GL_RGB16_SNORM                    0x8F9A
jorgen@8805
   770
#define GL_RGBA16_SNORM                   0x8F9B
jorgen@8805
   771
#define GL_SIGNED_NORMALIZED              0x8F9C
jorgen@8805
   772
#define GL_PRIMITIVE_RESTART              0x8F9D
jorgen@8805
   773
#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
jorgen@8805
   774
/* Reuse tokens from ARB_copy_buffer */
jorgen@8805
   775
/* reuse GL_COPY_READ_BUFFER */
jorgen@8805
   776
/* reuse GL_COPY_WRITE_BUFFER */
jorgen@8805
   777
/* Reuse tokens from ARB_draw_instanced (none) */
jorgen@8805
   778
/* Reuse tokens from ARB_uniform_buffer_object */
jorgen@8805
   779
/* reuse GL_UNIFORM_BUFFER */
jorgen@8805
   780
/* reuse GL_UNIFORM_BUFFER_BINDING */
jorgen@8805
   781
/* reuse GL_UNIFORM_BUFFER_START */
jorgen@8805
   782
/* reuse GL_UNIFORM_BUFFER_SIZE */
jorgen@8805
   783
/* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
jorgen@8805
   784
/* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
jorgen@8805
   785
/* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
jorgen@8805
   786
/* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
jorgen@8805
   787
/* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
jorgen@8805
   788
/* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
jorgen@8805
   789
/* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
jorgen@8805
   790
/* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
jorgen@8805
   791
/* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
jorgen@8805
   792
/* reuse GL_ACTIVE_UNIFORM_BLOCKS */
jorgen@8805
   793
/* reuse GL_UNIFORM_TYPE */
jorgen@8805
   794
/* reuse GL_UNIFORM_SIZE */
jorgen@8805
   795
/* reuse GL_UNIFORM_NAME_LENGTH */
jorgen@8805
   796
/* reuse GL_UNIFORM_BLOCK_INDEX */
jorgen@8805
   797
/* reuse GL_UNIFORM_OFFSET */
jorgen@8805
   798
/* reuse GL_UNIFORM_ARRAY_STRIDE */
jorgen@8805
   799
/* reuse GL_UNIFORM_MATRIX_STRIDE */
jorgen@8805
   800
/* reuse GL_UNIFORM_IS_ROW_MAJOR */
jorgen@8805
   801
/* reuse GL_UNIFORM_BLOCK_BINDING */
jorgen@8805
   802
/* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
jorgen@8805
   803
/* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
jorgen@8805
   804
/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
jorgen@8805
   805
/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
jorgen@8805
   806
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
jorgen@8805
   807
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
jorgen@8805
   808
/* reuse GL_INVALID_INDEX */
jorgen@8805
   809
#endif
jorgen@8805
   810
jorgen@8805
   811
#ifndef GL_VERSION_3_2
jorgen@8805
   812
#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
jorgen@8805
   813
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
jorgen@8805
   814
#define GL_LINES_ADJACENCY                0x000A
jorgen@8805
   815
#define GL_LINE_STRIP_ADJACENCY           0x000B
jorgen@8805
   816
#define GL_TRIANGLES_ADJACENCY            0x000C
jorgen@8805
   817
#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
jorgen@8805
   818
#define GL_PROGRAM_POINT_SIZE             0x8642
jorgen@8805
   819
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
jorgen@8805
   820
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
jorgen@8805
   821
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
jorgen@8805
   822
#define GL_GEOMETRY_SHADER                0x8DD9
jorgen@8805
   823
#define GL_GEOMETRY_VERTICES_OUT          0x8916
jorgen@8805
   824
#define GL_GEOMETRY_INPUT_TYPE            0x8917
jorgen@8805
   825
#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
jorgen@8805
   826
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
jorgen@8805
   827
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
jorgen@8805
   828
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
jorgen@8805
   829
#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
jorgen@8805
   830
#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
jorgen@8805
   831
#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
jorgen@8805
   832
#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
jorgen@8805
   833
#define GL_CONTEXT_PROFILE_MASK           0x9126
jorgen@8805
   834
/* reuse GL_MAX_VARYING_COMPONENTS */
jorgen@8805
   835
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
jorgen@8805
   836
/* Reuse tokens from ARB_depth_clamp */
jorgen@8805
   837
/* reuse GL_DEPTH_CLAMP */
jorgen@8805
   838
/* Reuse tokens from ARB_draw_elements_base_vertex (none) */
jorgen@8805
   839
/* Reuse tokens from ARB_fragment_coord_conventions (none) */
jorgen@8805
   840
/* Reuse tokens from ARB_provoking_vertex */
jorgen@8805
   841
/* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
jorgen@8805
   842
/* reuse GL_FIRST_VERTEX_CONVENTION */
jorgen@8805
   843
/* reuse GL_LAST_VERTEX_CONVENTION */
jorgen@8805
   844
/* reuse GL_PROVOKING_VERTEX */
jorgen@8805
   845
/* Reuse tokens from ARB_seamless_cube_map */
jorgen@8805
   846
/* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
jorgen@8805
   847
/* Reuse tokens from ARB_sync */
jorgen@8805
   848
/* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
jorgen@8805
   849
/* reuse GL_OBJECT_TYPE */
jorgen@8805
   850
/* reuse GL_SYNC_CONDITION */
jorgen@8805
   851
/* reuse GL_SYNC_STATUS */
jorgen@8805
   852
/* reuse GL_SYNC_FLAGS */
jorgen@8805
   853
/* reuse GL_SYNC_FENCE */
jorgen@8805
   854
/* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
jorgen@8805
   855
/* reuse GL_UNSIGNALED */
jorgen@8805
   856
/* reuse GL_SIGNALED */
jorgen@8805
   857
/* reuse GL_ALREADY_SIGNALED */
jorgen@8805
   858
/* reuse GL_TIMEOUT_EXPIRED */
jorgen@8805
   859
/* reuse GL_CONDITION_SATISFIED */
jorgen@8805
   860
/* reuse GL_WAIT_FAILED */
jorgen@8805
   861
/* reuse GL_TIMEOUT_IGNORED */
jorgen@8805
   862
/* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
jorgen@8805
   863
/* reuse GL_TIMEOUT_IGNORED */
jorgen@8805
   864
/* Reuse tokens from ARB_texture_multisample */
jorgen@8805
   865
/* reuse GL_SAMPLE_POSITION */
jorgen@8805
   866
/* reuse GL_SAMPLE_MASK */
jorgen@8805
   867
/* reuse GL_SAMPLE_MASK_VALUE */
jorgen@8805
   868
/* reuse GL_MAX_SAMPLE_MASK_WORDS */
jorgen@8805
   869
/* reuse GL_TEXTURE_2D_MULTISAMPLE */
jorgen@8805
   870
/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
jorgen@8805
   871
/* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
jorgen@8805
   872
/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
jorgen@8805
   873
/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
jorgen@8805
   874
/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
jorgen@8805
   875
/* reuse GL_TEXTURE_SAMPLES */
jorgen@8805
   876
/* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
jorgen@8805
   877
/* reuse GL_SAMPLER_2D_MULTISAMPLE */
jorgen@8805
   878
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
jorgen@8805
   879
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
jorgen@8805
   880
/* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
jorgen@8805
   881
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
jorgen@8805
   882
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
jorgen@8805
   883
/* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
jorgen@8805
   884
/* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
jorgen@8805
   885
/* reuse GL_MAX_INTEGER_SAMPLES */
jorgen@8805
   886
/* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
jorgen@8805
   887
#endif
jorgen@8805
   888
jorgen@8805
   889
#ifndef GL_VERSION_3_3
jorgen@8805
   890
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
jorgen@8805
   891
/* Reuse tokens from ARB_blend_func_extended */
jorgen@8805
   892
/* reuse GL_SRC1_COLOR */
jorgen@8805
   893
/* reuse GL_ONE_MINUS_SRC1_COLOR */
jorgen@8805
   894
/* reuse GL_ONE_MINUS_SRC1_ALPHA */
jorgen@8805
   895
/* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
jorgen@8805
   896
/* Reuse tokens from ARB_explicit_attrib_location (none) */
jorgen@8805
   897
/* Reuse tokens from ARB_occlusion_query2 */
jorgen@8805
   898
/* reuse GL_ANY_SAMPLES_PASSED */
jorgen@8805
   899
/* Reuse tokens from ARB_sampler_objects */
jorgen@8805
   900
/* reuse GL_SAMPLER_BINDING */
jorgen@8805
   901
/* Reuse tokens from ARB_shader_bit_encoding (none) */
jorgen@8805
   902
/* Reuse tokens from ARB_texture_rgb10_a2ui */
jorgen@8805
   903
/* reuse GL_RGB10_A2UI */
jorgen@8805
   904
/* Reuse tokens from ARB_texture_swizzle */
jorgen@8805
   905
/* reuse GL_TEXTURE_SWIZZLE_R */
jorgen@8805
   906
/* reuse GL_TEXTURE_SWIZZLE_G */
jorgen@8805
   907
/* reuse GL_TEXTURE_SWIZZLE_B */
jorgen@8805
   908
/* reuse GL_TEXTURE_SWIZZLE_A */
jorgen@8805
   909
/* reuse GL_TEXTURE_SWIZZLE_RGBA */
jorgen@8805
   910
/* Reuse tokens from ARB_timer_query */
jorgen@8805
   911
/* reuse GL_TIME_ELAPSED */
jorgen@8805
   912
/* reuse GL_TIMESTAMP */
jorgen@8805
   913
/* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
jorgen@8805
   914
/* reuse GL_INT_2_10_10_10_REV */
jorgen@8805
   915
#endif
jorgen@8805
   916
jorgen@8805
   917
#ifndef GL_VERSION_4_0
jorgen@8805
   918
#define GL_SAMPLE_SHADING                 0x8C36
jorgen@8805
   919
#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
jorgen@8805
   920
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
jorgen@8805
   921
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
jorgen@8805
   922
#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
jorgen@8805
   923
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
jorgen@8805
   924
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
jorgen@8805
   925
#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
jorgen@8805
   926
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
jorgen@8805
   927
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
jorgen@8805
   928
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
jorgen@8805
   929
/* Reuse tokens from ARB_texture_query_lod (none) */
jorgen@8805
   930
/* Reuse tokens from ARB_draw_buffers_blend (none) */
jorgen@8805
   931
/* Reuse tokens from ARB_draw_indirect */
jorgen@8805
   932
/* reuse GL_DRAW_INDIRECT_BUFFER */
jorgen@8805
   933
/* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
jorgen@8805
   934
/* Reuse tokens from ARB_gpu_shader5 */
jorgen@8805
   935
/* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
jorgen@8805
   936
/* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
jorgen@8805
   937
/* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
jorgen@8805
   938
/* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
jorgen@8805
   939
/* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
jorgen@8805
   940
/* reuse GL_MAX_VERTEX_STREAMS */
jorgen@8805
   941
/* Reuse tokens from ARB_gpu_shader_fp64 */
jorgen@8805
   942
/* reuse GL_DOUBLE_VEC2 */
jorgen@8805
   943
/* reuse GL_DOUBLE_VEC3 */
jorgen@8805
   944
/* reuse GL_DOUBLE_VEC4 */
jorgen@8805
   945
/* reuse GL_DOUBLE_MAT2 */
jorgen@8805
   946
/* reuse GL_DOUBLE_MAT3 */
jorgen@8805
   947
/* reuse GL_DOUBLE_MAT4 */
jorgen@8805
   948
/* reuse GL_DOUBLE_MAT2x3 */
jorgen@8805
   949
/* reuse GL_DOUBLE_MAT2x4 */
jorgen@8805
   950
/* reuse GL_DOUBLE_MAT3x2 */
jorgen@8805
   951
/* reuse GL_DOUBLE_MAT3x4 */
jorgen@8805
   952
/* reuse GL_DOUBLE_MAT4x2 */
jorgen@8805
   953
/* reuse GL_DOUBLE_MAT4x3 */
jorgen@8805
   954
/* Reuse tokens from ARB_shader_subroutine */
jorgen@8805
   955
/* reuse GL_ACTIVE_SUBROUTINES */
jorgen@8805
   956
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
jorgen@8805
   957
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
jorgen@8805
   958
/* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
jorgen@8805
   959
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
jorgen@8805
   960
/* reuse GL_MAX_SUBROUTINES */
jorgen@8805
   961
/* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
jorgen@8805
   962
/* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
jorgen@8805
   963
/* reuse GL_COMPATIBLE_SUBROUTINES */
jorgen@8805
   964
/* Reuse tokens from ARB_tessellation_shader */
jorgen@8805
   965
/* reuse GL_PATCHES */
jorgen@8805
   966
/* reuse GL_PATCH_VERTICES */
jorgen@8805
   967
/* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
jorgen@8805
   968
/* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
jorgen@8805
   969
/* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
jorgen@8805
   970
/* reuse GL_TESS_GEN_MODE */
jorgen@8805
   971
/* reuse GL_TESS_GEN_SPACING */
jorgen@8805
   972
/* reuse GL_TESS_GEN_VERTEX_ORDER */
jorgen@8805
   973
/* reuse GL_TESS_GEN_POINT_MODE */
jorgen@8805
   974
/* reuse GL_ISOLINES */
jorgen@8805
   975
/* reuse GL_FRACTIONAL_ODD */
jorgen@8805
   976
/* reuse GL_FRACTIONAL_EVEN */
jorgen@8805
   977
/* reuse GL_MAX_PATCH_VERTICES */
jorgen@8805
   978
/* reuse GL_MAX_TESS_GEN_LEVEL */
jorgen@8805
   979
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
jorgen@8805
   980
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
jorgen@8805
   981
/* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
jorgen@8805
   982
/* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
jorgen@8805
   983
/* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
jorgen@8805
   984
/* reuse GL_MAX_TESS_PATCH_COMPONENTS */
jorgen@8805
   985
/* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
jorgen@8805
   986
/* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
jorgen@8805
   987
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
jorgen@8805
   988
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
jorgen@8805
   989
/* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
jorgen@8805
   990
/* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
jorgen@8805
   991
/* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
jorgen@8805
   992
/* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
jorgen@8805
   993
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
jorgen@8805
   994
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
jorgen@8805
   995
/* reuse GL_TESS_EVALUATION_SHADER */
jorgen@8805
   996
/* reuse GL_TESS_CONTROL_SHADER */
jorgen@8805
   997
/* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
jorgen@8805
   998
/* Reuse tokens from ARB_transform_feedback2 */
jorgen@8805
   999
/* reuse GL_TRANSFORM_FEEDBACK */
jorgen@8805
  1000
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
jorgen@8805
  1001
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
jorgen@8805
  1002
/* reuse GL_TRANSFORM_FEEDBACK_BINDING */
jorgen@8805
  1003
/* Reuse tokens from ARB_transform_feedback3 */
jorgen@8805
  1004
/* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
jorgen@8805
  1005
/* reuse GL_MAX_VERTEX_STREAMS */
jorgen@8805
  1006
#endif
jorgen@8805
  1007
jorgen@8805
  1008
#ifndef GL_VERSION_4_1
jorgen@8805
  1009
/* Reuse tokens from ARB_ES2_compatibility */
jorgen@8805
  1010
/* reuse GL_FIXED */
jorgen@8805
  1011
/* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
jorgen@8805
  1012
/* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
jorgen@8805
  1013
/* reuse GL_LOW_FLOAT */
jorgen@8805
  1014
/* reuse GL_MEDIUM_FLOAT */
jorgen@8805
  1015
/* reuse GL_HIGH_FLOAT */
jorgen@8805
  1016
/* reuse GL_LOW_INT */
jorgen@8805
  1017
/* reuse GL_MEDIUM_INT */
jorgen@8805
  1018
/* reuse GL_HIGH_INT */
jorgen@8805
  1019
/* reuse GL_SHADER_COMPILER */
jorgen@8805
  1020
/* reuse GL_NUM_SHADER_BINARY_FORMATS */
jorgen@8805
  1021
/* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
jorgen@8805
  1022
/* reuse GL_MAX_VARYING_VECTORS */
jorgen@8805
  1023
/* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
jorgen@8805
  1024
/* Reuse tokens from ARB_get_program_binary */
jorgen@8805
  1025
/* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
jorgen@8805
  1026
/* reuse GL_PROGRAM_BINARY_LENGTH */
jorgen@8805
  1027
/* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
jorgen@8805
  1028
/* reuse GL_PROGRAM_BINARY_FORMATS */
jorgen@8805
  1029
/* Reuse tokens from ARB_separate_shader_objects */
jorgen@8805
  1030
/* reuse GL_VERTEX_SHADER_BIT */
jorgen@8805
  1031
/* reuse GL_FRAGMENT_SHADER_BIT */
jorgen@8805
  1032
/* reuse GL_GEOMETRY_SHADER_BIT */
jorgen@8805
  1033
/* reuse GL_TESS_CONTROL_SHADER_BIT */
jorgen@8805
  1034
/* reuse GL_TESS_EVALUATION_SHADER_BIT */
jorgen@8805
  1035
/* reuse GL_ALL_SHADER_BITS */
jorgen@8805
  1036
/* reuse GL_PROGRAM_SEPARABLE */
jorgen@8805
  1037
/* reuse GL_ACTIVE_PROGRAM */
jorgen@8805
  1038
/* reuse GL_PROGRAM_PIPELINE_BINDING */
jorgen@8805
  1039
/* Reuse tokens from ARB_shader_precision (none) */
jorgen@8805
  1040
/* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
jorgen@8805
  1041
/* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
jorgen@8805
  1042
/* reuse GL_MAX_VIEWPORTS */
jorgen@8805
  1043
/* reuse GL_VIEWPORT_SUBPIXEL_BITS */
jorgen@8805
  1044
/* reuse GL_VIEWPORT_BOUNDS_RANGE */
jorgen@8805
  1045
/* reuse GL_LAYER_PROVOKING_VERTEX */
jorgen@8805
  1046
/* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
jorgen@8805
  1047
/* reuse GL_UNDEFINED_VERTEX */
jorgen@8805
  1048
#endif
jorgen@8805
  1049
jorgen@8805
  1050
#ifndef GL_ARB_multitexture
jorgen@8805
  1051
#define GL_TEXTURE0_ARB                   0x84C0
jorgen@8805
  1052
#define GL_TEXTURE1_ARB                   0x84C1
jorgen@8805
  1053
#define GL_TEXTURE2_ARB                   0x84C2
jorgen@8805
  1054
#define GL_TEXTURE3_ARB                   0x84C3
jorgen@8805
  1055
#define GL_TEXTURE4_ARB                   0x84C4
jorgen@8805
  1056
#define GL_TEXTURE5_ARB                   0x84C5
jorgen@8805
  1057
#define GL_TEXTURE6_ARB                   0x84C6
jorgen@8805
  1058
#define GL_TEXTURE7_ARB                   0x84C7
jorgen@8805
  1059
#define GL_TEXTURE8_ARB                   0x84C8
jorgen@8805
  1060
#define GL_TEXTURE9_ARB                   0x84C9
jorgen@8805
  1061
#define GL_TEXTURE10_ARB                  0x84CA
jorgen@8805
  1062
#define GL_TEXTURE11_ARB                  0x84CB
jorgen@8805
  1063
#define GL_TEXTURE12_ARB                  0x84CC
jorgen@8805
  1064
#define GL_TEXTURE13_ARB                  0x84CD
jorgen@8805
  1065
#define GL_TEXTURE14_ARB                  0x84CE
jorgen@8805
  1066
#define GL_TEXTURE15_ARB                  0x84CF
jorgen@8805
  1067
#define GL_TEXTURE16_ARB                  0x84D0
jorgen@8805
  1068
#define GL_TEXTURE17_ARB                  0x84D1
jorgen@8805
  1069
#define GL_TEXTURE18_ARB                  0x84D2
jorgen@8805
  1070
#define GL_TEXTURE19_ARB                  0x84D3
jorgen@8805
  1071
#define GL_TEXTURE20_ARB                  0x84D4
jorgen@8805
  1072
#define GL_TEXTURE21_ARB                  0x84D5
jorgen@8805
  1073
#define GL_TEXTURE22_ARB                  0x84D6
jorgen@8805
  1074
#define GL_TEXTURE23_ARB                  0x84D7
jorgen@8805
  1075
#define GL_TEXTURE24_ARB                  0x84D8
jorgen@8805
  1076
#define GL_TEXTURE25_ARB                  0x84D9
jorgen@8805
  1077
#define GL_TEXTURE26_ARB                  0x84DA
jorgen@8805
  1078
#define GL_TEXTURE27_ARB                  0x84DB
jorgen@8805
  1079
#define GL_TEXTURE28_ARB                  0x84DC
jorgen@8805
  1080
#define GL_TEXTURE29_ARB                  0x84DD
jorgen@8805
  1081
#define GL_TEXTURE30_ARB                  0x84DE
jorgen@8805
  1082
#define GL_TEXTURE31_ARB                  0x84DF
jorgen@8805
  1083
#define GL_ACTIVE_TEXTURE_ARB             0x84E0
jorgen@8805
  1084
#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
jorgen@8805
  1085
#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
jorgen@8805
  1086
#endif
jorgen@8805
  1087
jorgen@8805
  1088
#ifndef GL_ARB_transpose_matrix
jorgen@8805
  1089
#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
jorgen@8805
  1090
#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
jorgen@8805
  1091
#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
jorgen@8805
  1092
#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
jorgen@8805
  1093
#endif
jorgen@8805
  1094
jorgen@8805
  1095
#ifndef GL_ARB_multisample
jorgen@8805
  1096
#define GL_MULTISAMPLE_ARB                0x809D
jorgen@8805
  1097
#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
jorgen@8805
  1098
#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
jorgen@8805
  1099
#define GL_SAMPLE_COVERAGE_ARB            0x80A0
jorgen@8805
  1100
#define GL_SAMPLE_BUFFERS_ARB             0x80A8
jorgen@8805
  1101
#define GL_SAMPLES_ARB                    0x80A9
jorgen@8805
  1102
#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
jorgen@8805
  1103
#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
jorgen@8805
  1104
#define GL_MULTISAMPLE_BIT_ARB            0x20000000
jorgen@8805
  1105
#endif
jorgen@8805
  1106
jorgen@8805
  1107
#ifndef GL_ARB_texture_env_add
jorgen@8805
  1108
#endif
jorgen@8805
  1109
jorgen@8805
  1110
#ifndef GL_ARB_texture_cube_map
jorgen@8805
  1111
#define GL_NORMAL_MAP_ARB                 0x8511
jorgen@8805
  1112
#define GL_REFLECTION_MAP_ARB             0x8512
jorgen@8805
  1113
#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
jorgen@8805
  1114
#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
jorgen@8805
  1115
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
jorgen@8805
  1116
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
jorgen@8805
  1117
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
jorgen@8805
  1118
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
jorgen@8805
  1119
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
jorgen@8805
  1120
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
jorgen@8805
  1121
#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
jorgen@8805
  1122
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
jorgen@8805
  1123
#endif
jorgen@8805
  1124
jorgen@8805
  1125
#ifndef GL_ARB_texture_compression
jorgen@8805
  1126
#define GL_COMPRESSED_ALPHA_ARB           0x84E9
jorgen@8805
  1127
#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
jorgen@8805
  1128
#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
jorgen@8805
  1129
#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
jorgen@8805
  1130
#define GL_COMPRESSED_RGB_ARB             0x84ED
jorgen@8805
  1131
#define GL_COMPRESSED_RGBA_ARB            0x84EE
jorgen@8805
  1132
#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
jorgen@8805
  1133
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
jorgen@8805
  1134
#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
jorgen@8805
  1135
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
jorgen@8805
  1136
#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
jorgen@8805
  1137
#endif
jorgen@8805
  1138
jorgen@8805
  1139
#ifndef GL_ARB_texture_border_clamp
jorgen@8805
  1140
#define GL_CLAMP_TO_BORDER_ARB            0x812D
jorgen@8805
  1141
#endif
jorgen@8805
  1142
jorgen@8805
  1143
#ifndef GL_ARB_point_parameters
jorgen@8805
  1144
#define GL_POINT_SIZE_MIN_ARB             0x8126
jorgen@8805
  1145
#define GL_POINT_SIZE_MAX_ARB             0x8127
jorgen@8805
  1146
#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
jorgen@8805
  1147
#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
jorgen@8805
  1148
#endif
jorgen@8805
  1149
jorgen@8805
  1150
#ifndef GL_ARB_vertex_blend
jorgen@8805
  1151
#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
jorgen@8805
  1152
#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
jorgen@8805
  1153
#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
jorgen@8805
  1154
#define GL_VERTEX_BLEND_ARB               0x86A7
jorgen@8805
  1155
#define GL_CURRENT_WEIGHT_ARB             0x86A8
jorgen@8805
  1156
#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
jorgen@8805
  1157
#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
jorgen@8805
  1158
#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
jorgen@8805
  1159
#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
jorgen@8805
  1160
#define GL_WEIGHT_ARRAY_ARB               0x86AD
jorgen@8805
  1161
#define GL_MODELVIEW0_ARB                 0x1700
jorgen@8805
  1162
#define GL_MODELVIEW1_ARB                 0x850A
jorgen@8805
  1163
#define GL_MODELVIEW2_ARB                 0x8722
jorgen@8805
  1164
#define GL_MODELVIEW3_ARB                 0x8723
jorgen@8805
  1165
#define GL_MODELVIEW4_ARB                 0x8724
jorgen@8805
  1166
#define GL_MODELVIEW5_ARB                 0x8725
jorgen@8805
  1167
#define GL_MODELVIEW6_ARB                 0x8726
jorgen@8805
  1168
#define GL_MODELVIEW7_ARB                 0x8727
jorgen@8805
  1169
#define GL_MODELVIEW8_ARB                 0x8728
jorgen@8805
  1170
#define GL_MODELVIEW9_ARB                 0x8729
jorgen@8805
  1171
#define GL_MODELVIEW10_ARB                0x872A
jorgen@8805
  1172
#define GL_MODELVIEW11_ARB                0x872B
jorgen@8805
  1173
#define GL_MODELVIEW12_ARB                0x872C
jorgen@8805
  1174
#define GL_MODELVIEW13_ARB                0x872D
jorgen@8805
  1175
#define GL_MODELVIEW14_ARB                0x872E
jorgen@8805
  1176
#define GL_MODELVIEW15_ARB                0x872F
jorgen@8805
  1177
#define GL_MODELVIEW16_ARB                0x8730
jorgen@8805
  1178
#define GL_MODELVIEW17_ARB                0x8731
jorgen@8805
  1179
#define GL_MODELVIEW18_ARB                0x8732
jorgen@8805
  1180
#define GL_MODELVIEW19_ARB                0x8733
jorgen@8805
  1181
#define GL_MODELVIEW20_ARB                0x8734
jorgen@8805
  1182
#define GL_MODELVIEW21_ARB                0x8735
jorgen@8805
  1183
#define GL_MODELVIEW22_ARB                0x8736
jorgen@8805
  1184
#define GL_MODELVIEW23_ARB                0x8737
jorgen@8805
  1185
#define GL_MODELVIEW24_ARB                0x8738
jorgen@8805
  1186
#define GL_MODELVIEW25_ARB                0x8739
jorgen@8805
  1187
#define GL_MODELVIEW26_ARB                0x873A
jorgen@8805
  1188
#define GL_MODELVIEW27_ARB                0x873B
jorgen@8805
  1189
#define GL_MODELVIEW28_ARB                0x873C
jorgen@8805
  1190
#define GL_MODELVIEW29_ARB                0x873D
jorgen@8805
  1191
#define GL_MODELVIEW30_ARB                0x873E
jorgen@8805
  1192
#define GL_MODELVIEW31_ARB                0x873F
jorgen@8805
  1193
#endif
jorgen@8805
  1194
jorgen@8805
  1195
#ifndef GL_ARB_matrix_palette
jorgen@8805
  1196
#define GL_MATRIX_PALETTE_ARB             0x8840
jorgen@8805
  1197
#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
jorgen@8805
  1198
#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
jorgen@8805
  1199
#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
jorgen@8805
  1200
#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
jorgen@8805
  1201
#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
jorgen@8805
  1202
#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
jorgen@8805
  1203
#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
jorgen@8805
  1204
#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
jorgen@8805
  1205
#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
jorgen@8805
  1206
#endif
jorgen@8805
  1207
jorgen@8805
  1208
#ifndef GL_ARB_texture_env_combine
jorgen@8805
  1209
#define GL_COMBINE_ARB                    0x8570
jorgen@8805
  1210
#define GL_COMBINE_RGB_ARB                0x8571
jorgen@8805
  1211
#define GL_COMBINE_ALPHA_ARB              0x8572
jorgen@8805
  1212
#define GL_SOURCE0_RGB_ARB                0x8580
jorgen@8805
  1213
#define GL_SOURCE1_RGB_ARB                0x8581
jorgen@8805
  1214
#define GL_SOURCE2_RGB_ARB                0x8582
jorgen@8805
  1215
#define GL_SOURCE0_ALPHA_ARB              0x8588
jorgen@8805
  1216
#define GL_SOURCE1_ALPHA_ARB              0x8589
jorgen@8805
  1217
#define GL_SOURCE2_ALPHA_ARB              0x858A
jorgen@8805
  1218
#define GL_OPERAND0_RGB_ARB               0x8590
jorgen@8805
  1219
#define GL_OPERAND1_RGB_ARB               0x8591
jorgen@8805
  1220
#define GL_OPERAND2_RGB_ARB               0x8592
jorgen@8805
  1221
#define GL_OPERAND0_ALPHA_ARB             0x8598
jorgen@8805
  1222
#define GL_OPERAND1_ALPHA_ARB             0x8599
jorgen@8805
  1223
#define GL_OPERAND2_ALPHA_ARB             0x859A
jorgen@8805
  1224
#define GL_RGB_SCALE_ARB                  0x8573
jorgen@8805
  1225
#define GL_ADD_SIGNED_ARB                 0x8574
jorgen@8805
  1226
#define GL_INTERPOLATE_ARB                0x8575
jorgen@8805
  1227
#define GL_SUBTRACT_ARB                   0x84E7
jorgen@8805
  1228
#define GL_CONSTANT_ARB                   0x8576
jorgen@8805
  1229
#define GL_PRIMARY_COLOR_ARB              0x8577
jorgen@8805
  1230
#define GL_PREVIOUS_ARB                   0x8578
jorgen@8805
  1231
#endif
jorgen@8805
  1232
jorgen@8805
  1233
#ifndef GL_ARB_texture_env_crossbar
jorgen@8805
  1234
#endif
jorgen@8805
  1235
jorgen@8805
  1236
#ifndef GL_ARB_texture_env_dot3
jorgen@8805
  1237
#define GL_DOT3_RGB_ARB                   0x86AE
jorgen@8805
  1238
#define GL_DOT3_RGBA_ARB                  0x86AF
jorgen@8805
  1239
#endif
jorgen@8805
  1240
jorgen@8805
  1241
#ifndef GL_ARB_texture_mirrored_repeat
jorgen@8805
  1242
#define GL_MIRRORED_REPEAT_ARB            0x8370
jorgen@8805
  1243
#endif
jorgen@8805
  1244
jorgen@8805
  1245
#ifndef GL_ARB_depth_texture
jorgen@8805
  1246
#define GL_DEPTH_COMPONENT16_ARB          0x81A5
jorgen@8805
  1247
#define GL_DEPTH_COMPONENT24_ARB          0x81A6
jorgen@8805
  1248
#define GL_DEPTH_COMPONENT32_ARB          0x81A7
jorgen@8805
  1249
#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
jorgen@8805
  1250
#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
jorgen@8805
  1251
#endif
jorgen@8805
  1252
jorgen@8805
  1253
#ifndef GL_ARB_shadow
jorgen@8805
  1254
#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
jorgen@8805
  1255
#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
jorgen@8805
  1256
#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
jorgen@8805
  1257
#endif
jorgen@8805
  1258
jorgen@8805
  1259
#ifndef GL_ARB_shadow_ambient
jorgen@8805
  1260
#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
jorgen@8805
  1261
#endif
jorgen@8805
  1262
jorgen@8805
  1263
#ifndef GL_ARB_window_pos
jorgen@8805
  1264
#endif
jorgen@8805
  1265
jorgen@8805
  1266
#ifndef GL_ARB_vertex_program
jorgen@8805
  1267
#define GL_COLOR_SUM_ARB                  0x8458
jorgen@8805
  1268
#define GL_VERTEX_PROGRAM_ARB             0x8620
jorgen@8805
  1269
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
jorgen@8805
  1270
#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
jorgen@8805
  1271
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
jorgen@8805
  1272
#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
jorgen@8805
  1273
#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
jorgen@8805
  1274
#define GL_PROGRAM_LENGTH_ARB             0x8627
jorgen@8805
  1275
#define GL_PROGRAM_STRING_ARB             0x8628
jorgen@8805
  1276
#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
jorgen@8805
  1277
#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
jorgen@8805
  1278
#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
jorgen@8805
  1279
#define GL_CURRENT_MATRIX_ARB             0x8641
jorgen@8805
  1280
#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
jorgen@8805
  1281
#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
jorgen@8805
  1282
#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
jorgen@8805
  1283
#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
jorgen@8805
  1284
#define GL_PROGRAM_BINDING_ARB            0x8677
jorgen@8805
  1285
#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
jorgen@8805
  1286
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
jorgen@8805
  1287
#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
jorgen@8805
  1288
#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
jorgen@8805
  1289
#define GL_PROGRAM_FORMAT_ARB             0x8876
jorgen@8805
  1290
#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
jorgen@8805
  1291
#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
jorgen@8805
  1292
#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
jorgen@8805
  1293
#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
jorgen@8805
  1294
#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
jorgen@8805
  1295
#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
jorgen@8805
  1296
#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
jorgen@8805
  1297
#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
jorgen@8805
  1298
#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
jorgen@8805
  1299
#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
jorgen@8805
  1300
#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
jorgen@8805
  1301
#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
jorgen@8805
  1302
#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
jorgen@8805
  1303
#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
jorgen@8805
  1304
#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
jorgen@8805
  1305
#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
jorgen@8805
  1306
#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
jorgen@8805
  1307
#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
jorgen@8805
  1308
#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
jorgen@8805
  1309
#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
jorgen@8805
  1310
#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
jorgen@8805
  1311
#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
jorgen@8805
  1312
#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
jorgen@8805
  1313
#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
jorgen@8805
  1314
#define GL_MATRIX0_ARB                    0x88C0
jorgen@8805
  1315
#define GL_MATRIX1_ARB                    0x88C1
jorgen@8805
  1316
#define GL_MATRIX2_ARB                    0x88C2
jorgen@8805
  1317
#define GL_MATRIX3_ARB                    0x88C3
jorgen@8805
  1318
#define GL_MATRIX4_ARB                    0x88C4
jorgen@8805
  1319
#define GL_MATRIX5_ARB                    0x88C5
jorgen@8805
  1320
#define GL_MATRIX6_ARB                    0x88C6
jorgen@8805
  1321
#define GL_MATRIX7_ARB                    0x88C7
jorgen@8805
  1322
#define GL_MATRIX8_ARB                    0x88C8
jorgen@8805
  1323
#define GL_MATRIX9_ARB                    0x88C9
jorgen@8805
  1324
#define GL_MATRIX10_ARB                   0x88CA
jorgen@8805
  1325
#define GL_MATRIX11_ARB                   0x88CB
jorgen@8805
  1326
#define GL_MATRIX12_ARB                   0x88CC
jorgen@8805
  1327
#define GL_MATRIX13_ARB                   0x88CD
jorgen@8805
  1328
#define GL_MATRIX14_ARB                   0x88CE
jorgen@8805
  1329
#define GL_MATRIX15_ARB                   0x88CF
jorgen@8805
  1330
#define GL_MATRIX16_ARB                   0x88D0
jorgen@8805
  1331
#define GL_MATRIX17_ARB                   0x88D1
jorgen@8805
  1332
#define GL_MATRIX18_ARB                   0x88D2
jorgen@8805
  1333
#define GL_MATRIX19_ARB                   0x88D3
jorgen@8805
  1334
#define GL_MATRIX20_ARB                   0x88D4
jorgen@8805
  1335
#define GL_MATRIX21_ARB                   0x88D5
jorgen@8805
  1336
#define GL_MATRIX22_ARB                   0x88D6
jorgen@8805
  1337
#define GL_MATRIX23_ARB                   0x88D7
jorgen@8805
  1338
#define GL_MATRIX24_ARB                   0x88D8
jorgen@8805
  1339
#define GL_MATRIX25_ARB                   0x88D9
jorgen@8805
  1340
#define GL_MATRIX26_ARB                   0x88DA
jorgen@8805
  1341
#define GL_MATRIX27_ARB                   0x88DB
jorgen@8805
  1342
#define GL_MATRIX28_ARB                   0x88DC
jorgen@8805
  1343
#define GL_MATRIX29_ARB                   0x88DD
jorgen@8805
  1344
#define GL_MATRIX30_ARB                   0x88DE
jorgen@8805
  1345
#define GL_MATRIX31_ARB                   0x88DF
jorgen@8805
  1346
#endif
jorgen@8805
  1347
jorgen@8805
  1348
#ifndef GL_ARB_fragment_program
jorgen@8805
  1349
#define GL_FRAGMENT_PROGRAM_ARB           0x8804
jorgen@8805
  1350
#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
jorgen@8805
  1351
#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
jorgen@8805
  1352
#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
jorgen@8805
  1353
#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
jorgen@8805
  1354
#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
jorgen@8805
  1355
#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
jorgen@8805
  1356
#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
jorgen@8805
  1357
#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
jorgen@8805
  1358
#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
jorgen@8805
  1359
#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
jorgen@8805
  1360
#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
jorgen@8805
  1361
#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
jorgen@8805
  1362
#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
jorgen@8805
  1363
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
jorgen@8805
  1364
#endif
jorgen@8805
  1365
jorgen@8805
  1366
#ifndef GL_ARB_vertex_buffer_object
jorgen@8805
  1367
#define GL_BUFFER_SIZE_ARB                0x8764
jorgen@8805
  1368
#define GL_BUFFER_USAGE_ARB               0x8765
jorgen@8805
  1369
#define GL_ARRAY_BUFFER_ARB               0x8892
jorgen@8805
  1370
#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
jorgen@8805
  1371
#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
jorgen@8805
  1372
#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
jorgen@8805
  1373
#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
jorgen@8805
  1374
#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
jorgen@8805
  1375
#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
jorgen@8805
  1376
#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
jorgen@8805
  1377
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
jorgen@8805
  1378
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
jorgen@8805
  1379
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
jorgen@8805
  1380
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
jorgen@8805
  1381
#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
jorgen@8805
  1382
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
jorgen@8805
  1383
#define GL_READ_ONLY_ARB                  0x88B8
jorgen@8805
  1384
#define GL_WRITE_ONLY_ARB                 0x88B9
jorgen@8805
  1385
#define GL_READ_WRITE_ARB                 0x88BA
jorgen@8805
  1386
#define GL_BUFFER_ACCESS_ARB              0x88BB
jorgen@8805
  1387
#define GL_BUFFER_MAPPED_ARB              0x88BC
jorgen@8805
  1388
#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
jorgen@8805
  1389
#define GL_STREAM_DRAW_ARB                0x88E0
jorgen@8805
  1390
#define GL_STREAM_READ_ARB                0x88E1
jorgen@8805
  1391
#define GL_STREAM_COPY_ARB                0x88E2
jorgen@8805
  1392
#define GL_STATIC_DRAW_ARB                0x88E4
jorgen@8805
  1393
#define GL_STATIC_READ_ARB                0x88E5
jorgen@8805
  1394
#define GL_STATIC_COPY_ARB                0x88E6
jorgen@8805
  1395
#define GL_DYNAMIC_DRAW_ARB               0x88E8
jorgen@8805
  1396
#define GL_DYNAMIC_READ_ARB               0x88E9
jorgen@8805
  1397
#define GL_DYNAMIC_COPY_ARB               0x88EA
jorgen@8805
  1398
#endif
jorgen@8805
  1399
jorgen@8805
  1400
#ifndef GL_ARB_occlusion_query
jorgen@8805
  1401
#define GL_QUERY_COUNTER_BITS_ARB         0x8864
jorgen@8805
  1402
#define GL_CURRENT_QUERY_ARB              0x8865
jorgen@8805
  1403
#define GL_QUERY_RESULT_ARB               0x8866
jorgen@8805
  1404
#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
jorgen@8805
  1405
#define GL_SAMPLES_PASSED_ARB             0x8914
jorgen@8805
  1406
#endif
jorgen@8805
  1407
jorgen@8805
  1408
#ifndef GL_ARB_shader_objects
jorgen@8805
  1409
#define GL_PROGRAM_OBJECT_ARB             0x8B40
jorgen@8805
  1410
#define GL_SHADER_OBJECT_ARB              0x8B48
jorgen@8805
  1411
#define GL_OBJECT_TYPE_ARB                0x8B4E
jorgen@8805
  1412
#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
jorgen@8805
  1413
#define GL_FLOAT_VEC2_ARB                 0x8B50
jorgen@8805
  1414
#define GL_FLOAT_VEC3_ARB                 0x8B51
jorgen@8805
  1415
#define GL_FLOAT_VEC4_ARB                 0x8B52
jorgen@8805
  1416
#define GL_INT_VEC2_ARB                   0x8B53
jorgen@8805
  1417
#define GL_INT_VEC3_ARB                   0x8B54
jorgen@8805
  1418
#define GL_INT_VEC4_ARB                   0x8B55
jorgen@8805
  1419
#define GL_BOOL_ARB                       0x8B56
jorgen@8805
  1420
#define GL_BOOL_VEC2_ARB                  0x8B57
jorgen@8805
  1421
#define GL_BOOL_VEC3_ARB                  0x8B58
jorgen@8805
  1422
#define GL_BOOL_VEC4_ARB                  0x8B59
jorgen@8805
  1423
#define GL_FLOAT_MAT2_ARB                 0x8B5A
jorgen@8805
  1424
#define GL_FLOAT_MAT3_ARB                 0x8B5B
jorgen@8805
  1425
#define GL_FLOAT_MAT4_ARB                 0x8B5C
jorgen@8805
  1426
#define GL_SAMPLER_1D_ARB                 0x8B5D
jorgen@8805
  1427
#define GL_SAMPLER_2D_ARB                 0x8B5E
jorgen@8805
  1428
#define GL_SAMPLER_3D_ARB                 0x8B5F
jorgen@8805
  1429
#define GL_SAMPLER_CUBE_ARB               0x8B60
jorgen@8805
  1430
#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
jorgen@8805
  1431
#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
jorgen@8805
  1432
#define GL_SAMPLER_2D_RECT_ARB            0x8B63
jorgen@8805
  1433
#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
jorgen@8805
  1434
#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
jorgen@8805
  1435
#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
jorgen@8805
  1436
#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
jorgen@8805
  1437
#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
jorgen@8805
  1438
#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
jorgen@8805
  1439
#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
jorgen@8805
  1440
#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
jorgen@8805
  1441
#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
jorgen@8805
  1442
#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
jorgen@8805
  1443
#endif
jorgen@8805
  1444
jorgen@8805
  1445
#ifndef GL_ARB_vertex_shader
jorgen@8805
  1446
#define GL_VERTEX_SHADER_ARB              0x8B31
jorgen@8805
  1447
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
jorgen@8805
  1448
#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
jorgen@8805
  1449
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
jorgen@8805
  1450
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
jorgen@8805
  1451
#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
jorgen@8805
  1452
#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
jorgen@8805
  1453
#endif
jorgen@8805
  1454
jorgen@8805
  1455
#ifndef GL_ARB_fragment_shader
jorgen@8805
  1456
#define GL_FRAGMENT_SHADER_ARB            0x8B30
jorgen@8805
  1457
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
jorgen@8805
  1458
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
jorgen@8805
  1459
#endif
jorgen@8805
  1460
jorgen@8805
  1461
#ifndef GL_ARB_shading_language_100
jorgen@8805
  1462
#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
jorgen@8805
  1463
#endif
jorgen@8805
  1464
jorgen@8805
  1465
#ifndef GL_ARB_texture_non_power_of_two
jorgen@8805
  1466
#endif
jorgen@8805
  1467
jorgen@8805
  1468
#ifndef GL_ARB_point_sprite
jorgen@8805
  1469
#define GL_POINT_SPRITE_ARB               0x8861
jorgen@8805
  1470
#define GL_COORD_REPLACE_ARB              0x8862
jorgen@8805
  1471
#endif
jorgen@8805
  1472
jorgen@8805
  1473
#ifndef GL_ARB_fragment_program_shadow
jorgen@8805
  1474
#endif
jorgen@8805
  1475
jorgen@8805
  1476
#ifndef GL_ARB_draw_buffers
jorgen@8805
  1477
#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
jorgen@8805
  1478
#define GL_DRAW_BUFFER0_ARB               0x8825
jorgen@8805
  1479
#define GL_DRAW_BUFFER1_ARB               0x8826
jorgen@8805
  1480
#define GL_DRAW_BUFFER2_ARB               0x8827
jorgen@8805
  1481
#define GL_DRAW_BUFFER3_ARB               0x8828
jorgen@8805
  1482
#define GL_DRAW_BUFFER4_ARB               0x8829
jorgen@8805
  1483
#define GL_DRAW_BUFFER5_ARB               0x882A
jorgen@8805
  1484
#define GL_DRAW_BUFFER6_ARB               0x882B
jorgen@8805
  1485
#define GL_DRAW_BUFFER7_ARB               0x882C
jorgen@8805
  1486
#define GL_DRAW_BUFFER8_ARB               0x882D
jorgen@8805
  1487
#define GL_DRAW_BUFFER9_ARB               0x882E
jorgen@8805
  1488
#define GL_DRAW_BUFFER10_ARB              0x882F
jorgen@8805
  1489
#define GL_DRAW_BUFFER11_ARB              0x8830
jorgen@8805
  1490
#define GL_DRAW_BUFFER12_ARB              0x8831
jorgen@8805
  1491
#define GL_DRAW_BUFFER13_ARB              0x8832
jorgen@8805
  1492
#define GL_DRAW_BUFFER14_ARB              0x8833
jorgen@8805
  1493
#define GL_DRAW_BUFFER15_ARB              0x8834
jorgen@8805
  1494
#endif
jorgen@8805
  1495
jorgen@8805
  1496
#ifndef GL_ARB_texture_rectangle
jorgen@8805
  1497
#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
jorgen@8805
  1498
#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
jorgen@8805
  1499
#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
jorgen@8805
  1500
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
jorgen@8805
  1501
#endif
jorgen@8805
  1502
jorgen@8805
  1503
#ifndef GL_ARB_color_buffer_float
jorgen@8805
  1504
#define GL_RGBA_FLOAT_MODE_ARB            0x8820
jorgen@8805
  1505
#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
jorgen@8805
  1506
#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
jorgen@8805
  1507
#define GL_CLAMP_READ_COLOR_ARB           0x891C
jorgen@8805
  1508
#define GL_FIXED_ONLY_ARB                 0x891D
jorgen@8805
  1509
#endif
jorgen@8805
  1510
jorgen@8805
  1511
#ifndef GL_ARB_half_float_pixel
jorgen@8805
  1512
#define GL_HALF_FLOAT_ARB                 0x140B
jorgen@8805
  1513
#endif
jorgen@8805
  1514
jorgen@8805
  1515
#ifndef GL_ARB_texture_float
jorgen@8805
  1516
#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
jorgen@8805
  1517
#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
jorgen@8805
  1518
#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
jorgen@8805
  1519
#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
jorgen@8805
  1520
#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
jorgen@8805
  1521
#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
jorgen@8805
  1522
#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
jorgen@8805
  1523
#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
jorgen@8805
  1524
#define GL_RGBA32F_ARB                    0x8814
jorgen@8805
  1525
#define GL_RGB32F_ARB                     0x8815
jorgen@8805
  1526
#define GL_ALPHA32F_ARB                   0x8816
jorgen@8805
  1527
#define GL_INTENSITY32F_ARB               0x8817
jorgen@8805
  1528
#define GL_LUMINANCE32F_ARB               0x8818
jorgen@8805
  1529
#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
jorgen@8805
  1530
#define GL_RGBA16F_ARB                    0x881A
jorgen@8805
  1531
#define GL_RGB16F_ARB                     0x881B
jorgen@8805
  1532
#define GL_ALPHA16F_ARB                   0x881C
jorgen@8805
  1533
#define GL_INTENSITY16F_ARB               0x881D
jorgen@8805
  1534
#define GL_LUMINANCE16F_ARB               0x881E
jorgen@8805
  1535
#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
jorgen@8805
  1536
#endif
jorgen@8805
  1537
jorgen@8805
  1538
#ifndef GL_ARB_pixel_buffer_object
jorgen@8805
  1539
#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
jorgen@8805
  1540
#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
jorgen@8805
  1541
#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
jorgen@8805
  1542
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
jorgen@8805
  1543
#endif
jorgen@8805
  1544
jorgen@8805
  1545
#ifndef GL_ARB_depth_buffer_float
jorgen@8805
  1546
#define GL_DEPTH_COMPONENT32F             0x8CAC
jorgen@8805
  1547
#define GL_DEPTH32F_STENCIL8              0x8CAD
jorgen@8805
  1548
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
jorgen@8805
  1549
#endif
jorgen@8805
  1550
jorgen@8805
  1551
#ifndef GL_ARB_draw_instanced
jorgen@8805
  1552
#endif
jorgen@8805
  1553
jorgen@8805
  1554
#ifndef GL_ARB_framebuffer_object
jorgen@8805
  1555
#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
jorgen@8805
  1556
#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
jorgen@8805
  1557
#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
jorgen@8805
  1558
#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
jorgen@8805
  1559
#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
jorgen@8805
  1560
#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
jorgen@8805
  1561
#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
jorgen@8805
  1562
#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
jorgen@8805
  1563
#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
jorgen@8805
  1564
#define GL_FRAMEBUFFER_DEFAULT            0x8218
jorgen@8805
  1565
#define GL_FRAMEBUFFER_UNDEFINED          0x8219
jorgen@8805
  1566
#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
jorgen@8805
  1567
#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
jorgen@8805
  1568
#define GL_DEPTH_STENCIL                  0x84F9
jorgen@8805
  1569
#define GL_UNSIGNED_INT_24_8              0x84FA
jorgen@8805
  1570
#define GL_DEPTH24_STENCIL8               0x88F0
jorgen@8805
  1571
#define GL_TEXTURE_STENCIL_SIZE           0x88F1
jorgen@8805
  1572
#define GL_TEXTURE_RED_TYPE               0x8C10
jorgen@8805
  1573
#define GL_TEXTURE_GREEN_TYPE             0x8C11
jorgen@8805
  1574
#define GL_TEXTURE_BLUE_TYPE              0x8C12
jorgen@8805
  1575
#define GL_TEXTURE_ALPHA_TYPE             0x8C13
jorgen@8805
  1576
#define GL_TEXTURE_DEPTH_TYPE             0x8C16
jorgen@8805
  1577
#define GL_UNSIGNED_NORMALIZED            0x8C17
jorgen@8805
  1578
#define GL_FRAMEBUFFER_BINDING            0x8CA6
jorgen@8805
  1579
#define GL_DRAW_FRAMEBUFFER_BINDING       GL_FRAMEBUFFER_BINDING
jorgen@8805
  1580
#define GL_RENDERBUFFER_BINDING           0x8CA7
jorgen@8805
  1581
#define GL_READ_FRAMEBUFFER               0x8CA8
jorgen@8805
  1582
#define GL_DRAW_FRAMEBUFFER               0x8CA9
jorgen@8805
  1583
#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
jorgen@8805
  1584
#define GL_RENDERBUFFER_SAMPLES           0x8CAB
jorgen@8805
  1585
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
jorgen@8805
  1586
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
jorgen@8805
  1587
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
jorgen@8805
  1588
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
jorgen@8805
  1589
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
jorgen@8805
  1590
#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
jorgen@8805
  1591
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
jorgen@8805
  1592
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
jorgen@8805
  1593
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
jorgen@8805
  1594
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
jorgen@8805
  1595
#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
jorgen@8805
  1596
#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
jorgen@8805
  1597
#define GL_COLOR_ATTACHMENT0              0x8CE0
jorgen@8805
  1598
#define GL_COLOR_ATTACHMENT1              0x8CE1
jorgen@8805
  1599
#define GL_COLOR_ATTACHMENT2              0x8CE2
jorgen@8805
  1600
#define GL_COLOR_ATTACHMENT3              0x8CE3
jorgen@8805
  1601
#define GL_COLOR_ATTACHMENT4              0x8CE4
jorgen@8805
  1602
#define GL_COLOR_ATTACHMENT5              0x8CE5
jorgen@8805
  1603
#define GL_COLOR_ATTACHMENT6              0x8CE6
jorgen@8805
  1604
#define GL_COLOR_ATTACHMENT7              0x8CE7
jorgen@8805
  1605
#define GL_COLOR_ATTACHMENT8              0x8CE8
jorgen@8805
  1606
#define GL_COLOR_ATTACHMENT9              0x8CE9
jorgen@8805
  1607
#define GL_COLOR_ATTACHMENT10             0x8CEA
jorgen@8805
  1608
#define GL_COLOR_ATTACHMENT11             0x8CEB
jorgen@8805
  1609
#define GL_COLOR_ATTACHMENT12             0x8CEC
jorgen@8805
  1610
#define GL_COLOR_ATTACHMENT13             0x8CED
jorgen@8805
  1611
#define GL_COLOR_ATTACHMENT14             0x8CEE
jorgen@8805
  1612
#define GL_COLOR_ATTACHMENT15             0x8CEF
jorgen@8805
  1613
#define GL_DEPTH_ATTACHMENT               0x8D00
jorgen@8805
  1614
#define GL_STENCIL_ATTACHMENT             0x8D20
jorgen@8805
  1615
#define GL_FRAMEBUFFER                    0x8D40
jorgen@8805
  1616
#define GL_RENDERBUFFER                   0x8D41
jorgen@8805
  1617
#define GL_RENDERBUFFER_WIDTH             0x8D42
jorgen@8805
  1618
#define GL_RENDERBUFFER_HEIGHT            0x8D43
jorgen@8805
  1619
#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
jorgen@8805
  1620
#define GL_STENCIL_INDEX1                 0x8D46
jorgen@8805
  1621
#define GL_STENCIL_INDEX4                 0x8D47
jorgen@8805
  1622
#define GL_STENCIL_INDEX8                 0x8D48
jorgen@8805
  1623
#define GL_STENCIL_INDEX16                0x8D49
jorgen@8805
  1624
#define GL_RENDERBUFFER_RED_SIZE          0x8D50
jorgen@8805
  1625
#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
jorgen@8805
  1626
#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
jorgen@8805
  1627
#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
jorgen@8805
  1628
#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
jorgen@8805
  1629
#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
jorgen@8805
  1630
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
jorgen@8805
  1631
#define GL_MAX_SAMPLES                    0x8D57
jorgen@8805
  1632
#endif
jorgen@8805
  1633
jorgen@8805
  1634
#ifndef GL_ARB_framebuffer_object_DEPRECATED
jorgen@8805
  1635
#define GL_INDEX                          0x8222
jorgen@8805
  1636
#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
jorgen@8805
  1637
#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
jorgen@8805
  1638
#endif
jorgen@8805
  1639
jorgen@8805
  1640
#ifndef GL_ARB_framebuffer_sRGB
jorgen@8805
  1641
#define GL_FRAMEBUFFER_SRGB               0x8DB9
jorgen@8805
  1642
#endif
jorgen@8805
  1643
jorgen@8805
  1644
#ifndef GL_ARB_geometry_shader4
jorgen@8805
  1645
#define GL_LINES_ADJACENCY_ARB            0x000A
jorgen@8805
  1646
#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
jorgen@8805
  1647
#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
jorgen@8805
  1648
#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
jorgen@8805
  1649
#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
jorgen@8805
  1650
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
jorgen@8805
  1651
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
jorgen@8805
  1652
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
jorgen@8805
  1653
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
jorgen@8805
  1654
#define GL_GEOMETRY_SHADER_ARB            0x8DD9
jorgen@8805
  1655
#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
jorgen@8805
  1656
#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
jorgen@8805
  1657
#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
jorgen@8805
  1658
#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
jorgen@8805
  1659
#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
jorgen@8805
  1660
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
jorgen@8805
  1661
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
jorgen@8805
  1662
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
jorgen@8805
  1663
/* reuse GL_MAX_VARYING_COMPONENTS */
jorgen@8805
  1664
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
jorgen@8805
  1665
#endif
jorgen@8805
  1666
jorgen@8805
  1667
#ifndef GL_ARB_half_float_vertex
jorgen@8805
  1668
#define GL_HALF_FLOAT                     0x140B
jorgen@8805
  1669
#endif
jorgen@8805
  1670
jorgen@8805
  1671
#ifndef GL_ARB_instanced_arrays
jorgen@8805
  1672
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
jorgen@8805
  1673
#endif
jorgen@8805
  1674
jorgen@8805
  1675
#ifndef GL_ARB_map_buffer_range
jorgen@8805
  1676
#define GL_MAP_READ_BIT                   0x0001
jorgen@8805
  1677
#define GL_MAP_WRITE_BIT                  0x0002
jorgen@8805
  1678
#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
jorgen@8805
  1679
#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
jorgen@8805
  1680
#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
jorgen@8805
  1681
#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
jorgen@8805
  1682
#endif
jorgen@8805
  1683
jorgen@8805
  1684
#ifndef GL_ARB_texture_buffer_object
jorgen@8805
  1685
#define GL_TEXTURE_BUFFER_ARB             0x8C2A
jorgen@8805
  1686
#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
jorgen@8805
  1687
#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
jorgen@8805
  1688
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
jorgen@8805
  1689
#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
jorgen@8805
  1690
#endif
jorgen@8805
  1691
jorgen@8805
  1692
#ifndef GL_ARB_texture_compression_rgtc
jorgen@8805
  1693
#define GL_COMPRESSED_RED_RGTC1           0x8DBB
jorgen@8805
  1694
#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
jorgen@8805
  1695
#define GL_COMPRESSED_RG_RGTC2            0x8DBD
jorgen@8805
  1696
#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
jorgen@8805
  1697
#endif
jorgen@8805
  1698
jorgen@8805
  1699
#ifndef GL_ARB_texture_rg
jorgen@8805
  1700
#define GL_RG                             0x8227
jorgen@8805
  1701
#define GL_RG_INTEGER                     0x8228
jorgen@8805
  1702
#define GL_R8                             0x8229
jorgen@8805
  1703
#define GL_R16                            0x822A
jorgen@8805
  1704
#define GL_RG8                            0x822B
jorgen@8805
  1705
#define GL_RG16                           0x822C
jorgen@8805
  1706
#define GL_R16F                           0x822D
jorgen@8805
  1707
#define GL_R32F                           0x822E
jorgen@8805
  1708
#define GL_RG16F                          0x822F
jorgen@8805
  1709
#define GL_RG32F                          0x8230
jorgen@8805
  1710
#define GL_R8I                            0x8231
jorgen@8805
  1711
#define GL_R8UI                           0x8232
jorgen@8805
  1712
#define GL_R16I                           0x8233
jorgen@8805
  1713
#define GL_R16UI                          0x8234
jorgen@8805
  1714
#define GL_R32I                           0x8235
jorgen@8805
  1715
#define GL_R32UI                          0x8236
jorgen@8805
  1716
#define GL_RG8I                           0x8237
jorgen@8805
  1717
#define GL_RG8UI                          0x8238
jorgen@8805
  1718
#define GL_RG16I                          0x8239
jorgen@8805
  1719
#define GL_RG16UI                         0x823A
jorgen@8805
  1720
#define GL_RG32I                          0x823B
jorgen@8805
  1721
#define GL_RG32UI                         0x823C
jorgen@8805
  1722
#endif
jorgen@8805
  1723
jorgen@8805
  1724
#ifndef GL_ARB_vertex_array_object
jorgen@8805
  1725
#define GL_VERTEX_ARRAY_BINDING           0x85B5
jorgen@8805
  1726
#endif
jorgen@8805
  1727
jorgen@8805
  1728
#ifndef GL_ARB_uniform_buffer_object
jorgen@8805
  1729
#define GL_UNIFORM_BUFFER                 0x8A11
jorgen@8805
  1730
#define GL_UNIFORM_BUFFER_BINDING         0x8A28
jorgen@8805
  1731
#define GL_UNIFORM_BUFFER_START           0x8A29
jorgen@8805
  1732
#define GL_UNIFORM_BUFFER_SIZE            0x8A2A
jorgen@8805
  1733
#define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
jorgen@8805
  1734
#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
jorgen@8805
  1735
#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
jorgen@8805
  1736
#define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
jorgen@8805
  1737
#define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
jorgen@8805
  1738
#define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
jorgen@8805
  1739
#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
jorgen@8805
  1740
#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
jorgen@8805
  1741
#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
jorgen@8805
  1742
#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
jorgen@8805
  1743
#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
jorgen@8805
  1744
#define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
jorgen@8805
  1745
#define GL_UNIFORM_TYPE                   0x8A37
jorgen@8805
  1746
#define GL_UNIFORM_SIZE                   0x8A38
jorgen@8805
  1747
#define GL_UNIFORM_NAME_LENGTH            0x8A39
jorgen@8805
  1748
#define GL_UNIFORM_BLOCK_INDEX            0x8A3A
jorgen@8805
  1749
#define GL_UNIFORM_OFFSET                 0x8A3B
jorgen@8805
  1750
#define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
jorgen@8805
  1751
#define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
jorgen@8805
  1752
#define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
jorgen@8805
  1753
#define GL_UNIFORM_BLOCK_BINDING          0x8A3F
jorgen@8805
  1754
#define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
jorgen@8805
  1755
#define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
jorgen@8805
  1756
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
jorgen@8805
  1757
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
jorgen@8805
  1758
#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
jorgen@8805
  1759
#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
jorgen@8805
  1760
#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
jorgen@8805
  1761
#define GL_INVALID_INDEX                  0xFFFFFFFFu
jorgen@8805
  1762
#endif
jorgen@8805
  1763
jorgen@8805
  1764
#ifndef GL_ARB_compatibility
jorgen@8805
  1765
/* ARB_compatibility just defines tokens from core 3.0 */
jorgen@8805
  1766
#endif
jorgen@8805
  1767
jorgen@8805
  1768
#ifndef GL_ARB_copy_buffer
jorgen@8805
  1769
#define GL_COPY_READ_BUFFER               0x8F36
jorgen@8805
  1770
#define GL_COPY_WRITE_BUFFER              0x8F37
jorgen@8805
  1771
#endif
jorgen@8805
  1772
jorgen@8805
  1773
#ifndef GL_ARB_shader_texture_lod
jorgen@8805
  1774
#endif
jorgen@8805
  1775
jorgen@8805
  1776
#ifndef GL_ARB_depth_clamp
jorgen@8805
  1777
#define GL_DEPTH_CLAMP                    0x864F
jorgen@8805
  1778
#endif
jorgen@8805
  1779
jorgen@8805
  1780
#ifndef GL_ARB_draw_elements_base_vertex
jorgen@8805
  1781
#endif
jorgen@8805
  1782
jorgen@8805
  1783
#ifndef GL_ARB_fragment_coord_conventions
jorgen@8805
  1784
#endif
jorgen@8805
  1785
jorgen@8805
  1786
#ifndef GL_ARB_provoking_vertex
jorgen@8805
  1787
#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
jorgen@8805
  1788
#define GL_FIRST_VERTEX_CONVENTION        0x8E4D
jorgen@8805
  1789
#define GL_LAST_VERTEX_CONVENTION         0x8E4E
jorgen@8805
  1790
#define GL_PROVOKING_VERTEX               0x8E4F
jorgen@8805
  1791
#endif
jorgen@8805
  1792
jorgen@8805
  1793
#ifndef GL_ARB_seamless_cube_map
jorgen@8805
  1794
#define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
jorgen@8805
  1795
#endif
jorgen@8805
  1796
jorgen@8805
  1797
#ifndef GL_ARB_sync
jorgen@8805
  1798
#define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
jorgen@8805
  1799
#define GL_OBJECT_TYPE                    0x9112
jorgen@8805
  1800
#define GL_SYNC_CONDITION                 0x9113
jorgen@8805
  1801
#define GL_SYNC_STATUS                    0x9114
jorgen@8805
  1802
#define GL_SYNC_FLAGS                     0x9115
jorgen@8805
  1803
#define GL_SYNC_FENCE                     0x9116
jorgen@8805
  1804
#define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
jorgen@8805
  1805
#define GL_UNSIGNALED                     0x9118
jorgen@8805
  1806
#define GL_SIGNALED                       0x9119
jorgen@8805
  1807
#define GL_ALREADY_SIGNALED               0x911A
jorgen@8805
  1808
#define GL_TIMEOUT_EXPIRED                0x911B
jorgen@8805
  1809
#define GL_CONDITION_SATISFIED            0x911C
jorgen@8805
  1810
#define GL_WAIT_FAILED                    0x911D
jorgen@8805
  1811
#define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
jorgen@8805
  1812
#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
jorgen@8805
  1813
#endif
jorgen@8805
  1814
jorgen@8805
  1815
#ifndef GL_ARB_texture_multisample
jorgen@8805
  1816
#define GL_SAMPLE_POSITION                0x8E50
jorgen@8805
  1817
#define GL_SAMPLE_MASK                    0x8E51
jorgen@8805
  1818
#define GL_SAMPLE_MASK_VALUE              0x8E52
jorgen@8805
  1819
#define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
jorgen@8805
  1820
#define GL_TEXTURE_2D_MULTISAMPLE         0x9100
jorgen@8805
  1821
#define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
jorgen@8805
  1822
#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
jorgen@8805
  1823
#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
jorgen@8805
  1824
#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
jorgen@8805
  1825
#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
jorgen@8805
  1826
#define GL_TEXTURE_SAMPLES                0x9106
jorgen@8805
  1827
#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
jorgen@8805
  1828
#define GL_SAMPLER_2D_MULTISAMPLE         0x9108
jorgen@8805
  1829
#define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
jorgen@8805
  1830
#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
jorgen@8805
  1831
#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
jorgen@8805
  1832
#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
jorgen@8805
  1833
#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
jorgen@8805
  1834
#define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
jorgen@8805
  1835
#define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
jorgen@8805
  1836
#define GL_MAX_INTEGER_SAMPLES            0x9110
jorgen@8805
  1837
#endif
jorgen@8805
  1838
jorgen@8805
  1839
#ifndef GL_ARB_vertex_array_bgra
jorgen@8805
  1840
/* reuse GL_BGRA */
jorgen@8805
  1841
#endif
jorgen@8805
  1842
jorgen@8805
  1843
#ifndef GL_ARB_draw_buffers_blend
jorgen@8805
  1844
#endif
jorgen@8805
  1845
jorgen@8805
  1846
#ifndef GL_ARB_sample_shading
jorgen@8805
  1847
#define GL_SAMPLE_SHADING_ARB             0x8C36
jorgen@8805
  1848
#define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
jorgen@8805
  1849
#endif
jorgen@8805
  1850
jorgen@8805
  1851
#ifndef GL_ARB_texture_cube_map_array
jorgen@8805
  1852
#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
jorgen@8805
  1853
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
jorgen@8805
  1854
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
jorgen@8805
  1855
#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
jorgen@8805
  1856
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
jorgen@8805
  1857
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
jorgen@8805
  1858
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
jorgen@8805
  1859
#endif
jorgen@8805
  1860
jorgen@8805
  1861
#ifndef GL_ARB_texture_gather
jorgen@8805
  1862
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
jorgen@8805
  1863
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
jorgen@8805
  1864
#endif
jorgen@8805
  1865
jorgen@8805
  1866
#ifndef GL_ARB_texture_query_lod
jorgen@8805
  1867
#endif
jorgen@8805
  1868
jorgen@8805
  1869
#ifndef GL_ARB_shading_language_include
jorgen@8805
  1870
#define GL_SHADER_INCLUDE_ARB             0x8DAE
jorgen@8805
  1871
#define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
jorgen@8805
  1872
#define GL_NAMED_STRING_TYPE_ARB          0x8DEA
jorgen@8805
  1873
#endif
jorgen@8805
  1874
jorgen@8805
  1875
#ifndef GL_ARB_texture_compression_bptc
jorgen@8805
  1876
#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
jorgen@8805
  1877
#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
jorgen@8805
  1878
#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
jorgen@8805
  1879
#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
jorgen@8805
  1880
#endif
jorgen@8805
  1881
jorgen@8805
  1882
#ifndef GL_ARB_blend_func_extended
jorgen@8805
  1883
#define GL_SRC1_COLOR                     0x88F9
jorgen@8805
  1884
/* reuse GL_SRC1_ALPHA */
jorgen@8805
  1885
#define GL_ONE_MINUS_SRC1_COLOR           0x88FA
jorgen@8805
  1886
#define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
jorgen@8805
  1887
#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
jorgen@8805
  1888
#endif
jorgen@8805
  1889
jorgen@8805
  1890
#ifndef GL_ARB_explicit_attrib_location
jorgen@8805
  1891
#endif
jorgen@8805
  1892
jorgen@8805
  1893
#ifndef GL_ARB_occlusion_query2
jorgen@8805
  1894
#define GL_ANY_SAMPLES_PASSED             0x8C2F
jorgen@8805
  1895
#endif
jorgen@8805
  1896
jorgen@8805
  1897
#ifndef GL_ARB_sampler_objects
jorgen@8805
  1898
#define GL_SAMPLER_BINDING                0x8919
jorgen@8805
  1899
#endif
jorgen@8805
  1900
jorgen@8805
  1901
#ifndef GL_ARB_shader_bit_encoding
jorgen@8805
  1902
#endif
jorgen@8805
  1903
jorgen@8805
  1904
#ifndef GL_ARB_texture_rgb10_a2ui
jorgen@8805
  1905
#define GL_RGB10_A2UI                     0x906F
jorgen@8805
  1906
#endif
jorgen@8805
  1907
jorgen@8805
  1908
#ifndef GL_ARB_texture_swizzle
jorgen@8805
  1909
#define GL_TEXTURE_SWIZZLE_R              0x8E42
jorgen@8805
  1910
#define GL_TEXTURE_SWIZZLE_G              0x8E43
jorgen@8805
  1911
#define GL_TEXTURE_SWIZZLE_B              0x8E44
jorgen@8805
  1912
#define GL_TEXTURE_SWIZZLE_A              0x8E45
jorgen@8805
  1913
#define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
jorgen@8805
  1914
#endif
jorgen@8805
  1915
jorgen@8805
  1916
#ifndef GL_ARB_timer_query
jorgen@8805
  1917
#define GL_TIME_ELAPSED                   0x88BF
jorgen@8805
  1918
#define GL_TIMESTAMP                      0x8E28
jorgen@8805
  1919
#endif
jorgen@8805
  1920
jorgen@8805
  1921
#ifndef GL_ARB_vertex_type_2_10_10_10_rev
jorgen@8805
  1922
/* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
jorgen@8805
  1923
#define GL_INT_2_10_10_10_REV             0x8D9F
jorgen@8805
  1924
#endif
jorgen@8805
  1925
jorgen@8805
  1926
#ifndef GL_ARB_draw_indirect
jorgen@8805
  1927
#define GL_DRAW_INDIRECT_BUFFER           0x8F3F
jorgen@8805
  1928
#define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
jorgen@8805
  1929
#endif
jorgen@8805
  1930
jorgen@8805
  1931
#ifndef GL_ARB_gpu_shader5
jorgen@8805
  1932
#define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
jorgen@8805
  1933
#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
jorgen@8805
  1934
#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
jorgen@8805
  1935
#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
jorgen@8805
  1936
#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
jorgen@8805
  1937
/* reuse GL_MAX_VERTEX_STREAMS */
jorgen@8805
  1938
#endif
jorgen@8805
  1939
jorgen@8805
  1940
#ifndef GL_ARB_gpu_shader_fp64
jorgen@8805
  1941
/* reuse GL_DOUBLE */
jorgen@8805
  1942
#define GL_DOUBLE_VEC2                    0x8FFC
jorgen@8805
  1943
#define GL_DOUBLE_VEC3                    0x8FFD
jorgen@8805
  1944
#define GL_DOUBLE_VEC4                    0x8FFE
jorgen@8805
  1945
#define GL_DOUBLE_MAT2                    0x8F46
jorgen@8805
  1946
#define GL_DOUBLE_MAT3                    0x8F47
jorgen@8805
  1947
#define GL_DOUBLE_MAT4                    0x8F48
jorgen@8805
  1948
#define GL_DOUBLE_MAT2x3                  0x8F49
jorgen@8805
  1949
#define GL_DOUBLE_MAT2x4                  0x8F4A
jorgen@8805
  1950
#define GL_DOUBLE_MAT3x2                  0x8F4B
jorgen@8805
  1951
#define GL_DOUBLE_MAT3x4                  0x8F4C
jorgen@8805
  1952
#define GL_DOUBLE_MAT4x2                  0x8F4D
jorgen@8805
  1953
#define GL_DOUBLE_MAT4x3                  0x8F4E
jorgen@8805
  1954
#endif
jorgen@8805
  1955
jorgen@8805
  1956
#ifndef GL_ARB_shader_subroutine
jorgen@8805
  1957
#define GL_ACTIVE_SUBROUTINES             0x8DE5
jorgen@8805
  1958
#define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
jorgen@8805
  1959
#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
jorgen@8805
  1960
#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
jorgen@8805
  1961
#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
jorgen@8805
  1962
#define GL_MAX_SUBROUTINES                0x8DE7
jorgen@8805
  1963
#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
jorgen@8805
  1964
#define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
jorgen@8805
  1965
#define GL_COMPATIBLE_SUBROUTINES         0x8E4B
jorgen@8805
  1966
/* reuse GL_UNIFORM_SIZE */
jorgen@8805
  1967
/* reuse GL_UNIFORM_NAME_LENGTH */
jorgen@8805
  1968
#endif
jorgen@8805
  1969
jorgen@8805
  1970
#ifndef GL_ARB_tessellation_shader
jorgen@8805
  1971
#define GL_PATCHES                        0x000E
jorgen@8805
  1972
#define GL_PATCH_VERTICES                 0x8E72
jorgen@8805
  1973
#define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
jorgen@8805
  1974
#define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
jorgen@8805
  1975
#define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
jorgen@8805
  1976
#define GL_TESS_GEN_MODE                  0x8E76
jorgen@8805
  1977
#define GL_TESS_GEN_SPACING               0x8E77
jorgen@8805
  1978
#define GL_TESS_GEN_VERTEX_ORDER          0x8E78
jorgen@8805
  1979
#define GL_TESS_GEN_POINT_MODE            0x8E79
jorgen@8805
  1980
/* reuse GL_TRIANGLES */
jorgen@8805
  1981
/* reuse GL_QUADS */
jorgen@8805
  1982
#define GL_ISOLINES                       0x8E7A
jorgen@8805
  1983
/* reuse GL_EQUAL */
jorgen@8805
  1984
#define GL_FRACTIONAL_ODD                 0x8E7B
jorgen@8805
  1985
#define GL_FRACTIONAL_EVEN                0x8E7C
jorgen@8805
  1986
/* reuse GL_CCW */
jorgen@8805
  1987
/* reuse GL_CW */
jorgen@8805
  1988
#define GL_MAX_PATCH_VERTICES             0x8E7D
jorgen@8805
  1989
#define GL_MAX_TESS_GEN_LEVEL             0x8E7E
jorgen@8805
  1990
#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
jorgen@8805
  1991
#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
jorgen@8805
  1992
#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
jorgen@8805
  1993
#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
jorgen@8805
  1994
#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
jorgen@8805
  1995
#define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
jorgen@8805
  1996
#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
jorgen@8805
  1997
#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
jorgen@8805
  1998
#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
jorgen@8805
  1999
#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
jorgen@8805
  2000
#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
jorgen@8805
  2001
#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
jorgen@8805
  2002
#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
jorgen@8805
  2003
#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
jorgen@8805
  2004
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
jorgen@8805
  2005
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
jorgen@8805
  2006
#define GL_TESS_EVALUATION_SHADER         0x8E87
jorgen@8805
  2007
#define GL_TESS_CONTROL_SHADER            0x8E88
jorgen@8805
  2008
#endif
jorgen@8805
  2009
jorgen@8805
  2010
#ifndef GL_ARB_texture_buffer_object_rgb32
jorgen@8805
  2011
/* reuse GL_RGB32F */
jorgen@8805
  2012
/* reuse GL_RGB32UI */
jorgen@8805
  2013
/* reuse GL_RGB32I */
jorgen@8805
  2014
#endif
jorgen@8805
  2015
jorgen@8805
  2016
#ifndef GL_ARB_transform_feedback2
jorgen@8805
  2017
#define GL_TRANSFORM_FEEDBACK             0x8E22
jorgen@8805
  2018
#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
jorgen@8805
  2019
#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
jorgen@8805
  2020
#define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
jorgen@8805
  2021
#endif
jorgen@8805
  2022
jorgen@8805
  2023
#ifndef GL_ARB_transform_feedback3
jorgen@8805
  2024
#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
jorgen@8805
  2025
#define GL_MAX_VERTEX_STREAMS             0x8E71
jorgen@8805
  2026
#endif
jorgen@8805
  2027
jorgen@8805
  2028
#ifndef GL_ARB_ES2_compatibility
jorgen@8805
  2029
#define GL_FIXED                          0x140C
jorgen@8805
  2030
#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
jorgen@8805
  2031
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
jorgen@8805
  2032
#define GL_LOW_FLOAT                      0x8DF0
jorgen@8805
  2033
#define GL_MEDIUM_FLOAT                   0x8DF1
jorgen@8805
  2034
#define GL_HIGH_FLOAT                     0x8DF2
jorgen@8805
  2035
#define GL_LOW_INT                        0x8DF3
jorgen@8805
  2036
#define GL_MEDIUM_INT                     0x8DF4
jorgen@8805
  2037
#define GL_HIGH_INT                       0x8DF5
jorgen@8805
  2038
#define GL_SHADER_COMPILER                0x8DFA
jorgen@8805
  2039
#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
jorgen@8805
  2040
#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
jorgen@8805
  2041
#define GL_MAX_VARYING_VECTORS            0x8DFC
jorgen@8805
  2042
#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
jorgen@8805
  2043
#endif
jorgen@8805
  2044
jorgen@8805
  2045
#ifndef GL_ARB_get_program_binary
jorgen@8805
  2046
#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
jorgen@8805
  2047
#define GL_PROGRAM_BINARY_LENGTH          0x8741
jorgen@8805
  2048
#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
jorgen@8805
  2049
#define GL_PROGRAM_BINARY_FORMATS         0x87FF
jorgen@8805
  2050
#endif
jorgen@8805
  2051
jorgen@8805
  2052
#ifndef GL_ARB_separate_shader_objects
jorgen@8805
  2053
#define GL_VERTEX_SHADER_BIT              0x00000001
jorgen@8805
  2054
#define GL_FRAGMENT_SHADER_BIT            0x00000002
jorgen@8805
  2055
#define GL_GEOMETRY_SHADER_BIT            0x00000004
jorgen@8805
  2056
#define GL_TESS_CONTROL_SHADER_BIT        0x00000008
jorgen@8805
  2057
#define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
jorgen@8805
  2058
#define GL_ALL_SHADER_BITS                0xFFFFFFFF
jorgen@8805
  2059
#define GL_PROGRAM_SEPARABLE              0x8258
jorgen@8805
  2060
#define GL_ACTIVE_PROGRAM                 0x8259
jorgen@8805
  2061
#define GL_PROGRAM_PIPELINE_BINDING       0x825A
jorgen@8805
  2062
#endif
jorgen@8805
  2063
jorgen@8805
  2064
#ifndef GL_ARB_shader_precision
jorgen@8805
  2065
#endif
jorgen@8805
  2066
jorgen@8805
  2067
#ifndef GL_ARB_vertex_attrib_64bit
jorgen@8805
  2068
/* reuse GL_RGB32I */
jorgen@8805
  2069
/* reuse GL_DOUBLE_VEC2 */
jorgen@8805
  2070
/* reuse GL_DOUBLE_VEC3 */
jorgen@8805
  2071
/* reuse GL_DOUBLE_VEC4 */
jorgen@8805
  2072
/* reuse GL_DOUBLE_MAT2 */
jorgen@8805
  2073
/* reuse GL_DOUBLE_MAT3 */
jorgen@8805
  2074
/* reuse GL_DOUBLE_MAT4 */
jorgen@8805
  2075
/* reuse GL_DOUBLE_MAT2x3 */
jorgen@8805
  2076
/* reuse GL_DOUBLE_MAT2x4 */
jorgen@8805
  2077
/* reuse GL_DOUBLE_MAT3x2 */
jorgen@8805
  2078
/* reuse GL_DOUBLE_MAT3x4 */
jorgen@8805
  2079
/* reuse GL_DOUBLE_MAT4x2 */
jorgen@8805
  2080
/* reuse GL_DOUBLE_MAT4x3 */
jorgen@8805
  2081
#endif
jorgen@8805
  2082
jorgen@8805
  2083
#ifndef GL_ARB_viewport_array
jorgen@8805
  2084
/* reuse GL_SCISSOR_BOX */
jorgen@8805
  2085
/* reuse GL_VIEWPORT */
jorgen@8805
  2086
/* reuse GL_DEPTH_RANGE */
jorgen@8805
  2087
/* reuse GL_SCISSOR_TEST */
jorgen@8805
  2088
#define GL_MAX_VIEWPORTS                  0x825B
jorgen@8805
  2089
#define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
jorgen@8805
  2090
#define GL_VIEWPORT_BOUNDS_RANGE          0x825D
jorgen@8805
  2091
#define GL_LAYER_PROVOKING_VERTEX         0x825E
jorgen@8805
  2092
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
jorgen@8805
  2093
#define GL_UNDEFINED_VERTEX               0x8260
jorgen@8805
  2094
/* reuse GL_FIRST_VERTEX_CONVENTION */
jorgen@8805
  2095
/* reuse GL_LAST_VERTEX_CONVENTION */
jorgen@8805
  2096
/* reuse GL_PROVOKING_VERTEX */
jorgen@8805
  2097
#endif
jorgen@8805
  2098
jorgen@8805
  2099
#ifndef GL_ARB_cl_event
jorgen@8805
  2100
#define GL_SYNC_CL_EVENT_ARB              0x8240
jorgen@8805
  2101
#define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
jorgen@8805
  2102
#endif
jorgen@8805
  2103
jorgen@8805
  2104
#ifndef GL_ARB_debug_output
jorgen@8805
  2105
#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
jorgen@8805
  2106
#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
jorgen@8805
  2107
#define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
jorgen@8805
  2108
#define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
jorgen@8805
  2109
#define GL_DEBUG_SOURCE_API_ARB           0x8246
jorgen@8805
  2110
#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
jorgen@8805
  2111
#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
jorgen@8805
  2112
#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
jorgen@8805
  2113
#define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
jorgen@8805
  2114
#define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
jorgen@8805
  2115
#define GL_DEBUG_TYPE_ERROR_ARB           0x824C
jorgen@8805
  2116
#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
jorgen@8805
  2117
#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
jorgen@8805
  2118
#define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
jorgen@8805
  2119
#define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
jorgen@8805
  2120
#define GL_DEBUG_TYPE_OTHER_ARB           0x8251
jorgen@8805
  2121
#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
jorgen@8805
  2122
#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
jorgen@8805
  2123
#define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
jorgen@8805
  2124
#define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
jorgen@8805
  2125
#define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
jorgen@8805
  2126
#define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
jorgen@8805
  2127
#endif
jorgen@8805
  2128
jorgen@8805
  2129
#ifndef GL_ARB_robustness
jorgen@8805
  2130
/* reuse GL_NO_ERROR */
jorgen@8805
  2131
#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
jorgen@8805
  2132
#define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
jorgen@8805
  2133
#define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
jorgen@8805
  2134
#define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
jorgen@8805
  2135
#define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
jorgen@8805
  2136
#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
jorgen@8805
  2137
#define GL_NO_RESET_NOTIFICATION_ARB      0x8261
jorgen@8805
  2138
#endif
jorgen@8805
  2139
jorgen@8805
  2140
#ifndef GL_ARB_shader_stencil_export
jorgen@8805
  2141
#endif
jorgen@8805
  2142
jorgen@8805
  2143
#ifndef GL_EXT_abgr
jorgen@8805
  2144
#define GL_ABGR_EXT                       0x8000
jorgen@8805
  2145
#endif
jorgen@8805
  2146
jorgen@8805
  2147
#ifndef GL_EXT_blend_color
jorgen@8805
  2148
#define GL_CONSTANT_COLOR_EXT             0x8001
jorgen@8805
  2149
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
jorgen@8805
  2150
#define GL_CONSTANT_ALPHA_EXT             0x8003
jorgen@8805
  2151
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
jorgen@8805
  2152
#define GL_BLEND_COLOR_EXT                0x8005
jorgen@8805
  2153
#endif
jorgen@8805
  2154
jorgen@8805
  2155
#ifndef GL_EXT_polygon_offset
jorgen@8805
  2156
#define GL_POLYGON_OFFSET_EXT             0x8037
jorgen@8805
  2157
#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
jorgen@8805
  2158
#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
jorgen@8805
  2159
#endif
jorgen@8805
  2160
jorgen@8805
  2161
#ifndef GL_EXT_texture
jorgen@8805
  2162
#define GL_ALPHA4_EXT                     0x803B
jorgen@8805
  2163
#define GL_ALPHA8_EXT                     0x803C
jorgen@8805
  2164
#define GL_ALPHA12_EXT                    0x803D
jorgen@8805
  2165
#define GL_ALPHA16_EXT                    0x803E
jorgen@8805
  2166
#define GL_LUMINANCE4_EXT                 0x803F
jorgen@8805
  2167
#define GL_LUMINANCE8_EXT                 0x8040
jorgen@8805
  2168
#define GL_LUMINANCE12_EXT                0x8041
jorgen@8805
  2169
#define GL_LUMINANCE16_EXT                0x8042
jorgen@8805
  2170
#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
jorgen@8805
  2171
#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
jorgen@8805
  2172
#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
jorgen@8805
  2173
#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
jorgen@8805
  2174
#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
jorgen@8805
  2175
#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
jorgen@8805
  2176
#define GL_INTENSITY_EXT                  0x8049
jorgen@8805
  2177
#define GL_INTENSITY4_EXT                 0x804A
jorgen@8805
  2178
#define GL_INTENSITY8_EXT                 0x804B
jorgen@8805
  2179
#define GL_INTENSITY12_EXT                0x804C
jorgen@8805
  2180
#define GL_INTENSITY16_EXT                0x804D
jorgen@8805
  2181
#define GL_RGB2_EXT                       0x804E
jorgen@8805
  2182
#define GL_RGB4_EXT                       0x804F
jorgen@8805
  2183
#define GL_RGB5_EXT                       0x8050
jorgen@8805
  2184
#define GL_RGB8_EXT                       0x8051
jorgen@8805
  2185
#define GL_RGB10_EXT                      0x8052
jorgen@8805
  2186
#define GL_RGB12_EXT                      0x8053
jorgen@8805
  2187
#define GL_RGB16_EXT                      0x8054
jorgen@8805
  2188
#define GL_RGBA2_EXT                      0x8055
jorgen@8805
  2189
#define GL_RGBA4_EXT                      0x8056
jorgen@8805
  2190
#define GL_RGB5_A1_EXT                    0x8057
jorgen@8805
  2191
#define GL_RGBA8_EXT                      0x8058
jorgen@8805
  2192
#define GL_RGB10_A2_EXT                   0x8059
jorgen@8805
  2193
#define GL_RGBA12_EXT                     0x805A
jorgen@8805
  2194
#define GL_RGBA16_EXT                     0x805B
jorgen@8805
  2195
#define GL_TEXTURE_RED_SIZE_EXT           0x805C
jorgen@8805
  2196
#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
jorgen@8805
  2197
#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
jorgen@8805
  2198
#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
jorgen@8805
  2199
#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
jorgen@8805
  2200
#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
jorgen@8805
  2201
#define GL_REPLACE_EXT                    0x8062
jorgen@8805
  2202
#define GL_PROXY_TEXTURE_1D_EXT           0x8063
jorgen@8805
  2203
#define GL_PROXY_TEXTURE_2D_EXT           0x8064
jorgen@8805
  2204
#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
jorgen@8805
  2205
#endif
jorgen@8805
  2206
jorgen@8805
  2207
#ifndef GL_EXT_texture3D
jorgen@8805
  2208
#define GL_PACK_SKIP_IMAGES_EXT           0x806B
jorgen@8805
  2209
#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
jorgen@8805
  2210
#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
jorgen@8805
  2211
#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
jorgen@8805
  2212
#define GL_TEXTURE_3D_EXT                 0x806F
jorgen@8805
  2213
#define GL_PROXY_TEXTURE_3D_EXT           0x8070
jorgen@8805
  2214
#define GL_TEXTURE_DEPTH_EXT              0x8071
jorgen@8805
  2215
#define GL_TEXTURE_WRAP_R_EXT             0x8072
jorgen@8805
  2216
#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
jorgen@8805
  2217
#endif
jorgen@8805
  2218
jorgen@8805
  2219
#ifndef GL_SGIS_texture_filter4
jorgen@8805
  2220
#define GL_FILTER4_SGIS                   0x8146
jorgen@8805
  2221
#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
jorgen@8805
  2222
#endif
jorgen@8805
  2223
jorgen@8805
  2224
#ifndef GL_EXT_subtexture
jorgen@8805
  2225
#endif
jorgen@8805
  2226
jorgen@8805
  2227
#ifndef GL_EXT_copy_texture
jorgen@8805
  2228
#endif
jorgen@8805
  2229
jorgen@8805
  2230
#ifndef GL_EXT_histogram
jorgen@8805
  2231
#define GL_HISTOGRAM_EXT                  0x8024
jorgen@8805
  2232
#define GL_PROXY_HISTOGRAM_EXT            0x8025
jorgen@8805
  2233
#define GL_HISTOGRAM_WIDTH_EXT            0x8026
jorgen@8805
  2234
#define GL_HISTOGRAM_FORMAT_EXT           0x8027
jorgen@8805
  2235
#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
jorgen@8805
  2236
#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
jorgen@8805
  2237
#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
jorgen@8805
  2238
#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
jorgen@8805
  2239
#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
jorgen@8805
  2240
#define GL_HISTOGRAM_SINK_EXT             0x802D
jorgen@8805
  2241
#define GL_MINMAX_EXT                     0x802E
jorgen@8805
  2242
#define GL_MINMAX_FORMAT_EXT              0x802F
jorgen@8805
  2243
#define GL_MINMAX_SINK_EXT                0x8030
jorgen@8805
  2244
#define GL_TABLE_TOO_LARGE_EXT            0x8031
jorgen@8805
  2245
#endif
jorgen@8805
  2246
jorgen@8805
  2247
#ifndef GL_EXT_convolution
jorgen@8805
  2248
#define GL_CONVOLUTION_1D_EXT             0x8010
jorgen@8805
  2249
#define GL_CONVOLUTION_2D_EXT             0x8011
jorgen@8805
  2250
#define GL_SEPARABLE_2D_EXT               0x8012
jorgen@8805
  2251
#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
jorgen@8805
  2252
#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
jorgen@8805
  2253
#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
jorgen@8805
  2254
#define GL_REDUCE_EXT                     0x8016
jorgen@8805
  2255
#define GL_CONVOLUTION_FORMAT_EXT         0x8017
jorgen@8805
  2256
#define GL_CONVOLUTION_WIDTH_EXT          0x8018
jorgen@8805
  2257
#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
jorgen@8805
  2258
#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
jorgen@8805
  2259
#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
jorgen@8805
  2260
#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
jorgen@8805
  2261
#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
jorgen@8805
  2262
#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
jorgen@8805
  2263
#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
jorgen@8805
  2264
#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
jorgen@8805
  2265
#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
jorgen@8805
  2266
#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
jorgen@8805
  2267
#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
jorgen@8805
  2268
#endif
jorgen@8805
  2269
jorgen@8805
  2270
#ifndef GL_SGI_color_matrix
jorgen@8805
  2271
#define GL_COLOR_MATRIX_SGI               0x80B1
jorgen@8805
  2272
#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
jorgen@8805
  2273
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
jorgen@8805
  2274
#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
jorgen@8805
  2275
#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
jorgen@8805
  2276
#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
jorgen@8805
  2277
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
jorgen@8805
  2278
#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
jorgen@8805
  2279
#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
jorgen@8805
  2280
#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
jorgen@8805
  2281
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
jorgen@8805
  2282
#endif
jorgen@8805
  2283
jorgen@8805
  2284
#ifndef GL_SGI_color_table
jorgen@8805
  2285
#define GL_COLOR_TABLE_SGI                0x80D0
jorgen@8805
  2286
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
jorgen@8805
  2287
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
jorgen@8805
  2288
#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
jorgen@8805
  2289
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
jorgen@8805
  2290
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
jorgen@8805
  2291
#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
jorgen@8805
  2292
#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
jorgen@8805
  2293
#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
jorgen@8805
  2294
#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
jorgen@8805
  2295
#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
jorgen@8805
  2296
#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
jorgen@8805
  2297
#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
jorgen@8805
  2298
#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
jorgen@8805
  2299
#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
jorgen@8805
  2300
#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
jorgen@8805
  2301
#endif
jorgen@8805
  2302
jorgen@8805
  2303
#ifndef GL_SGIS_pixel_texture
jorgen@8805
  2304
#define GL_PIXEL_TEXTURE_SGIS             0x8353
jorgen@8805
  2305
#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
jorgen@8805
  2306
#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
jorgen@8805
  2307
#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
jorgen@8805
  2308
#endif
jorgen@8805
  2309
jorgen@8805
  2310
#ifndef GL_SGIX_pixel_texture
jorgen@8805
  2311
#define GL_PIXEL_TEX_GEN_SGIX             0x8139
jorgen@8805
  2312
#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
jorgen@8805
  2313
#endif
jorgen@8805
  2314
jorgen@8805
  2315
#ifndef GL_SGIS_texture4D
jorgen@8805
  2316
#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
jorgen@8805
  2317
#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
jorgen@8805
  2318
#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
jorgen@8805
  2319
#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
jorgen@8805
  2320
#define GL_TEXTURE_4D_SGIS                0x8134
jorgen@8805
  2321
#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
jorgen@8805
  2322
#define GL_TEXTURE_4DSIZE_SGIS            0x8136
jorgen@8805
  2323
#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
jorgen@8805
  2324
#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
jorgen@8805
  2325
#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
jorgen@8805
  2326
#endif
jorgen@8805
  2327
jorgen@8805
  2328
#ifndef GL_SGI_texture_color_table
jorgen@8805
  2329
#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
jorgen@8805
  2330
#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
jorgen@8805
  2331
#endif
jorgen@8805
  2332
jorgen@8805
  2333
#ifndef GL_EXT_cmyka
jorgen@8805
  2334
#define GL_CMYK_EXT                       0x800C
jorgen@8805
  2335
#define GL_CMYKA_EXT                      0x800D
jorgen@8805
  2336
#define GL_PACK_CMYK_HINT_EXT             0x800E
jorgen@8805
  2337
#define GL_UNPACK_CMYK_HINT_EXT           0x800F
jorgen@8805
  2338
#endif
jorgen@8805
  2339
jorgen@8805
  2340
#ifndef GL_EXT_texture_object
jorgen@8805
  2341
#define GL_TEXTURE_PRIORITY_EXT           0x8066
jorgen@8805
  2342
#define GL_TEXTURE_RESIDENT_EXT           0x8067
jorgen@8805
  2343
#define GL_TEXTURE_1D_BINDING_EXT         0x8068
jorgen@8805
  2344
#define GL_TEXTURE_2D_BINDING_EXT         0x8069
jorgen@8805
  2345
#define GL_TEXTURE_3D_BINDING_EXT         0x806A
jorgen@8805
  2346
#endif
jorgen@8805
  2347
jorgen@8805
  2348
#ifndef GL_SGIS_detail_texture
jorgen@8805
  2349
#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
jorgen@8805
  2350
#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
jorgen@8805
  2351
#define GL_LINEAR_DETAIL_SGIS             0x8097
jorgen@8805
  2352
#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
jorgen@8805
  2353
#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
jorgen@8805
  2354
#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
jorgen@8805
  2355
#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
jorgen@8805
  2356
#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
jorgen@8805
  2357
#endif
jorgen@8805
  2358
jorgen@8805
  2359
#ifndef GL_SGIS_sharpen_texture
jorgen@8805
  2360
#define GL_LINEAR_SHARPEN_SGIS            0x80AD
jorgen@8805
  2361
#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
jorgen@8805
  2362
#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
jorgen@8805
  2363
#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
jorgen@8805
  2364
#endif
jorgen@8805
  2365
jorgen@8805
  2366
#ifndef GL_EXT_packed_pixels
jorgen@8805
  2367
#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
jorgen@8805
  2368
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
jorgen@8805
  2369
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
jorgen@8805
  2370
#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
jorgen@8805
  2371
#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
jorgen@8805
  2372
#endif
jorgen@8805
  2373
jorgen@8805
  2374
#ifndef GL_SGIS_texture_lod
jorgen@8805
  2375
#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
jorgen@8805
  2376
#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
jorgen@8805
  2377
#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
jorgen@8805
  2378
#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
jorgen@8805
  2379
#endif
jorgen@8805
  2380
jorgen@8805
  2381
#ifndef GL_SGIS_multisample
jorgen@8805
  2382
#define GL_MULTISAMPLE_SGIS               0x809D
jorgen@8805
  2383
#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
jorgen@8805
  2384
#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
jorgen@8805
  2385
#define GL_SAMPLE_MASK_SGIS               0x80A0
jorgen@8805
  2386
#define GL_1PASS_SGIS                     0x80A1
jorgen@8805
  2387
#define GL_2PASS_0_SGIS                   0x80A2
jorgen@8805
  2388
#define GL_2PASS_1_SGIS                   0x80A3
jorgen@8805
  2389
#define GL_4PASS_0_SGIS                   0x80A4
jorgen@8805
  2390
#define GL_4PASS_1_SGIS                   0x80A5
jorgen@8805
  2391
#define GL_4PASS_2_SGIS                   0x80A6
jorgen@8805
  2392
#define GL_4PASS_3_SGIS                   0x80A7
jorgen@8805
  2393
#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
jorgen@8805
  2394
#define GL_SAMPLES_SGIS                   0x80A9
jorgen@8805
  2395
#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
jorgen@8805
  2396
#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
jorgen@8805
  2397
#define GL_SAMPLE_PATTERN_SGIS            0x80AC
jorgen@8805
  2398
#endif
jorgen@8805
  2399
jorgen@8805
  2400
#ifndef GL_EXT_rescale_normal
jorgen@8805
  2401
#define GL_RESCALE_NORMAL_EXT             0x803A
jorgen@8805
  2402
#endif
jorgen@8805
  2403
jorgen@8805
  2404
#ifndef GL_EXT_vertex_array
jorgen@8805
  2405
#define GL_VERTEX_ARRAY_EXT               0x8074
jorgen@8805
  2406
#define GL_NORMAL_ARRAY_EXT               0x8075
jorgen@8805
  2407
#define GL_COLOR_ARRAY_EXT                0x8076
jorgen@8805
  2408
#define GL_INDEX_ARRAY_EXT                0x8077
jorgen@8805
  2409
#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
jorgen@8805
  2410
#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
jorgen@8805
  2411
#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
jorgen@8805
  2412
#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
jorgen@8805
  2413
#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
jorgen@8805
  2414
#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
jorgen@8805
  2415
#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
jorgen@8805
  2416
#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
jorgen@8805
  2417
#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
jorgen@8805
  2418
#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
jorgen@8805
  2419
#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
jorgen@8805
  2420
#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
jorgen@8805
  2421
#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
jorgen@8805
  2422
#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
jorgen@8805
  2423
#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
jorgen@8805
  2424
#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
jorgen@8805
  2425
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
jorgen@8805
  2426
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
jorgen@8805
  2427
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
jorgen@8805
  2428
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
jorgen@8805
  2429
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
jorgen@8805
  2430
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
jorgen@8805
  2431
#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
jorgen@8805
  2432
#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
jorgen@8805
  2433
#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
jorgen@8805
  2434
#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
jorgen@8805
  2435
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
jorgen@8805
  2436
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
jorgen@8805
  2437
#endif
jorgen@8805
  2438
jorgen@8805
  2439
#ifndef GL_EXT_misc_attribute
jorgen@8805
  2440
#endif
jorgen@8805
  2441
jorgen@8805
  2442
#ifndef GL_SGIS_generate_mipmap
jorgen@8805
  2443
#define GL_GENERATE_MIPMAP_SGIS           0x8191
jorgen@8805
  2444
#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
jorgen@8805
  2445
#endif
jorgen@8805
  2446
jorgen@8805
  2447
#ifndef GL_SGIX_clipmap
jorgen@8805
  2448
#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
jorgen@8805
  2449
#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
jorgen@8805
  2450
#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
jorgen@8805
  2451
#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
jorgen@8805
  2452
#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
jorgen@8805
  2453
#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
jorgen@8805
  2454
#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
jorgen@8805
  2455
#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
jorgen@8805
  2456
#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
jorgen@8805
  2457
#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
jorgen@8805
  2458
#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
jorgen@8805
  2459
#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
jorgen@8805
  2460
#endif
jorgen@8805
  2461
jorgen@8805
  2462
#ifndef GL_SGIX_shadow
jorgen@8805
  2463
#define GL_TEXTURE_COMPARE_SGIX           0x819A
jorgen@8805
  2464
#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
jorgen@8805
  2465
#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
jorgen@8805
  2466
#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
jorgen@8805
  2467
#endif
jorgen@8805
  2468
jorgen@8805
  2469
#ifndef GL_SGIS_texture_edge_clamp
jorgen@8805
  2470
#define GL_CLAMP_TO_EDGE_SGIS             0x812F
jorgen@8805
  2471
#endif
jorgen@8805
  2472
jorgen@8805
  2473
#ifndef GL_SGIS_texture_border_clamp
jorgen@8805
  2474
#define GL_CLAMP_TO_BORDER_SGIS           0x812D
jorgen@8805
  2475
#endif
jorgen@8805
  2476
jorgen@8805
  2477
#ifndef GL_EXT_blend_minmax
jorgen@8805
  2478
#define GL_FUNC_ADD_EXT                   0x8006
jorgen@8805
  2479
#define GL_MIN_EXT                        0x8007
jorgen@8805
  2480
#define GL_MAX_EXT                        0x8008
jorgen@8805
  2481
#define GL_BLEND_EQUATION_EXT             0x8009
jorgen@8805
  2482
#endif
jorgen@8805
  2483
jorgen@8805
  2484
#ifndef GL_EXT_blend_subtract
jorgen@8805
  2485
#define GL_FUNC_SUBTRACT_EXT              0x800A
jorgen@8805
  2486
#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
jorgen@8805
  2487
#endif
jorgen@8805
  2488
jorgen@8805
  2489
#ifndef GL_EXT_blend_logic_op
jorgen@8805
  2490
#endif
jorgen@8805
  2491
jorgen@8805
  2492
#ifndef GL_SGIX_interlace
jorgen@8805
  2493
#define GL_INTERLACE_SGIX                 0x8094
jorgen@8805
  2494
#endif
jorgen@8805
  2495
jorgen@8805
  2496
#ifndef GL_SGIX_pixel_tiles
jorgen@8805
  2497
#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
jorgen@8805
  2498
#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
jorgen@8805
  2499
#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
jorgen@8805
  2500
#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
jorgen@8805
  2501
#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
jorgen@8805
  2502
#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
jorgen@8805
  2503
#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
jorgen@8805
  2504
#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
jorgen@8805
  2505
#endif
jorgen@8805
  2506
jorgen@8805
  2507
#ifndef GL_SGIS_texture_select
jorgen@8805
  2508
#define GL_DUAL_ALPHA4_SGIS               0x8110
jorgen@8805
  2509
#define GL_DUAL_ALPHA8_SGIS               0x8111
jorgen@8805
  2510
#define GL_DUAL_ALPHA12_SGIS              0x8112
jorgen@8805
  2511
#define GL_DUAL_ALPHA16_SGIS              0x8113
jorgen@8805
  2512
#define GL_DUAL_LUMINANCE4_SGIS           0x8114
jorgen@8805
  2513
#define GL_DUAL_LUMINANCE8_SGIS           0x8115
jorgen@8805
  2514
#define GL_DUAL_LUMINANCE12_SGIS          0x8116
jorgen@8805
  2515
#define GL_DUAL_LUMINANCE16_SGIS          0x8117
jorgen@8805
  2516
#define GL_DUAL_INTENSITY4_SGIS           0x8118
jorgen@8805
  2517
#define GL_DUAL_INTENSITY8_SGIS           0x8119
jorgen@8805
  2518
#define GL_DUAL_INTENSITY12_SGIS          0x811A
jorgen@8805
  2519
#define GL_DUAL_INTENSITY16_SGIS          0x811B
jorgen@8805
  2520
#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
jorgen@8805
  2521
#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
jorgen@8805
  2522
#define GL_QUAD_ALPHA4_SGIS               0x811E
jorgen@8805
  2523
#define GL_QUAD_ALPHA8_SGIS               0x811F
jorgen@8805
  2524
#define GL_QUAD_LUMINANCE4_SGIS           0x8120
jorgen@8805
  2525
#define GL_QUAD_LUMINANCE8_SGIS           0x8121
jorgen@8805
  2526
#define GL_QUAD_INTENSITY4_SGIS           0x8122
jorgen@8805
  2527
#define GL_QUAD_INTENSITY8_SGIS           0x8123
jorgen@8805
  2528
#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
jorgen@8805
  2529
#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
jorgen@8805
  2530
#endif
jorgen@8805
  2531
jorgen@8805
  2532
#ifndef GL_SGIX_sprite
jorgen@8805
  2533
#define GL_SPRITE_SGIX                    0x8148
jorgen@8805
  2534
#define GL_SPRITE_MODE_SGIX               0x8149
jorgen@8805
  2535
#define GL_SPRITE_AXIS_SGIX               0x814A
jorgen@8805
  2536
#define GL_SPRITE_TRANSLATION_SGIX        0x814B
jorgen@8805
  2537
#define GL_SPRITE_AXIAL_SGIX              0x814C
jorgen@8805
  2538
#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
jorgen@8805
  2539
#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
jorgen@8805
  2540
#endif
jorgen@8805
  2541
jorgen@8805
  2542
#ifndef GL_SGIX_texture_multi_buffer
jorgen@8805
  2543
#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
jorgen@8805
  2544
#endif
jorgen@8805
  2545
jorgen@8805
  2546
#ifndef GL_EXT_point_parameters
jorgen@8805
  2547
#define GL_POINT_SIZE_MIN_EXT             0x8126
jorgen@8805
  2548
#define GL_POINT_SIZE_MAX_EXT             0x8127
jorgen@8805
  2549
#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
jorgen@8805
  2550
#define GL_DISTANCE_ATTENUATION_EXT       0x8129
jorgen@8805
  2551
#endif
jorgen@8805
  2552
jorgen@8805
  2553
#ifndef GL_SGIS_point_parameters
jorgen@8805
  2554
#define GL_POINT_SIZE_MIN_SGIS            0x8126
jorgen@8805
  2555
#define GL_POINT_SIZE_MAX_SGIS            0x8127
jorgen@8805
  2556
#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
jorgen@8805
  2557
#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
jorgen@8805
  2558
#endif
jorgen@8805
  2559
jorgen@8805
  2560
#ifndef GL_SGIX_instruments
jorgen@8805
  2561
#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
jorgen@8805
  2562
#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
jorgen@8805
  2563
#endif
jorgen@8805
  2564
jorgen@8805
  2565
#ifndef GL_SGIX_texture_scale_bias
jorgen@8805
  2566
#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
jorgen@8805
  2567
#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
jorgen@8805
  2568
#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
jorgen@8805
  2569
#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
jorgen@8805
  2570
#endif
jorgen@8805
  2571
jorgen@8805
  2572
#ifndef GL_SGIX_framezoom
jorgen@8805
  2573
#define GL_FRAMEZOOM_SGIX                 0x818B
jorgen@8805
  2574
#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
jorgen@8805
  2575
#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
jorgen@8805
  2576
#endif
jorgen@8805
  2577
jorgen@8805
  2578
#ifndef GL_SGIX_tag_sample_buffer
jorgen@8805
  2579
#endif
jorgen@8805
  2580
jorgen@8805
  2581
#ifndef GL_FfdMaskSGIX
jorgen@8805
  2582
#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
jorgen@8805
  2583
#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
jorgen@8805
  2584
#endif
jorgen@8805
  2585
jorgen@8805
  2586
#ifndef GL_SGIX_polynomial_ffd
jorgen@8805
  2587
#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
jorgen@8805
  2588
#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
jorgen@8805
  2589
#define GL_DEFORMATIONS_MASK_SGIX         0x8196
jorgen@8805
  2590
#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
jorgen@8805
  2591
#endif
jorgen@8805
  2592
jorgen@8805
  2593
#ifndef GL_SGIX_reference_plane
jorgen@8805
  2594
#define GL_REFERENCE_PLANE_SGIX           0x817D
jorgen@8805
  2595
#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
jorgen@8805
  2596
#endif
jorgen@8805
  2597
jorgen@8805
  2598
#ifndef GL_SGIX_flush_raster
jorgen@8805
  2599
#endif
jorgen@8805
  2600
jorgen@8805
  2601
#ifndef GL_SGIX_depth_texture
jorgen@8805
  2602
#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
jorgen@8805
  2603
#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
jorgen@8805
  2604
#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
jorgen@8805
  2605
#endif
jorgen@8805
  2606
jorgen@8805
  2607
#ifndef GL_SGIS_fog_function
jorgen@8805
  2608
#define GL_FOG_FUNC_SGIS                  0x812A
jorgen@8805
  2609
#define GL_FOG_FUNC_POINTS_SGIS           0x812B
jorgen@8805
  2610
#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
jorgen@8805
  2611
#endif
jorgen@8805
  2612
jorgen@8805
  2613
#ifndef GL_SGIX_fog_offset
jorgen@8805
  2614
#define GL_FOG_OFFSET_SGIX                0x8198
jorgen@8805
  2615
#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
jorgen@8805
  2616
#endif
jorgen@8805
  2617
jorgen@8805
  2618
#ifndef GL_HP_image_transform
jorgen@8805
  2619
#define GL_IMAGE_SCALE_X_HP               0x8155
jorgen@8805
  2620
#define GL_IMAGE_SCALE_Y_HP               0x8156
jorgen@8805
  2621
#define GL_IMAGE_TRANSLATE_X_HP           0x8157
jorgen@8805
  2622
#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
jorgen@8805
  2623
#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
jorgen@8805
  2624
#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
jorgen@8805
  2625
#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
jorgen@8805
  2626
#define GL_IMAGE_MAG_FILTER_HP            0x815C
jorgen@8805
  2627
#define GL_IMAGE_MIN_FILTER_HP            0x815D
jorgen@8805
  2628
#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
jorgen@8805
  2629
#define GL_CUBIC_HP                       0x815F
jorgen@8805
  2630
#define GL_AVERAGE_HP                     0x8160
jorgen@8805
  2631
#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
jorgen@8805
  2632
#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162