include/SDL_opengl_glext.h
author Ryan C. Gordon <icculus@icculus.org>
Mon, 14 Jan 2019 19:43:25 -0500
changeset 12548 1ae839748d02
parent 9412 8b1436ce1028
permissions -rw-r--r--
evdev: don't debug log on a BTN_TOUCH from a non-touch device.
jorgen@8805
     1
#ifndef __glext_h_
jorgen@8807
     2
#define __glext_h_ 1
jorgen@8805
     3
jorgen@8805
     4
#ifdef __cplusplus
jorgen@8805
     5
extern "C" {
jorgen@8805
     6
#endif
jorgen@8805
     7
jorgen@8805
     8
/*
jorgen@8807
     9
** Copyright (c) 2013-2014 The Khronos Group Inc.
jorgen@8805
    10
**
jorgen@8805
    11
** Permission is hereby granted, free of charge, to any person obtaining a
jorgen@8805
    12
** copy of this software and/or associated documentation files (the
jorgen@8805
    13
** "Materials"), to deal in the Materials without restriction, including
jorgen@8805
    14
** without limitation the rights to use, copy, modify, merge, publish,
jorgen@8805
    15
** distribute, sublicense, and/or sell copies of the Materials, and to
jorgen@8805
    16
** permit persons to whom the Materials are furnished to do so, subject to
jorgen@8805
    17
** the following conditions:
jorgen@8805
    18
**
jorgen@8805
    19
** The above copyright notice and this permission notice shall be included
jorgen@8805
    20
** in all copies or substantial portions of the Materials.
jorgen@8805
    21
**
jorgen@8805
    22
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
jorgen@8805
    23
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
jorgen@8805
    24
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
jorgen@8805
    25
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
jorgen@8805
    26
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
jorgen@8805
    27
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
jorgen@8805
    28
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
jorgen@8805
    29
*/
jorgen@8807
    30
/*
jorgen@8807
    31
** This header is generated from the Khronos OpenGL / OpenGL ES XML
jorgen@8807
    32
** API Registry. The current version of the Registry, generator scripts
jorgen@8807
    33
** used to make the header, and the header can be found at
jorgen@8807
    34
**   http://www.opengl.org/registry/
jorgen@8807
    35
**
jorgen@8807
    36
** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
jorgen@8807
    37
*/
jorgen@8805
    38
jorgen@8805
    39
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
jorgen@8807
    40
#ifndef WIN32_LEAN_AND_MEAN
jorgen@8805
    41
#define WIN32_LEAN_AND_MEAN 1
jorgen@8807
    42
#endif
jorgen@8805
    43
#include <windows.h>
jorgen@8805
    44
#endif
jorgen@8805
    45
jorgen@8805
    46
#ifndef APIENTRY
jorgen@8805
    47
#define APIENTRY
jorgen@8805
    48
#endif
jorgen@8805
    49
#ifndef APIENTRYP
jorgen@8805
    50
#define APIENTRYP APIENTRY *
jorgen@8805
    51
#endif
jorgen@8805
    52
#ifndef GLAPI
jorgen@8805
    53
#define GLAPI extern
jorgen@8805
    54
#endif
jorgen@8805
    55
jorgen@8807
    56
#define GL_GLEXT_VERSION 20140521
jorgen@8807
    57
jorgen@8807
    58
/* Generated C header for:
jorgen@8807
    59
 * API: gl
jorgen@8807
    60
 * Profile: compatibility
jorgen@8807
    61
 * Versions considered: .*
jorgen@8807
    62
 * Versions emitted: 1\.[2-9]|[234]\.[0-9]
jorgen@8807
    63
 * Default extensions included: gl
jorgen@8807
    64
 * Additional extensions included: _nomatch_^
jorgen@8807
    65
 * Extensions removed: _nomatch_^
jorgen@8807
    66
 */
jorgen@8805
    67
jorgen@8805
    68
#ifndef GL_VERSION_1_2
jorgen@8807
    69
#define GL_VERSION_1_2 1
jorgen@8805
    70
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
jorgen@8805
    71
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
jorgen@8805
    72
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
jorgen@8805
    73
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
jorgen@8805
    74
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
jorgen@8805
    75
#define GL_TEXTURE_BINDING_3D             0x806A
jorgen@8805
    76
#define GL_PACK_SKIP_IMAGES               0x806B
jorgen@8805
    77
#define GL_PACK_IMAGE_HEIGHT              0x806C
jorgen@8805
    78
#define GL_UNPACK_SKIP_IMAGES             0x806D
jorgen@8805
    79
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
jorgen@8805
    80
#define GL_TEXTURE_3D                     0x806F
jorgen@8805
    81
#define GL_PROXY_TEXTURE_3D               0x8070
jorgen@8805
    82
#define GL_TEXTURE_DEPTH                  0x8071
jorgen@8805
    83
#define GL_TEXTURE_WRAP_R                 0x8072
jorgen@8805
    84
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
jorgen@8805
    85
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
jorgen@8805
    86
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
jorgen@8805
    87
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
jorgen@8805
    88
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
jorgen@8805
    89
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
jorgen@8805
    90
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
jorgen@8805
    91
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
jorgen@8805
    92
#define GL_BGR                            0x80E0
jorgen@8805
    93
#define GL_BGRA                           0x80E1
jorgen@8805
    94
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
jorgen@8805
    95
#define GL_MAX_ELEMENTS_INDICES           0x80E9
jorgen@8805
    96
#define GL_CLAMP_TO_EDGE                  0x812F
jorgen@8805
    97
#define GL_TEXTURE_MIN_LOD                0x813A
jorgen@8805
    98
#define GL_TEXTURE_MAX_LOD                0x813B
jorgen@8805
    99
#define GL_TEXTURE_BASE_LEVEL             0x813C
jorgen@8805
   100
#define GL_TEXTURE_MAX_LEVEL              0x813D
jorgen@8805
   101
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
jorgen@8805
   102
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
jorgen@8805
   103
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
jorgen@8805
   104
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
jorgen@8805
   105
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
jorgen@8805
   106
#define GL_RESCALE_NORMAL                 0x803A
jorgen@8805
   107
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
jorgen@8805
   108
#define GL_SINGLE_COLOR                   0x81F9
jorgen@8805
   109
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
jorgen@8805
   110
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
jorgen@8807
   111
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
jorgen@8807
   112
typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
jorgen@8807
   113
typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
jorgen@8807
   114
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
jorgen@8807
   115
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
   116
GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
jorgen@8807
   117
GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
jorgen@8807
   118
GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
jorgen@8807
   119
GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
jorgen@8807
   120
#endif
jorgen@8807
   121
#endif /* GL_VERSION_1_2 */
jorgen@8805
   122
jorgen@8805
   123
#ifndef GL_VERSION_1_3
jorgen@8807
   124
#define GL_VERSION_1_3 1
jorgen@8805
   125
#define GL_TEXTURE0                       0x84C0
jorgen@8805
   126
#define GL_TEXTURE1                       0x84C1
jorgen@8805
   127
#define GL_TEXTURE2                       0x84C2
jorgen@8805
   128
#define GL_TEXTURE3                       0x84C3
jorgen@8805
   129
#define GL_TEXTURE4                       0x84C4
jorgen@8805
   130
#define GL_TEXTURE5                       0x84C5
jorgen@8805
   131
#define GL_TEXTURE6                       0x84C6
jorgen@8805
   132
#define GL_TEXTURE7                       0x84C7
jorgen@8805
   133
#define GL_TEXTURE8                       0x84C8
jorgen@8805
   134
#define GL_TEXTURE9                       0x84C9
jorgen@8805
   135
#define GL_TEXTURE10                      0x84CA
jorgen@8805
   136
#define GL_TEXTURE11                      0x84CB
jorgen@8805
   137
#define GL_TEXTURE12                      0x84CC
jorgen@8805
   138
#define GL_TEXTURE13                      0x84CD
jorgen@8805
   139
#define GL_TEXTURE14                      0x84CE
jorgen@8805
   140
#define GL_TEXTURE15                      0x84CF
jorgen@8805
   141
#define GL_TEXTURE16                      0x84D0
jorgen@8805
   142
#define GL_TEXTURE17                      0x84D1
jorgen@8805
   143
#define GL_TEXTURE18                      0x84D2
jorgen@8805
   144
#define GL_TEXTURE19                      0x84D3
jorgen@8805
   145
#define GL_TEXTURE20                      0x84D4
jorgen@8805
   146
#define GL_TEXTURE21                      0x84D5
jorgen@8805
   147
#define GL_TEXTURE22                      0x84D6
jorgen@8805
   148
#define GL_TEXTURE23                      0x84D7
jorgen@8805
   149
#define GL_TEXTURE24                      0x84D8
jorgen@8805
   150
#define GL_TEXTURE25                      0x84D9
jorgen@8805
   151
#define GL_TEXTURE26                      0x84DA
jorgen@8805
   152
#define GL_TEXTURE27                      0x84DB
jorgen@8805
   153
#define GL_TEXTURE28                      0x84DC
jorgen@8805
   154
#define GL_TEXTURE29                      0x84DD
jorgen@8805
   155
#define GL_TEXTURE30                      0x84DE
jorgen@8805
   156
#define GL_TEXTURE31                      0x84DF
jorgen@8805
   157
#define GL_ACTIVE_TEXTURE                 0x84E0
jorgen@8805
   158
#define GL_MULTISAMPLE                    0x809D
jorgen@8805
   159
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
jorgen@8805
   160
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
jorgen@8805
   161
#define GL_SAMPLE_COVERAGE                0x80A0
jorgen@8805
   162
#define GL_SAMPLE_BUFFERS                 0x80A8
jorgen@8805
   163
#define GL_SAMPLES                        0x80A9
jorgen@8805
   164
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
jorgen@8805
   165
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
jorgen@8805
   166
#define GL_TEXTURE_CUBE_MAP               0x8513
jorgen@8805
   167
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
jorgen@8805
   168
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
jorgen@8805
   169
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
jorgen@8805
   170
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
jorgen@8805
   171
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
jorgen@8805
   172
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
jorgen@8805
   173
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
jorgen@8805
   174
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
jorgen@8805
   175
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
jorgen@8805
   176
#define GL_COMPRESSED_RGB                 0x84ED
jorgen@8805
   177
#define GL_COMPRESSED_RGBA                0x84EE
jorgen@8805
   178
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
jorgen@8805
   179
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
jorgen@8805
   180
#define GL_TEXTURE_COMPRESSED             0x86A1
jorgen@8805
   181
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
jorgen@8805
   182
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
jorgen@8805
   183
#define GL_CLAMP_TO_BORDER                0x812D
jorgen@8805
   184
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
jorgen@8805
   185
#define GL_MAX_TEXTURE_UNITS              0x84E2
jorgen@8805
   186
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
jorgen@8805
   187
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
jorgen@8805
   188
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
jorgen@8805
   189
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
jorgen@8805
   190
#define GL_MULTISAMPLE_BIT                0x20000000
jorgen@8805
   191
#define GL_NORMAL_MAP                     0x8511
jorgen@8805
   192
#define GL_REFLECTION_MAP                 0x8512
jorgen@8805
   193
#define GL_COMPRESSED_ALPHA               0x84E9
jorgen@8805
   194
#define GL_COMPRESSED_LUMINANCE           0x84EA
jorgen@8805
   195
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
jorgen@8805
   196
#define GL_COMPRESSED_INTENSITY           0x84EC
jorgen@8805
   197
#define GL_COMBINE                        0x8570
jorgen@8805
   198
#define GL_COMBINE_RGB                    0x8571
jorgen@8805
   199
#define GL_COMBINE_ALPHA                  0x8572
jorgen@8805
   200
#define GL_SOURCE0_RGB                    0x8580
jorgen@8805
   201
#define GL_SOURCE1_RGB                    0x8581
jorgen@8805
   202
#define GL_SOURCE2_RGB                    0x8582
jorgen@8805
   203
#define GL_SOURCE0_ALPHA                  0x8588
jorgen@8805
   204
#define GL_SOURCE1_ALPHA                  0x8589
jorgen@8805
   205
#define GL_SOURCE2_ALPHA                  0x858A
jorgen@8805
   206
#define GL_OPERAND0_RGB                   0x8590
jorgen@8805
   207
#define GL_OPERAND1_RGB                   0x8591
jorgen@8805
   208
#define GL_OPERAND2_RGB                   0x8592
jorgen@8805
   209
#define GL_OPERAND0_ALPHA                 0x8598
jorgen@8805
   210
#define GL_OPERAND1_ALPHA                 0x8599
jorgen@8805
   211
#define GL_OPERAND2_ALPHA                 0x859A
jorgen@8805
   212
#define GL_RGB_SCALE                      0x8573
jorgen@8805
   213
#define GL_ADD_SIGNED                     0x8574
jorgen@8805
   214
#define GL_INTERPOLATE                    0x8575
jorgen@8805
   215
#define GL_SUBTRACT                       0x84E7
jorgen@8805
   216
#define GL_CONSTANT                       0x8576
jorgen@8805
   217
#define GL_PRIMARY_COLOR                  0x8577
jorgen@8805
   218
#define GL_PREVIOUS                       0x8578
jorgen@8805
   219
#define GL_DOT3_RGB                       0x86AE
jorgen@8805
   220
#define GL_DOT3_RGBA                      0x86AF
jorgen@8807
   221
typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
jorgen@8807
   222
typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
jorgen@8807
   223
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
jorgen@8807
   224
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
jorgen@8807
   225
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
jorgen@8807
   226
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
jorgen@8807
   227
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
jorgen@8807
   228
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
jorgen@8807
   229
typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
jorgen@8807
   230
typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
jorgen@8807
   231
typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
jorgen@8807
   232
typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
jorgen@8807
   233
typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
jorgen@8807
   234
typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
jorgen@8807
   235
typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
jorgen@8807
   236
typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
jorgen@8807
   237
typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
jorgen@8807
   238
typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
jorgen@8807
   239
typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
jorgen@8807
   240
typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
jorgen@8807
   241
typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
jorgen@8807
   242
typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
jorgen@8807
   243
typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
jorgen@8807
   244
typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
jorgen@8807
   245
typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
jorgen@8807
   246
typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
jorgen@8807
   247
typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
jorgen@8807
   248
typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
jorgen@8807
   249
typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
jorgen@8807
   250
typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
jorgen@8807
   251
typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
jorgen@8807
   252
typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
jorgen@8807
   253
typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
jorgen@8807
   254
typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
jorgen@8807
   255
typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
jorgen@8807
   256
typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
jorgen@8807
   257
typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
jorgen@8807
   258
typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
jorgen@8807
   259
typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
jorgen@8807
   260
typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
jorgen@8807
   261
typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
jorgen@8807
   262
typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
jorgen@8807
   263
typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
jorgen@8807
   264
typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
jorgen@8807
   265
typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
jorgen@8807
   266
typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
jorgen@8807
   267
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
   268
GLAPI void APIENTRY glActiveTexture (GLenum texture);
jorgen@8807
   269
GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
jorgen@8807
   270
GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
jorgen@8807
   271
GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
jorgen@8807
   272
GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
jorgen@8807
   273
GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
jorgen@8807
   274
GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
jorgen@8807
   275
GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
jorgen@8807
   276
GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
jorgen@8807
   277
GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
jorgen@8807
   278
GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
jorgen@8807
   279
GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
jorgen@8807
   280
GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
jorgen@8807
   281
GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
jorgen@8807
   282
GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
jorgen@8807
   283
GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
jorgen@8807
   284
GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
jorgen@8807
   285
GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
jorgen@8807
   286
GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
jorgen@8807
   287
GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
jorgen@8807
   288
GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
jorgen@8807
   289
GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
jorgen@8807
   290
GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
jorgen@8807
   291
GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
jorgen@8807
   292
GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
jorgen@8807
   293
GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
jorgen@8807
   294
GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
jorgen@8807
   295
GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
jorgen@8807
   296
GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
jorgen@8807
   297
GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
jorgen@8807
   298
GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
jorgen@8807
   299
GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
jorgen@8807
   300
GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
jorgen@8807
   301
GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
jorgen@8807
   302
GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
jorgen@8807
   303
GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
jorgen@8807
   304
GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
jorgen@8807
   305
GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
jorgen@8807
   306
GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
jorgen@8807
   307
GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
jorgen@8807
   308
GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
jorgen@8807
   309
GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
jorgen@8807
   310
GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
jorgen@8807
   311
GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
jorgen@8807
   312
GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
jorgen@8807
   313
GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
jorgen@8807
   314
#endif
jorgen@8807
   315
#endif /* GL_VERSION_1_3 */
jorgen@8805
   316
jorgen@8805
   317
#ifndef GL_VERSION_1_4
jorgen@8807
   318
#define GL_VERSION_1_4 1
jorgen@8805
   319
#define GL_BLEND_DST_RGB                  0x80C8
jorgen@8805
   320
#define GL_BLEND_SRC_RGB                  0x80C9
jorgen@8805
   321
#define GL_BLEND_DST_ALPHA                0x80CA
jorgen@8805
   322
#define GL_BLEND_SRC_ALPHA                0x80CB
jorgen@8805
   323
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
jorgen@8805
   324
#define GL_DEPTH_COMPONENT16              0x81A5
jorgen@8805
   325
#define GL_DEPTH_COMPONENT24              0x81A6
jorgen@8805
   326
#define GL_DEPTH_COMPONENT32              0x81A7
jorgen@8805
   327
#define GL_MIRRORED_REPEAT                0x8370
jorgen@8805
   328
#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
jorgen@8805
   329
#define GL_TEXTURE_LOD_BIAS               0x8501
jorgen@8805
   330
#define GL_INCR_WRAP                      0x8507
jorgen@8805
   331
#define GL_DECR_WRAP                      0x8508
jorgen@8805
   332
#define GL_TEXTURE_DEPTH_SIZE             0x884A
jorgen@8805
   333
#define GL_TEXTURE_COMPARE_MODE           0x884C
jorgen@8805
   334
#define GL_TEXTURE_COMPARE_FUNC           0x884D
jorgen@8805
   335
#define GL_POINT_SIZE_MIN                 0x8126
jorgen@8805
   336
#define GL_POINT_SIZE_MAX                 0x8127
jorgen@8805
   337
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
jorgen@8805
   338
#define GL_GENERATE_MIPMAP                0x8191
jorgen@8805
   339
#define GL_GENERATE_MIPMAP_HINT           0x8192
jorgen@8805
   340
#define GL_FOG_COORDINATE_SOURCE          0x8450
jorgen@8805
   341
#define GL_FOG_COORDINATE                 0x8451
jorgen@8805
   342
#define GL_FRAGMENT_DEPTH                 0x8452
jorgen@8805
   343
#define GL_CURRENT_FOG_COORDINATE         0x8453
jorgen@8805
   344
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
jorgen@8805
   345
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
jorgen@8805
   346
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
jorgen@8805
   347
#define GL_FOG_COORDINATE_ARRAY           0x8457
jorgen@8805
   348
#define GL_COLOR_SUM                      0x8458
jorgen@8805
   349
#define GL_CURRENT_SECONDARY_COLOR        0x8459
jorgen@8805
   350
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
jorgen@8805
   351
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
jorgen@8805
   352
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
jorgen@8805
   353
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
jorgen@8805
   354
#define GL_SECONDARY_COLOR_ARRAY          0x845E
jorgen@8805
   355
#define GL_TEXTURE_FILTER_CONTROL         0x8500
jorgen@8805
   356
#define GL_DEPTH_TEXTURE_MODE             0x884B
jorgen@8805
   357
#define GL_COMPARE_R_TO_TEXTURE           0x884E
jorgen@8807
   358
#define GL_FUNC_ADD                       0x8006
jorgen@8807
   359
#define GL_FUNC_SUBTRACT                  0x800A
jorgen@8807
   360
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
jorgen@8807
   361
#define GL_MIN                            0x8007
jorgen@8807
   362
#define GL_MAX                            0x8008
jorgen@8807
   363
#define GL_CONSTANT_COLOR                 0x8001
jorgen@8807
   364
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
jorgen@8807
   365
#define GL_CONSTANT_ALPHA                 0x8003
jorgen@8807
   366
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
jorgen@8807
   367
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
jorgen@8807
   368
typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
jorgen@8807
   369
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
jorgen@8807
   370
typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
jorgen@8807
   371
typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
jorgen@8807
   372
typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
jorgen@8807
   373
typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
jorgen@8807
   374
typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
jorgen@8807
   375
typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
jorgen@8807
   376
typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
jorgen@8807
   377
typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
jorgen@8807
   378
typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
   379
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
jorgen@8807
   380
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
jorgen@8807
   381
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
jorgen@8807
   382
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
jorgen@8807
   383
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
jorgen@8807
   384
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
jorgen@8807
   385
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
jorgen@8807
   386
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
jorgen@8807
   387
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
jorgen@8807
   388
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
jorgen@8807
   389
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
jorgen@8807
   390
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
jorgen@8807
   391
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
jorgen@8807
   392
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
jorgen@8807
   393
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
jorgen@8807
   394
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
jorgen@8807
   395
typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
   396
typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
jorgen@8807
   397
typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
jorgen@8807
   398
typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
jorgen@8807
   399
typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
jorgen@8807
   400
typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
jorgen@8807
   401
typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
jorgen@8807
   402
typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
jorgen@8807
   403
typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
jorgen@8807
   404
typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
   405
typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
jorgen@8807
   406
typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
jorgen@8807
   407
typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
jorgen@8807
   408
typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
jorgen@8807
   409
typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
jorgen@8807
   410
typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
jorgen@8807
   411
typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
jorgen@8807
   412
typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
jorgen@8807
   413
typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
jorgen@8807
   414
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
   415
GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
jorgen@8807
   416
GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
jorgen@8807
   417
GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
jorgen@8807
   418
GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
jorgen@8807
   419
GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
jorgen@8807
   420
GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
jorgen@8807
   421
GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
jorgen@8807
   422
GLAPI void APIENTRY glFogCoordf (GLfloat coord);
jorgen@8807
   423
GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
jorgen@8807
   424
GLAPI void APIENTRY glFogCoordd (GLdouble coord);
jorgen@8807
   425
GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
jorgen@8807
   426
GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
   427
GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
jorgen@8807
   428
GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
jorgen@8807
   429
GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
jorgen@8807
   430
GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
jorgen@8807
   431
GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
jorgen@8807
   432
GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
jorgen@8807
   433
GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
jorgen@8807
   434
GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
jorgen@8807
   435
GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
jorgen@8807
   436
GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
jorgen@8807
   437
GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
jorgen@8807
   438
GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
jorgen@8807
   439
GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
jorgen@8807
   440
GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
jorgen@8807
   441
GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
jorgen@8807
   442
GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
jorgen@8807
   443
GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
   444
GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
jorgen@8807
   445
GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
jorgen@8807
   446
GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
jorgen@8807
   447
GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
jorgen@8807
   448
GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
jorgen@8807
   449
GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
jorgen@8807
   450
GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
jorgen@8807
   451
GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
jorgen@8807
   452
GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
   453
GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
jorgen@8807
   454
GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
jorgen@8807
   455
GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
jorgen@8807
   456
GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
jorgen@8807
   457
GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
jorgen@8807
   458
GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
jorgen@8807
   459
GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
jorgen@8807
   460
GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
jorgen@8807
   461
GLAPI void APIENTRY glBlendEquation (GLenum mode);
jorgen@8807
   462
#endif
jorgen@8807
   463
#endif /* GL_VERSION_1_4 */
jorgen@8805
   464
jorgen@8805
   465
#ifndef GL_VERSION_1_5
jorgen@8807
   466
#define GL_VERSION_1_5 1
jorgen@8807
   467
#include <stddef.h>
slouken@9091
   468
#ifdef __MACOSX__
slouken@9092
   469
typedef long GLsizeiptr;
slouken@9092
   470
typedef long GLintptr;
slouken@9091
   471
#else
jorgen@8807
   472
typedef ptrdiff_t GLsizeiptr;
jorgen@8807
   473
typedef ptrdiff_t GLintptr;
slouken@9091
   474
#endif
jorgen@8805
   475
#define GL_BUFFER_SIZE                    0x8764
jorgen@8805
   476
#define GL_BUFFER_USAGE                   0x8765
jorgen@8805
   477
#define GL_QUERY_COUNTER_BITS             0x8864
jorgen@8805
   478
#define GL_CURRENT_QUERY                  0x8865
jorgen@8805
   479
#define GL_QUERY_RESULT                   0x8866
jorgen@8805
   480
#define GL_QUERY_RESULT_AVAILABLE         0x8867
jorgen@8805
   481
#define GL_ARRAY_BUFFER                   0x8892
jorgen@8805
   482
#define GL_ELEMENT_ARRAY_BUFFER           0x8893
jorgen@8805
   483
#define GL_ARRAY_BUFFER_BINDING           0x8894
jorgen@8805
   484
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
jorgen@8805
   485
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
jorgen@8805
   486
#define GL_READ_ONLY                      0x88B8
jorgen@8805
   487
#define GL_WRITE_ONLY                     0x88B9
jorgen@8805
   488
#define GL_READ_WRITE                     0x88BA
jorgen@8805
   489
#define GL_BUFFER_ACCESS                  0x88BB
jorgen@8805
   490
#define GL_BUFFER_MAPPED                  0x88BC
jorgen@8805
   491
#define GL_BUFFER_MAP_POINTER             0x88BD
jorgen@8805
   492
#define GL_STREAM_DRAW                    0x88E0
jorgen@8805
   493
#define GL_STREAM_READ                    0x88E1
jorgen@8805
   494
#define GL_STREAM_COPY                    0x88E2
jorgen@8805
   495
#define GL_STATIC_DRAW                    0x88E4
jorgen@8805
   496
#define GL_STATIC_READ                    0x88E5
jorgen@8805
   497
#define GL_STATIC_COPY                    0x88E6
jorgen@8805
   498
#define GL_DYNAMIC_DRAW                   0x88E8
jorgen@8805
   499
#define GL_DYNAMIC_READ                   0x88E9
jorgen@8805
   500
#define GL_DYNAMIC_COPY                   0x88EA
jorgen@8805
   501
#define GL_SAMPLES_PASSED                 0x8914
jorgen@8807
   502
#define GL_SRC1_ALPHA                     0x8589
jorgen@8805
   503
#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
jorgen@8805
   504
#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
jorgen@8805
   505
#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
jorgen@8805
   506
#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
jorgen@8805
   507
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
jorgen@8805
   508
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
jorgen@8805
   509
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
jorgen@8805
   510
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
jorgen@8805
   511
#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
jorgen@8805
   512
#define GL_FOG_COORD_SRC                  0x8450
jorgen@8805
   513
#define GL_FOG_COORD                      0x8451
jorgen@8805
   514
#define GL_CURRENT_FOG_COORD              0x8453
jorgen@8805
   515
#define GL_FOG_COORD_ARRAY_TYPE           0x8454
jorgen@8805
   516
#define GL_FOG_COORD_ARRAY_STRIDE         0x8455
jorgen@8805
   517
#define GL_FOG_COORD_ARRAY_POINTER        0x8456
jorgen@8805
   518
#define GL_FOG_COORD_ARRAY                0x8457
jorgen@8805
   519
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
jorgen@8805
   520
#define GL_SRC0_RGB                       0x8580
jorgen@8805
   521
#define GL_SRC1_RGB                       0x8581
jorgen@8805
   522
#define GL_SRC2_RGB                       0x8582
jorgen@8805
   523
#define GL_SRC0_ALPHA                     0x8588
jorgen@8805
   524
#define GL_SRC2_ALPHA                     0x858A
jorgen@8807
   525
typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
jorgen@8807
   526
typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
jorgen@8807
   527
typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
jorgen@8807
   528
typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
jorgen@8807
   529
typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
jorgen@8807
   530
typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
jorgen@8807
   531
typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
jorgen@8807
   532
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
jorgen@8807
   533
typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
jorgen@8807
   534
typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
jorgen@8807
   535
typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
jorgen@8807
   536
typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
jorgen@8807
   537
typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
jorgen@8807
   538
typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
jorgen@8807
   539
typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
jorgen@8807
   540
typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
jorgen@8807
   541
typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
jorgen@8807
   542
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
jorgen@8807
   543
typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
jorgen@8807
   544
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
   545
GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
jorgen@8807
   546
GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
jorgen@8807
   547
GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
jorgen@8807
   548
GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
jorgen@8807
   549
GLAPI void APIENTRY glEndQuery (GLenum target);
jorgen@8807
   550
GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
jorgen@8807
   551
GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
jorgen@8807
   552
GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
jorgen@8807
   553
GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
jorgen@8807
   554
GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
jorgen@8807
   555
GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
jorgen@8807
   556
GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
jorgen@8807
   557
GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
jorgen@8807
   558
GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
jorgen@8807
   559
GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
jorgen@8807
   560
GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
jorgen@8807
   561
GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
jorgen@8807
   562
GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
jorgen@8807
   563
GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
jorgen@8807
   564
#endif
jorgen@8807
   565
#endif /* GL_VERSION_1_5 */
jorgen@8805
   566
jorgen@8805
   567
#ifndef GL_VERSION_2_0
jorgen@8807
   568
#define GL_VERSION_2_0 1
jorgen@8807
   569
typedef char GLchar;
jorgen@8805
   570
#define GL_BLEND_EQUATION_RGB             0x8009
jorgen@8805
   571
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
jorgen@8805
   572
#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
jorgen@8805
   573
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
jorgen@8805
   574
#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
jorgen@8805
   575
#define GL_CURRENT_VERTEX_ATTRIB          0x8626
jorgen@8805
   576
#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
jorgen@8805
   577
#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
jorgen@8805
   578
#define GL_STENCIL_BACK_FUNC              0x8800
jorgen@8805
   579
#define GL_STENCIL_BACK_FAIL              0x8801
jorgen@8805
   580
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
jorgen@8805
   581
#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
jorgen@8805
   582
#define GL_MAX_DRAW_BUFFERS               0x8824
jorgen@8805
   583
#define GL_DRAW_BUFFER0                   0x8825
jorgen@8805
   584
#define GL_DRAW_BUFFER1                   0x8826
jorgen@8805
   585
#define GL_DRAW_BUFFER2                   0x8827
jorgen@8805
   586
#define GL_DRAW_BUFFER3                   0x8828
jorgen@8805
   587
#define GL_DRAW_BUFFER4                   0x8829
jorgen@8805
   588
#define GL_DRAW_BUFFER5                   0x882A
jorgen@8805
   589
#define GL_DRAW_BUFFER6                   0x882B
jorgen@8805
   590
#define GL_DRAW_BUFFER7                   0x882C
jorgen@8805
   591
#define GL_DRAW_BUFFER8                   0x882D
jorgen@8805
   592
#define GL_DRAW_BUFFER9                   0x882E
jorgen@8805
   593
#define GL_DRAW_BUFFER10                  0x882F
jorgen@8805
   594
#define GL_DRAW_BUFFER11                  0x8830
jorgen@8805
   595
#define GL_DRAW_BUFFER12                  0x8831
jorgen@8805
   596
#define GL_DRAW_BUFFER13                  0x8832
jorgen@8805
   597
#define GL_DRAW_BUFFER14                  0x8833
jorgen@8805
   598
#define GL_DRAW_BUFFER15                  0x8834
jorgen@8805
   599
#define GL_BLEND_EQUATION_ALPHA           0x883D
jorgen@8805
   600
#define GL_MAX_VERTEX_ATTRIBS             0x8869
jorgen@8805
   601
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
jorgen@8805
   602
#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
jorgen@8805
   603
#define GL_FRAGMENT_SHADER                0x8B30
jorgen@8805
   604
#define GL_VERTEX_SHADER                  0x8B31
jorgen@8805
   605
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
jorgen@8805
   606
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
jorgen@8805
   607
#define GL_MAX_VARYING_FLOATS             0x8B4B
jorgen@8805
   608
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
jorgen@8805
   609
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
jorgen@8805
   610
#define GL_SHADER_TYPE                    0x8B4F
jorgen@8805
   611
#define GL_FLOAT_VEC2                     0x8B50
jorgen@8805
   612
#define GL_FLOAT_VEC3                     0x8B51
jorgen@8805
   613
#define GL_FLOAT_VEC4                     0x8B52
jorgen@8805
   614
#define GL_INT_VEC2                       0x8B53
jorgen@8805
   615
#define GL_INT_VEC3                       0x8B54
jorgen@8805
   616
#define GL_INT_VEC4                       0x8B55
jorgen@8805
   617
#define GL_BOOL                           0x8B56
jorgen@8805
   618
#define GL_BOOL_VEC2                      0x8B57
jorgen@8805
   619
#define GL_BOOL_VEC3                      0x8B58
jorgen@8805
   620
#define GL_BOOL_VEC4                      0x8B59
jorgen@8805
   621
#define GL_FLOAT_MAT2                     0x8B5A
jorgen@8805
   622
#define GL_FLOAT_MAT3                     0x8B5B
jorgen@8805
   623
#define GL_FLOAT_MAT4                     0x8B5C
jorgen@8805
   624
#define GL_SAMPLER_1D                     0x8B5D
jorgen@8805
   625
#define GL_SAMPLER_2D                     0x8B5E
jorgen@8805
   626
#define GL_SAMPLER_3D                     0x8B5F
jorgen@8805
   627
#define GL_SAMPLER_CUBE                   0x8B60
jorgen@8805
   628
#define GL_SAMPLER_1D_SHADOW              0x8B61
jorgen@8805
   629
#define GL_SAMPLER_2D_SHADOW              0x8B62
jorgen@8805
   630
#define GL_DELETE_STATUS                  0x8B80
jorgen@8805
   631
#define GL_COMPILE_STATUS                 0x8B81
jorgen@8805
   632
#define GL_LINK_STATUS                    0x8B82
jorgen@8805
   633
#define GL_VALIDATE_STATUS                0x8B83
jorgen@8805
   634
#define GL_INFO_LOG_LENGTH                0x8B84
jorgen@8805
   635
#define GL_ATTACHED_SHADERS               0x8B85
jorgen@8805
   636
#define GL_ACTIVE_UNIFORMS                0x8B86
jorgen@8805
   637
#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
jorgen@8805
   638
#define GL_SHADER_SOURCE_LENGTH           0x8B88
jorgen@8805
   639
#define GL_ACTIVE_ATTRIBUTES              0x8B89
jorgen@8805
   640
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
jorgen@8805
   641
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
jorgen@8805
   642
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
jorgen@8805
   643
#define GL_CURRENT_PROGRAM                0x8B8D
jorgen@8805
   644
#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
jorgen@8805
   645
#define GL_LOWER_LEFT                     0x8CA1
jorgen@8805
   646
#define GL_UPPER_LEFT                     0x8CA2
jorgen@8805
   647
#define GL_STENCIL_BACK_REF               0x8CA3
jorgen@8805
   648
#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
jorgen@8805
   649
#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
jorgen@8805
   650
#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
jorgen@8805
   651
#define GL_POINT_SPRITE                   0x8861
jorgen@8805
   652
#define GL_COORD_REPLACE                  0x8862
jorgen@8805
   653
#define GL_MAX_TEXTURE_COORDS             0x8871
jorgen@8807
   654
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
jorgen@8807
   655
typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
jorgen@8807
   656
typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
jorgen@8807
   657
typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
jorgen@8807
   658
typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
jorgen@8807
   659
typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
jorgen@8807
   660
typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
jorgen@8807
   661
typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
jorgen@8807
   662
typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
jorgen@8807
   663
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
jorgen@8807
   664
typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
jorgen@8807
   665
typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
jorgen@8807
   666
typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
jorgen@8807
   667
typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
jorgen@8807
   668
typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
jorgen@8807
   669
typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
jorgen@8807
   670
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
jorgen@8807
   671
typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
jorgen@8807
   672
typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
jorgen@8807
   673
typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
jorgen@8807
   674
typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
jorgen@8807
   675
typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
jorgen@8807
   676
typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
jorgen@8807
   677
typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
jorgen@8807
   678
typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
jorgen@8807
   679
typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
jorgen@8807
   680
typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
jorgen@8807
   681
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
jorgen@8807
   682
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
jorgen@8807
   683
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
jorgen@8807
   684
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
jorgen@8807
   685
typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
jorgen@8807
   686
typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
jorgen@8807
   687
typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
jorgen@8807
   688
typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
jorgen@8807
   689
typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
jorgen@8807
   690
typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
jorgen@8807
   691
typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
jorgen@8807
   692
typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
jorgen@8807
   693
typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
jorgen@8807
   694
typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
jorgen@8807
   695
typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
jorgen@8807
   696
typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
jorgen@8807
   697
typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
jorgen@8807
   698
typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   699
typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   700
typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   701
typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   702
typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   703
typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   704
typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   705
typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   706
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   707
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   708
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   709
typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
jorgen@8807
   710
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
jorgen@8807
   711
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
   712
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
jorgen@8807
   713
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
jorgen@8807
   714
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
jorgen@8807
   715
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
jorgen@8807
   716
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
jorgen@8807
   717
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
   718
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
jorgen@8807
   719
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
jorgen@8807
   720
typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
jorgen@8807
   721
typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
jorgen@8807
   722
typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
   723
typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
   724
typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
jorgen@8807
   725
typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
jorgen@8807
   726
typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
jorgen@8807
   727
typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
jorgen@8807
   728
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
jorgen@8807
   729
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
jorgen@8807
   730
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
jorgen@8807
   731
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
jorgen@8807
   732
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
jorgen@8807
   733
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
jorgen@8807
   734
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
jorgen@8807
   735
typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
jorgen@8807
   736
typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
jorgen@8807
   737
typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
   738
typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
jorgen@8807
   739
typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
jorgen@8807
   740
typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
jorgen@8807
   741
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
jorgen@8807
   742
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
jorgen@8807
   743
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
jorgen@8807
   744
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
jorgen@8807
   745
typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
jorgen@8807
   746
typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
jorgen@8807
   747
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
   748
GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
jorgen@8807
   749
GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
jorgen@8807
   750
GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
jorgen@8807
   751
GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
jorgen@8807
   752
GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
jorgen@8807
   753
GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
jorgen@8807
   754
GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
jorgen@8807
   755
GLAPI void APIENTRY glCompileShader (GLuint shader);
jorgen@8807
   756
GLAPI GLuint APIENTRY glCreateProgram (void);
jorgen@8807
   757
GLAPI GLuint APIENTRY glCreateShader (GLenum type);
jorgen@8807
   758
GLAPI void APIENTRY glDeleteProgram (GLuint program);
jorgen@8807
   759
GLAPI void APIENTRY glDeleteShader (GLuint shader);
jorgen@8807
   760
GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
jorgen@8807
   761
GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
jorgen@8807
   762
GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
jorgen@8807
   763
GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
jorgen@8807
   764
GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
jorgen@8807
   765
GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
jorgen@8807
   766
GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
jorgen@8807
   767
GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
jorgen@8807
   768
GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
jorgen@8807
   769
GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
jorgen@8807
   770
GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
jorgen@8807
   771
GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
jorgen@8807
   772
GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
jorgen@8807
   773
GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
jorgen@8807
   774
GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
jorgen@8807
   775
GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
jorgen@8807
   776
GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
jorgen@8807
   777
GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
jorgen@8807
   778
GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
jorgen@8807
   779
GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
jorgen@8807
   780
GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
jorgen@8807
   781
GLAPI void APIENTRY glLinkProgram (GLuint program);
jorgen@8807
   782
GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
jorgen@8807
   783
GLAPI void APIENTRY glUseProgram (GLuint program);
jorgen@8807
   784
GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
jorgen@8807
   785
GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
jorgen@8807
   786
GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
jorgen@8807
   787
GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
jorgen@8807
   788
GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
jorgen@8807
   789
GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
jorgen@8807
   790
GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
jorgen@8807
   791
GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
jorgen@8807
   792
GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   793
GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   794
GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   795
GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
   796
GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   797
GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   798
GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   799
GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
jorgen@8807
   800
GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   801
GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   802
GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   803
GLAPI void APIENTRY glValidateProgram (GLuint program);
jorgen@8807
   804
GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
jorgen@8807
   805
GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
jorgen@8807
   806
GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
jorgen@8807
   807
GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
jorgen@8807
   808
GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
jorgen@8807
   809
GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
jorgen@8807
   810
GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
jorgen@8807
   811
GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
jorgen@8807
   812
GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
jorgen@8807
   813
GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
jorgen@8807
   814
GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
jorgen@8807
   815
GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
jorgen@8807
   816
GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
   817
GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
jorgen@8807
   818
GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
jorgen@8807
   819
GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
jorgen@8807
   820
GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
jorgen@8807
   821
GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
jorgen@8807
   822
GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
jorgen@8807
   823
GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
jorgen@8807
   824
GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
jorgen@8807
   825
GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
jorgen@8807
   826
GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
jorgen@8807
   827
GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
jorgen@8807
   828
GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
jorgen@8807
   829
GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
jorgen@8807
   830
GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
jorgen@8807
   831
GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
jorgen@8807
   832
GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
jorgen@8807
   833
GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
jorgen@8807
   834
GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
jorgen@8807
   835
GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
jorgen@8807
   836
GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
jorgen@8807
   837
GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
jorgen@8807
   838
GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
jorgen@8807
   839
GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
jorgen@8807
   840
GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
jorgen@8807
   841
#endif
jorgen@8807
   842
#endif /* GL_VERSION_2_0 */
jorgen@8805
   843
jorgen@8805
   844
#ifndef GL_VERSION_2_1
jorgen@8807
   845
#define GL_VERSION_2_1 1
jorgen@8805
   846
#define GL_PIXEL_PACK_BUFFER              0x88EB
jorgen@8805
   847
#define GL_PIXEL_UNPACK_BUFFER            0x88EC
jorgen@8805
   848
#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
jorgen@8805
   849
#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
jorgen@8805
   850
#define GL_FLOAT_MAT2x3                   0x8B65
jorgen@8805
   851
#define GL_FLOAT_MAT2x4                   0x8B66
jorgen@8805
   852
#define GL_FLOAT_MAT3x2                   0x8B67
jorgen@8805
   853
#define GL_FLOAT_MAT3x4                   0x8B68
jorgen@8805
   854
#define GL_FLOAT_MAT4x2                   0x8B69
jorgen@8805
   855
#define GL_FLOAT_MAT4x3                   0x8B6A
jorgen@8805
   856
#define GL_SRGB                           0x8C40
jorgen@8805
   857
#define GL_SRGB8                          0x8C41
jorgen@8805
   858
#define GL_SRGB_ALPHA                     0x8C42
jorgen@8805
   859
#define GL_SRGB8_ALPHA8                   0x8C43
jorgen@8805
   860
#define GL_COMPRESSED_SRGB                0x8C48
jorgen@8805
   861
#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
jorgen@8805
   862
#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
jorgen@8805
   863
#define GL_SLUMINANCE_ALPHA               0x8C44
jorgen@8805
   864
#define GL_SLUMINANCE8_ALPHA8             0x8C45
jorgen@8805
   865
#define GL_SLUMINANCE                     0x8C46
jorgen@8805
   866
#define GL_SLUMINANCE8                    0x8C47
jorgen@8805
   867
#define GL_COMPRESSED_SLUMINANCE          0x8C4A
jorgen@8805
   868
#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
jorgen@8807
   869
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   870
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   871
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   872
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   873
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   874
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   875
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
   876
GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   877
GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   878
GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   879
GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   880
GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   881
GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
   882
#endif
jorgen@8807
   883
#endif /* GL_VERSION_2_1 */
jorgen@8805
   884
jorgen@8805
   885
#ifndef GL_VERSION_3_0
jorgen@8807
   886
#define GL_VERSION_3_0 1
jorgen@8807
   887
typedef unsigned short GLhalf;
jorgen@8805
   888
#define GL_COMPARE_REF_TO_TEXTURE         0x884E
jorgen@8805
   889
#define GL_CLIP_DISTANCE0                 0x3000
jorgen@8805
   890
#define GL_CLIP_DISTANCE1                 0x3001
jorgen@8805
   891
#define GL_CLIP_DISTANCE2                 0x3002
jorgen@8805
   892
#define GL_CLIP_DISTANCE3                 0x3003
jorgen@8805
   893
#define GL_CLIP_DISTANCE4                 0x3004
jorgen@8805
   894
#define GL_CLIP_DISTANCE5                 0x3005
jorgen@8805
   895
#define GL_CLIP_DISTANCE6                 0x3006
jorgen@8805
   896
#define GL_CLIP_DISTANCE7                 0x3007
jorgen@8805
   897
#define GL_MAX_CLIP_DISTANCES             0x0D32
jorgen@8805
   898
#define GL_MAJOR_VERSION                  0x821B
jorgen@8805
   899
#define GL_MINOR_VERSION                  0x821C
jorgen@8805
   900
#define GL_NUM_EXTENSIONS                 0x821D
jorgen@8805
   901
#define GL_CONTEXT_FLAGS                  0x821E
jorgen@8805
   902
#define GL_COMPRESSED_RED                 0x8225
jorgen@8805
   903
#define GL_COMPRESSED_RG                  0x8226
jorgen@8807
   904
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
jorgen@8805
   905
#define GL_RGBA32F                        0x8814
jorgen@8805
   906
#define GL_RGB32F                         0x8815
jorgen@8805
   907
#define GL_RGBA16F                        0x881A
jorgen@8805
   908
#define GL_RGB16F                         0x881B
jorgen@8805
   909
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
jorgen@8805
   910
#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
jorgen@8805
   911
#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
jorgen@8805
   912
#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
jorgen@8805
   913
#define GL_CLAMP_READ_COLOR               0x891C
jorgen@8805
   914
#define GL_FIXED_ONLY                     0x891D
jorgen@8805
   915
#define GL_MAX_VARYING_COMPONENTS         0x8B4B
jorgen@8805
   916
#define GL_TEXTURE_1D_ARRAY               0x8C18
jorgen@8805
   917
#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
jorgen@8805
   918
#define GL_TEXTURE_2D_ARRAY               0x8C1A
jorgen@8805
   919
#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
jorgen@8805
   920
#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
jorgen@8805
   921
#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
jorgen@8805
   922
#define GL_R11F_G11F_B10F                 0x8C3A
jorgen@8805
   923
#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
jorgen@8805
   924
#define GL_RGB9_E5                        0x8C3D
jorgen@8805
   925
#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
jorgen@8805
   926
#define GL_TEXTURE_SHARED_SIZE            0x8C3F
jorgen@8805
   927
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
jorgen@8805
   928
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
jorgen@8805
   929
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
jorgen@8805
   930
#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
jorgen@8805
   931
#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
jorgen@8805
   932
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
jorgen@8805
   933
#define GL_PRIMITIVES_GENERATED           0x8C87
jorgen@8805
   934
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
jorgen@8805
   935
#define GL_RASTERIZER_DISCARD             0x8C89
jorgen@8805
   936
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
jorgen@8805
   937
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
jorgen@8805
   938
#define GL_INTERLEAVED_ATTRIBS            0x8C8C
jorgen@8805
   939
#define GL_SEPARATE_ATTRIBS               0x8C8D
jorgen@8805
   940
#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
jorgen@8805
   941
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
jorgen@8805
   942
#define GL_RGBA32UI                       0x8D70
jorgen@8805
   943
#define GL_RGB32UI                        0x8D71
jorgen@8805
   944
#define GL_RGBA16UI                       0x8D76
jorgen@8805
   945
#define GL_RGB16UI                        0x8D77
jorgen@8805
   946
#define GL_RGBA8UI                        0x8D7C
jorgen@8805
   947
#define GL_RGB8UI                         0x8D7D
jorgen@8805
   948
#define GL_RGBA32I                        0x8D82
jorgen@8805
   949
#define GL_RGB32I                         0x8D83
jorgen@8805
   950
#define GL_RGBA16I                        0x8D88
jorgen@8805
   951
#define GL_RGB16I                         0x8D89
jorgen@8805
   952
#define GL_RGBA8I                         0x8D8E
jorgen@8805
   953
#define GL_RGB8I                          0x8D8F
jorgen@8805
   954
#define GL_RED_INTEGER                    0x8D94
jorgen@8805
   955
#define GL_GREEN_INTEGER                  0x8D95
jorgen@8805
   956
#define GL_BLUE_INTEGER                   0x8D96
jorgen@8805
   957
#define GL_RGB_INTEGER                    0x8D98
jorgen@8805
   958
#define GL_RGBA_INTEGER                   0x8D99
jorgen@8805
   959
#define GL_BGR_INTEGER                    0x8D9A
jorgen@8805
   960
#define GL_BGRA_INTEGER                   0x8D9B
jorgen@8805
   961
#define GL_SAMPLER_1D_ARRAY               0x8DC0
jorgen@8805
   962
#define GL_SAMPLER_2D_ARRAY               0x8DC1
jorgen@8805
   963
#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
jorgen@8805
   964
#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
jorgen@8805
   965
#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
jorgen@8805
   966
#define GL_UNSIGNED_INT_VEC2              0x8DC6
jorgen@8805
   967
#define GL_UNSIGNED_INT_VEC3              0x8DC7
jorgen@8805
   968
#define GL_UNSIGNED_INT_VEC4              0x8DC8
jorgen@8805
   969
#define GL_INT_SAMPLER_1D                 0x8DC9
jorgen@8805
   970
#define GL_INT_SAMPLER_2D                 0x8DCA
jorgen@8805
   971
#define GL_INT_SAMPLER_3D                 0x8DCB
jorgen@8805
   972
#define GL_INT_SAMPLER_CUBE               0x8DCC
jorgen@8805
   973
#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
jorgen@8805
   974
#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
jorgen@8805
   975
#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
jorgen@8805
   976
#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
jorgen@8805
   977
#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
jorgen@8805
   978
#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
jorgen@8805
   979
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
jorgen@8805
   980
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
jorgen@8805
   981
#define GL_QUERY_WAIT                     0x8E13
jorgen@8805
   982
#define GL_QUERY_NO_WAIT                  0x8E14
jorgen@8805
   983
#define GL_QUERY_BY_REGION_WAIT           0x8E15
jorgen@8805
   984
#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
jorgen@8805
   985
#define GL_BUFFER_ACCESS_FLAGS            0x911F
jorgen@8805
   986
#define GL_BUFFER_MAP_LENGTH              0x9120
jorgen@8805
   987
#define GL_BUFFER_MAP_OFFSET              0x9121
jorgen@8805
   988
#define GL_DEPTH_COMPONENT32F             0x8CAC
jorgen@8805
   989
#define GL_DEPTH32F_STENCIL8              0x8CAD
jorgen@8805
   990
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
jorgen@8805
   991
#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
jorgen@8805
   992
#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
jorgen@8805
   993
#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
jorgen@8805
   994
#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
jorgen@8805
   995
#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
jorgen@8805
   996
#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
jorgen@8805
   997
#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
jorgen@8805
   998
#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
jorgen@8805
   999
#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
jorgen@8805
  1000
#define GL_FRAMEBUFFER_DEFAULT            0x8218
jorgen@8805
  1001
#define GL_FRAMEBUFFER_UNDEFINED          0x8219
jorgen@8805
  1002
#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
jorgen@8805
  1003
#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
jorgen@8805
  1004
#define GL_DEPTH_STENCIL                  0x84F9
jorgen@8805
  1005
#define GL_UNSIGNED_INT_24_8              0x84FA
jorgen@8805
  1006
#define GL_DEPTH24_STENCIL8               0x88F0
jorgen@8805
  1007
#define GL_TEXTURE_STENCIL_SIZE           0x88F1
jorgen@8805
  1008
#define GL_TEXTURE_RED_TYPE               0x8C10
jorgen@8805
  1009
#define GL_TEXTURE_GREEN_TYPE             0x8C11
jorgen@8805
  1010
#define GL_TEXTURE_BLUE_TYPE              0x8C12
jorgen@8805
  1011
#define GL_TEXTURE_ALPHA_TYPE             0x8C13
jorgen@8805
  1012
#define GL_TEXTURE_DEPTH_TYPE             0x8C16
jorgen@8805
  1013
#define GL_UNSIGNED_NORMALIZED            0x8C17
jorgen@8805
  1014
#define GL_FRAMEBUFFER_BINDING            0x8CA6
jorgen@8807
  1015
#define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
jorgen@8805
  1016
#define GL_RENDERBUFFER_BINDING           0x8CA7
jorgen@8805
  1017
#define GL_READ_FRAMEBUFFER               0x8CA8
jorgen@8805
  1018
#define GL_DRAW_FRAMEBUFFER               0x8CA9
jorgen@8805
  1019
#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
jorgen@8805
  1020
#define GL_RENDERBUFFER_SAMPLES           0x8CAB
jorgen@8805
  1021
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
jorgen@8805
  1022
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
jorgen@8805
  1023
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
jorgen@8805
  1024
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
jorgen@8805
  1025
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
jorgen@8805
  1026
#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
jorgen@8805
  1027
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
jorgen@8805
  1028
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
jorgen@8805
  1029
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
jorgen@8805
  1030
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
jorgen@8805
  1031
#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
jorgen@8805
  1032
#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
jorgen@8805
  1033
#define GL_COLOR_ATTACHMENT0              0x8CE0
jorgen@8805
  1034
#define GL_COLOR_ATTACHMENT1              0x8CE1
jorgen@8805
  1035
#define GL_COLOR_ATTACHMENT2              0x8CE2
jorgen@8805
  1036
#define GL_COLOR_ATTACHMENT3              0x8CE3
jorgen@8805
  1037
#define GL_COLOR_ATTACHMENT4              0x8CE4
jorgen@8805
  1038
#define GL_COLOR_ATTACHMENT5              0x8CE5
jorgen@8805
  1039
#define GL_COLOR_ATTACHMENT6              0x8CE6
jorgen@8805
  1040
#define GL_COLOR_ATTACHMENT7              0x8CE7
jorgen@8805
  1041
#define GL_COLOR_ATTACHMENT8              0x8CE8
jorgen@8805
  1042
#define GL_COLOR_ATTACHMENT9              0x8CE9
jorgen@8805
  1043
#define GL_COLOR_ATTACHMENT10             0x8CEA
jorgen@8805
  1044
#define GL_COLOR_ATTACHMENT11             0x8CEB
jorgen@8805
  1045
#define GL_COLOR_ATTACHMENT12             0x8CEC
jorgen@8805
  1046
#define GL_COLOR_ATTACHMENT13             0x8CED
jorgen@8805
  1047
#define GL_COLOR_ATTACHMENT14             0x8CEE
jorgen@8805
  1048
#define GL_COLOR_ATTACHMENT15             0x8CEF
jorgen@8805
  1049
#define GL_DEPTH_ATTACHMENT               0x8D00
jorgen@8805
  1050
#define GL_STENCIL_ATTACHMENT             0x8D20
jorgen@8805
  1051
#define GL_FRAMEBUFFER                    0x8D40
jorgen@8805
  1052
#define GL_RENDERBUFFER                   0x8D41
jorgen@8805
  1053
#define GL_RENDERBUFFER_WIDTH             0x8D42
jorgen@8805
  1054
#define GL_RENDERBUFFER_HEIGHT            0x8D43
jorgen@8805
  1055
#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
jorgen@8805
  1056
#define GL_STENCIL_INDEX1                 0x8D46
jorgen@8805
  1057
#define GL_STENCIL_INDEX4                 0x8D47
jorgen@8805
  1058
#define GL_STENCIL_INDEX8                 0x8D48
jorgen@8805
  1059
#define GL_STENCIL_INDEX16                0x8D49
jorgen@8805
  1060
#define GL_RENDERBUFFER_RED_SIZE          0x8D50
jorgen@8805
  1061
#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
jorgen@8805
  1062
#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
jorgen@8805
  1063
#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
jorgen@8805
  1064
#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
jorgen@8805
  1065
#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
jorgen@8805
  1066
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
jorgen@8805
  1067
#define GL_MAX_SAMPLES                    0x8D57
jorgen@8805
  1068
#define GL_INDEX                          0x8222
jorgen@8805
  1069
#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
jorgen@8805
  1070
#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
jorgen@8805
  1071
#define GL_FRAMEBUFFER_SRGB               0x8DB9
jorgen@8805
  1072
#define GL_HALF_FLOAT                     0x140B
jorgen@8805
  1073
#define GL_MAP_READ_BIT                   0x0001
jorgen@8805
  1074
#define GL_MAP_WRITE_BIT                  0x0002
jorgen@8805
  1075
#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
jorgen@8805
  1076
#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
jorgen@8805
  1077
#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
jorgen@8805
  1078
#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
jorgen@8805
  1079
#define GL_COMPRESSED_RED_RGTC1           0x8DBB
jorgen@8805
  1080
#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
jorgen@8805
  1081
#define GL_COMPRESSED_RG_RGTC2            0x8DBD
jorgen@8805
  1082
#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
jorgen@8805
  1083
#define GL_RG                             0x8227
jorgen@8805
  1084
#define GL_RG_INTEGER                     0x8228
jorgen@8805
  1085
#define GL_R8                             0x8229
jorgen@8805
  1086
#define GL_R16                            0x822A
jorgen@8805
  1087
#define GL_RG8                            0x822B
jorgen@8805
  1088
#define GL_RG16                           0x822C
jorgen@8805
  1089
#define GL_R16F                           0x822D
jorgen@8805
  1090
#define GL_R32F                           0x822E
jorgen@8805
  1091
#define GL_RG16F                          0x822F
jorgen@8805
  1092
#define GL_RG32F                          0x8230
jorgen@8805
  1093
#define GL_R8I                            0x8231
jorgen@8805
  1094
#define GL_R8UI                           0x8232
jorgen@8805
  1095
#define GL_R16I                           0x8233
jorgen@8805
  1096
#define GL_R16UI                          0x8234
jorgen@8805
  1097
#define GL_R32I                           0x8235
jorgen@8805
  1098
#define GL_R32UI                          0x8236
jorgen@8805
  1099
#define GL_RG8I                           0x8237
jorgen@8805
  1100
#define GL_RG8UI                          0x8238
jorgen@8805
  1101
#define GL_RG16I                          0x8239
jorgen@8805
  1102
#define GL_RG16UI                         0x823A
jorgen@8805
  1103
#define GL_RG32I                          0x823B
jorgen@8805
  1104
#define GL_RG32UI                         0x823C
jorgen@8805
  1105
#define GL_VERTEX_ARRAY_BINDING           0x85B5
jorgen@8807
  1106
#define GL_CLAMP_VERTEX_COLOR             0x891A
jorgen@8807
  1107
#define GL_CLAMP_FRAGMENT_COLOR           0x891B
jorgen@8807
  1108
#define GL_ALPHA_INTEGER                  0x8D97
jorgen@8807
  1109
typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
jorgen@8807
  1110
typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
jorgen@8807
  1111
typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
jorgen@8807
  1112
typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
jorgen@8807
  1113
typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
jorgen@8807
  1114
typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
jorgen@8807
  1115
typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
jorgen@8807
  1116
typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
jorgen@8807
  1117
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
jorgen@8807
  1118
typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
jorgen@8807
  1119
typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
jorgen@8807
  1120
typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
jorgen@8807
  1121
typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
jorgen@8807
  1122
typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
jorgen@8807
  1123
typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
jorgen@8807
  1124
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
  1125
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
jorgen@8807
  1126
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
jorgen@8807
  1127
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
jorgen@8807
  1128
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
jorgen@8807
  1129
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
jorgen@8807
  1130
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
jorgen@8807
  1131
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
jorgen@8807
  1132
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
jorgen@8807
  1133
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
jorgen@8807
  1134
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
jorgen@8807
  1135
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
jorgen@8807
  1136
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
jorgen@8807
  1137
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
jorgen@8807
  1138
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
jorgen@8807
  1139
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
jorgen@8807
  1140
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
jorgen@8807
  1141
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
jorgen@8807
  1142
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
jorgen@8807
  1143
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
jorgen@8807
  1144
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
jorgen@8807
  1145
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
jorgen@8807
  1146
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
jorgen@8807
  1147
typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
jorgen@8807
  1148
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
jorgen@8807
  1149
typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
jorgen@8807
  1150
typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
jorgen@8807
  1151
typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
jorgen@8807
  1152
typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
jorgen@8807
  1153
typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
jorgen@8807
  1154
typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1155
typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1156
typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1157
typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1158
typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
jorgen@8807
  1159
typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
jorgen@8807
  1160
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
jorgen@8807
  1161
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
jorgen@8807
  1162
typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
jorgen@8807
  1163
typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
jorgen@8807
  1164
typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
jorgen@8807
  1165
typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
jorgen@8807
  1166
typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
jorgen@8807
  1167
typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
jorgen@8807
  1168
typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
jorgen@8807
  1169
typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
jorgen@8807
  1170
typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
jorgen@8807
  1171
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
jorgen@8807
  1172
typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
jorgen@8807
  1173
typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
jorgen@8807
  1174
typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
jorgen@8807
  1175
typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
jorgen@8807
  1176
typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
jorgen@8807
  1177
typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
jorgen@8807
  1178
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
jorgen@8807
  1179
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
jorgen@8807
  1180
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
jorgen@8807
  1181
typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
jorgen@8807
  1182
typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
jorgen@8807
  1183
typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
jorgen@8807
  1184
typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
jorgen@8807
  1185
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
jorgen@8807
  1186
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
jorgen@8807
  1187
typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
jorgen@8807
  1188
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
jorgen@8807
  1189
typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
jorgen@8807
  1190
typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
jorgen@8807
  1191
typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
jorgen@8807
  1192
typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
jorgen@8807
  1193
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  1194
GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
jorgen@8807
  1195
GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
jorgen@8807
  1196
GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
jorgen@8807
  1197
GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
jorgen@8807
  1198
GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
jorgen@8807
  1199
GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
jorgen@8807
  1200
GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
jorgen@8807
  1201
GLAPI void APIENTRY glEndTransformFeedback (void);
jorgen@8807
  1202
GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
jorgen@8807
  1203
GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
jorgen@8807
  1204
GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
jorgen@8807
  1205
GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
jorgen@8807
  1206
GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
jorgen@8807
  1207
GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
jorgen@8807
  1208
GLAPI void APIENTRY glEndConditionalRender (void);
jorgen@8807
  1209
GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
  1210
GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
jorgen@8807
  1211
GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
jorgen@8807
  1212
GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
jorgen@8807
  1213
GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
jorgen@8807
  1214
GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
jorgen@8807
  1215
GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
jorgen@8807
  1216
GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
jorgen@8807
  1217
GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
jorgen@8807
  1218
GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
jorgen@8807
  1219
GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
jorgen@8807
  1220
GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
jorgen@8807
  1221
GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
jorgen@8807
  1222
GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
jorgen@8807
  1223
GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
jorgen@8807
  1224
GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
jorgen@8807
  1225
GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
jorgen@8807
  1226
GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
jorgen@8807
  1227
GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
jorgen@8807
  1228
GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
jorgen@8807
  1229
GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
jorgen@8807
  1230
GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
jorgen@8807
  1231
GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
jorgen@8807
  1232
GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
jorgen@8807
  1233
GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
jorgen@8807
  1234
GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
jorgen@8807
  1235
GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
jorgen@8807
  1236
GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
jorgen@8807
  1237
GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
jorgen@8807
  1238
GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
jorgen@8807
  1239
GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1240
GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1241
GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1242
GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1243
GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
jorgen@8807
  1244
GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
jorgen@8807
  1245
GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
jorgen@8807
  1246
GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
jorgen@8807
  1247
GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
jorgen@8807
  1248
GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
jorgen@8807
  1249
GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
jorgen@8807
  1250
GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
jorgen@8807
  1251
GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
jorgen@8807
  1252
GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
jorgen@8807
  1253
GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
jorgen@8807
  1254
GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
jorgen@8807
  1255
GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
jorgen@8807
  1256
GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
jorgen@8807
  1257
GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
jorgen@8807
  1258
GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
jorgen@8807
  1259
GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
jorgen@8807
  1260
GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
jorgen@8807
  1261
GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
jorgen@8807
  1262
GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
jorgen@8807
  1263
GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
jorgen@8807
  1264
GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
jorgen@8807
  1265
GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
jorgen@8807
  1266
GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
jorgen@8807
  1267
GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
jorgen@8807
  1268
GLAPI void APIENTRY glGenerateMipmap (GLenum target);
jorgen@8807
  1269
GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
jorgen@8807
  1270
GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
jorgen@8807
  1271
GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
jorgen@8807
  1272
GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
jorgen@8807
  1273
GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
jorgen@8807
  1274
GLAPI void APIENTRY glBindVertexArray (GLuint array);
jorgen@8807
  1275
GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
jorgen@8807
  1276
GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
jorgen@8807
  1277
GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
jorgen@8807
  1278
#endif
jorgen@8807
  1279
#endif /* GL_VERSION_3_0 */
jorgen@8807
  1280
jorgen@8807
  1281
#ifndef GL_VERSION_3_1
jorgen@8807
  1282
#define GL_VERSION_3_1 1
jorgen@8807
  1283
#define GL_SAMPLER_2D_RECT                0x8B63
jorgen@8807
  1284
#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
jorgen@8807
  1285
#define GL_SAMPLER_BUFFER                 0x8DC2
jorgen@8807
  1286
#define GL_INT_SAMPLER_2D_RECT            0x8DCD
jorgen@8807
  1287
#define GL_INT_SAMPLER_BUFFER             0x8DD0
jorgen@8807
  1288
#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
jorgen@8807
  1289
#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
jorgen@8807
  1290
#define GL_TEXTURE_BUFFER                 0x8C2A
jorgen@8807
  1291
#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
jorgen@8807
  1292
#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
jorgen@8807
  1293
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
jorgen@8807
  1294
#define GL_TEXTURE_RECTANGLE              0x84F5
jorgen@8807
  1295
#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
jorgen@8807
  1296
#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
jorgen@8807
  1297
#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
jorgen@8807
  1298
#define GL_R8_SNORM                       0x8F94
jorgen@8807
  1299
#define GL_RG8_SNORM                      0x8F95
jorgen@8807
  1300
#define GL_RGB8_SNORM                     0x8F96
jorgen@8807
  1301
#define GL_RGBA8_SNORM                    0x8F97
jorgen@8807
  1302
#define GL_R16_SNORM                      0x8F98
jorgen@8807
  1303
#define GL_RG16_SNORM                     0x8F99
jorgen@8807
  1304
#define GL_RGB16_SNORM                    0x8F9A
jorgen@8807
  1305
#define GL_RGBA16_SNORM                   0x8F9B
jorgen@8807
  1306
#define GL_SIGNED_NORMALIZED              0x8F9C
jorgen@8807
  1307
#define GL_PRIMITIVE_RESTART              0x8F9D
jorgen@8807
  1308
#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
jorgen@8807
  1309
#define GL_COPY_READ_BUFFER               0x8F36
jorgen@8807
  1310
#define GL_COPY_WRITE_BUFFER              0x8F37
jorgen@8805
  1311
#define GL_UNIFORM_BUFFER                 0x8A11
jorgen@8805
  1312
#define GL_UNIFORM_BUFFER_BINDING         0x8A28
jorgen@8805
  1313
#define GL_UNIFORM_BUFFER_START           0x8A29
jorgen@8805
  1314
#define GL_UNIFORM_BUFFER_SIZE            0x8A2A
jorgen@8805
  1315
#define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
jorgen@8805
  1316
#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
jorgen@8805
  1317
#define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
jorgen@8805
  1318
#define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
jorgen@8805
  1319
#define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
jorgen@8805
  1320
#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
jorgen@8805
  1321
#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
jorgen@8805
  1322
#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
jorgen@8805
  1323
#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
jorgen@8805
  1324
#define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
jorgen@8805
  1325
#define GL_UNIFORM_TYPE                   0x8A37
jorgen@8805
  1326
#define GL_UNIFORM_SIZE                   0x8A38
jorgen@8805
  1327
#define GL_UNIFORM_NAME_LENGTH            0x8A39
jorgen@8805
  1328
#define GL_UNIFORM_BLOCK_INDEX            0x8A3A
jorgen@8805
  1329
#define GL_UNIFORM_OFFSET                 0x8A3B
jorgen@8805
  1330
#define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
jorgen@8805
  1331
#define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
jorgen@8805
  1332
#define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
jorgen@8805
  1333
#define GL_UNIFORM_BLOCK_BINDING          0x8A3F
jorgen@8805
  1334
#define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
jorgen@8805
  1335
#define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
jorgen@8805
  1336
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
jorgen@8805
  1337
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
jorgen@8805
  1338
#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
jorgen@8805
  1339
#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
jorgen@8805
  1340
#define GL_INVALID_INDEX                  0xFFFFFFFFu
jorgen@8807
  1341
typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
jorgen@8807
  1342
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
jorgen@8807
  1343
typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
jorgen@8807
  1344
typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
jorgen@8807
  1345
typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
jorgen@8807
  1346
typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
jorgen@8807
  1347
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
jorgen@8807
  1348
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
jorgen@8807
  1349
typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
jorgen@8807
  1350
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
jorgen@8807
  1351
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
jorgen@8807
  1352
typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
jorgen@8807
  1353
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  1354
GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
jorgen@8807
  1355
GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
jorgen@8807
  1356
GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
jorgen@8807
  1357
GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
jorgen@8807
  1358
GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
jorgen@8807
  1359
GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
jorgen@8807
  1360
GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
jorgen@8807
  1361
GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
jorgen@8807
  1362
GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
jorgen@8807
  1363
GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
jorgen@8807
  1364
GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
jorgen@8807
  1365
GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
jorgen@8807
  1366
#endif
jorgen@8807
  1367
#endif /* GL_VERSION_3_1 */
jorgen@8807
  1368
jorgen@8807
  1369
#ifndef GL_VERSION_3_2
jorgen@8807
  1370
#define GL_VERSION_3_2 1
jorgen@8807
  1371
typedef struct __GLsync *GLsync;
jorgen@8807
  1372
#ifndef GLEXT_64_TYPES_DEFINED
jorgen@8807
  1373
/* This code block is duplicated in glxext.h, so must be protected */
jorgen@8807
  1374
#define GLEXT_64_TYPES_DEFINED
jorgen@8807
  1375
/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
jorgen@8807
  1376
/* (as used in the GL_EXT_timer_query extension). */
jorgen@8807
  1377
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
jorgen@8807
  1378
#include <inttypes.h>
jorgen@8807
  1379
#elif defined(__sun__) || defined(__digital__)
jorgen@8807
  1380
#include <inttypes.h>
jorgen@8807
  1381
#if defined(__STDC__)
jorgen@8807
  1382
#if defined(__arch64__) || defined(_LP64)
jorgen@8807
  1383
typedef long int int64_t;
jorgen@8807
  1384
typedef unsigned long int uint64_t;
jorgen@8807
  1385
#else
jorgen@8807
  1386
typedef long long int int64_t;
jorgen@8807
  1387
typedef unsigned long long int uint64_t;
jorgen@8807
  1388
#endif /* __arch64__ */
jorgen@8807
  1389
#endif /* __STDC__ */
jorgen@8807
  1390
#elif defined( __VMS ) || defined(__sgi)
jorgen@8807
  1391
#include <inttypes.h>
jorgen@8807
  1392
#elif defined(__SCO__) || defined(__USLC__)
jorgen@8807
  1393
#include <stdint.h>
jorgen@8807
  1394
#elif defined(__UNIXOS2__) || defined(__SOL64__)
jorgen@8807
  1395
typedef long int int32_t;
jorgen@8807
  1396
typedef long long int int64_t;
jorgen@8807
  1397
typedef unsigned long long int uint64_t;
jorgen@8807
  1398
#elif defined(_WIN32) && defined(__GNUC__)
jorgen@8807
  1399
#include <stdint.h>
jorgen@8807
  1400
#elif defined(_WIN32)
jorgen@8807
  1401
typedef __int32 int32_t;
jorgen@8807
  1402
typedef __int64 int64_t;
jorgen@8807
  1403
typedef unsigned __int64 uint64_t;
jorgen@8807
  1404
#else
jorgen@8807
  1405
/* Fallback if nothing above works */
jorgen@8807
  1406
#include <inttypes.h>
jorgen@8807
  1407
#endif
jorgen@8807
  1408
#endif
jorgen@8807
  1409
typedef uint64_t GLuint64;
jorgen@8807
  1410
typedef int64_t GLint64;
jorgen@8807
  1411
#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
jorgen@8807
  1412
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
jorgen@8807
  1413
#define GL_LINES_ADJACENCY                0x000A
jorgen@8807
  1414
#define GL_LINE_STRIP_ADJACENCY           0x000B
jorgen@8807
  1415
#define GL_TRIANGLES_ADJACENCY            0x000C
jorgen@8807
  1416
#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
jorgen@8807
  1417
#define GL_PROGRAM_POINT_SIZE             0x8642
jorgen@8807
  1418
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
jorgen@8807
  1419
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
jorgen@8807
  1420
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
jorgen@8807
  1421
#define GL_GEOMETRY_SHADER                0x8DD9
jorgen@8807
  1422
#define GL_GEOMETRY_VERTICES_OUT          0x8916
jorgen@8807
  1423
#define GL_GEOMETRY_INPUT_TYPE            0x8917
jorgen@8807
  1424
#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
jorgen@8807
  1425
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
jorgen@8807
  1426
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
jorgen@8807
  1427
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
jorgen@8807
  1428
#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
jorgen@8807
  1429
#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
jorgen@8807
  1430
#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
jorgen@8807
  1431
#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
jorgen@8807
  1432
#define GL_CONTEXT_PROFILE_MASK           0x9126
jorgen@8805
  1433
#define GL_DEPTH_CLAMP                    0x864F
jorgen@8805
  1434
#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
jorgen@8805
  1435
#define GL_FIRST_VERTEX_CONVENTION        0x8E4D
jorgen@8805
  1436
#define GL_LAST_VERTEX_CONVENTION         0x8E4E
jorgen@8805
  1437
#define GL_PROVOKING_VERTEX               0x8E4F
jorgen@8805
  1438
#define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
jorgen@8805
  1439
#define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
jorgen@8805
  1440
#define GL_OBJECT_TYPE                    0x9112
jorgen@8805
  1441
#define GL_SYNC_CONDITION                 0x9113
jorgen@8805
  1442
#define GL_SYNC_STATUS                    0x9114
jorgen@8805
  1443
#define GL_SYNC_FLAGS                     0x9115
jorgen@8805
  1444
#define GL_SYNC_FENCE                     0x9116
jorgen@8805
  1445
#define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
jorgen@8805
  1446
#define GL_UNSIGNALED                     0x9118
jorgen@8805
  1447
#define GL_SIGNALED                       0x9119
jorgen@8805
  1448
#define GL_ALREADY_SIGNALED               0x911A
jorgen@8805
  1449
#define GL_TIMEOUT_EXPIRED                0x911B
jorgen@8805
  1450
#define GL_CONDITION_SATISFIED            0x911C
jorgen@8805
  1451
#define GL_WAIT_FAILED                    0x911D
jorgen@8807
  1452
#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
jorgen@8805
  1453
#define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
jorgen@8805
  1454
#define GL_SAMPLE_POSITION                0x8E50
jorgen@8805
  1455
#define GL_SAMPLE_MASK                    0x8E51
jorgen@8805
  1456
#define GL_SAMPLE_MASK_VALUE              0x8E52
jorgen@8805
  1457
#define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
jorgen@8805
  1458
#define GL_TEXTURE_2D_MULTISAMPLE         0x9100
jorgen@8805
  1459
#define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
jorgen@8805
  1460
#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
jorgen@8805
  1461
#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
jorgen@8805
  1462
#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
jorgen@8805
  1463
#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
jorgen@8805
  1464
#define GL_TEXTURE_SAMPLES                0x9106
jorgen@8805
  1465
#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
jorgen@8805
  1466
#define GL_SAMPLER_2D_MULTISAMPLE         0x9108
jorgen@8805
  1467
#define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
jorgen@8805
  1468
#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
jorgen@8805
  1469
#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
jorgen@8805
  1470
#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
jorgen@8805
  1471
#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
jorgen@8805
  1472
#define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
jorgen@8805
  1473
#define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
jorgen@8805
  1474
#define GL_MAX_INTEGER_SAMPLES            0x9110
jorgen@8807
  1475
typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
jorgen@8807
  1476
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
jorgen@8807
  1477
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
jorgen@8807
  1478
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
jorgen@8807
  1479
typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
jorgen@8807
  1480
typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
jorgen@8807
  1481
typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
jorgen@8807
  1482
typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
jorgen@8807
  1483
typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
jorgen@8807
  1484
typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
jorgen@8807
  1485
typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
jorgen@8807
  1486
typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
jorgen@8807
  1487
typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
jorgen@8807
  1488
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
jorgen@8807
  1489
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
jorgen@8807
  1490
typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
jorgen@8807
  1491
typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
jorgen@8807
  1492
typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
jorgen@8807
  1493
typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
jorgen@8807
  1494
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  1495
GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
jorgen@8807
  1496
GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
jorgen@8807
  1497
GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
jorgen@8807
  1498
GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
jorgen@8807
  1499
GLAPI void APIENTRY glProvokingVertex (GLenum mode);
jorgen@8807
  1500
GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
jorgen@8807
  1501
GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
jorgen@8807
  1502
GLAPI void APIENTRY glDeleteSync (GLsync sync);
jorgen@8807
  1503
GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
jorgen@8807
  1504
GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
jorgen@8807
  1505
GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
jorgen@8807
  1506
GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
jorgen@8807
  1507
GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
jorgen@8807
  1508
GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
jorgen@8807
  1509
GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
jorgen@8807
  1510
GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
jorgen@8807
  1511
GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
jorgen@8807
  1512
GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
jorgen@8807
  1513
GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
jorgen@8807
  1514
#endif
jorgen@8807
  1515
#endif /* GL_VERSION_3_2 */
jorgen@8807
  1516
jorgen@8807
  1517
#ifndef GL_VERSION_3_3
jorgen@8807
  1518
#define GL_VERSION_3_3 1
jorgen@8807
  1519
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
jorgen@8805
  1520
#define GL_SRC1_COLOR                     0x88F9
jorgen@8805
  1521
#define GL_ONE_MINUS_SRC1_COLOR           0x88FA
jorgen@8805
  1522
#define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
jorgen@8805
  1523
#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
jorgen@8805
  1524
#define GL_ANY_SAMPLES_PASSED             0x8C2F
jorgen@8805
  1525
#define GL_SAMPLER_BINDING                0x8919
jorgen@8805
  1526
#define GL_RGB10_A2UI                     0x906F
jorgen@8805
  1527
#define GL_TEXTURE_SWIZZLE_R              0x8E42
jorgen@8805
  1528
#define GL_TEXTURE_SWIZZLE_G              0x8E43
jorgen@8805
  1529
#define GL_TEXTURE_SWIZZLE_B              0x8E44
jorgen@8805
  1530
#define GL_TEXTURE_SWIZZLE_A              0x8E45
jorgen@8805
  1531
#define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
jorgen@8805
  1532
#define GL_TIME_ELAPSED                   0x88BF
jorgen@8805
  1533
#define GL_TIMESTAMP                      0x8E28
jorgen@8805
  1534
#define GL_INT_2_10_10_10_REV             0x8D9F
jorgen@8807
  1535
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
jorgen@8807
  1536
typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
jorgen@8807
  1537
typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
jorgen@8807
  1538
typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
jorgen@8807
  1539
typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
jorgen@8807
  1540
typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
jorgen@8807
  1541
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
jorgen@8807
  1542
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
jorgen@8807
  1543
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
jorgen@8807
  1544
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
jorgen@8807
  1545
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
jorgen@8807
  1546
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
jorgen@8807
  1547
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
jorgen@8807
  1548
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
jorgen@8807
  1549
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
jorgen@8807
  1550
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
jorgen@8807
  1551
typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
jorgen@8807
  1552
typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
jorgen@8807
  1553
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
jorgen@8807
  1554
typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
jorgen@8807
  1555
typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1556
typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1557
typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1558
typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1559
typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1560
typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1561
typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1562
typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1563
typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
jorgen@8807
  1564
typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
jorgen@8807
  1565
typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
jorgen@8807
  1566
typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
jorgen@8807
  1567
typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
jorgen@8807
  1568
typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
jorgen@8807
  1569
typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
jorgen@8807
  1570
typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
jorgen@8807
  1571
typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
jorgen@8807
  1572
typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
jorgen@8807
  1573
typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
jorgen@8807
  1574
typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
jorgen@8807
  1575
typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
jorgen@8807
  1576
typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
jorgen@8807
  1577
typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1578
typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1579
typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1580
typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1581
typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1582
typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1583
typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1584
typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1585
typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
jorgen@8807
  1586
typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
jorgen@8807
  1587
typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
jorgen@8807
  1588
typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
jorgen@8807
  1589
typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
jorgen@8807
  1590
typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
jorgen@8807
  1591
typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
jorgen@8807
  1592
typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
jorgen@8807
  1593
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  1594
GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
jorgen@8807
  1595
GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
jorgen@8807
  1596
GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
jorgen@8807
  1597
GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
jorgen@8807
  1598
GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
jorgen@8807
  1599
GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
jorgen@8807
  1600
GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
jorgen@8807
  1601
GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
jorgen@8807
  1602
GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
jorgen@8807
  1603
GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
jorgen@8807
  1604
GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
jorgen@8807
  1605
GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
jorgen@8807
  1606
GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
jorgen@8807
  1607
GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
jorgen@8807
  1608
GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
jorgen@8807
  1609
GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
jorgen@8807
  1610
GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
jorgen@8807
  1611
GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
jorgen@8807
  1612
GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
jorgen@8807
  1613
GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
jorgen@8807
  1614
GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1615
GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1616
GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1617
GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1618
GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1619
GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1620
GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
jorgen@8807
  1621
GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
jorgen@8807
  1622
GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
jorgen@8807
  1623
GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
jorgen@8807
  1624
GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
jorgen@8807
  1625
GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
jorgen@8807
  1626
GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
jorgen@8807
  1627
GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
jorgen@8807
  1628
GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
jorgen@8807
  1629
GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
jorgen@8807
  1630
GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
jorgen@8807
  1631
GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
jorgen@8807
  1632
GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
jorgen@8807
  1633
GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
jorgen@8807
  1634
GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
jorgen@8807
  1635
GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
jorgen@8807
  1636
GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1637
GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1638
GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1639
GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1640
GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1641
GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1642
GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
jorgen@8807
  1643
GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
jorgen@8807
  1644
GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
jorgen@8807
  1645
GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
jorgen@8807
  1646
GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
jorgen@8807
  1647
GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
jorgen@8807
  1648
GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
jorgen@8807
  1649
GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
jorgen@8807
  1650
GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
jorgen@8807
  1651
GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
jorgen@8807
  1652
#endif
jorgen@8807
  1653
#endif /* GL_VERSION_3_3 */
jorgen@8807
  1654
jorgen@8807
  1655
#ifndef GL_VERSION_4_0
jorgen@8807
  1656
#define GL_VERSION_4_0 1
jorgen@8807
  1657
#define GL_SAMPLE_SHADING                 0x8C36
jorgen@8807
  1658
#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
jorgen@8807
  1659
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
jorgen@8807
  1660
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
jorgen@8807
  1661
#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
jorgen@8807
  1662
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
jorgen@8807
  1663
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
jorgen@8807
  1664
#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
jorgen@8807
  1665
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
jorgen@8807
  1666
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
jorgen@8807
  1667
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
jorgen@8805
  1668
#define GL_DRAW_INDIRECT_BUFFER           0x8F3F
jorgen@8805
  1669
#define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
jorgen@8805
  1670
#define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
jorgen@8805
  1671
#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
jorgen@8805
  1672
#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
jorgen@8805
  1673
#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
jorgen@8805
  1674
#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
jorgen@8807
  1675
#define GL_MAX_VERTEX_STREAMS             0x8E71
jorgen@8805
  1676
#define GL_DOUBLE_VEC2                    0x8FFC
jorgen@8805
  1677
#define GL_DOUBLE_VEC3                    0x8FFD
jorgen@8805
  1678
#define GL_DOUBLE_VEC4                    0x8FFE
jorgen@8805
  1679
#define GL_DOUBLE_MAT2                    0x8F46
jorgen@8805
  1680
#define GL_DOUBLE_MAT3                    0x8F47
jorgen@8805
  1681
#define GL_DOUBLE_MAT4                    0x8F48
jorgen@8805
  1682
#define GL_DOUBLE_MAT2x3                  0x8F49
jorgen@8805
  1683
#define GL_DOUBLE_MAT2x4                  0x8F4A
jorgen@8805
  1684
#define GL_DOUBLE_MAT3x2                  0x8F4B
jorgen@8805
  1685
#define GL_DOUBLE_MAT3x4                  0x8F4C
jorgen@8805
  1686
#define GL_DOUBLE_MAT4x2                  0x8F4D
jorgen@8805
  1687
#define GL_DOUBLE_MAT4x3                  0x8F4E
jorgen@8805
  1688
#define GL_ACTIVE_SUBROUTINES             0x8DE5
jorgen@8805
  1689
#define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
jorgen@8805
  1690
#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
jorgen@8805
  1691
#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
jorgen@8805
  1692
#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
jorgen@8805
  1693
#define GL_MAX_SUBROUTINES                0x8DE7
jorgen@8805
  1694
#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
jorgen@8805
  1695
#define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
jorgen@8805
  1696
#define GL_COMPATIBLE_SUBROUTINES         0x8E4B
jorgen@8805
  1697
#define GL_PATCHES                        0x000E
jorgen@8805
  1698
#define GL_PATCH_VERTICES                 0x8E72
jorgen@8805
  1699
#define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
jorgen@8805
  1700
#define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
jorgen@8805
  1701
#define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
jorgen@8805
  1702
#define GL_TESS_GEN_MODE                  0x8E76
jorgen@8805
  1703
#define GL_TESS_GEN_SPACING               0x8E77
jorgen@8805
  1704
#define GL_TESS_GEN_VERTEX_ORDER          0x8E78
jorgen@8805
  1705
#define GL_TESS_GEN_POINT_MODE            0x8E79
jorgen@8805
  1706
#define GL_ISOLINES                       0x8E7A
jorgen@8805
  1707
#define GL_FRACTIONAL_ODD                 0x8E7B
jorgen@8805
  1708
#define GL_FRACTIONAL_EVEN                0x8E7C
jorgen@8805
  1709
#define GL_MAX_PATCH_VERTICES             0x8E7D
jorgen@8805
  1710
#define GL_MAX_TESS_GEN_LEVEL             0x8E7E
jorgen@8805
  1711
#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
jorgen@8805
  1712
#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
jorgen@8805
  1713
#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
jorgen@8805
  1714
#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
jorgen@8805
  1715
#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
jorgen@8805
  1716
#define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
jorgen@8805
  1717
#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
jorgen@8805
  1718
#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
jorgen@8805
  1719
#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
jorgen@8805
  1720
#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
jorgen@8805
  1721
#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
jorgen@8805
  1722
#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
jorgen@8805
  1723
#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
jorgen@8805
  1724
#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
jorgen@8805
  1725
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
jorgen@8805
  1726
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
jorgen@8805
  1727
#define GL_TESS_EVALUATION_SHADER         0x8E87
jorgen@8805
  1728
#define GL_TESS_CONTROL_SHADER            0x8E88
jorgen@8805
  1729
#define GL_TRANSFORM_FEEDBACK             0x8E22
jorgen@8805
  1730
#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
jorgen@8805
  1731
#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
jorgen@8805
  1732
#define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
jorgen@8805
  1733
#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
jorgen@8807
  1734
typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
jorgen@8807
  1735
typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
jorgen@8807
  1736
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
jorgen@8807
  1737
typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
jorgen@8807
  1738
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
jorgen@8807
  1739
typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
jorgen@8807
  1740
typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
jorgen@8807
  1741
typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
jorgen@8807
  1742
typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
jorgen@8807
  1743
typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
  1744
typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
jorgen@8807
  1745
typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1746
typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1747
typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1748
typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1749
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1750
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1751
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1752
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1753
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1754
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1755
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1756
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1757
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1758
typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
jorgen@8807
  1759
typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
jorgen@8807
  1760
typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
jorgen@8807
  1761
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
jorgen@8807
  1762
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
jorgen@8807
  1763
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
jorgen@8807
  1764
typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
jorgen@8807
  1765
typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
jorgen@8807
  1766
typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
jorgen@8807
  1767
typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
jorgen@8807
  1768
typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
jorgen@8807
  1769
typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
jorgen@8807
  1770
typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
jorgen@8807
  1771
typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
jorgen@8807
  1772
typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
jorgen@8807
  1773
typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
jorgen@8807
  1774
typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
jorgen@8807
  1775
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
jorgen@8807
  1776
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
jorgen@8807
  1777
typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
jorgen@8807
  1778
typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
jorgen@8807
  1779
typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
jorgen@8807
  1780
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  1781
GLAPI void APIENTRY glMinSampleShading (GLfloat value);
jorgen@8807
  1782
GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
jorgen@8807
  1783
GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
jorgen@8807
  1784
GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
jorgen@8807
  1785
GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
jorgen@8807
  1786
GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
jorgen@8807
  1787
GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
jorgen@8807
  1788
GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
jorgen@8807
  1789
GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
jorgen@8807
  1790
GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
  1791
GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
jorgen@8807
  1792
GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1793
GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1794
GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1795
GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1796
GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1797
GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1798
GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1799
GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1800
GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1801
GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1802
GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1803
GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1804
GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1805
GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
jorgen@8807
  1806
GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
jorgen@8807
  1807
GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
jorgen@8807
  1808
GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
jorgen@8807
  1809
GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
jorgen@8807
  1810
GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
jorgen@8807
  1811
GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
jorgen@8807
  1812
GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
jorgen@8807
  1813
GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
jorgen@8807
  1814
GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
jorgen@8807
  1815
GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
jorgen@8807
  1816
GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
jorgen@8807
  1817
GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
jorgen@8807
  1818
GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
jorgen@8807
  1819
GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
jorgen@8807
  1820
GLAPI void APIENTRY glPauseTransformFeedback (void);
jorgen@8807
  1821
GLAPI void APIENTRY glResumeTransformFeedback (void);
jorgen@8807
  1822
GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
jorgen@8807
  1823
GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
jorgen@8807
  1824
GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
jorgen@8807
  1825
GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
jorgen@8807
  1826
GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
jorgen@8807
  1827
#endif
jorgen@8807
  1828
#endif /* GL_VERSION_4_0 */
jorgen@8807
  1829
jorgen@8807
  1830
#ifndef GL_VERSION_4_1
jorgen@8807
  1831
#define GL_VERSION_4_1 1
jorgen@8805
  1832
#define GL_FIXED                          0x140C
jorgen@8805
  1833
#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
jorgen@8805
  1834
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
jorgen@8805
  1835
#define GL_LOW_FLOAT                      0x8DF0
jorgen@8805
  1836
#define GL_MEDIUM_FLOAT                   0x8DF1
jorgen@8805
  1837
#define GL_HIGH_FLOAT                     0x8DF2
jorgen@8805
  1838
#define GL_LOW_INT                        0x8DF3
jorgen@8805
  1839
#define GL_MEDIUM_INT                     0x8DF4
jorgen@8805
  1840
#define GL_HIGH_INT                       0x8DF5
jorgen@8805
  1841
#define GL_SHADER_COMPILER                0x8DFA
jorgen@8807
  1842
#define GL_SHADER_BINARY_FORMATS          0x8DF8
jorgen@8805
  1843
#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
jorgen@8805
  1844
#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
jorgen@8805
  1845
#define GL_MAX_VARYING_VECTORS            0x8DFC
jorgen@8805
  1846
#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
jorgen@8807
  1847
#define GL_RGB565                         0x8D62
jorgen@8805
  1848
#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
jorgen@8805
  1849
#define GL_PROGRAM_BINARY_LENGTH          0x8741
jorgen@8805
  1850
#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
jorgen@8805
  1851
#define GL_PROGRAM_BINARY_FORMATS         0x87FF
jorgen@8805
  1852
#define GL_VERTEX_SHADER_BIT              0x00000001
jorgen@8805
  1853
#define GL_FRAGMENT_SHADER_BIT            0x00000002
jorgen@8805
  1854
#define GL_GEOMETRY_SHADER_BIT            0x00000004
jorgen@8805
  1855
#define GL_TESS_CONTROL_SHADER_BIT        0x00000008
jorgen@8805
  1856
#define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
jorgen@8805
  1857
#define GL_ALL_SHADER_BITS                0xFFFFFFFF
jorgen@8805
  1858
#define GL_PROGRAM_SEPARABLE              0x8258
jorgen@8805
  1859
#define GL_ACTIVE_PROGRAM                 0x8259
jorgen@8805
  1860
#define GL_PROGRAM_PIPELINE_BINDING       0x825A
jorgen@8805
  1861
#define GL_MAX_VIEWPORTS                  0x825B
jorgen@8805
  1862
#define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
jorgen@8805
  1863
#define GL_VIEWPORT_BOUNDS_RANGE          0x825D
jorgen@8805
  1864
#define GL_LAYER_PROVOKING_VERTEX         0x825E
jorgen@8805
  1865
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
jorgen@8805
  1866
#define GL_UNDEFINED_VERTEX               0x8260
jorgen@8807
  1867
typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
jorgen@8807
  1868
typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
jorgen@8807
  1869
typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
jorgen@8807
  1870
typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
jorgen@8807
  1871
typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
jorgen@8807
  1872
typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
jorgen@8807
  1873
typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
jorgen@8807
  1874
typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
jorgen@8807
  1875
typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
jorgen@8807
  1876
typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
jorgen@8807
  1877
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
jorgen@8807
  1878
typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
jorgen@8807
  1879
typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
jorgen@8807
  1880
typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
jorgen@8807
  1881
typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
jorgen@8807
  1882
typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
jorgen@8807
  1883
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
jorgen@8807
  1884
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1885
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
jorgen@8807
  1886
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1887
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
jorgen@8807
  1888
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1889
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
jorgen@8807
  1890
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1891
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
jorgen@8807
  1892
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1893
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
jorgen@8807
  1894
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1895
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
jorgen@8807
  1896
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1897
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
jorgen@8807
  1898
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1899
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
jorgen@8807
  1900
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1901
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
jorgen@8807
  1902
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1903
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
jorgen@8807
  1904
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1905
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
jorgen@8807
  1906
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1907
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
jorgen@8807
  1908
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1909
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
jorgen@8807
  1910
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1911
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
jorgen@8807
  1912
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1913
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
jorgen@8807
  1914
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1915
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1916
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1917
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1918
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1919
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1920
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1921
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1922
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1923
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1924
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1925
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1926
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  1927
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1928
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1929
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1930
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1931
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1932
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  1933
typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
jorgen@8807
  1934
typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
jorgen@8807
  1935
typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
jorgen@8807
  1936
typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
jorgen@8807
  1937
typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
  1938
typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
jorgen@8807
  1939
typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
  1940
typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
  1941
typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
  1942
typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
jorgen@8807
  1943
typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
  1944
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
jorgen@8807
  1945
typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
jorgen@8807
  1946
typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
jorgen@8807
  1947
typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
jorgen@8807
  1948
typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
jorgen@8807
  1949
typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
jorgen@8807
  1950
typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
jorgen@8807
  1951
typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
jorgen@8807
  1952
typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
jorgen@8807
  1953
typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
jorgen@8807
  1954
typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
jorgen@8807
  1955
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  1956
GLAPI void APIENTRY glReleaseShaderCompiler (void);
jorgen@8807
  1957
GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
jorgen@8807
  1958
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
jorgen@8807
  1959
GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
jorgen@8807
  1960
GLAPI void APIENTRY glClearDepthf (GLfloat d);
jorgen@8807
  1961
GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
jorgen@8807
  1962
GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
jorgen@8807
  1963
GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
jorgen@8807
  1964
GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
jorgen@8807
  1965
GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
jorgen@8807
  1966
GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
jorgen@8807
  1967
GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
jorgen@8807
  1968
GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
jorgen@8807
  1969
GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
jorgen@8807
  1970
GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
jorgen@8807
  1971
GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
jorgen@8807
  1972
GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
jorgen@8807
  1973
GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1974
GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
jorgen@8807
  1975
GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1976
GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
jorgen@8807
  1977
GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1978
GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
jorgen@8807
  1979
GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1980
GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
jorgen@8807
  1981
GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1982
GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
jorgen@8807
  1983
GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1984
GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
jorgen@8807
  1985
GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1986
GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
jorgen@8807
  1987
GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1988
GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
jorgen@8807
  1989
GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1990
GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
jorgen@8807
  1991
GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  1992
GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
jorgen@8807
  1993
GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  1994
GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
jorgen@8807
  1995
GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  1996
GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
jorgen@8807
  1997
GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
jorgen@8807
  1998
GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
jorgen@8807
  1999
GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
jorgen@8807
  2000
GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
jorgen@8807
  2001
GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
jorgen@8807
  2002
GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
jorgen@8807
  2003
GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
jorgen@8807
  2004
GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2005
GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2006
GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2007
GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2008
GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2009
GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2010
GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2011
GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2012
GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2013
GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2014
GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2015
GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
jorgen@8807
  2016
GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2017
GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2018
GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2019
GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2020
GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2021
GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
jorgen@8807
  2022
GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
jorgen@8807
  2023
GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
jorgen@8807
  2024
GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
jorgen@8807
  2025
GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
jorgen@8807
  2026
GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
jorgen@8807
  2027
GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
jorgen@8807
  2028
GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
jorgen@8807
  2029
GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
jorgen@8807
  2030
GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
jorgen@8807
  2031
GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
jorgen@8807
  2032
GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
jorgen@8807
  2033
GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
jorgen@8807
  2034
GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
jorgen@8807
  2035
GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
jorgen@8807
  2036
GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
jorgen@8807
  2037
GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
jorgen@8807
  2038
GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
jorgen@8807
  2039
GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
jorgen@8807
  2040
GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
jorgen@8807
  2041
GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
jorgen@8807
  2042
GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
jorgen@8807
  2043
GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
jorgen@8807
  2044
#endif
jorgen@8807
  2045
#endif /* GL_VERSION_4_1 */
jorgen@8807
  2046
jorgen@8807
  2047
#ifndef GL_VERSION_4_2
jorgen@8807
  2048
#define GL_VERSION_4_2 1
jorgen@8807
  2049
#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
jorgen@8807
  2050
#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
jorgen@8807
  2051
#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
jorgen@8807
  2052
#define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
jorgen@8807
  2053
#define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
jorgen@8807
  2054
#define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
jorgen@8807
  2055
#define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
jorgen@8807
  2056
#define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
jorgen@8807
  2057
#define GL_NUM_SAMPLE_COUNTS              0x9380
jorgen@8807
  2058
#define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
jorgen@8807
  2059
#define GL_ATOMIC_COUNTER_BUFFER          0x92C0
jorgen@8807
  2060
#define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
jorgen@8807
  2061
#define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
jorgen@8807
  2062
#define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
jorgen@8807
  2063
#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
jorgen@8807
  2064
#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
jorgen@8807
  2065
#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
jorgen@8807
  2066
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
jorgen@8807
  2067
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
jorgen@8807
  2068
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
jorgen@8807
  2069
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
jorgen@8807
  2070
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
jorgen@8807
  2071
#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
jorgen@8807
  2072
#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
jorgen@8807
  2073
#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
jorgen@8807
  2074
#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
jorgen@8807
  2075
#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
jorgen@8807
  2076
#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
jorgen@8807
  2077
#define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
jorgen@8807
  2078
#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
jorgen@8807
  2079
#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
jorgen@8807
  2080
#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
jorgen@8807
  2081
#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
jorgen@8807
  2082
#define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
jorgen@8807
  2083
#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
jorgen@8807
  2084
#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
jorgen@8807
  2085
#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
jorgen@8807
  2086
#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
jorgen@8807
  2087
#define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
jorgen@8807
  2088
#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
jorgen@8807
  2089
#define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
jorgen@8807
  2090
#define GL_UNIFORM_BARRIER_BIT            0x00000004
jorgen@8807
  2091
#define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
jorgen@8807
  2092
#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
jorgen@8807
  2093
#define GL_COMMAND_BARRIER_BIT            0x00000040
jorgen@8807
  2094
#define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
jorgen@8807
  2095
#define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
jorgen@8807
  2096
#define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
jorgen@8807
  2097
#define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
jorgen@8807
  2098
#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
jorgen@8807
  2099
#define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
jorgen@8807
  2100
#define GL_ALL_BARRIER_BITS               0xFFFFFFFF
jorgen@8807
  2101
#define GL_MAX_IMAGE_UNITS                0x8F38
jorgen@8807
  2102
#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
jorgen@8807
  2103
#define GL_IMAGE_BINDING_NAME             0x8F3A
jorgen@8807
  2104
#define GL_IMAGE_BINDING_LEVEL            0x8F3B
jorgen@8807
  2105
#define GL_IMAGE_BINDING_LAYERED          0x8F3C
jorgen@8807
  2106
#define GL_IMAGE_BINDING_LAYER            0x8F3D
jorgen@8807
  2107
#define GL_IMAGE_BINDING_ACCESS           0x8F3E
jorgen@8807
  2108
#define GL_IMAGE_1D                       0x904C
jorgen@8807
  2109
#define GL_IMAGE_2D                       0x904D
jorgen@8807
  2110
#define GL_IMAGE_3D                       0x904E
jorgen@8807
  2111
#define GL_IMAGE_2D_RECT                  0x904F
jorgen@8807
  2112
#define GL_IMAGE_CUBE                     0x9050
jorgen@8807
  2113
#define GL_IMAGE_BUFFER                   0x9051
jorgen@8807
  2114
#define GL_IMAGE_1D_ARRAY                 0x9052
jorgen@8807
  2115
#define GL_IMAGE_2D_ARRAY                 0x9053
jorgen@8807
  2116
#define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
jorgen@8807
  2117
#define GL_IMAGE_2D_MULTISAMPLE           0x9055
jorgen@8807
  2118
#define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
jorgen@8807
  2119
#define GL_INT_IMAGE_1D                   0x9057
jorgen@8807
  2120
#define GL_INT_IMAGE_2D                   0x9058
jorgen@8807
  2121
#define GL_INT_IMAGE_3D                   0x9059
jorgen@8807
  2122
#define GL_INT_IMAGE_2D_RECT              0x905A
jorgen@8807
  2123
#define GL_INT_IMAGE_CUBE                 0x905B
jorgen@8807
  2124
#define GL_INT_IMAGE_BUFFER               0x905C
jorgen@8807
  2125
#define GL_INT_IMAGE_1D_ARRAY             0x905D
jorgen@8807
  2126
#define GL_INT_IMAGE_2D_ARRAY             0x905E
jorgen@8807
  2127
#define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
jorgen@8807
  2128
#define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
jorgen@8807
  2129
#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
jorgen@8807
  2130
#define GL_UNSIGNED_INT_IMAGE_1D          0x9062
jorgen@8807
  2131
#define GL_UNSIGNED_INT_IMAGE_2D          0x9063
jorgen@8807
  2132
#define GL_UNSIGNED_INT_IMAGE_3D          0x9064
jorgen@8807
  2133
#define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
jorgen@8807
  2134
#define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
jorgen@8807
  2135
#define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
jorgen@8807
  2136
#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
jorgen@8807
  2137
#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
jorgen@8807
  2138
#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
jorgen@8807
  2139
#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
jorgen@8807
  2140
#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
jorgen@8807
  2141
#define GL_MAX_IMAGE_SAMPLES              0x906D
jorgen@8807
  2142
#define GL_IMAGE_BINDING_FORMAT           0x906E
jorgen@8807
  2143
#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
jorgen@8807
  2144
#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
jorgen@8807
  2145
#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
jorgen@8807
  2146
#define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
jorgen@8807
  2147
#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
jorgen@8807
  2148
#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
jorgen@8807
  2149
#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
jorgen@8807
  2150
#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
jorgen@8807
  2151
#define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
jorgen@8807
  2152
#define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
jorgen@8807
  2153
#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
jorgen@8807
  2154
#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
jorgen@8807
  2155
#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
jorgen@8807
  2156
#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
jorgen@8807
  2157
typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
jorgen@8807
  2158
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
jorgen@8807
  2159
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
jorgen@8807
  2160
typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
jorgen@8807
  2161
typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
jorgen@8807
  2162
typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
jorgen@8807
  2163
typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
jorgen@8807
  2164
typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
jorgen@8807
  2165
typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
jorgen@8807
  2166
typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
jorgen@8807
  2167
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
jorgen@8807
  2168
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
jorgen@8807
  2169
#ifdef GL_GLEXT_PROTOTYPES
jorgen@8807
  2170
GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
jorgen@8807
  2171
GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
jorgen@8807
  2172
GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
jorgen@8807
  2173
GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
jorgen@8807
  2174
GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
jorgen@8807
  2175
GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
jorgen@8807
  2176
GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
jorgen@8807
  2177
GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
jorgen@8807
  2178
GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
jorgen@8807
  2179
GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
jorgen@8807
  2180
GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
jorgen@8807
  2181
GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
jorgen@8807
  2182
#endif
jorgen@8807
  2183
#endif /* GL_VERSION_4_2 */
jorgen@8807
  2184
jorgen@8807
  2185
#ifndef GL_VERSION_4_3
jorgen@8807
  2186
#define GL_VERSION_4_3 1
jorgen@8807
  2187
typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
jorgen@8807
  2188
#define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
jorgen@8807
  2189
#define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
jorgen@8807
  2190
#define GL_COMPRESSED_RGB8_ETC2           0x9274
jorgen@8807
  2191
#define GL_COMPRESSED_SRGB8_ETC2          0x9275
jorgen@8807
  2192
#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
jorgen@8807
  2193
#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
jorgen@8807
  2194
#define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
jorgen@8807
  2195
#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
jorgen@8807
  2196
#define GL_COMPRESSED_R11_EAC             0x9270
jorgen@8807
  2197
#define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
jorgen@8807
  2198
#define GL_COMPRESSED_RG11_EAC            0x9272
jorgen@8807
  2199
#define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
jorgen@8807
  2200
#define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
jorgen@8807
  2201
#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
jorgen@8807
  2202
#define GL_MAX_ELEMENT_INDEX              0x8D6B
jorgen@8807
  2203
#define GL_COMPUTE_SHADER                 0x91B9
jorgen@8807
  2204
#define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
jorgen@8807
  2205
#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
jorgen@8807
  2206
#define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
jorgen@8807
  2207
#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
jorgen@8807
  2208
#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
jorgen@8807
  2209
#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
jorgen@8807
  2210
#define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
jorgen@8807
  2211
#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
jorgen@8807
  2212
#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
jorgen@8807
  2213
#define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
jorgen@8807
  2214
#define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
jorgen@8807
  2215
#define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
jorgen@8807
  2216
#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
jorgen@8807
  2217
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
jorgen@8807
  2218
#define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
jorgen@8807
  2219
#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
jorgen@8807
  2220
#define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
jorgen@8807
  2221
#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
jorgen@8807
  2222
#define GL_DEBUG_CALLBACK_FUNCTION        0x8244
jorgen@8807
  2223
#define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
jorgen@8807
  2224
#define GL_DEBUG_SOURCE_API               0x8246
jorgen@8807
  2225
#define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
jorgen@8807
  2226
#define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
jorgen@8807
  2227
#define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
jorgen@8807
  2228
#define GL_DEBUG_SOURCE_APPLICATION       0x824A
jorgen@8807
  2229
#define GL_DEBUG_SOURCE_OTHER             0x824B
jorgen@8807
  2230
#define GL_DEBUG_TYPE_ERROR               0x824C
jorgen@8807
  2231
#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
jorgen@8807
  2232
#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
jorgen@8807
  2233
#define GL_DEBUG_TYPE_PORTABILITY         0x824F
jorgen@8807
  2234
#define GL_DEBUG_TYPE_PERFORMANCE         0x8250
jorgen@8807
  2235
#define GL_DEBUG_TYPE_OTHER               0x8251
jorgen@8807
  2236
#define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
jorgen@8807
  2237
#define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
jorgen@8807
  2238
#define GL_DEBUG_LOGGED_MESSAGES          0x9145
jorgen@8807
  2239
#define GL_DEBUG_SEVERITY_HIGH            0x9146
jorgen@8807
  2240
#define GL_DEBUG_SEVERITY_MEDIUM          0x9147
jorgen@8807
  2241
#define GL_DEBUG_SEVERITY_LOW             0x9148
jorgen@8807
  2242
#define GL_DEBUG_TYPE_MARKER              0x8268
jorgen@8807
  2243
#define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
jorgen@8807
  2244
#define GL_DEBUG_TYPE_POP_GROUP           0x826A
jorgen@8807
  2245
#define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
jorgen@8807
  2246
#define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
jorgen@8807
  2247
#define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
jorgen@8807
  2248
#define GL_BUFFER                         0x82E0
jorgen@8807
  2249
#define GL_SHADER                         0x82E1
jorgen@8807
  2250
#define GL_PROGRAM                        0x82E2
jorgen@8807
  2251
#define GL_QUERY                          0x82E3
jorgen@8807
  2252
#define GL_PROGRAM_PIPELINE               0x82E4
jorgen@8807
  2253
#define GL_SAMPLER                        0x82E6
jorgen@8807
  2254
#define GL_MAX_LABEL_LENGTH               0x82E8
jorgen@8807
  2255
#define GL_DEBUG_OUTPUT                   0x92E0
jorgen@8807
  2256
#define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
jorgen@8807
  2257
#define GL_MAX_UNIFORM_LOCATIONS          0x826E
jorgen@8807
  2258
#define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
jorgen@8807
  2259
#define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
jorgen@8807
  2260
#define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
jorgen@8807
  2261
#define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
jorgen@8807
  2262
#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
jorgen@8807
  2263
#define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
jorgen@8807
  2264
#define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
jorgen@8807
  2265
#define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
jorgen@8807
  2266
#define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
jorgen@8807
  2267
#define GL_INTERNALFORMAT_SUPPORTED       0x826F
jorgen@8807
  2268
#define GL_INTERNALFORMAT_PREFERRED       0x8270
jorgen@8807
  2269
#define GL_INTERNALFORMAT_RED_SIZE        0x8271
jorgen@8807
  2270
#define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
jorgen@8807
  2271
#define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
jorgen@8807
  2272
#define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
jorgen@8807
  2273
#define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
jorgen@8807
  2274
#define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
jorgen@8807
  2275
#define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
jorgen@8807
  2276
#define GL_INTERNALFORMAT_RED_TYPE        0x8278
jorgen@8807
  2277
#define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
jorgen@8807
  2278
#define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
jorgen@8807
  2279
#define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
jorgen@8807
  2280
#define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
jorgen@8807
  2281
#define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
jorgen@8807
  2282
#define GL_MAX_WIDTH                      0x827E
jorgen@8807
  2283
#define GL_MAX_HEIGHT                     0x827F
jorgen@8807
  2284
#define GL_MAX_DEPTH                      0x8280
jorgen@8807
  2285
#define GL_MAX_LAYERS                     0x8281
jorgen@8807
  2286
#define GL_MAX_COMBINED_DIMENSIONS        0x8282
jorgen@8807
  2287
#define GL_COLOR_COMPONENTS               0x8283
jorgen@8807
  2288
#define GL_DEPTH_COMPONENTS               0x8284
jorgen@8807
  2289
#define GL_STENCIL_COMPONENTS             0x8285
jorgen@8807
  2290
#define GL_COLOR_RENDERABLE               0x8286
jorgen@8807
  2291
#define GL_DEPTH_RENDERABLE               0x8287
jorgen@8807
  2292
#define GL_STENCIL_RENDERABLE             0x8288
jorgen@8807
  2293
#define GL_FRAMEBUFFER_RENDERABLE         0x8289
jorgen@8807
  2294
#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
jorgen@8807
  2295
#define GL_FRAMEBUFFER_BLEND              0x828B
jorgen@8807
  2296
#define GL_READ_PIXELS                    0x828C
jorgen@8807
  2297
#define GL_READ_PIXELS_FORMAT             0x828D
jorgen@8807
  2298
#define GL_READ_PIXELS_TYPE               0x828E
jorgen@8807
  2299
#define GL_TEXTURE_IMAGE_FORMAT           0x828F
jorgen@8807
  2300
#define GL_TEXTURE_IMAGE_TYPE             0x8290
jorgen@8807
  2301
#define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
jorgen@8807
  2302
#define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
jorgen@8807
  2303
#define GL_MIPMAP                         0x8293
jorgen@8807
  2304
#define GL_MANUAL_GENERATE_MIPMAP         0x8294
jorgen@8807
  2305
#define GL_AUTO_GENERATE_MIPMAP           0x8295
jorgen@8807
  2306
#define GL_COLOR_ENCODING                 0x8296
jorgen@8807
  2307
#define GL_SRGB_READ                      0x8297
jorgen@8807
  2308
#define GL_SRGB_WRITE                     0x8298
jorgen@8807
  2309
#define GL_FILTER                         0x829A
jorgen@8807
  2310
#define GL_VERTEX_TEXTURE                 0x829B
jorgen@8807
  2311
#define GL_TESS_CONTROL_TEXTURE           0x829C
jorgen@8807
  2312
#define GL_TESS_EVALUATION_TEXTURE        0x829D
jorgen@8807
  2313
#define GL_GEOMETRY_TEXTURE               0x829E
jorgen@8807
  2314
#define GL_FRAGMENT_TEXTURE               0x829F
jorgen@8807
  2315
#define GL_COMPUTE_TEXTURE                0x82A0
jorgen@8807
  2316
#define GL_TEXTURE_SHADOW                 0x82A1
jorgen@8807
  2317
#define GL_TEXTURE_GATHER                 0x82A2
jorgen@8807
  2318
#define GL_TEXTURE_GATHER_SHADOW          0x82A3
jorgen@8807
  2319
#define GL_SHADER_IMAGE_LOAD              0x82A4
jorgen@8807
  2320
#define GL_SHADER_IMAGE_STORE             0x82A5
jorgen@8807
  2321
#define GL_SHADER_IMAGE_ATOMIC            0x82A6
jorgen@8807
  2322
#define GL_IMAGE_TEXEL_SIZE               0x82A7
jorgen@8807
  2323
#define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
jorgen@8807
  2324
#define GL_IMAGE_PIXEL_FORMAT             0x82A9
jorgen@8807
  2325
#define GL_IMAGE_PIXEL_TYPE               0x82AA
jorgen@8807
  2326
#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
jorgen@8807
  2327
#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
jorgen@8807
  2328
#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
jorgen@8807
  2329
#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
jorgen@8807
  2330
#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
jorgen@8807
  2331
#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
jorgen@8807
  2332
#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
jorgen@8807
  2333
#define GL_CLEAR_BUFFER                   0x82B4
jorgen@8807
  2334
#define GL_TEXTURE_VIEW                   0x82B5
jorgen@8807
  2335
#define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
jorgen@8807
  2336
#define GL_FULL_SUPPORT                   0x82B7
jorgen@8807
  2337
#define GL_CAVEAT_SUPPORT                 0x82B8
jorgen@8807
  2338
#define GL_IMAGE_CLASS_4_X_32             0x82B9
jorgen@8807
  2339
#define GL_IMAGE_CLASS_2_X_32             0x82BA
jorgen@8807
  2340
#define GL_IMAGE_CLASS_1_X_32             0x82BB
jorgen@8807
  2341
#define GL_IMAGE_CLASS_4_X_16             0x82BC
jorgen@8807
  2342
#define GL_IMAGE_CLASS_2_X_16             0x82BD
jorgen@8807
  2343
#define GL_IMAGE_CLASS_1_X_16             0x82BE
jorgen@8807
  2344
#define GL_IMAGE_CLASS_4_X_8              0x82BF
jorgen@8807
  2345
#define GL_IMAGE_CLASS_2_X_8              0x82C0
jorgen@8807
  2346
#define GL_IMAGE_CLASS_1_X_8              0x82C1
jorgen@8807
  2347
#define GL_IMAGE_CLASS_11_11_10           0x82C2
jorgen@8807
  2348
#define GL_IMAGE_CLASS_10_10_10_2         0x82C3
jorgen@8807
  2349
#define GL_VIEW_CLASS_128_BITS            0x82C4
jorgen@8807
  2350
#define GL_VIEW_CLASS_96_BITS             0x82C5
jorgen@8807
  2351
#define GL_VIEW_CLASS_64_BITS             0x82C6
jorgen@8807
  2352
#define GL_VIEW_CLASS_48_BITS             0x82C7
jorgen@8807
  2353
#define GL_VIEW_CLASS_32_BITS             0x82C8
jorgen@8807
  2354
#define GL_VIEW_CLASS_24_BITS             0x82C9
jorgen@8807
  2355
#define GL_VIEW_CLASS_16_BITS             0x82CA
jorgen@8807
  2356
#define GL_VIEW_CLASS_8_BITS              0x82CB
jorgen@8807
  2357
#define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
jorgen@8807
  2358
#define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
jorgen@8807
  2359
#define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
jorgen@8807
  2360
#define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
jorgen@8807
  2361
#define GL_VIEW_CLASS_RGTC1_RED           0x82D0
jorgen@8807
  2362
#define GL_VIEW_CLASS_RGTC2_RG            0x82D1
jorgen@8807
  2363
#define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
jorgen@8807
  2364
#define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
jorgen@8807
  2365
#define GL_UNIFORM                        0x92E1
jorgen@8807
  2366
#define GL_UNIFORM_BLOCK                  0x92E2
jorgen@8807
  2367
#define GL_PROGRAM_INPUT                  0x92E3
jorgen@8807
  2368
#define GL_PROGRAM_OUTPUT                 0x92E4
jorgen@8807
  2369
#define GL_BUFFER_VARIABLE                0x92E5
jorgen@8807
  2370
#define GL_SHADER_STORAGE_BLOCK           0x92E6
jorgen@8807
  2371
#define GL_VERTEX_SUBROUTINE              0x92E8
jorgen@8807
  2372
#define GL_TESS_CONTROL_SUBROUTINE        0x92E9
jorgen@8807
  2373
#define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
jorgen@8807
  2374
#define GL_GEOMETRY_SUBROUTINE            0x92EB
jorgen@8807
  2375
#define GL_FRAGMENT_SUBROUTINE            0x92EC
jorgen@8807
  2376
#define GL_COMPUTE_SUBROUTINE             0x92ED
jorgen@8807
  2377
#define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
jorgen@8807
  2378
#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
jorgen@8807
  2379
#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
jorgen@8807
  2380
#define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
jorgen@8807
  2381
#define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
jorgen@8807
  2382
#define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
jorgen@8807
  2383
#define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
jorgen@8807
  2384
#define GL_ACTIVE_RESOURCES               0x92F5
jorgen@8807
  2385
#define GL_MAX_NAME_LENGTH                0x92F6
jorgen@8807
  2386
#define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
jorgen@8807
  2387
#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
jorgen@8807
  2388
#define GL_NAME_LENGTH                    0x92F9
jorgen@8807
  2389
#define GL_TYPE                           0x92FA
jorgen@8807
  2390
#define GL_ARRAY_SIZE                     0x92FB
jorgen@8807
  2391
#define GL_OFFSET                         0x92FC
jorgen@8807
  2392
#define GL_BLOCK_INDEX                    0x92FD
jorgen@8807
  2393
#define GL_ARRAY_STRIDE                   0x92FE
jorgen@8807
  2394
#define GL_MATRIX_STRIDE                  0x92FF
jorgen@8807
  2395
#define GL_IS_ROW_MAJOR                   0x9300
jorgen@8807
  2396
#define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
jorgen@8807
  2397
#define GL_BUFFER_BINDING                 0x9302
jorgen@8807
  2398
#define GL_BUFFER_DATA_SIZE               0x9303
jorgen@8807
  2399
#define GL_NUM_ACTIVE_VARIABLES           0x9304