include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 01 Apr 2013 23:15:21 -0700
changeset 7042 6460bf6d33cf
parent 6885 700f1b25f77f
child 7191 75360622e65f
permissions -rw-r--r--
Fixed bug 1782 - SDL_opengl.h header disabled on FreeBSD

q66

The SDL_opengl.h header contains this:

#ifdef __FreeBSD__ /* !!! FIXME: temp compiler warning fix... */
#define NO_SDL_GLEXT 1
#endif

However, I can't seem to find what kind of compiler warning it was and it makes it unusable to use on FreeBSD. If I comment out these lines on my machine, everything works fine - I use FreeBSD 9-STABLE (x86_64, gcc and clang both, the same in a x86 chroot). All I could find is that this was causing an error on FreeBSD 8, but I can't test that on my machine (maybe if I set up some FreeBSD 8 chroot).

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