cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

SDL_opengl_glext.h (731319B)


      1#ifndef __glext_h_
      2#define __glext_h_ 1
      3
      4#ifdef __cplusplus
      5extern "C" {
      6#endif
      7
      8/*
      9** Copyright (c) 2013-2014 The Khronos Group Inc.
     10**
     11** Permission is hereby granted, free of charge, to any person obtaining a
     12** copy of this software and/or associated documentation files (the
     13** "Materials"), to deal in the Materials without restriction, including
     14** without limitation the rights to use, copy, modify, merge, publish,
     15** distribute, sublicense, and/or sell copies of the Materials, and to
     16** permit persons to whom the Materials are furnished to do so, subject to
     17** the following conditions:
     18**
     19** The above copyright notice and this permission notice shall be included
     20** in all copies or substantial portions of the Materials.
     21**
     22** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     23** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     24** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     25** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
     26** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
     27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
     28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
     29*/
     30/*
     31** This header is generated from the Khronos OpenGL / OpenGL ES XML
     32** API Registry. The current version of the Registry, generator scripts
     33** used to make the header, and the header can be found at
     34**   http://www.opengl.org/registry/
     35**
     36** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
     37*/
     38
     39#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
     40#ifndef WIN32_LEAN_AND_MEAN
     41#define WIN32_LEAN_AND_MEAN 1
     42#endif
     43#include <windows.h>
     44#endif
     45
     46#ifndef APIENTRY
     47#define APIENTRY
     48#endif
     49#ifndef APIENTRYP
     50#define APIENTRYP APIENTRY *
     51#endif
     52#ifndef GLAPI
     53#define GLAPI extern
     54#endif
     55
     56#define GL_GLEXT_VERSION 20140521
     57
     58/* Generated C header for:
     59 * API: gl
     60 * Profile: compatibility
     61 * Versions considered: .*
     62 * Versions emitted: 1\.[2-9]|[234]\.[0-9]
     63 * Default extensions included: gl
     64 * Additional extensions included: _nomatch_^
     65 * Extensions removed: _nomatch_^
     66 */
     67
     68#ifndef GL_VERSION_1_2
     69#define GL_VERSION_1_2 1
     70#define GL_UNSIGNED_BYTE_3_3_2            0x8032
     71#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
     72#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
     73#define GL_UNSIGNED_INT_8_8_8_8           0x8035
     74#define GL_UNSIGNED_INT_10_10_10_2        0x8036
     75#define GL_TEXTURE_BINDING_3D             0x806A
     76#define GL_PACK_SKIP_IMAGES               0x806B
     77#define GL_PACK_IMAGE_HEIGHT              0x806C
     78#define GL_UNPACK_SKIP_IMAGES             0x806D
     79#define GL_UNPACK_IMAGE_HEIGHT            0x806E
     80#define GL_TEXTURE_3D                     0x806F
     81#define GL_PROXY_TEXTURE_3D               0x8070
     82#define GL_TEXTURE_DEPTH                  0x8071
     83#define GL_TEXTURE_WRAP_R                 0x8072
     84#define GL_MAX_3D_TEXTURE_SIZE            0x8073
     85#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
     86#define GL_UNSIGNED_SHORT_5_6_5           0x8363
     87#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
     88#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
     89#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
     90#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
     91#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
     92#define GL_BGR                            0x80E0
     93#define GL_BGRA                           0x80E1
     94#define GL_MAX_ELEMENTS_VERTICES          0x80E8
     95#define GL_MAX_ELEMENTS_INDICES           0x80E9
     96#define GL_CLAMP_TO_EDGE                  0x812F
     97#define GL_TEXTURE_MIN_LOD                0x813A
     98#define GL_TEXTURE_MAX_LOD                0x813B
     99#define GL_TEXTURE_BASE_LEVEL             0x813C
    100#define GL_TEXTURE_MAX_LEVEL              0x813D
    101#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
    102#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
    103#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
    104#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
    105#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
    106#define GL_RESCALE_NORMAL                 0x803A
    107#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
    108#define GL_SINGLE_COLOR                   0x81F9
    109#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
    110#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
    111typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
    112typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
    113typedef 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);
    114typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
    115#ifdef GL_GLEXT_PROTOTYPES
    116GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
    117GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
    118GLAPI 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);
    119GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
    120#endif
    121#endif /* GL_VERSION_1_2 */
    122
    123#ifndef GL_VERSION_1_3
    124#define GL_VERSION_1_3 1
    125#define GL_TEXTURE0                       0x84C0
    126#define GL_TEXTURE1                       0x84C1
    127#define GL_TEXTURE2                       0x84C2
    128#define GL_TEXTURE3                       0x84C3
    129#define GL_TEXTURE4                       0x84C4
    130#define GL_TEXTURE5                       0x84C5
    131#define GL_TEXTURE6                       0x84C6
    132#define GL_TEXTURE7                       0x84C7
    133#define GL_TEXTURE8                       0x84C8
    134#define GL_TEXTURE9                       0x84C9
    135#define GL_TEXTURE10                      0x84CA
    136#define GL_TEXTURE11                      0x84CB
    137#define GL_TEXTURE12                      0x84CC
    138#define GL_TEXTURE13                      0x84CD
    139#define GL_TEXTURE14                      0x84CE
    140#define GL_TEXTURE15                      0x84CF
    141#define GL_TEXTURE16                      0x84D0
    142#define GL_TEXTURE17                      0x84D1
    143#define GL_TEXTURE18                      0x84D2
    144#define GL_TEXTURE19                      0x84D3
    145#define GL_TEXTURE20                      0x84D4
    146#define GL_TEXTURE21                      0x84D5
    147#define GL_TEXTURE22                      0x84D6
    148#define GL_TEXTURE23                      0x84D7
    149#define GL_TEXTURE24                      0x84D8
    150#define GL_TEXTURE25                      0x84D9
    151#define GL_TEXTURE26                      0x84DA
    152#define GL_TEXTURE27                      0x84DB
    153#define GL_TEXTURE28                      0x84DC
    154#define GL_TEXTURE29                      0x84DD
    155#define GL_TEXTURE30                      0x84DE
    156#define GL_TEXTURE31                      0x84DF
    157#define GL_ACTIVE_TEXTURE                 0x84E0
    158#define GL_MULTISAMPLE                    0x809D
    159#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
    160#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
    161#define GL_SAMPLE_COVERAGE                0x80A0
    162#define GL_SAMPLE_BUFFERS                 0x80A8
    163#define GL_SAMPLES                        0x80A9
    164#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
    165#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
    166#define GL_TEXTURE_CUBE_MAP               0x8513
    167#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
    168#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
    169#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
    170#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
    171#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
    172#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
    173#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
    174#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
    175#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
    176#define GL_COMPRESSED_RGB                 0x84ED
    177#define GL_COMPRESSED_RGBA                0x84EE
    178#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
    179#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
    180#define GL_TEXTURE_COMPRESSED             0x86A1
    181#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
    182#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
    183#define GL_CLAMP_TO_BORDER                0x812D
    184#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
    185#define GL_MAX_TEXTURE_UNITS              0x84E2
    186#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
    187#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
    188#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
    189#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
    190#define GL_MULTISAMPLE_BIT                0x20000000
    191#define GL_NORMAL_MAP                     0x8511
    192#define GL_REFLECTION_MAP                 0x8512
    193#define GL_COMPRESSED_ALPHA               0x84E9
    194#define GL_COMPRESSED_LUMINANCE           0x84EA
    195#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
    196#define GL_COMPRESSED_INTENSITY           0x84EC
    197#define GL_COMBINE                        0x8570
    198#define GL_COMBINE_RGB                    0x8571
    199#define GL_COMBINE_ALPHA                  0x8572
    200#define GL_SOURCE0_RGB                    0x8580
    201#define GL_SOURCE1_RGB                    0x8581
    202#define GL_SOURCE2_RGB                    0x8582
    203#define GL_SOURCE0_ALPHA                  0x8588
    204#define GL_SOURCE1_ALPHA                  0x8589
    205#define GL_SOURCE2_ALPHA                  0x858A
    206#define GL_OPERAND0_RGB                   0x8590
    207#define GL_OPERAND1_RGB                   0x8591
    208#define GL_OPERAND2_RGB                   0x8592
    209#define GL_OPERAND0_ALPHA                 0x8598
    210#define GL_OPERAND1_ALPHA                 0x8599
    211#define GL_OPERAND2_ALPHA                 0x859A
    212#define GL_RGB_SCALE                      0x8573
    213#define GL_ADD_SIGNED                     0x8574
    214#define GL_INTERPOLATE                    0x8575
    215#define GL_SUBTRACT                       0x84E7
    216#define GL_CONSTANT                       0x8576
    217#define GL_PRIMARY_COLOR                  0x8577
    218#define GL_PREVIOUS                       0x8578
    219#define GL_DOT3_RGB                       0x86AE
    220#define GL_DOT3_RGBA                      0x86AF
    221typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
    222typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
    223typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
    224typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
    225typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
    226typedef 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);
    227typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
    228typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
    229typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
    230typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
    231typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
    232typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
    233typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
    234typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
    235typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
    236typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
    237typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
    238typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
    239typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
    240typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
    241typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
    242typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
    243typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
    244typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
    245typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
    246typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
    247typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
    248typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
    249typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
    250typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
    251typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
    252typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
    253typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
    254typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
    255typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    256typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
    257typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    258typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
    259typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
    260typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
    261typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    262typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
    263typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
    264typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
    265typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
    266typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
    267#ifdef GL_GLEXT_PROTOTYPES
    268GLAPI void APIENTRY glActiveTexture (GLenum texture);
    269GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
    270GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
    271GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
    272GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
    273GLAPI 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);
    274GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
    275GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
    276GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
    277GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
    278GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
    279GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
    280GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
    281GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
    282GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
    283GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
    284GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
    285GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
    286GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
    287GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
    288GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
    289GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
    290GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
    291GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
    292GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
    293GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
    294GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
    295GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
    296GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
    297GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
    298GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
    299GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
    300GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
    301GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
    302GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    303GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
    304GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    305GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
    306GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
    307GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
    308GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    309GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
    310GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
    311GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
    312GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
    313GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
    314#endif
    315#endif /* GL_VERSION_1_3 */
    316
    317#ifndef GL_VERSION_1_4
    318#define GL_VERSION_1_4 1
    319#define GL_BLEND_DST_RGB                  0x80C8
    320#define GL_BLEND_SRC_RGB                  0x80C9
    321#define GL_BLEND_DST_ALPHA                0x80CA
    322#define GL_BLEND_SRC_ALPHA                0x80CB
    323#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
    324#define GL_DEPTH_COMPONENT16              0x81A5
    325#define GL_DEPTH_COMPONENT24              0x81A6
    326#define GL_DEPTH_COMPONENT32              0x81A7
    327#define GL_MIRRORED_REPEAT                0x8370
    328#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
    329#define GL_TEXTURE_LOD_BIAS               0x8501
    330#define GL_INCR_WRAP                      0x8507
    331#define GL_DECR_WRAP                      0x8508
    332#define GL_TEXTURE_DEPTH_SIZE             0x884A
    333#define GL_TEXTURE_COMPARE_MODE           0x884C
    334#define GL_TEXTURE_COMPARE_FUNC           0x884D
    335#define GL_POINT_SIZE_MIN                 0x8126
    336#define GL_POINT_SIZE_MAX                 0x8127
    337#define GL_POINT_DISTANCE_ATTENUATION     0x8129
    338#define GL_GENERATE_MIPMAP                0x8191
    339#define GL_GENERATE_MIPMAP_HINT           0x8192
    340#define GL_FOG_COORDINATE_SOURCE          0x8450
    341#define GL_FOG_COORDINATE                 0x8451
    342#define GL_FRAGMENT_DEPTH                 0x8452
    343#define GL_CURRENT_FOG_COORDINATE         0x8453
    344#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
    345#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
    346#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
    347#define GL_FOG_COORDINATE_ARRAY           0x8457
    348#define GL_COLOR_SUM                      0x8458
    349#define GL_CURRENT_SECONDARY_COLOR        0x8459
    350#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
    351#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
    352#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
    353#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
    354#define GL_SECONDARY_COLOR_ARRAY          0x845E
    355#define GL_TEXTURE_FILTER_CONTROL         0x8500
    356#define GL_DEPTH_TEXTURE_MODE             0x884B
    357#define GL_COMPARE_R_TO_TEXTURE           0x884E
    358#define GL_FUNC_ADD                       0x8006
    359#define GL_FUNC_SUBTRACT                  0x800A
    360#define GL_FUNC_REVERSE_SUBTRACT          0x800B
    361#define GL_MIN                            0x8007
    362#define GL_MAX                            0x8008
    363#define GL_CONSTANT_COLOR                 0x8001
    364#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
    365#define GL_CONSTANT_ALPHA                 0x8003
    366#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
    367typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
    368typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
    369typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
    370typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
    371typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
    372typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
    373typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
    374typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
    375typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
    376typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
    377typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
    378typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
    379typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
    380typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
    381typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
    382typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
    383typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
    384typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
    385typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
    386typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
    387typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
    388typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
    389typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
    390typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
    391typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
    392typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
    393typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
    394typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
    395typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
    396typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
    397typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
    398typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
    399typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
    400typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
    401typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
    402typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
    403typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
    404typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
    405typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
    406typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
    407typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
    408typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
    409typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
    410typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
    411typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
    412typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
    413typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
    414#ifdef GL_GLEXT_PROTOTYPES
    415GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
    416GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
    417GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
    418GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
    419GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
    420GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
    421GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
    422GLAPI void APIENTRY glFogCoordf (GLfloat coord);
    423GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
    424GLAPI void APIENTRY glFogCoordd (GLdouble coord);
    425GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
    426GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
    427GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
    428GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
    429GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
    430GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
    431GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
    432GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
    433GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
    434GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
    435GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
    436GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
    437GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
    438GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
    439GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
    440GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
    441GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
    442GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
    443GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
    444GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
    445GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
    446GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
    447GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
    448GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
    449GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
    450GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
    451GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
    452GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
    453GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
    454GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
    455GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
    456GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
    457GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
    458GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
    459GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
    460GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
    461GLAPI void APIENTRY glBlendEquation (GLenum mode);
    462#endif
    463#endif /* GL_VERSION_1_4 */
    464
    465#ifndef GL_VERSION_1_5
    466#define GL_VERSION_1_5 1
    467#include <stddef.h>
    468#ifdef __MACOSX__
    469typedef long GLsizeiptr;
    470typedef long GLintptr;
    471#else
    472typedef ptrdiff_t GLsizeiptr;
    473typedef ptrdiff_t GLintptr;
    474#endif
    475#define GL_BUFFER_SIZE                    0x8764
    476#define GL_BUFFER_USAGE                   0x8765
    477#define GL_QUERY_COUNTER_BITS             0x8864
    478#define GL_CURRENT_QUERY                  0x8865
    479#define GL_QUERY_RESULT                   0x8866
    480#define GL_QUERY_RESULT_AVAILABLE         0x8867
    481#define GL_ARRAY_BUFFER                   0x8892
    482#define GL_ELEMENT_ARRAY_BUFFER           0x8893
    483#define GL_ARRAY_BUFFER_BINDING           0x8894
    484#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
    485#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
    486#define GL_READ_ONLY                      0x88B8
    487#define GL_WRITE_ONLY                     0x88B9
    488#define GL_READ_WRITE                     0x88BA
    489#define GL_BUFFER_ACCESS                  0x88BB
    490#define GL_BUFFER_MAPPED                  0x88BC
    491#define GL_BUFFER_MAP_POINTER             0x88BD
    492#define GL_STREAM_DRAW                    0x88E0
    493#define GL_STREAM_READ                    0x88E1
    494#define GL_STREAM_COPY                    0x88E2
    495#define GL_STATIC_DRAW                    0x88E4
    496#define GL_STATIC_READ                    0x88E5
    497#define GL_STATIC_COPY                    0x88E6
    498#define GL_DYNAMIC_DRAW                   0x88E8
    499#define GL_DYNAMIC_READ                   0x88E9
    500#define GL_DYNAMIC_COPY                   0x88EA
    501#define GL_SAMPLES_PASSED                 0x8914
    502#define GL_SRC1_ALPHA                     0x8589
    503#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
    504#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
    505#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
    506#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
    507#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
    508#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
    509#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
    510#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
    511#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
    512#define GL_FOG_COORD_SRC                  0x8450
    513#define GL_FOG_COORD                      0x8451
    514#define GL_CURRENT_FOG_COORD              0x8453
    515#define GL_FOG_COORD_ARRAY_TYPE           0x8454
    516#define GL_FOG_COORD_ARRAY_STRIDE         0x8455
    517#define GL_FOG_COORD_ARRAY_POINTER        0x8456
    518#define GL_FOG_COORD_ARRAY                0x8457
    519#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
    520#define GL_SRC0_RGB                       0x8580
    521#define GL_SRC1_RGB                       0x8581
    522#define GL_SRC2_RGB                       0x8582
    523#define GL_SRC0_ALPHA                     0x8588
    524#define GL_SRC2_ALPHA                     0x858A
    525typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
    526typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
    527typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
    528typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
    529typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
    530typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
    531typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
    532typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
    533typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
    534typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
    535typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
    536typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
    537typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
    538typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
    539typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
    540typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
    541typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
    542typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
    543typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
    544#ifdef GL_GLEXT_PROTOTYPES
    545GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
    546GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
    547GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
    548GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
    549GLAPI void APIENTRY glEndQuery (GLenum target);
    550GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
    551GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
    552GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
    553GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
    554GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
    555GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
    556GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
    557GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
    558GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
    559GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
    560GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
    561GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
    562GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
    563GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
    564#endif
    565#endif /* GL_VERSION_1_5 */
    566
    567#ifndef GL_VERSION_2_0
    568#define GL_VERSION_2_0 1
    569typedef char GLchar;
    570#define GL_BLEND_EQUATION_RGB             0x8009
    571#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
    572#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
    573#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
    574#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
    575#define GL_CURRENT_VERTEX_ATTRIB          0x8626
    576#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
    577#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
    578#define GL_STENCIL_BACK_FUNC              0x8800
    579#define GL_STENCIL_BACK_FAIL              0x8801
    580#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
    581#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
    582#define GL_MAX_DRAW_BUFFERS               0x8824
    583#define GL_DRAW_BUFFER0                   0x8825
    584#define GL_DRAW_BUFFER1                   0x8826
    585#define GL_DRAW_BUFFER2                   0x8827
    586#define GL_DRAW_BUFFER3                   0x8828
    587#define GL_DRAW_BUFFER4                   0x8829
    588#define GL_DRAW_BUFFER5                   0x882A
    589#define GL_DRAW_BUFFER6                   0x882B
    590#define GL_DRAW_BUFFER7                   0x882C
    591#define GL_DRAW_BUFFER8                   0x882D
    592#define GL_DRAW_BUFFER9                   0x882E
    593#define GL_DRAW_BUFFER10                  0x882F
    594#define GL_DRAW_BUFFER11                  0x8830
    595#define GL_DRAW_BUFFER12                  0x8831
    596#define GL_DRAW_BUFFER13                  0x8832
    597#define GL_DRAW_BUFFER14                  0x8833
    598#define GL_DRAW_BUFFER15                  0x8834
    599#define GL_BLEND_EQUATION_ALPHA           0x883D
    600#define GL_MAX_VERTEX_ATTRIBS             0x8869
    601#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
    602#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
    603#define GL_FRAGMENT_SHADER                0x8B30
    604#define GL_VERTEX_SHADER                  0x8B31
    605#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
    606#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
    607#define GL_MAX_VARYING_FLOATS             0x8B4B
    608#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
    609#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
    610#define GL_SHADER_TYPE                    0x8B4F
    611#define GL_FLOAT_VEC2                     0x8B50
    612#define GL_FLOAT_VEC3                     0x8B51
    613#define GL_FLOAT_VEC4                     0x8B52
    614#define GL_INT_VEC2                       0x8B53
    615#define GL_INT_VEC3                       0x8B54
    616#define GL_INT_VEC4                       0x8B55
    617#define GL_BOOL                           0x8B56
    618#define GL_BOOL_VEC2                      0x8B57
    619#define GL_BOOL_VEC3                      0x8B58
    620#define GL_BOOL_VEC4                      0x8B59
    621#define GL_FLOAT_MAT2                     0x8B5A
    622#define GL_FLOAT_MAT3                     0x8B5B
    623#define GL_FLOAT_MAT4                     0x8B5C
    624#define GL_SAMPLER_1D                     0x8B5D
    625#define GL_SAMPLER_2D                     0x8B5E
    626#define GL_SAMPLER_3D                     0x8B5F
    627#define GL_SAMPLER_CUBE                   0x8B60
    628#define GL_SAMPLER_1D_SHADOW              0x8B61
    629#define GL_SAMPLER_2D_SHADOW              0x8B62
    630#define GL_DELETE_STATUS                  0x8B80
    631#define GL_COMPILE_STATUS                 0x8B81
    632#define GL_LINK_STATUS                    0x8B82
    633#define GL_VALIDATE_STATUS                0x8B83
    634#define GL_INFO_LOG_LENGTH                0x8B84
    635#define GL_ATTACHED_SHADERS               0x8B85
    636#define GL_ACTIVE_UNIFORMS                0x8B86
    637#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
    638#define GL_SHADER_SOURCE_LENGTH           0x8B88
    639#define GL_ACTIVE_ATTRIBUTES              0x8B89
    640#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
    641#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
    642#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
    643#define GL_CURRENT_PROGRAM                0x8B8D
    644#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
    645#define GL_LOWER_LEFT                     0x8CA1
    646#define GL_UPPER_LEFT                     0x8CA2
    647#define GL_STENCIL_BACK_REF               0x8CA3
    648#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
    649#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
    650#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
    651#define GL_POINT_SPRITE                   0x8861
    652#define GL_COORD_REPLACE                  0x8862
    653#define GL_MAX_TEXTURE_COORDS             0x8871
    654typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
    655typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
    656typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
    657typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
    658typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
    659typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
    660typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
    661typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
    662typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
    663typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
    664typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
    665typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
    666typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
    667typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
    668typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
    669typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
    670typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
    671typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
    672typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
    673typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
    674typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
    675typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
    676typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
    677typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
    678typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
    679typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
    680typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
    681typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
    682typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
    683typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
    684typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
    685typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
    686typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
    687typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
    688typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
    689typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
    690typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
    691typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
    692typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
    693typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
    694typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
    695typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
    696typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
    697typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
    698typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
    699typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
    700typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
    701typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
    702typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
    703typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
    704typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
    705typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
    706typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    707typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    708typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    709typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
    710typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
    711typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
    712typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
    713typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
    714typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
    715typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
    716typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
    717typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
    718typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
    719typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
    720typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
    721typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
    722typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
    723typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
    724typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
    725typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
    726typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
    727typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
    728typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
    729typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
    730typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
    731typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
    732typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
    733typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
    734typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
    735typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
    736typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    737typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
    738typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    739typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
    740typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
    741typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
    742typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
    743typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
    744typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
    745typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
    746typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
    747#ifdef GL_GLEXT_PROTOTYPES
    748GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
    749GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
    750GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
    751GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
    752GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
    753GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
    754GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
    755GLAPI void APIENTRY glCompileShader (GLuint shader);
    756GLAPI GLuint APIENTRY glCreateProgram (void);
    757GLAPI GLuint APIENTRY glCreateShader (GLenum type);
    758GLAPI void APIENTRY glDeleteProgram (GLuint program);
    759GLAPI void APIENTRY glDeleteShader (GLuint shader);
    760GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
    761GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
    762GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
    763GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
    764GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
    765GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
    766GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
    767GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
    768GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
    769GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
    770GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
    771GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
    772GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
    773GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
    774GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
    775GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
    776GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
    777GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
    778GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
    779GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
    780GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
    781GLAPI void APIENTRY glLinkProgram (GLuint program);
    782GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
    783GLAPI void APIENTRY glUseProgram (GLuint program);
    784GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
    785GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
    786GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
    787GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
    788GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
    789GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
    790GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
    791GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
    792GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
    793GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
    794GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
    795GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
    796GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
    797GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
    798GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
    799GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
    800GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    801GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    802GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    803GLAPI void APIENTRY glValidateProgram (GLuint program);
    804GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
    805GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
    806GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
    807GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
    808GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
    809GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
    810GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
    811GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
    812GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
    813GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
    814GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
    815GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
    816GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
    817GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
    818GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
    819GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
    820GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
    821GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
    822GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
    823GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
    824GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
    825GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
    826GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
    827GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
    828GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
    829GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
    830GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    831GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
    832GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    833GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
    834GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
    835GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
    836GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
    837GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
    838GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
    839GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
    840GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
    841#endif
    842#endif /* GL_VERSION_2_0 */
    843
    844#ifndef GL_VERSION_2_1
    845#define GL_VERSION_2_1 1
    846#define GL_PIXEL_PACK_BUFFER              0x88EB
    847#define GL_PIXEL_UNPACK_BUFFER            0x88EC
    848#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
    849#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
    850#define GL_FLOAT_MAT2x3                   0x8B65
    851#define GL_FLOAT_MAT2x4                   0x8B66
    852#define GL_FLOAT_MAT3x2                   0x8B67
    853#define GL_FLOAT_MAT3x4                   0x8B68
    854#define GL_FLOAT_MAT4x2                   0x8B69
    855#define GL_FLOAT_MAT4x3                   0x8B6A
    856#define GL_SRGB                           0x8C40
    857#define GL_SRGB8                          0x8C41
    858#define GL_SRGB_ALPHA                     0x8C42
    859#define GL_SRGB8_ALPHA8                   0x8C43
    860#define GL_COMPRESSED_SRGB                0x8C48
    861#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
    862#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
    863#define GL_SLUMINANCE_ALPHA               0x8C44
    864#define GL_SLUMINANCE8_ALPHA8             0x8C45
    865#define GL_SLUMINANCE                     0x8C46
    866#define GL_SLUMINANCE8                    0x8C47
    867#define GL_COMPRESSED_SLUMINANCE          0x8C4A
    868#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
    869typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    870typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    871typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    872typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    873typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    874typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    875#ifdef GL_GLEXT_PROTOTYPES
    876GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    877GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    878GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    879GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    880GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    881GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
    882#endif
    883#endif /* GL_VERSION_2_1 */
    884
    885#ifndef GL_VERSION_3_0
    886#define GL_VERSION_3_0 1
    887typedef unsigned short GLhalf;
    888#define GL_COMPARE_REF_TO_TEXTURE         0x884E
    889#define GL_CLIP_DISTANCE0                 0x3000
    890#define GL_CLIP_DISTANCE1                 0x3001
    891#define GL_CLIP_DISTANCE2                 0x3002
    892#define GL_CLIP_DISTANCE3                 0x3003
    893#define GL_CLIP_DISTANCE4                 0x3004
    894#define GL_CLIP_DISTANCE5                 0x3005
    895#define GL_CLIP_DISTANCE6                 0x3006
    896#define GL_CLIP_DISTANCE7                 0x3007
    897#define GL_MAX_CLIP_DISTANCES             0x0D32
    898#define GL_MAJOR_VERSION                  0x821B
    899#define GL_MINOR_VERSION                  0x821C
    900#define GL_NUM_EXTENSIONS                 0x821D
    901#define GL_CONTEXT_FLAGS                  0x821E
    902#define GL_COMPRESSED_RED                 0x8225
    903#define GL_COMPRESSED_RG                  0x8226
    904#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
    905#define GL_RGBA32F                        0x8814
    906#define GL_RGB32F                         0x8815
    907#define GL_RGBA16F                        0x881A
    908#define GL_RGB16F                         0x881B
    909#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
    910#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
    911#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
    912#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
    913#define GL_CLAMP_READ_COLOR               0x891C
    914#define GL_FIXED_ONLY                     0x891D
    915#define GL_MAX_VARYING_COMPONENTS         0x8B4B
    916#define GL_TEXTURE_1D_ARRAY               0x8C18
    917#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
    918#define GL_TEXTURE_2D_ARRAY               0x8C1A
    919#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
    920#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
    921#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
    922#define GL_R11F_G11F_B10F                 0x8C3A
    923#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
    924#define GL_RGB9_E5                        0x8C3D
    925#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
    926#define GL_TEXTURE_SHARED_SIZE            0x8C3F
    927#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
    928#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
    929#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
    930#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
    931#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
    932#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
    933#define GL_PRIMITIVES_GENERATED           0x8C87
    934#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
    935#define GL_RASTERIZER_DISCARD             0x8C89
    936#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
    937#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
    938#define GL_INTERLEAVED_ATTRIBS            0x8C8C
    939#define GL_SEPARATE_ATTRIBS               0x8C8D
    940#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
    941#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
    942#define GL_RGBA32UI                       0x8D70
    943#define GL_RGB32UI                        0x8D71
    944#define GL_RGBA16UI                       0x8D76
    945#define GL_RGB16UI                        0x8D77
    946#define GL_RGBA8UI                        0x8D7C
    947#define GL_RGB8UI                         0x8D7D
    948#define GL_RGBA32I                        0x8D82
    949#define GL_RGB32I                         0x8D83
    950#define GL_RGBA16I                        0x8D88
    951#define GL_RGB16I                         0x8D89
    952#define GL_RGBA8I                         0x8D8E
    953#define GL_RGB8I                          0x8D8F
    954#define GL_RED_INTEGER                    0x8D94
    955#define GL_GREEN_INTEGER                  0x8D95
    956#define GL_BLUE_INTEGER                   0x8D96
    957#define GL_RGB_INTEGER                    0x8D98
    958#define GL_RGBA_INTEGER                   0x8D99
    959#define GL_BGR_INTEGER                    0x8D9A
    960#define GL_BGRA_INTEGER                   0x8D9B
    961#define GL_SAMPLER_1D_ARRAY               0x8DC0
    962#define GL_SAMPLER_2D_ARRAY               0x8DC1
    963#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
    964#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
    965#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
    966#define GL_UNSIGNED_INT_VEC2              0x8DC6
    967#define GL_UNSIGNED_INT_VEC3              0x8DC7
    968#define GL_UNSIGNED_INT_VEC4              0x8DC8
    969#define GL_INT_SAMPLER_1D                 0x8DC9
    970#define GL_INT_SAMPLER_2D                 0x8DCA
    971#define GL_INT_SAMPLER_3D                 0x8DCB
    972#define GL_INT_SAMPLER_CUBE               0x8DCC
    973#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
    974#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
    975#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
    976#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
    977#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
    978#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
    979#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
    980#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
    981#define GL_QUERY_WAIT                     0x8E13
    982#define GL_QUERY_NO_WAIT                  0x8E14
    983#define GL_QUERY_BY_REGION_WAIT           0x8E15
    984#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
    985#define GL_BUFFER_ACCESS_FLAGS            0x911F
    986#define GL_BUFFER_MAP_LENGTH              0x9120
    987#define GL_BUFFER_MAP_OFFSET              0x9121
    988#define GL_DEPTH_COMPONENT32F             0x8CAC
    989#define GL_DEPTH32F_STENCIL8              0x8CAD
    990#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
    991#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
    992#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
    993#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
    994#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
    995#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
    996#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
    997#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
    998#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
    999#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
   1000#define GL_FRAMEBUFFER_DEFAULT            0x8218
   1001#define GL_FRAMEBUFFER_UNDEFINED          0x8219
   1002#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
   1003#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
   1004#define GL_DEPTH_STENCIL                  0x84F9
   1005#define GL_UNSIGNED_INT_24_8              0x84FA
   1006#define GL_DEPTH24_STENCIL8               0x88F0
   1007#define GL_TEXTURE_STENCIL_SIZE           0x88F1
   1008#define GL_TEXTURE_RED_TYPE               0x8C10
   1009#define GL_TEXTURE_GREEN_TYPE             0x8C11
   1010#define GL_TEXTURE_BLUE_TYPE              0x8C12
   1011#define GL_TEXTURE_ALPHA_TYPE             0x8C13
   1012#define GL_TEXTURE_DEPTH_TYPE             0x8C16
   1013#define GL_UNSIGNED_NORMALIZED            0x8C17
   1014#define GL_FRAMEBUFFER_BINDING            0x8CA6
   1015#define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
   1016#define GL_RENDERBUFFER_BINDING           0x8CA7
   1017#define GL_READ_FRAMEBUFFER               0x8CA8
   1018#define GL_DRAW_FRAMEBUFFER               0x8CA9
   1019#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
   1020#define GL_RENDERBUFFER_SAMPLES           0x8CAB
   1021#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
   1022#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
   1023#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
   1024#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
   1025#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
   1026#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
   1027#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
   1028#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
   1029#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
   1030#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
   1031#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
   1032#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
   1033#define GL_COLOR_ATTACHMENT0              0x8CE0
   1034#define GL_COLOR_ATTACHMENT1              0x8CE1
   1035#define GL_COLOR_ATTACHMENT2              0x8CE2
   1036#define GL_COLOR_ATTACHMENT3              0x8CE3
   1037#define GL_COLOR_ATTACHMENT4              0x8CE4
   1038#define GL_COLOR_ATTACHMENT5              0x8CE5
   1039#define GL_COLOR_ATTACHMENT6              0x8CE6
   1040#define GL_COLOR_ATTACHMENT7              0x8CE7
   1041#define GL_COLOR_ATTACHMENT8              0x8CE8
   1042#define GL_COLOR_ATTACHMENT9              0x8CE9
   1043#define GL_COLOR_ATTACHMENT10             0x8CEA
   1044#define GL_COLOR_ATTACHMENT11             0x8CEB
   1045#define GL_COLOR_ATTACHMENT12             0x8CEC
   1046#define GL_COLOR_ATTACHMENT13             0x8CED
   1047#define GL_COLOR_ATTACHMENT14             0x8CEE
   1048#define GL_COLOR_ATTACHMENT15             0x8CEF
   1049#define GL_DEPTH_ATTACHMENT               0x8D00
   1050#define GL_STENCIL_ATTACHMENT             0x8D20
   1051#define GL_FRAMEBUFFER                    0x8D40
   1052#define GL_RENDERBUFFER                   0x8D41
   1053#define GL_RENDERBUFFER_WIDTH             0x8D42
   1054#define GL_RENDERBUFFER_HEIGHT            0x8D43
   1055#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
   1056#define GL_STENCIL_INDEX1                 0x8D46
   1057#define GL_STENCIL_INDEX4                 0x8D47
   1058#define GL_STENCIL_INDEX8                 0x8D48
   1059#define GL_STENCIL_INDEX16                0x8D49
   1060#define GL_RENDERBUFFER_RED_SIZE          0x8D50
   1061#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
   1062#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
   1063#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
   1064#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
   1065#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
   1066#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
   1067#define GL_MAX_SAMPLES                    0x8D57
   1068#define GL_INDEX                          0x8222
   1069#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
   1070#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
   1071#define GL_FRAMEBUFFER_SRGB               0x8DB9
   1072#define GL_HALF_FLOAT                     0x140B
   1073#define GL_MAP_READ_BIT                   0x0001
   1074#define GL_MAP_WRITE_BIT                  0x0002
   1075#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
   1076#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
   1077#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
   1078#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
   1079#define GL_COMPRESSED_RED_RGTC1           0x8DBB
   1080#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
   1081#define GL_COMPRESSED_RG_RGTC2            0x8DBD
   1082#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
   1083#define GL_RG                             0x8227
   1084#define GL_RG_INTEGER                     0x8228
   1085#define GL_R8                             0x8229
   1086#define GL_R16                            0x822A
   1087#define GL_RG8                            0x822B
   1088#define GL_RG16                           0x822C
   1089#define GL_R16F                           0x822D
   1090#define GL_R32F                           0x822E
   1091#define GL_RG16F                          0x822F
   1092#define GL_RG32F                          0x8230
   1093#define GL_R8I                            0x8231
   1094#define GL_R8UI                           0x8232
   1095#define GL_R16I                           0x8233
   1096#define GL_R16UI                          0x8234
   1097#define GL_R32I                           0x8235
   1098#define GL_R32UI                          0x8236
   1099#define GL_RG8I                           0x8237
   1100#define GL_RG8UI                          0x8238
   1101#define GL_RG16I                          0x8239
   1102#define GL_RG16UI                         0x823A
   1103#define GL_RG32I                          0x823B
   1104#define GL_RG32UI                         0x823C
   1105#define GL_VERTEX_ARRAY_BINDING           0x85B5
   1106#define GL_CLAMP_VERTEX_COLOR             0x891A
   1107#define GL_CLAMP_FRAGMENT_COLOR           0x891B
   1108#define GL_ALPHA_INTEGER                  0x8D97
   1109typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
   1110typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
   1111typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
   1112typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
   1113typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
   1114typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
   1115typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
   1116typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
   1117typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   1118typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
   1119typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
   1120typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
   1121typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
   1122typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
   1123typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
   1124typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
   1125typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
   1126typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
   1127typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
   1128typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
   1129typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
   1130typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
   1131typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
   1132typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
   1133typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
   1134typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   1135typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
   1136typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
   1137typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
   1138typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
   1139typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
   1140typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
   1141typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
   1142typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
   1143typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
   1144typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
   1145typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
   1146typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
   1147typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
   1148typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
   1149typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
   1150typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
   1151typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
   1152typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
   1153typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   1154typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
   1155typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
   1156typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
   1157typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
   1158typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
   1159typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
   1160typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
   1161typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
   1162typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
   1163typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
   1164typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
   1165typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
   1166typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
   1167typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
   1168typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
   1169typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
   1170typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
   1171typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
   1172typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   1173typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
   1174typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
   1175typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
   1176typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
   1177typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
   1178typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1179typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1180typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   1181typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   1182typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
   1183typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
   1184typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
   1185typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   1186typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   1187typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
   1188typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
   1189typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
   1190typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
   1191typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
   1192typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
   1193#ifdef GL_GLEXT_PROTOTYPES
   1194GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
   1195GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
   1196GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
   1197GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
   1198GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
   1199GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
   1200GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
   1201GLAPI void APIENTRY glEndTransformFeedback (void);
   1202GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   1203GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
   1204GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
   1205GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
   1206GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
   1207GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
   1208GLAPI void APIENTRY glEndConditionalRender (void);
   1209GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
   1210GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
   1211GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
   1212GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
   1213GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
   1214GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
   1215GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
   1216GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
   1217GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
   1218GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
   1219GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   1220GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
   1221GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
   1222GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
   1223GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
   1224GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
   1225GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
   1226GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
   1227GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
   1228GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
   1229GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
   1230GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
   1231GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
   1232GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
   1233GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
   1234GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
   1235GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
   1236GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
   1237GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
   1238GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   1239GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
   1240GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
   1241GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
   1242GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
   1243GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
   1244GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
   1245GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
   1246GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
   1247GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
   1248GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
   1249GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
   1250GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
   1251GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
   1252GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
   1253GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
   1254GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
   1255GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
   1256GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
   1257GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
   1258GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
   1259GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
   1260GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
   1261GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
   1262GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
   1263GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1264GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1265GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   1266GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   1267GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
   1268GLAPI void APIENTRY glGenerateMipmap (GLenum target);
   1269GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
   1270GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   1271GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   1272GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
   1273GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
   1274GLAPI void APIENTRY glBindVertexArray (GLuint array);
   1275GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
   1276GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
   1277GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
   1278#endif
   1279#endif /* GL_VERSION_3_0 */
   1280
   1281#ifndef GL_VERSION_3_1
   1282#define GL_VERSION_3_1 1
   1283#define GL_SAMPLER_2D_RECT                0x8B63
   1284#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
   1285#define GL_SAMPLER_BUFFER                 0x8DC2
   1286#define GL_INT_SAMPLER_2D_RECT            0x8DCD
   1287#define GL_INT_SAMPLER_BUFFER             0x8DD0
   1288#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
   1289#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
   1290#define GL_TEXTURE_BUFFER                 0x8C2A
   1291#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
   1292#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
   1293#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
   1294#define GL_TEXTURE_RECTANGLE              0x84F5
   1295#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
   1296#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
   1297#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
   1298#define GL_R8_SNORM                       0x8F94
   1299#define GL_RG8_SNORM                      0x8F95
   1300#define GL_RGB8_SNORM                     0x8F96
   1301#define GL_RGBA8_SNORM                    0x8F97
   1302#define GL_R16_SNORM                      0x8F98
   1303#define GL_RG16_SNORM                     0x8F99
   1304#define GL_RGB16_SNORM                    0x8F9A
   1305#define GL_RGBA16_SNORM                   0x8F9B
   1306#define GL_SIGNED_NORMALIZED              0x8F9C
   1307#define GL_PRIMITIVE_RESTART              0x8F9D
   1308#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
   1309#define GL_COPY_READ_BUFFER               0x8F36
   1310#define GL_COPY_WRITE_BUFFER              0x8F37
   1311#define GL_UNIFORM_BUFFER                 0x8A11
   1312#define GL_UNIFORM_BUFFER_BINDING         0x8A28
   1313#define GL_UNIFORM_BUFFER_START           0x8A29
   1314#define GL_UNIFORM_BUFFER_SIZE            0x8A2A
   1315#define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
   1316#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
   1317#define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
   1318#define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
   1319#define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
   1320#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
   1321#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
   1322#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
   1323#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
   1324#define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
   1325#define GL_UNIFORM_TYPE                   0x8A37
   1326#define GL_UNIFORM_SIZE                   0x8A38
   1327#define GL_UNIFORM_NAME_LENGTH            0x8A39
   1328#define GL_UNIFORM_BLOCK_INDEX            0x8A3A
   1329#define GL_UNIFORM_OFFSET                 0x8A3B
   1330#define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
   1331#define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
   1332#define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
   1333#define GL_UNIFORM_BLOCK_BINDING          0x8A3F
   1334#define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
   1335#define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
   1336#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
   1337#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
   1338#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
   1339#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
   1340#define GL_INVALID_INDEX                  0xFFFFFFFFu
   1341typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
   1342typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
   1343typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
   1344typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
   1345typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
   1346typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
   1347typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
   1348typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
   1349typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
   1350typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
   1351typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
   1352typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
   1353#ifdef GL_GLEXT_PROTOTYPES
   1354GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
   1355GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
   1356GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
   1357GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
   1358GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
   1359GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
   1360GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
   1361GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
   1362GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
   1363GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
   1364GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
   1365GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
   1366#endif
   1367#endif /* GL_VERSION_3_1 */
   1368
   1369#ifndef GL_VERSION_3_2
   1370#define GL_VERSION_3_2 1
   1371typedef struct __GLsync *GLsync;
   1372#ifndef GLEXT_64_TYPES_DEFINED
   1373/* This code block is duplicated in glxext.h, so must be protected */
   1374#define GLEXT_64_TYPES_DEFINED
   1375/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
   1376/* (as used in the GL_EXT_timer_query extension). */
   1377#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
   1378#include <inttypes.h>
   1379#elif defined(__sun__) || defined(__digital__)
   1380#include <inttypes.h>
   1381#if defined(__STDC__)
   1382#if defined(__arch64__) || defined(_LP64)
   1383typedef long int int64_t;
   1384typedef unsigned long int uint64_t;
   1385#else
   1386typedef long long int int64_t;
   1387typedef unsigned long long int uint64_t;
   1388#endif /* __arch64__ */
   1389#endif /* __STDC__ */
   1390#elif defined( __VMS ) || defined(__sgi)
   1391#include <inttypes.h>
   1392#elif defined(__SCO__) || defined(__USLC__)
   1393#include <stdint.h>
   1394#elif defined(__UNIXOS2__) || defined(__SOL64__)
   1395typedef long int int32_t;
   1396typedef long long int int64_t;
   1397typedef unsigned long long int uint64_t;
   1398#elif defined(_WIN32) && defined(__GNUC__)
   1399#include <stdint.h>
   1400#elif defined(_WIN32)
   1401typedef __int32 int32_t;
   1402typedef __int64 int64_t;
   1403typedef unsigned __int64 uint64_t;
   1404#else
   1405/* Fallback if nothing above works */
   1406#include <inttypes.h>
   1407#endif
   1408#endif
   1409typedef uint64_t GLuint64;
   1410typedef int64_t GLint64;
   1411#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
   1412#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
   1413#define GL_LINES_ADJACENCY                0x000A
   1414#define GL_LINE_STRIP_ADJACENCY           0x000B
   1415#define GL_TRIANGLES_ADJACENCY            0x000C
   1416#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
   1417#define GL_PROGRAM_POINT_SIZE             0x8642
   1418#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
   1419#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
   1420#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
   1421#define GL_GEOMETRY_SHADER                0x8DD9
   1422#define GL_GEOMETRY_VERTICES_OUT          0x8916
   1423#define GL_GEOMETRY_INPUT_TYPE            0x8917
   1424#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
   1425#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
   1426#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
   1427#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
   1428#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
   1429#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
   1430#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
   1431#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
   1432#define GL_CONTEXT_PROFILE_MASK           0x9126
   1433#define GL_DEPTH_CLAMP                    0x864F
   1434#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
   1435#define GL_FIRST_VERTEX_CONVENTION        0x8E4D
   1436#define GL_LAST_VERTEX_CONVENTION         0x8E4E
   1437#define GL_PROVOKING_VERTEX               0x8E4F
   1438#define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
   1439#define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
   1440#define GL_OBJECT_TYPE                    0x9112
   1441#define GL_SYNC_CONDITION                 0x9113
   1442#define GL_SYNC_STATUS                    0x9114
   1443#define GL_SYNC_FLAGS                     0x9115
   1444#define GL_SYNC_FENCE                     0x9116
   1445#define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
   1446#define GL_UNSIGNALED                     0x9118
   1447#define GL_SIGNALED                       0x9119
   1448#define GL_ALREADY_SIGNALED               0x911A
   1449#define GL_TIMEOUT_EXPIRED                0x911B
   1450#define GL_CONDITION_SATISFIED            0x911C
   1451#define GL_WAIT_FAILED                    0x911D
   1452#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
   1453#define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
   1454#define GL_SAMPLE_POSITION                0x8E50
   1455#define GL_SAMPLE_MASK                    0x8E51
   1456#define GL_SAMPLE_MASK_VALUE              0x8E52
   1457#define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
   1458#define GL_TEXTURE_2D_MULTISAMPLE         0x9100
   1459#define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
   1460#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
   1461#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
   1462#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
   1463#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
   1464#define GL_TEXTURE_SAMPLES                0x9106
   1465#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
   1466#define GL_SAMPLER_2D_MULTISAMPLE         0x9108
   1467#define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
   1468#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
   1469#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
   1470#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
   1471#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
   1472#define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
   1473#define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
   1474#define GL_MAX_INTEGER_SAMPLES            0x9110
   1475typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
   1476typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
   1477typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
   1478typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
   1479typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
   1480typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
   1481typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
   1482typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
   1483typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
   1484typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
   1485typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
   1486typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
   1487typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
   1488typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
   1489typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
   1490typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   1491typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
   1492typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
   1493typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
   1494#ifdef GL_GLEXT_PROTOTYPES
   1495GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
   1496GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
   1497GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
   1498GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
   1499GLAPI void APIENTRY glProvokingVertex (GLenum mode);
   1500GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
   1501GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
   1502GLAPI void APIENTRY glDeleteSync (GLsync sync);
   1503GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
   1504GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
   1505GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
   1506GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
   1507GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
   1508GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
   1509GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
   1510GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   1511GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
   1512GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
   1513GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
   1514#endif
   1515#endif /* GL_VERSION_3_2 */
   1516
   1517#ifndef GL_VERSION_3_3
   1518#define GL_VERSION_3_3 1
   1519#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
   1520#define GL_SRC1_COLOR                     0x88F9
   1521#define GL_ONE_MINUS_SRC1_COLOR           0x88FA
   1522#define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
   1523#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
   1524#define GL_ANY_SAMPLES_PASSED             0x8C2F
   1525#define GL_SAMPLER_BINDING                0x8919
   1526#define GL_RGB10_A2UI                     0x906F
   1527#define GL_TEXTURE_SWIZZLE_R              0x8E42
   1528#define GL_TEXTURE_SWIZZLE_G              0x8E43
   1529#define GL_TEXTURE_SWIZZLE_B              0x8E44
   1530#define GL_TEXTURE_SWIZZLE_A              0x8E45
   1531#define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
   1532#define GL_TIME_ELAPSED                   0x88BF
   1533#define GL_TIMESTAMP                      0x8E28
   1534#define GL_INT_2_10_10_10_REV             0x8D9F
   1535typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
   1536typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
   1537typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
   1538typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
   1539typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
   1540typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
   1541typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
   1542typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
   1543typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
   1544typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
   1545typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
   1546typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
   1547typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
   1548typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
   1549typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
   1550typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
   1551typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
   1552typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
   1553typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
   1554typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
   1555typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1556typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1557typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1558typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1559typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1560typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1561typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1562typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1563typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
   1564typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
   1565typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
   1566typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
   1567typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
   1568typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
   1569typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
   1570typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
   1571typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
   1572typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
   1573typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
   1574typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
   1575typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
   1576typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
   1577typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
   1578typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
   1579typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
   1580typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
   1581typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
   1582typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
   1583typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
   1584typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
   1585typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
   1586typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
   1587typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
   1588typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
   1589typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
   1590typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
   1591typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
   1592typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
   1593#ifdef GL_GLEXT_PROTOTYPES
   1594GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
   1595GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
   1596GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
   1597GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
   1598GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
   1599GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
   1600GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
   1601GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
   1602GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
   1603GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
   1604GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
   1605GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
   1606GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
   1607GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
   1608GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
   1609GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
   1610GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
   1611GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
   1612GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
   1613GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
   1614GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1615GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1616GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1617GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1618GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1619GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1620GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
   1621GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
   1622GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
   1623GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
   1624GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
   1625GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
   1626GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
   1627GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
   1628GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
   1629GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
   1630GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
   1631GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
   1632GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
   1633GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
   1634GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
   1635GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
   1636GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
   1637GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
   1638GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
   1639GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
   1640GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
   1641GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
   1642GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
   1643GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
   1644GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
   1645GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
   1646GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
   1647GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
   1648GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
   1649GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
   1650GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
   1651GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
   1652#endif
   1653#endif /* GL_VERSION_3_3 */
   1654
   1655#ifndef GL_VERSION_4_0
   1656#define GL_VERSION_4_0 1
   1657#define GL_SAMPLE_SHADING                 0x8C36
   1658#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
   1659#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
   1660#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
   1661#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
   1662#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
   1663#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
   1664#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
   1665#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
   1666#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
   1667#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
   1668#define GL_DRAW_INDIRECT_BUFFER           0x8F3F
   1669#define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
   1670#define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
   1671#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
   1672#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
   1673#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
   1674#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
   1675#define GL_MAX_VERTEX_STREAMS             0x8E71
   1676#define GL_DOUBLE_VEC2                    0x8FFC
   1677#define GL_DOUBLE_VEC3                    0x8FFD
   1678#define GL_DOUBLE_VEC4                    0x8FFE
   1679#define GL_DOUBLE_MAT2                    0x8F46
   1680#define GL_DOUBLE_MAT3                    0x8F47
   1681#define GL_DOUBLE_MAT4                    0x8F48
   1682#define GL_DOUBLE_MAT2x3                  0x8F49
   1683#define GL_DOUBLE_MAT2x4                  0x8F4A
   1684#define GL_DOUBLE_MAT3x2                  0x8F4B
   1685#define GL_DOUBLE_MAT3x4                  0x8F4C
   1686#define GL_DOUBLE_MAT4x2                  0x8F4D
   1687#define GL_DOUBLE_MAT4x3                  0x8F4E
   1688#define GL_ACTIVE_SUBROUTINES             0x8DE5
   1689#define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
   1690#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
   1691#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
   1692#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
   1693#define GL_MAX_SUBROUTINES                0x8DE7
   1694#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
   1695#define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
   1696#define GL_COMPATIBLE_SUBROUTINES         0x8E4B
   1697#define GL_PATCHES                        0x000E
   1698#define GL_PATCH_VERTICES                 0x8E72
   1699#define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
   1700#define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
   1701#define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
   1702#define GL_TESS_GEN_MODE                  0x8E76
   1703#define GL_TESS_GEN_SPACING               0x8E77
   1704#define GL_TESS_GEN_VERTEX_ORDER          0x8E78
   1705#define GL_TESS_GEN_POINT_MODE            0x8E79
   1706#define GL_ISOLINES                       0x8E7A
   1707#define GL_FRACTIONAL_ODD                 0x8E7B
   1708#define GL_FRACTIONAL_EVEN                0x8E7C
   1709#define GL_MAX_PATCH_VERTICES             0x8E7D
   1710#define GL_MAX_TESS_GEN_LEVEL             0x8E7E
   1711#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
   1712#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
   1713#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
   1714#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
   1715#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
   1716#define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
   1717#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
   1718#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
   1719#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
   1720#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
   1721#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
   1722#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
   1723#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
   1724#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
   1725#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
   1726#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
   1727#define GL_TESS_EVALUATION_SHADER         0x8E87
   1728#define GL_TESS_CONTROL_SHADER            0x8E88
   1729#define GL_TRANSFORM_FEEDBACK             0x8E22
   1730#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
   1731#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
   1732#define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
   1733#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
   1734typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
   1735typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
   1736typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
   1737typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
   1738typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
   1739typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
   1740typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
   1741typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
   1742typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
   1743typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
   1744typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1745typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
   1746typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
   1747typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
   1748typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
   1749typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1750typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1751typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1752typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1753typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1754typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1755typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1756typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1757typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1758typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
   1759typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
   1760typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
   1761typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
   1762typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
   1763typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
   1764typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
   1765typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
   1766typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
   1767typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
   1768typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
   1769typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
   1770typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
   1771typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
   1772typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
   1773typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
   1774typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
   1775typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
   1776typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
   1777typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
   1778typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
   1779typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
   1780#ifdef GL_GLEXT_PROTOTYPES
   1781GLAPI void APIENTRY glMinSampleShading (GLfloat value);
   1782GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
   1783GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
   1784GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
   1785GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
   1786GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
   1787GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
   1788GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
   1789GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
   1790GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
   1791GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1792GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
   1793GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
   1794GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
   1795GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
   1796GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1797GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1798GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1799GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1800GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1801GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1802GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1803GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1804GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1805GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
   1806GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
   1807GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
   1808GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
   1809GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
   1810GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
   1811GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
   1812GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
   1813GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
   1814GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
   1815GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
   1816GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
   1817GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
   1818GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
   1819GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
   1820GLAPI void APIENTRY glPauseTransformFeedback (void);
   1821GLAPI void APIENTRY glResumeTransformFeedback (void);
   1822GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
   1823GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
   1824GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
   1825GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
   1826GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
   1827#endif
   1828#endif /* GL_VERSION_4_0 */
   1829
   1830#ifndef GL_VERSION_4_1
   1831#define GL_VERSION_4_1 1
   1832#define GL_FIXED                          0x140C
   1833#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
   1834#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
   1835#define GL_LOW_FLOAT                      0x8DF0
   1836#define GL_MEDIUM_FLOAT                   0x8DF1
   1837#define GL_HIGH_FLOAT                     0x8DF2
   1838#define GL_LOW_INT                        0x8DF3
   1839#define GL_MEDIUM_INT                     0x8DF4
   1840#define GL_HIGH_INT                       0x8DF5
   1841#define GL_SHADER_COMPILER                0x8DFA
   1842#define GL_SHADER_BINARY_FORMATS          0x8DF8
   1843#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
   1844#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
   1845#define GL_MAX_VARYING_VECTORS            0x8DFC
   1846#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
   1847#define GL_RGB565                         0x8D62
   1848#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
   1849#define GL_PROGRAM_BINARY_LENGTH          0x8741
   1850#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
   1851#define GL_PROGRAM_BINARY_FORMATS         0x87FF
   1852#define GL_VERTEX_SHADER_BIT              0x00000001
   1853#define GL_FRAGMENT_SHADER_BIT            0x00000002
   1854#define GL_GEOMETRY_SHADER_BIT            0x00000004
   1855#define GL_TESS_CONTROL_SHADER_BIT        0x00000008
   1856#define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
   1857#define GL_ALL_SHADER_BITS                0xFFFFFFFF
   1858#define GL_PROGRAM_SEPARABLE              0x8258
   1859#define GL_ACTIVE_PROGRAM                 0x8259
   1860#define GL_PROGRAM_PIPELINE_BINDING       0x825A
   1861#define GL_MAX_VIEWPORTS                  0x825B
   1862#define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
   1863#define GL_VIEWPORT_BOUNDS_RANGE          0x825D
   1864#define GL_LAYER_PROVOKING_VERTEX         0x825E
   1865#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
   1866#define GL_UNDEFINED_VERTEX               0x8260
   1867typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
   1868typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
   1869typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
   1870typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
   1871typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
   1872typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
   1873typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
   1874typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
   1875typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
   1876typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
   1877typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
   1878typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
   1879typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
   1880typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
   1881typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
   1882typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
   1883typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
   1884typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   1885typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
   1886typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1887typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
   1888typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1889typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
   1890typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1891typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
   1892typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   1893typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
   1894typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1895typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
   1896typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1897typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
   1898typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1899typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
   1900typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   1901typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   1902typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1903typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
   1904typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1905typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
   1906typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1907typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   1908typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   1909typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   1910typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1911typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
   1912typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1913typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   1914typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1915typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1916typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1917typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1918typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1919typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1920typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1921typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1922typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1923typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1924typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1925typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1926typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1927typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1928typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1929typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1930typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1931typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1932typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   1933typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
   1934typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1935typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
   1936typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
   1937typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   1938typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1939typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
   1940typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
   1941typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
   1942typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
   1943typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
   1944typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
   1945typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
   1946typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
   1947typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
   1948typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
   1949typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
   1950typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
   1951typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
   1952typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
   1953typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
   1954typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
   1955#ifdef GL_GLEXT_PROTOTYPES
   1956GLAPI void APIENTRY glReleaseShaderCompiler (void);
   1957GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
   1958GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
   1959GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
   1960GLAPI void APIENTRY glClearDepthf (GLfloat d);
   1961GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
   1962GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
   1963GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
   1964GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
   1965GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
   1966GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
   1967GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
   1968GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
   1969GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
   1970GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
   1971GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
   1972GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
   1973GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
   1974GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
   1975GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1976GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
   1977GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1978GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
   1979GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1980GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
   1981GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
   1982GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
   1983GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1984GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
   1985GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1986GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
   1987GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1988GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
   1989GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
   1990GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   1991GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   1992GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
   1993GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   1994GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
   1995GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
   1996GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   1997GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
   1998GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   1999GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   2000GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
   2001GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   2002GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   2003GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
   2004GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2005GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2006GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2007GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2008GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2009GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2010GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2011GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2012GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2013GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2014GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2015GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   2016GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2017GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2018GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2019GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2020GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2021GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   2022GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
   2023GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   2024GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
   2025GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
   2026GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   2027GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   2028GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
   2029GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
   2030GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
   2031GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
   2032GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
   2033GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
   2034GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
   2035GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
   2036GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
   2037GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
   2038GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
   2039GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
   2040GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
   2041GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
   2042GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
   2043GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
   2044#endif
   2045#endif /* GL_VERSION_4_1 */
   2046
   2047#ifndef GL_VERSION_4_2
   2048#define GL_VERSION_4_2 1
   2049#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
   2050#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
   2051#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
   2052#define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
   2053#define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
   2054#define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
   2055#define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
   2056#define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
   2057#define GL_NUM_SAMPLE_COUNTS              0x9380
   2058#define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
   2059#define GL_ATOMIC_COUNTER_BUFFER          0x92C0
   2060#define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
   2061#define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
   2062#define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
   2063#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
   2064#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
   2065#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
   2066#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
   2067#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
   2068#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
   2069#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
   2070#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
   2071#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
   2072#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
   2073#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
   2074#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
   2075#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
   2076#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
   2077#define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
   2078#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
   2079#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
   2080#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
   2081#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
   2082#define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
   2083#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
   2084#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
   2085#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
   2086#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
   2087#define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
   2088#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
   2089#define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
   2090#define GL_UNIFORM_BARRIER_BIT            0x00000004
   2091#define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
   2092#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
   2093#define GL_COMMAND_BARRIER_BIT            0x00000040
   2094#define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
   2095#define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
   2096#define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
   2097#define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
   2098#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
   2099#define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
   2100#define GL_ALL_BARRIER_BITS               0xFFFFFFFF
   2101#define GL_MAX_IMAGE_UNITS                0x8F38
   2102#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
   2103#define GL_IMAGE_BINDING_NAME             0x8F3A
   2104#define GL_IMAGE_BINDING_LEVEL            0x8F3B
   2105#define GL_IMAGE_BINDING_LAYERED          0x8F3C
   2106#define GL_IMAGE_BINDING_LAYER            0x8F3D
   2107#define GL_IMAGE_BINDING_ACCESS           0x8F3E
   2108#define GL_IMAGE_1D                       0x904C
   2109#define GL_IMAGE_2D                       0x904D
   2110#define GL_IMAGE_3D                       0x904E
   2111#define GL_IMAGE_2D_RECT                  0x904F
   2112#define GL_IMAGE_CUBE                     0x9050
   2113#define GL_IMAGE_BUFFER                   0x9051
   2114#define GL_IMAGE_1D_ARRAY                 0x9052
   2115#define GL_IMAGE_2D_ARRAY                 0x9053
   2116#define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
   2117#define GL_IMAGE_2D_MULTISAMPLE           0x9055
   2118#define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
   2119#define GL_INT_IMAGE_1D                   0x9057
   2120#define GL_INT_IMAGE_2D                   0x9058
   2121#define GL_INT_IMAGE_3D                   0x9059
   2122#define GL_INT_IMAGE_2D_RECT              0x905A
   2123#define GL_INT_IMAGE_CUBE                 0x905B
   2124#define GL_INT_IMAGE_BUFFER               0x905C
   2125#define GL_INT_IMAGE_1D_ARRAY             0x905D
   2126#define GL_INT_IMAGE_2D_ARRAY             0x905E
   2127#define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
   2128#define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
   2129#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
   2130#define GL_UNSIGNED_INT_IMAGE_1D          0x9062
   2131#define GL_UNSIGNED_INT_IMAGE_2D          0x9063
   2132#define GL_UNSIGNED_INT_IMAGE_3D          0x9064
   2133#define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
   2134#define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
   2135#define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
   2136#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
   2137#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
   2138#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
   2139#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
   2140#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
   2141#define GL_MAX_IMAGE_SAMPLES              0x906D
   2142#define GL_IMAGE_BINDING_FORMAT           0x906E
   2143#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
   2144#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
   2145#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
   2146#define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
   2147#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
   2148#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
   2149#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
   2150#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
   2151#define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
   2152#define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
   2153#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
   2154#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
   2155#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
   2156#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
   2157typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
   2158typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
   2159typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
   2160typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
   2161typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
   2162typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
   2163typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
   2164typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
   2165typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
   2166typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
   2167typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
   2168typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
   2169#ifdef GL_GLEXT_PROTOTYPES
   2170GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
   2171GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
   2172GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
   2173GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
   2174GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
   2175GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
   2176GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
   2177GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
   2178GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
   2179GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
   2180GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
   2181GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
   2182#endif
   2183#endif /* GL_VERSION_4_2 */
   2184
   2185#ifndef GL_VERSION_4_3
   2186#define GL_VERSION_4_3 1
   2187typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
   2188#define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
   2189#define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
   2190#define GL_COMPRESSED_RGB8_ETC2           0x9274
   2191#define GL_COMPRESSED_SRGB8_ETC2          0x9275
   2192#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
   2193#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
   2194#define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
   2195#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
   2196#define GL_COMPRESSED_R11_EAC             0x9270
   2197#define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
   2198#define GL_COMPRESSED_RG11_EAC            0x9272
   2199#define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
   2200#define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
   2201#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
   2202#define GL_MAX_ELEMENT_INDEX              0x8D6B
   2203#define GL_COMPUTE_SHADER                 0x91B9
   2204#define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
   2205#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
   2206#define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
   2207#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
   2208#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
   2209#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
   2210#define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
   2211#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
   2212#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
   2213#define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
   2214#define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
   2215#define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
   2216#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
   2217#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
   2218#define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
   2219#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
   2220#define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
   2221#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
   2222#define GL_DEBUG_CALLBACK_FUNCTION        0x8244
   2223#define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
   2224#define GL_DEBUG_SOURCE_API               0x8246
   2225#define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
   2226#define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
   2227#define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
   2228#define GL_DEBUG_SOURCE_APPLICATION       0x824A
   2229#define GL_DEBUG_SOURCE_OTHER             0x824B
   2230#define GL_DEBUG_TYPE_ERROR               0x824C
   2231#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
   2232#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
   2233#define GL_DEBUG_TYPE_PORTABILITY         0x824F
   2234#define GL_DEBUG_TYPE_PERFORMANCE         0x8250
   2235#define GL_DEBUG_TYPE_OTHER               0x8251
   2236#define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
   2237#define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
   2238#define GL_DEBUG_LOGGED_MESSAGES          0x9145
   2239#define GL_DEBUG_SEVERITY_HIGH            0x9146
   2240#define GL_DEBUG_SEVERITY_MEDIUM          0x9147
   2241#define GL_DEBUG_SEVERITY_LOW             0x9148
   2242#define GL_DEBUG_TYPE_MARKER              0x8268
   2243#define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
   2244#define GL_DEBUG_TYPE_POP_GROUP           0x826A
   2245#define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
   2246#define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
   2247#define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
   2248#define GL_BUFFER                         0x82E0
   2249#define GL_SHADER                         0x82E1
   2250#define GL_PROGRAM                        0x82E2
   2251#define GL_QUERY                          0x82E3
   2252#define GL_PROGRAM_PIPELINE               0x82E4
   2253#define GL_SAMPLER                        0x82E6
   2254#define GL_MAX_LABEL_LENGTH               0x82E8
   2255#define GL_DEBUG_OUTPUT                   0x92E0
   2256#define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
   2257#define GL_MAX_UNIFORM_LOCATIONS          0x826E
   2258#define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
   2259#define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
   2260#define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
   2261#define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
   2262#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
   2263#define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
   2264#define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
   2265#define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
   2266#define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
   2267#define GL_INTERNALFORMAT_SUPPORTED       0x826F
   2268#define GL_INTERNALFORMAT_PREFERRED       0x8270
   2269#define GL_INTERNALFORMAT_RED_SIZE        0x8271
   2270#define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
   2271#define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
   2272#define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
   2273#define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
   2274#define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
   2275#define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
   2276#define GL_INTERNALFORMAT_RED_TYPE        0x8278
   2277#define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
   2278#define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
   2279#define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
   2280#define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
   2281#define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
   2282#define GL_MAX_WIDTH                      0x827E
   2283#define GL_MAX_HEIGHT                     0x827F
   2284#define GL_MAX_DEPTH                      0x8280
   2285#define GL_MAX_LAYERS                     0x8281
   2286#define GL_MAX_COMBINED_DIMENSIONS        0x8282
   2287#define GL_COLOR_COMPONENTS               0x8283
   2288#define GL_DEPTH_COMPONENTS               0x8284
   2289#define GL_STENCIL_COMPONENTS             0x8285
   2290#define GL_COLOR_RENDERABLE               0x8286
   2291#define GL_DEPTH_RENDERABLE               0x8287
   2292#define GL_STENCIL_RENDERABLE             0x8288
   2293#define GL_FRAMEBUFFER_RENDERABLE         0x8289
   2294#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
   2295#define GL_FRAMEBUFFER_BLEND              0x828B
   2296#define GL_READ_PIXELS                    0x828C
   2297#define GL_READ_PIXELS_FORMAT             0x828D
   2298#define GL_READ_PIXELS_TYPE               0x828E
   2299#define GL_TEXTURE_IMAGE_FORMAT           0x828F
   2300#define GL_TEXTURE_IMAGE_TYPE             0x8290
   2301#define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
   2302#define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
   2303#define GL_MIPMAP                         0x8293
   2304#define GL_MANUAL_GENERATE_MIPMAP         0x8294
   2305#define GL_AUTO_GENERATE_MIPMAP           0x8295
   2306#define GL_COLOR_ENCODING                 0x8296
   2307#define GL_SRGB_READ                      0x8297
   2308#define GL_SRGB_WRITE                     0x8298
   2309#define GL_FILTER                         0x829A
   2310#define GL_VERTEX_TEXTURE                 0x829B
   2311#define GL_TESS_CONTROL_TEXTURE           0x829C
   2312#define GL_TESS_EVALUATION_TEXTURE        0x829D
   2313#define GL_GEOMETRY_TEXTURE               0x829E
   2314#define GL_FRAGMENT_TEXTURE               0x829F
   2315#define GL_COMPUTE_TEXTURE                0x82A0
   2316#define GL_TEXTURE_SHADOW                 0x82A1
   2317#define GL_TEXTURE_GATHER                 0x82A2
   2318#define GL_TEXTURE_GATHER_SHADOW          0x82A3
   2319#define GL_SHADER_IMAGE_LOAD              0x82A4
   2320#define GL_SHADER_IMAGE_STORE             0x82A5
   2321#define GL_SHADER_IMAGE_ATOMIC            0x82A6
   2322#define GL_IMAGE_TEXEL_SIZE               0x82A7
   2323#define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
   2324#define GL_IMAGE_PIXEL_FORMAT             0x82A9
   2325#define GL_IMAGE_PIXEL_TYPE               0x82AA
   2326#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
   2327#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
   2328#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
   2329#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
   2330#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
   2331#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
   2332#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
   2333#define GL_CLEAR_BUFFER                   0x82B4
   2334#define GL_TEXTURE_VIEW                   0x82B5
   2335#define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
   2336#define GL_FULL_SUPPORT                   0x82B7
   2337#define GL_CAVEAT_SUPPORT                 0x82B8
   2338#define GL_IMAGE_CLASS_4_X_32             0x82B9
   2339#define GL_IMAGE_CLASS_2_X_32             0x82BA
   2340#define GL_IMAGE_CLASS_1_X_32             0x82BB
   2341#define GL_IMAGE_CLASS_4_X_16             0x82BC
   2342#define GL_IMAGE_CLASS_2_X_16             0x82BD
   2343#define GL_IMAGE_CLASS_1_X_16             0x82BE
   2344#define GL_IMAGE_CLASS_4_X_8              0x82BF
   2345#define GL_IMAGE_CLASS_2_X_8              0x82C0
   2346#define GL_IMAGE_CLASS_1_X_8              0x82C1
   2347#define GL_IMAGE_CLASS_11_11_10           0x82C2
   2348#define GL_IMAGE_CLASS_10_10_10_2         0x82C3
   2349#define GL_VIEW_CLASS_128_BITS            0x82C4
   2350#define GL_VIEW_CLASS_96_BITS             0x82C5
   2351#define GL_VIEW_CLASS_64_BITS             0x82C6
   2352#define GL_VIEW_CLASS_48_BITS             0x82C7
   2353#define GL_VIEW_CLASS_32_BITS             0x82C8
   2354#define GL_VIEW_CLASS_24_BITS             0x82C9
   2355#define GL_VIEW_CLASS_16_BITS             0x82CA
   2356#define GL_VIEW_CLASS_8_BITS              0x82CB
   2357#define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
   2358#define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
   2359#define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
   2360#define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
   2361#define GL_VIEW_CLASS_RGTC1_RED           0x82D0
   2362#define GL_VIEW_CLASS_RGTC2_RG            0x82D1
   2363#define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
   2364#define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
   2365#define GL_UNIFORM                        0x92E1
   2366#define GL_UNIFORM_BLOCK                  0x92E2
   2367#define GL_PROGRAM_INPUT                  0x92E3
   2368#define GL_PROGRAM_OUTPUT                 0x92E4
   2369#define GL_BUFFER_VARIABLE                0x92E5
   2370#define GL_SHADER_STORAGE_BLOCK           0x92E6
   2371#define GL_VERTEX_SUBROUTINE              0x92E8
   2372#define GL_TESS_CONTROL_SUBROUTINE        0x92E9
   2373#define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
   2374#define GL_GEOMETRY_SUBROUTINE            0x92EB
   2375#define GL_FRAGMENT_SUBROUTINE            0x92EC
   2376#define GL_COMPUTE_SUBROUTINE             0x92ED
   2377#define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
   2378#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
   2379#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
   2380#define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
   2381#define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
   2382#define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
   2383#define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
   2384#define GL_ACTIVE_RESOURCES               0x92F5
   2385#define GL_MAX_NAME_LENGTH                0x92F6
   2386#define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
   2387#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
   2388#define GL_NAME_LENGTH                    0x92F9
   2389#define GL_TYPE                           0x92FA
   2390#define GL_ARRAY_SIZE                     0x92FB
   2391#define GL_OFFSET                         0x92FC
   2392#define GL_BLOCK_INDEX                    0x92FD
   2393#define GL_ARRAY_STRIDE                   0x92FE
   2394#define GL_MATRIX_STRIDE                  0x92FF
   2395#define GL_IS_ROW_MAJOR                   0x9300
   2396#define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
   2397#define GL_BUFFER_BINDING                 0x9302
   2398#define GL_BUFFER_DATA_SIZE               0x9303
   2399#define GL_NUM_ACTIVE_VARIABLES           0x9304
   2400#define GL_ACTIVE_VARIABLES               0x9305
   2401#define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
   2402#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
   2403#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
   2404#define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
   2405#define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
   2406#define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
   2407#define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
   2408#define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
   2409#define GL_LOCATION                       0x930E
   2410#define GL_LOCATION_INDEX                 0x930F
   2411#define GL_IS_PER_PATCH                   0x92E7
   2412#define GL_SHADER_STORAGE_BUFFER          0x90D2
   2413#define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
   2414#define GL_SHADER_STORAGE_BUFFER_START    0x90D4
   2415#define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
   2416#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
   2417#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
   2418#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
   2419#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
   2420#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
   2421#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
   2422#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
   2423#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
   2424#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
   2425#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
   2426#define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
   2427#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
   2428#define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
   2429#define GL_TEXTURE_BUFFER_OFFSET          0x919D
   2430#define GL_TEXTURE_BUFFER_SIZE            0x919E
   2431#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
   2432#define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
   2433#define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
   2434#define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
   2435#define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
   2436#define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
   2437#define GL_VERTEX_ATTRIB_BINDING          0x82D4
   2438#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
   2439#define GL_VERTEX_BINDING_DIVISOR         0x82D6
   2440#define GL_VERTEX_BINDING_OFFSET          0x82D7
   2441#define GL_VERTEX_BINDING_STRIDE          0x82D8
   2442#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
   2443#define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
   2444#define GL_VERTEX_BINDING_BUFFER          0x8F4F
   2445#define GL_DISPLAY_LIST                   0x82E7
   2446typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
   2447typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
   2448typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
   2449typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
   2450typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
   2451typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
   2452typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   2453typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
   2454typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
   2455typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
   2456typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
   2457typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
   2458typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
   2459typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
   2460typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
   2461typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
   2462typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
   2463typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
   2464typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
   2465typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
   2466typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
   2467typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
   2468typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
   2469typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
   2470typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   2471typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
   2472typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
   2473typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
   2474typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
   2475typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   2476typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   2477typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
   2478typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
   2479typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
   2480typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
   2481typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
   2482typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
   2483typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
   2484typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
   2485typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
   2486typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
   2487typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
   2488typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
   2489#ifdef GL_GLEXT_PROTOTYPES
   2490GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
   2491GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
   2492GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
   2493GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
   2494GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
   2495GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
   2496GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
   2497GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
   2498GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
   2499GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
   2500GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
   2501GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
   2502GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
   2503GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
   2504GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
   2505GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
   2506GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
   2507GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
   2508GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
   2509GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
   2510GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
   2511GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
   2512GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
   2513GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
   2514GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   2515GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
   2516GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
   2517GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
   2518GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
   2519GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   2520GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   2521GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
   2522GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
   2523GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
   2524GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
   2525GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
   2526GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
   2527GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
   2528GLAPI void APIENTRY glPopDebugGroup (void);
   2529GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
   2530GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
   2531GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
   2532GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
   2533#endif
   2534#endif /* GL_VERSION_4_3 */
   2535
   2536#ifndef GL_VERSION_4_4
   2537#define GL_VERSION_4_4 1
   2538#define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
   2539#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
   2540#define GL_TEXTURE_BUFFER_BINDING         0x8C2A
   2541#define GL_MAP_PERSISTENT_BIT             0x0040
   2542#define GL_MAP_COHERENT_BIT               0x0080
   2543#define GL_DYNAMIC_STORAGE_BIT            0x0100
   2544#define GL_CLIENT_STORAGE_BIT             0x0200
   2545#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
   2546#define GL_BUFFER_IMMUTABLE_STORAGE       0x821F
   2547#define GL_BUFFER_STORAGE_FLAGS           0x8220
   2548#define GL_CLEAR_TEXTURE                  0x9365
   2549#define GL_LOCATION_COMPONENT             0x934A
   2550#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
   2551#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
   2552#define GL_QUERY_BUFFER                   0x9192
   2553#define GL_QUERY_BUFFER_BARRIER_BIT       0x00008000
   2554#define GL_QUERY_BUFFER_BINDING           0x9193
   2555#define GL_QUERY_RESULT_NO_WAIT           0x9194
   2556#define GL_MIRROR_CLAMP_TO_EDGE           0x8743
   2557typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
   2558typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
   2559typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
   2560typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
   2561typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
   2562typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
   2563typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
   2564typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
   2565typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
   2566#ifdef GL_GLEXT_PROTOTYPES
   2567GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
   2568GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
   2569GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
   2570GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
   2571GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
   2572GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
   2573GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
   2574GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
   2575GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
   2576#endif
   2577#endif /* GL_VERSION_4_4 */
   2578
   2579#ifndef GL_ARB_ES2_compatibility
   2580#define GL_ARB_ES2_compatibility 1
   2581#endif /* GL_ARB_ES2_compatibility */
   2582
   2583#ifndef GL_ARB_ES3_compatibility
   2584#define GL_ARB_ES3_compatibility 1
   2585#endif /* GL_ARB_ES3_compatibility */
   2586
   2587#ifndef GL_ARB_arrays_of_arrays
   2588#define GL_ARB_arrays_of_arrays 1
   2589#endif /* GL_ARB_arrays_of_arrays */
   2590
   2591#ifndef GL_ARB_base_instance
   2592#define GL_ARB_base_instance 1
   2593#endif /* GL_ARB_base_instance */
   2594
   2595#ifndef GL_ARB_bindless_texture
   2596#define GL_ARB_bindless_texture 1
   2597typedef uint64_t GLuint64EXT;
   2598#define GL_UNSIGNED_INT64_ARB             0x140F
   2599typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
   2600typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
   2601typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
   2602typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
   2603typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
   2604typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
   2605typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
   2606typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
   2607typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
   2608typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
   2609typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
   2610typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
   2611typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
   2612typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
   2613typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
   2614typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
   2615#ifdef GL_GLEXT_PROTOTYPES
   2616GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
   2617GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
   2618GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
   2619GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
   2620GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
   2621GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
   2622GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
   2623GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
   2624GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
   2625GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
   2626GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
   2627GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
   2628GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
   2629GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
   2630GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
   2631GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
   2632#endif
   2633#endif /* GL_ARB_bindless_texture */
   2634
   2635#ifndef GL_ARB_blend_func_extended
   2636#define GL_ARB_blend_func_extended 1
   2637#endif /* GL_ARB_blend_func_extended */
   2638
   2639#ifndef GL_ARB_buffer_storage
   2640#define GL_ARB_buffer_storage 1
   2641#endif /* GL_ARB_buffer_storage */
   2642
   2643#ifndef GL_ARB_cl_event
   2644#define GL_ARB_cl_event 1
   2645struct _cl_context;
   2646struct _cl_event;
   2647#define GL_SYNC_CL_EVENT_ARB              0x8240
   2648#define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
   2649typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
   2650#ifdef GL_GLEXT_PROTOTYPES
   2651GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
   2652#endif
   2653#endif /* GL_ARB_cl_event */
   2654
   2655#ifndef GL_ARB_clear_buffer_object
   2656#define GL_ARB_clear_buffer_object 1
   2657#endif /* GL_ARB_clear_buffer_object */
   2658
   2659#ifndef GL_ARB_clear_texture
   2660#define GL_ARB_clear_texture 1
   2661#endif /* GL_ARB_clear_texture */
   2662
   2663#ifndef GL_ARB_color_buffer_float
   2664#define GL_ARB_color_buffer_float 1
   2665#define GL_RGBA_FLOAT_MODE_ARB            0x8820
   2666#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
   2667#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
   2668#define GL_CLAMP_READ_COLOR_ARB           0x891C
   2669#define GL_FIXED_ONLY_ARB                 0x891D
   2670typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
   2671#ifdef GL_GLEXT_PROTOTYPES
   2672GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
   2673#endif
   2674#endif /* GL_ARB_color_buffer_float */
   2675
   2676#ifndef GL_ARB_compatibility
   2677#define GL_ARB_compatibility 1
   2678#endif /* GL_ARB_compatibility */
   2679
   2680#ifndef GL_ARB_compressed_texture_pixel_storage
   2681#define GL_ARB_compressed_texture_pixel_storage 1
   2682#endif /* GL_ARB_compressed_texture_pixel_storage */
   2683
   2684#ifndef GL_ARB_compute_shader
   2685#define GL_ARB_compute_shader 1
   2686#define GL_COMPUTE_SHADER_BIT             0x00000020
   2687#endif /* GL_ARB_compute_shader */
   2688
   2689#ifndef GL_ARB_compute_variable_group_size
   2690#define GL_ARB_compute_variable_group_size 1
   2691#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
   2692#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
   2693#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
   2694#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
   2695typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
   2696#ifdef GL_GLEXT_PROTOTYPES
   2697GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
   2698#endif
   2699#endif /* GL_ARB_compute_variable_group_size */
   2700
   2701#ifndef GL_ARB_conservative_depth
   2702#define GL_ARB_conservative_depth 1
   2703#endif /* GL_ARB_conservative_depth */
   2704
   2705#ifndef GL_ARB_copy_buffer
   2706#define GL_ARB_copy_buffer 1
   2707#define GL_COPY_READ_BUFFER_BINDING       0x8F36
   2708#define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
   2709#endif /* GL_ARB_copy_buffer */
   2710
   2711#ifndef GL_ARB_copy_image
   2712#define GL_ARB_copy_image 1
   2713#endif /* GL_ARB_copy_image */
   2714
   2715#ifndef GL_ARB_debug_output
   2716#define GL_ARB_debug_output 1
   2717typedef void (APIENTRY  *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
   2718#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
   2719#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
   2720#define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
   2721#define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
   2722#define GL_DEBUG_SOURCE_API_ARB           0x8246
   2723#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
   2724#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
   2725#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
   2726#define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
   2727#define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
   2728#define GL_DEBUG_TYPE_ERROR_ARB           0x824C
   2729#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
   2730#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
   2731#define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
   2732#define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
   2733#define GL_DEBUG_TYPE_OTHER_ARB           0x8251
   2734#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
   2735#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
   2736#define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
   2737#define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
   2738#define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
   2739#define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
   2740typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
   2741typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
   2742typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
   2743typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
   2744#ifdef GL_GLEXT_PROTOTYPES
   2745GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
   2746GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
   2747GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
   2748GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
   2749#endif
   2750#endif /* GL_ARB_debug_output */
   2751
   2752#ifndef GL_ARB_depth_buffer_float
   2753#define GL_ARB_depth_buffer_float 1
   2754#endif /* GL_ARB_depth_buffer_float */
   2755
   2756#ifndef GL_ARB_depth_clamp
   2757#define GL_ARB_depth_clamp 1
   2758#endif /* GL_ARB_depth_clamp */
   2759
   2760#ifndef GL_ARB_depth_texture
   2761#define GL_ARB_depth_texture 1
   2762#define GL_DEPTH_COMPONENT16_ARB          0x81A5
   2763#define GL_DEPTH_COMPONENT24_ARB          0x81A6
   2764#define GL_DEPTH_COMPONENT32_ARB          0x81A7
   2765#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
   2766#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
   2767#endif /* GL_ARB_depth_texture */
   2768
   2769#ifndef GL_ARB_draw_buffers
   2770#define GL_ARB_draw_buffers 1
   2771#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
   2772#define GL_DRAW_BUFFER0_ARB               0x8825
   2773#define GL_DRAW_BUFFER1_ARB               0x8826
   2774#define GL_DRAW_BUFFER2_ARB               0x8827
   2775#define GL_DRAW_BUFFER3_ARB               0x8828
   2776#define GL_DRAW_BUFFER4_ARB               0x8829
   2777#define GL_DRAW_BUFFER5_ARB               0x882A
   2778#define GL_DRAW_BUFFER6_ARB               0x882B
   2779#define GL_DRAW_BUFFER7_ARB               0x882C
   2780#define GL_DRAW_BUFFER8_ARB               0x882D
   2781#define GL_DRAW_BUFFER9_ARB               0x882E
   2782#define GL_DRAW_BUFFER10_ARB              0x882F
   2783#define GL_DRAW_BUFFER11_ARB              0x8830
   2784#define GL_DRAW_BUFFER12_ARB              0x8831
   2785#define GL_DRAW_BUFFER13_ARB              0x8832
   2786#define GL_DRAW_BUFFER14_ARB              0x8833
   2787#define GL_DRAW_BUFFER15_ARB              0x8834
   2788typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
   2789#ifdef GL_GLEXT_PROTOTYPES
   2790GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
   2791#endif
   2792#endif /* GL_ARB_draw_buffers */
   2793
   2794#ifndef GL_ARB_draw_buffers_blend
   2795#define GL_ARB_draw_buffers_blend 1
   2796typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
   2797typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
   2798typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
   2799typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
   2800#ifdef GL_GLEXT_PROTOTYPES
   2801GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
   2802GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
   2803GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
   2804GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
   2805#endif
   2806#endif /* GL_ARB_draw_buffers_blend */
   2807
   2808#ifndef GL_ARB_draw_elements_base_vertex
   2809#define GL_ARB_draw_elements_base_vertex 1
   2810#endif /* GL_ARB_draw_elements_base_vertex */
   2811
   2812#ifndef GL_ARB_draw_indirect
   2813#define GL_ARB_draw_indirect 1
   2814#endif /* GL_ARB_draw_indirect */
   2815
   2816#ifndef GL_ARB_draw_instanced
   2817#define GL_ARB_draw_instanced 1
   2818typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
   2819typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
   2820#ifdef GL_GLEXT_PROTOTYPES
   2821GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
   2822GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
   2823#endif
   2824#endif /* GL_ARB_draw_instanced */
   2825
   2826#ifndef GL_ARB_enhanced_layouts
   2827#define GL_ARB_enhanced_layouts 1
   2828#endif /* GL_ARB_enhanced_layouts */
   2829
   2830#ifndef GL_ARB_explicit_attrib_location
   2831#define GL_ARB_explicit_attrib_location 1
   2832#endif /* GL_ARB_explicit_attrib_location */
   2833
   2834#ifndef GL_ARB_explicit_uniform_location
   2835#define GL_ARB_explicit_uniform_location 1
   2836#endif /* GL_ARB_explicit_uniform_location */
   2837
   2838#ifndef GL_ARB_fragment_coord_conventions
   2839#define GL_ARB_fragment_coord_conventions 1
   2840#endif /* GL_ARB_fragment_coord_conventions */
   2841
   2842#ifndef GL_ARB_fragment_layer_viewport
   2843#define GL_ARB_fragment_layer_viewport 1
   2844#endif /* GL_ARB_fragment_layer_viewport */
   2845
   2846#ifndef GL_ARB_fragment_program
   2847#define GL_ARB_fragment_program 1
   2848#define GL_FRAGMENT_PROGRAM_ARB           0x8804
   2849#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
   2850#define GL_PROGRAM_LENGTH_ARB             0x8627
   2851#define GL_PROGRAM_FORMAT_ARB             0x8876
   2852#define GL_PROGRAM_BINDING_ARB            0x8677
   2853#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
   2854#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
   2855#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
   2856#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
   2857#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
   2858#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
   2859#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
   2860#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
   2861#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
   2862#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
   2863#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
   2864#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
   2865#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
   2866#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
   2867#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
   2868#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
   2869#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
   2870#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
   2871#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
   2872#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
   2873#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
   2874#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
   2875#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
   2876#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
   2877#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
   2878#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
   2879#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
   2880#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
   2881#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
   2882#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
   2883#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
   2884#define GL_PROGRAM_STRING_ARB             0x8628
   2885#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
   2886#define GL_CURRENT_MATRIX_ARB             0x8641
   2887#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
   2888#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
   2889#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
   2890#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
   2891#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
   2892#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
   2893#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
   2894#define GL_MATRIX0_ARB                    0x88C0
   2895#define GL_MATRIX1_ARB                    0x88C1
   2896#define GL_MATRIX2_ARB                    0x88C2
   2897#define GL_MATRIX3_ARB                    0x88C3
   2898#define GL_MATRIX4_ARB                    0x88C4
   2899#define GL_MATRIX5_ARB                    0x88C5
   2900#define GL_MATRIX6_ARB                    0x88C6
   2901#define GL_MATRIX7_ARB                    0x88C7
   2902#define GL_MATRIX8_ARB                    0x88C8
   2903#define GL_MATRIX9_ARB                    0x88C9
   2904#define GL_MATRIX10_ARB                   0x88CA
   2905#define GL_MATRIX11_ARB                   0x88CB
   2906#define GL_MATRIX12_ARB                   0x88CC
   2907#define GL_MATRIX13_ARB                   0x88CD
   2908#define GL_MATRIX14_ARB                   0x88CE
   2909#define GL_MATRIX15_ARB                   0x88CF
   2910#define GL_MATRIX16_ARB                   0x88D0
   2911#define GL_MATRIX17_ARB                   0x88D1
   2912#define GL_MATRIX18_ARB                   0x88D2
   2913#define GL_MATRIX19_ARB                   0x88D3
   2914#define GL_MATRIX20_ARB                   0x88D4
   2915#define GL_MATRIX21_ARB                   0x88D5
   2916#define GL_MATRIX22_ARB                   0x88D6
   2917#define GL_MATRIX23_ARB                   0x88D7
   2918#define GL_MATRIX24_ARB                   0x88D8
   2919#define GL_MATRIX25_ARB                   0x88D9
   2920#define GL_MATRIX26_ARB                   0x88DA
   2921#define GL_MATRIX27_ARB                   0x88DB
   2922#define GL_MATRIX28_ARB                   0x88DC
   2923#define GL_MATRIX29_ARB                   0x88DD
   2924#define GL_MATRIX30_ARB                   0x88DE
   2925#define GL_MATRIX31_ARB                   0x88DF
   2926typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
   2927typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
   2928typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
   2929typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
   2930typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   2931typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
   2932typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   2933typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
   2934typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   2935typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
   2936typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   2937typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
   2938typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
   2939typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
   2940typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
   2941typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
   2942typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
   2943typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
   2944typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
   2945#ifdef GL_GLEXT_PROTOTYPES
   2946GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
   2947GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
   2948GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
   2949GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
   2950GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   2951GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
   2952GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   2953GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
   2954GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   2955GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
   2956GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   2957GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
   2958GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
   2959GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
   2960GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
   2961GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
   2962GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
   2963GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
   2964GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
   2965#endif
   2966#endif /* GL_ARB_fragment_program */
   2967
   2968#ifndef GL_ARB_fragment_program_shadow
   2969#define GL_ARB_fragment_program_shadow 1
   2970#endif /* GL_ARB_fragment_program_shadow */
   2971
   2972#ifndef GL_ARB_fragment_shader
   2973#define GL_ARB_fragment_shader 1
   2974#define GL_FRAGMENT_SHADER_ARB            0x8B30
   2975#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
   2976#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
   2977#endif /* GL_ARB_fragment_shader */
   2978
   2979#ifndef GL_ARB_framebuffer_no_attachments
   2980#define GL_ARB_framebuffer_no_attachments 1
   2981#endif /* GL_ARB_framebuffer_no_attachments */
   2982
   2983#ifndef GL_ARB_framebuffer_object
   2984#define GL_ARB_framebuffer_object 1
   2985#endif /* GL_ARB_framebuffer_object */
   2986
   2987#ifndef GL_ARB_framebuffer_sRGB
   2988#define GL_ARB_framebuffer_sRGB 1
   2989#endif /* GL_ARB_framebuffer_sRGB */
   2990
   2991#ifndef GL_ARB_geometry_shader4
   2992#define GL_ARB_geometry_shader4 1
   2993#define GL_LINES_ADJACENCY_ARB            0x000A
   2994#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
   2995#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
   2996#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
   2997#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
   2998#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
   2999#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
   3000#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
   3001#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
   3002#define GL_GEOMETRY_SHADER_ARB            0x8DD9
   3003#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
   3004#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
   3005#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
   3006#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
   3007#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
   3008#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
   3009#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
   3010#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
   3011typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
   3012typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
   3013typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   3014typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
   3015#ifdef GL_GLEXT_PROTOTYPES
   3016GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
   3017GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
   3018GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   3019GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
   3020#endif
   3021#endif /* GL_ARB_geometry_shader4 */
   3022
   3023#ifndef GL_ARB_get_program_binary
   3024#define GL_ARB_get_program_binary 1
   3025#endif /* GL_ARB_get_program_binary */
   3026
   3027#ifndef GL_ARB_gpu_shader5
   3028#define GL_ARB_gpu_shader5 1
   3029#endif /* GL_ARB_gpu_shader5 */
   3030
   3031#ifndef GL_ARB_gpu_shader_fp64
   3032#define GL_ARB_gpu_shader_fp64 1
   3033#endif /* GL_ARB_gpu_shader_fp64 */
   3034
   3035#ifndef GL_ARB_half_float_pixel
   3036#define GL_ARB_half_float_pixel 1
   3037typedef unsigned short GLhalfARB;
   3038#define GL_HALF_FLOAT_ARB                 0x140B
   3039#endif /* GL_ARB_half_float_pixel */
   3040
   3041#ifndef GL_ARB_half_float_vertex
   3042#define GL_ARB_half_float_vertex 1
   3043#endif /* GL_ARB_half_float_vertex */
   3044
   3045#ifndef GL_ARB_imaging
   3046#define GL_ARB_imaging 1
   3047#define GL_BLEND_COLOR                    0x8005
   3048#define GL_BLEND_EQUATION                 0x8009
   3049#define GL_CONVOLUTION_1D                 0x8010
   3050#define GL_CONVOLUTION_2D                 0x8011
   3051#define GL_SEPARABLE_2D                   0x8012
   3052#define GL_CONVOLUTION_BORDER_MODE        0x8013
   3053#define GL_CONVOLUTION_FILTER_SCALE       0x8014
   3054#define GL_CONVOLUTION_FILTER_BIAS        0x8015
   3055#define GL_REDUCE                         0x8016
   3056#define GL_CONVOLUTION_FORMAT             0x8017
   3057#define GL_CONVOLUTION_WIDTH              0x8018
   3058#define GL_CONVOLUTION_HEIGHT             0x8019
   3059#define GL_MAX_CONVOLUTION_WIDTH          0x801A
   3060#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
   3061#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
   3062#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
   3063#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
   3064#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
   3065#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
   3066#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
   3067#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
   3068#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
   3069#define GL_HISTOGRAM                      0x8024
   3070#define GL_PROXY_HISTOGRAM                0x8025
   3071#define GL_HISTOGRAM_WIDTH                0x8026
   3072#define GL_HISTOGRAM_FORMAT               0x8027
   3073#define GL_HISTOGRAM_RED_SIZE             0x8028
   3074#define GL_HISTOGRAM_GREEN_SIZE           0x8029
   3075#define GL_HISTOGRAM_BLUE_SIZE            0x802A
   3076#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
   3077#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
   3078#define GL_HISTOGRAM_SINK                 0x802D
   3079#define GL_MINMAX                         0x802E
   3080#define GL_MINMAX_FORMAT                  0x802F
   3081#define GL_MINMAX_SINK                    0x8030
   3082#define GL_TABLE_TOO_LARGE                0x8031
   3083#define GL_COLOR_MATRIX                   0x80B1
   3084#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
   3085#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
   3086#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
   3087#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
   3088#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
   3089#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
   3090#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
   3091#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
   3092#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
   3093#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
   3094#define GL_COLOR_TABLE                    0x80D0
   3095#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
   3096#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
   3097#define GL_PROXY_COLOR_TABLE              0x80D3
   3098#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
   3099#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
   3100#define GL_COLOR_TABLE_SCALE              0x80D6
   3101#define GL_COLOR_TABLE_BIAS               0x80D7
   3102#define GL_COLOR_TABLE_FORMAT             0x80D8
   3103#define GL_COLOR_TABLE_WIDTH              0x80D9
   3104#define GL_COLOR_TABLE_RED_SIZE           0x80DA
   3105#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
   3106#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
   3107#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
   3108#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
   3109#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
   3110#define GL_CONSTANT_BORDER                0x8151
   3111#define GL_REPLICATE_BORDER               0x8153
   3112#define GL_CONVOLUTION_BORDER_COLOR       0x8154
   3113typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
   3114typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
   3115typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
   3116typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   3117typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
   3118typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   3119typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   3120typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
   3121typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
   3122typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
   3123typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
   3124typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
   3125typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
   3126typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
   3127typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
   3128typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   3129typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
   3130typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
   3131typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   3132typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   3133typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
   3134typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
   3135typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   3136typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   3137typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   3138typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   3139typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   3140typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   3141typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
   3142typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
   3143typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
   3144typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
   3145#ifdef GL_GLEXT_PROTOTYPES
   3146GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
   3147GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
   3148GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
   3149GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   3150GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
   3151GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
   3152GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
   3153GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
   3154GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
   3155GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
   3156GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
   3157GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
   3158GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
   3159GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
   3160GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
   3161GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   3162GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
   3163GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
   3164GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
   3165GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
   3166GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
   3167GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
   3168GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   3169GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
   3170GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
   3171GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   3172GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
   3173GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
   3174GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
   3175GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
   3176GLAPI void APIENTRY glResetHistogram (GLenum target);
   3177GLAPI void APIENTRY glResetMinmax (GLenum target);
   3178#endif
   3179#endif /* GL_ARB_imaging */
   3180
   3181#ifndef GL_ARB_indirect_parameters
   3182#define GL_ARB_indirect_parameters 1
   3183#define GL_PARAMETER_BUFFER_ARB           0x80EE
   3184#define GL_PARAMETER_BUFFER_BINDING_ARB   0x80EF
   3185typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
   3186typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
   3187#ifdef GL_GLEXT_PROTOTYPES
   3188GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
   3189GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
   3190#endif
   3191#endif /* GL_ARB_indirect_parameters */
   3192
   3193#ifndef GL_ARB_instanced_arrays
   3194#define GL_ARB_instanced_arrays 1
   3195#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
   3196typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
   3197#ifdef GL_GLEXT_PROTOTYPES
   3198GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
   3199#endif
   3200#endif /* GL_ARB_instanced_arrays */
   3201
   3202#ifndef GL_ARB_internalformat_query
   3203#define GL_ARB_internalformat_query 1
   3204#endif /* GL_ARB_internalformat_query */
   3205
   3206#ifndef GL_ARB_internalformat_query2
   3207#define GL_ARB_internalformat_query2 1
   3208#define GL_SRGB_DECODE_ARB                0x8299
   3209#endif /* GL_ARB_internalformat_query2 */
   3210
   3211#ifndef GL_ARB_invalidate_subdata
   3212#define GL_ARB_invalidate_subdata 1
   3213#endif /* GL_ARB_invalidate_subdata */
   3214
   3215#ifndef GL_ARB_map_buffer_alignment
   3216#define GL_ARB_map_buffer_alignment 1
   3217#endif /* GL_ARB_map_buffer_alignment */
   3218
   3219#ifndef GL_ARB_map_buffer_range
   3220#define GL_ARB_map_buffer_range 1
   3221#endif /* GL_ARB_map_buffer_range */
   3222
   3223#ifndef GL_ARB_matrix_palette
   3224#define GL_ARB_matrix_palette 1
   3225#define GL_MATRIX_PALETTE_ARB             0x8840
   3226#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
   3227#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
   3228#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
   3229#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
   3230#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
   3231#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
   3232#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
   3233#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
   3234#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
   3235typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
   3236typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
   3237typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
   3238typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
   3239typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
   3240#ifdef GL_GLEXT_PROTOTYPES
   3241GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
   3242GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
   3243GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
   3244GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
   3245GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
   3246#endif
   3247#endif /* GL_ARB_matrix_palette */
   3248
   3249#ifndef GL_ARB_multi_bind
   3250#define GL_ARB_multi_bind 1
   3251#endif /* GL_ARB_multi_bind */
   3252
   3253#ifndef GL_ARB_multi_draw_indirect
   3254#define GL_ARB_multi_draw_indirect 1
   3255#endif /* GL_ARB_multi_draw_indirect */
   3256
   3257#ifndef GL_ARB_multisample
   3258#define GL_ARB_multisample 1
   3259#define GL_MULTISAMPLE_ARB                0x809D
   3260#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
   3261#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
   3262#define GL_SAMPLE_COVERAGE_ARB            0x80A0
   3263#define GL_SAMPLE_BUFFERS_ARB             0x80A8
   3264#define GL_SAMPLES_ARB                    0x80A9
   3265#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
   3266#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
   3267#define GL_MULTISAMPLE_BIT_ARB            0x20000000
   3268typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
   3269#ifdef GL_GLEXT_PROTOTYPES
   3270GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
   3271#endif
   3272#endif /* GL_ARB_multisample */
   3273
   3274#ifndef GL_ARB_multitexture
   3275#define GL_ARB_multitexture 1
   3276#define GL_TEXTURE0_ARB                   0x84C0
   3277#define GL_TEXTURE1_ARB                   0x84C1
   3278#define GL_TEXTURE2_ARB                   0x84C2
   3279#define GL_TEXTURE3_ARB                   0x84C3
   3280#define GL_TEXTURE4_ARB                   0x84C4
   3281#define GL_TEXTURE5_ARB                   0x84C5
   3282#define GL_TEXTURE6_ARB                   0x84C6
   3283#define GL_TEXTURE7_ARB                   0x84C7
   3284#define GL_TEXTURE8_ARB                   0x84C8
   3285#define GL_TEXTURE9_ARB                   0x84C9
   3286#define GL_TEXTURE10_ARB                  0x84CA
   3287#define GL_TEXTURE11_ARB                  0x84CB
   3288#define GL_TEXTURE12_ARB                  0x84CC
   3289#define GL_TEXTURE13_ARB                  0x84CD
   3290#define GL_TEXTURE14_ARB                  0x84CE
   3291#define GL_TEXTURE15_ARB                  0x84CF
   3292#define GL_TEXTURE16_ARB                  0x84D0
   3293#define GL_TEXTURE17_ARB                  0x84D1
   3294#define GL_TEXTURE18_ARB                  0x84D2
   3295#define GL_TEXTURE19_ARB                  0x84D3
   3296#define GL_TEXTURE20_ARB                  0x84D4
   3297#define GL_TEXTURE21_ARB                  0x84D5
   3298#define GL_TEXTURE22_ARB                  0x84D6
   3299#define GL_TEXTURE23_ARB                  0x84D7
   3300#define GL_TEXTURE24_ARB                  0x84D8
   3301#define GL_TEXTURE25_ARB                  0x84D9
   3302#define GL_TEXTURE26_ARB                  0x84DA
   3303#define GL_TEXTURE27_ARB                  0x84DB
   3304#define GL_TEXTURE28_ARB                  0x84DC
   3305#define GL_TEXTURE29_ARB                  0x84DD
   3306#define GL_TEXTURE30_ARB                  0x84DE
   3307#define GL_TEXTURE31_ARB                  0x84DF
   3308#define GL_ACTIVE_TEXTURE_ARB             0x84E0
   3309#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
   3310#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
   3311typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
   3312typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
   3313typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
   3314typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
   3315typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
   3316typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
   3317typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
   3318typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
   3319typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
   3320typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
   3321typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
   3322typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
   3323typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
   3324typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
   3325typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
   3326typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
   3327typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
   3328typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
   3329typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
   3330typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
   3331typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
   3332typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
   3333typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
   3334typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
   3335typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
   3336typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
   3337typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
   3338typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
   3339typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   3340typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
   3341typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
   3342typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
   3343typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
   3344typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
   3345#ifdef GL_GLEXT_PROTOTYPES
   3346GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
   3347GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
   3348GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
   3349GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
   3350GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
   3351GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
   3352GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
   3353GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
   3354GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
   3355GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
   3356GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
   3357GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
   3358GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
   3359GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
   3360GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
   3361GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
   3362GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
   3363GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
   3364GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
   3365GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
   3366GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
   3367GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
   3368GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
   3369GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
   3370GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
   3371GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
   3372GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
   3373GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
   3374GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   3375GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
   3376GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
   3377GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
   3378GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
   3379GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
   3380#endif
   3381#endif /* GL_ARB_multitexture */
   3382
   3383#ifndef GL_ARB_occlusion_query
   3384#define GL_ARB_occlusion_query 1
   3385#define GL_QUERY_COUNTER_BITS_ARB         0x8864
   3386#define GL_CURRENT_QUERY_ARB              0x8865
   3387#define GL_QUERY_RESULT_ARB               0x8866
   3388#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
   3389#define GL_SAMPLES_PASSED_ARB             0x8914
   3390typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
   3391typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
   3392typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
   3393typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
   3394typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
   3395typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
   3396typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
   3397typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
   3398#ifdef GL_GLEXT_PROTOTYPES
   3399GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
   3400GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
   3401GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
   3402GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
   3403GLAPI void APIENTRY glEndQueryARB (GLenum target);
   3404GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
   3405GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
   3406GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
   3407#endif
   3408#endif /* GL_ARB_occlusion_query */
   3409
   3410#ifndef GL_ARB_occlusion_query2
   3411#define GL_ARB_occlusion_query2 1
   3412#endif /* GL_ARB_occlusion_query2 */
   3413
   3414#ifndef GL_ARB_pixel_buffer_object
   3415#define GL_ARB_pixel_buffer_object 1
   3416#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
   3417#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
   3418#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
   3419#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
   3420#endif /* GL_ARB_pixel_buffer_object */
   3421
   3422#ifndef GL_ARB_point_parameters
   3423#define GL_ARB_point_parameters 1
   3424#define GL_POINT_SIZE_MIN_ARB             0x8126
   3425#define GL_POINT_SIZE_MAX_ARB             0x8127
   3426#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
   3427#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
   3428typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
   3429typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
   3430#ifdef GL_GLEXT_PROTOTYPES
   3431GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
   3432GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
   3433#endif
   3434#endif /* GL_ARB_point_parameters */
   3435
   3436#ifndef GL_ARB_point_sprite
   3437#define GL_ARB_point_sprite 1
   3438#define GL_POINT_SPRITE_ARB               0x8861
   3439#define GL_COORD_REPLACE_ARB              0x8862
   3440#endif /* GL_ARB_point_sprite */
   3441
   3442#ifndef GL_ARB_program_interface_query
   3443#define GL_ARB_program_interface_query 1
   3444#endif /* GL_ARB_program_interface_query */
   3445
   3446#ifndef GL_ARB_provoking_vertex
   3447#define GL_ARB_provoking_vertex 1
   3448#endif /* GL_ARB_provoking_vertex */
   3449
   3450#ifndef GL_ARB_query_buffer_object
   3451#define GL_ARB_query_buffer_object 1
   3452#endif /* GL_ARB_query_buffer_object */
   3453
   3454#ifndef GL_ARB_robust_buffer_access_behavior
   3455#define GL_ARB_robust_buffer_access_behavior 1
   3456#endif /* GL_ARB_robust_buffer_access_behavior */
   3457
   3458#ifndef GL_ARB_robustness
   3459#define GL_ARB_robustness 1
   3460#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
   3461#define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
   3462#define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
   3463#define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
   3464#define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
   3465#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
   3466#define GL_NO_RESET_NOTIFICATION_ARB      0x8261
   3467typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
   3468typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
   3469typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
   3470typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
   3471typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
   3472typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
   3473typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
   3474typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
   3475typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
   3476typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
   3477typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
   3478typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
   3479typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
   3480typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
   3481typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
   3482typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
   3483typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
   3484typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
   3485typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
   3486typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
   3487#ifdef GL_GLEXT_PROTOTYPES
   3488GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
   3489GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
   3490GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
   3491GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
   3492GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
   3493GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
   3494GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
   3495GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
   3496GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
   3497GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
   3498GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
   3499GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
   3500GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
   3501GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
   3502GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
   3503GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
   3504GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
   3505GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
   3506GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
   3507GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
   3508#endif
   3509#endif /* GL_ARB_robustness */
   3510
   3511#ifndef GL_ARB_robustness_isolation
   3512#define GL_ARB_robustness_isolation 1
   3513#endif /* GL_ARB_robustness_isolation */
   3514
   3515#ifndef GL_ARB_sample_shading
   3516#define GL_ARB_sample_shading 1
   3517#define GL_SAMPLE_SHADING_ARB             0x8C36
   3518#define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
   3519typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
   3520#ifdef GL_GLEXT_PROTOTYPES
   3521GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
   3522#endif
   3523#endif /* GL_ARB_sample_shading */
   3524
   3525#ifndef GL_ARB_sampler_objects
   3526#define GL_ARB_sampler_objects 1
   3527#endif /* GL_ARB_sampler_objects */
   3528
   3529#ifndef GL_ARB_seamless_cube_map
   3530#define GL_ARB_seamless_cube_map 1
   3531#endif /* GL_ARB_seamless_cube_map */
   3532
   3533#ifndef GL_ARB_seamless_cubemap_per_texture
   3534#define GL_ARB_seamless_cubemap_per_texture 1
   3535#endif /* GL_ARB_seamless_cubemap_per_texture */
   3536
   3537#ifndef GL_ARB_separate_shader_objects
   3538#define GL_ARB_separate_shader_objects 1
   3539#endif /* GL_ARB_separate_shader_objects */
   3540
   3541#ifndef GL_ARB_shader_atomic_counters
   3542#define GL_ARB_shader_atomic_counters 1
   3543#endif /* GL_ARB_shader_atomic_counters */
   3544
   3545#ifndef GL_ARB_shader_bit_encoding
   3546#define GL_ARB_shader_bit_encoding 1
   3547#endif /* GL_ARB_shader_bit_encoding */
   3548
   3549#ifndef GL_ARB_shader_draw_parameters
   3550#define GL_ARB_shader_draw_parameters 1
   3551#endif /* GL_ARB_shader_draw_parameters */
   3552
   3553#ifndef GL_ARB_shader_group_vote
   3554#define GL_ARB_shader_group_vote 1
   3555#endif /* GL_ARB_shader_group_vote */
   3556
   3557#ifndef GL_ARB_shader_image_load_store
   3558#define GL_ARB_shader_image_load_store 1
   3559#endif /* GL_ARB_shader_image_load_store */
   3560
   3561#ifndef GL_ARB_shader_image_size
   3562#define GL_ARB_shader_image_size 1
   3563#endif /* GL_ARB_shader_image_size */
   3564
   3565#ifndef GL_ARB_shader_objects
   3566#define GL_ARB_shader_objects 1
   3567#ifdef __APPLE__
   3568typedef void *GLhandleARB;
   3569#else
   3570typedef unsigned int GLhandleARB;
   3571#endif
   3572typedef char GLcharARB;
   3573#define GL_PROGRAM_OBJECT_ARB             0x8B40
   3574#define GL_SHADER_OBJECT_ARB              0x8B48
   3575#define GL_OBJECT_TYPE_ARB                0x8B4E
   3576#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
   3577#define GL_FLOAT_VEC2_ARB                 0x8B50
   3578#define GL_FLOAT_VEC3_ARB                 0x8B51
   3579#define GL_FLOAT_VEC4_ARB                 0x8B52
   3580#define GL_INT_VEC2_ARB                   0x8B53
   3581#define GL_INT_VEC3_ARB                   0x8B54
   3582#define GL_INT_VEC4_ARB                   0x8B55
   3583#define GL_BOOL_ARB                       0x8B56
   3584#define GL_BOOL_VEC2_ARB                  0x8B57
   3585#define GL_BOOL_VEC3_ARB                  0x8B58
   3586#define GL_BOOL_VEC4_ARB                  0x8B59
   3587#define GL_FLOAT_MAT2_ARB                 0x8B5A
   3588#define GL_FLOAT_MAT3_ARB                 0x8B5B
   3589#define GL_FLOAT_MAT4_ARB                 0x8B5C
   3590#define GL_SAMPLER_1D_ARB                 0x8B5D
   3591#define GL_SAMPLER_2D_ARB                 0x8B5E
   3592#define GL_SAMPLER_3D_ARB                 0x8B5F
   3593#define GL_SAMPLER_CUBE_ARB               0x8B60
   3594#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
   3595#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
   3596#define GL_SAMPLER_2D_RECT_ARB            0x8B63
   3597#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
   3598#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
   3599#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
   3600#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
   3601#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
   3602#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
   3603#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
   3604#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
   3605#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
   3606#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
   3607typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
   3608typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
   3609typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
   3610typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
   3611typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
   3612typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
   3613typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
   3614typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
   3615typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
   3616typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
   3617typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
   3618typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
   3619typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
   3620typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   3621typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   3622typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
   3623typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
   3624typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
   3625typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   3626typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
   3627typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
   3628typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
   3629typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
   3630typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
   3631typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
   3632typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
   3633typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
   3634typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   3635typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   3636typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   3637typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
   3638typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
   3639typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
   3640typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
   3641typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
   3642typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
   3643typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
   3644typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
   3645typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
   3646#ifdef GL_GLEXT_PROTOTYPES
   3647GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
   3648GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
   3649GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
   3650GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
   3651GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
   3652GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
   3653GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
   3654GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
   3655GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
   3656GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
   3657GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
   3658GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
   3659GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
   3660GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   3661GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   3662GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
   3663GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
   3664GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
   3665GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   3666GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
   3667GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
   3668GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
   3669GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
   3670GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
   3671GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
   3672GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
   3673GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
   3674GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   3675GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   3676GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   3677GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
   3678GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
   3679GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
   3680GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
   3681GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
   3682GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
   3683GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
   3684GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
   3685GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
   3686#endif
   3687#endif /* GL_ARB_shader_objects */
   3688
   3689#ifndef GL_ARB_shader_precision
   3690#define GL_ARB_shader_precision 1
   3691#endif /* GL_ARB_shader_precision */
   3692
   3693#ifndef GL_ARB_shader_stencil_export
   3694#define GL_ARB_shader_stencil_export 1
   3695#endif /* GL_ARB_shader_stencil_export */
   3696
   3697#ifndef GL_ARB_shader_storage_buffer_object
   3698#define GL_ARB_shader_storage_buffer_object 1
   3699#endif /* GL_ARB_shader_storage_buffer_object */
   3700
   3701#ifndef GL_ARB_shader_subroutine
   3702#define GL_ARB_shader_subroutine 1
   3703#endif /* GL_ARB_shader_subroutine */
   3704
   3705#ifndef GL_ARB_shader_texture_lod
   3706#define GL_ARB_shader_texture_lod 1
   3707#endif /* GL_ARB_shader_texture_lod */
   3708
   3709#ifndef GL_ARB_shading_language_100
   3710#define GL_ARB_shading_language_100 1
   3711#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
   3712#endif /* GL_ARB_shading_language_100 */
   3713
   3714#ifndef GL_ARB_shading_language_420pack
   3715#define GL_ARB_shading_language_420pack 1
   3716#endif /* GL_ARB_shading_language_420pack */
   3717
   3718#ifndef GL_ARB_shading_language_include
   3719#define GL_ARB_shading_language_include 1
   3720#define GL_SHADER_INCLUDE_ARB             0x8DAE
   3721#define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
   3722#define GL_NAMED_STRING_TYPE_ARB          0x8DEA
   3723typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
   3724typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
   3725typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
   3726typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
   3727typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
   3728typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
   3729#ifdef GL_GLEXT_PROTOTYPES
   3730GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
   3731GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
   3732GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
   3733GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
   3734GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
   3735GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
   3736#endif
   3737#endif /* GL_ARB_shading_language_include */
   3738
   3739#ifndef GL_ARB_shading_language_packing
   3740#define GL_ARB_shading_language_packing 1
   3741#endif /* GL_ARB_shading_language_packing */
   3742
   3743#ifndef GL_ARB_shadow
   3744#define GL_ARB_shadow 1
   3745#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
   3746#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
   3747#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
   3748#endif /* GL_ARB_shadow */
   3749
   3750#ifndef GL_ARB_shadow_ambient
   3751#define GL_ARB_shadow_ambient 1
   3752#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
   3753#endif /* GL_ARB_shadow_ambient */
   3754
   3755#ifndef GL_ARB_sparse_texture
   3756#define GL_ARB_sparse_texture 1
   3757#define GL_TEXTURE_SPARSE_ARB             0x91A6
   3758#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB    0x91A7
   3759#define GL_MIN_SPARSE_LEVEL_ARB           0x919B
   3760#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB     0x91A8
   3761#define GL_VIRTUAL_PAGE_SIZE_X_ARB        0x9195
   3762#define GL_VIRTUAL_PAGE_SIZE_Y_ARB        0x9196
   3763#define GL_VIRTUAL_PAGE_SIZE_Z_ARB        0x9197
   3764#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB    0x9198
   3765#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
   3766#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
   3767#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
   3768typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
   3769#ifdef GL_GLEXT_PROTOTYPES
   3770GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
   3771#endif
   3772#endif /* GL_ARB_sparse_texture */
   3773
   3774#ifndef GL_ARB_stencil_texturing
   3775#define GL_ARB_stencil_texturing 1
   3776#endif /* GL_ARB_stencil_texturing */
   3777
   3778#ifndef GL_ARB_sync
   3779#define GL_ARB_sync 1
   3780#endif /* GL_ARB_sync */
   3781
   3782#ifndef GL_ARB_tessellation_shader
   3783#define GL_ARB_tessellation_shader 1
   3784#endif /* GL_ARB_tessellation_shader */
   3785
   3786#ifndef GL_ARB_texture_border_clamp
   3787#define GL_ARB_texture_border_clamp 1
   3788#define GL_CLAMP_TO_BORDER_ARB            0x812D
   3789#endif /* GL_ARB_texture_border_clamp */
   3790
   3791#ifndef GL_ARB_texture_buffer_object
   3792#define GL_ARB_texture_buffer_object 1
   3793#define GL_TEXTURE_BUFFER_ARB             0x8C2A
   3794#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
   3795#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
   3796#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
   3797#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
   3798typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
   3799#ifdef GL_GLEXT_PROTOTYPES
   3800GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
   3801#endif
   3802#endif /* GL_ARB_texture_buffer_object */
   3803
   3804#ifndef GL_ARB_texture_buffer_object_rgb32
   3805#define GL_ARB_texture_buffer_object_rgb32 1
   3806#endif /* GL_ARB_texture_buffer_object_rgb32 */
   3807
   3808#ifndef GL_ARB_texture_buffer_range
   3809#define GL_ARB_texture_buffer_range 1
   3810#endif /* GL_ARB_texture_buffer_range */
   3811
   3812#ifndef GL_ARB_texture_compression
   3813#define GL_ARB_texture_compression 1
   3814#define GL_COMPRESSED_ALPHA_ARB           0x84E9
   3815#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
   3816#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
   3817#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
   3818#define GL_COMPRESSED_RGB_ARB             0x84ED
   3819#define GL_COMPRESSED_RGBA_ARB            0x84EE
   3820#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
   3821#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
   3822#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
   3823#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
   3824#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
   3825typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
   3826typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
   3827typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
   3828typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
   3829typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
   3830typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
   3831typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
   3832#ifdef GL_GLEXT_PROTOTYPES
   3833GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
   3834GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
   3835GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
   3836GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
   3837GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
   3838GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
   3839GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
   3840#endif
   3841#endif /* GL_ARB_texture_compression */
   3842
   3843#ifndef GL_ARB_texture_compression_bptc
   3844#define GL_ARB_texture_compression_bptc 1
   3845#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
   3846#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
   3847#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
   3848#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
   3849#endif /* GL_ARB_texture_compression_bptc */
   3850
   3851#ifndef GL_ARB_texture_compression_rgtc
   3852#define GL_ARB_texture_compression_rgtc 1
   3853#endif /* GL_ARB_texture_compression_rgtc */
   3854
   3855#ifndef GL_ARB_texture_cube_map
   3856#define GL_ARB_texture_cube_map 1
   3857#define GL_NORMAL_MAP_ARB                 0x8511
   3858#define GL_REFLECTION_MAP_ARB             0x8512
   3859#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
   3860#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
   3861#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
   3862#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
   3863#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
   3864#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
   3865#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
   3866#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
   3867#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
   3868#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
   3869#endif /* GL_ARB_texture_cube_map */
   3870
   3871#ifndef GL_ARB_texture_cube_map_array
   3872#define GL_ARB_texture_cube_map_array 1
   3873#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
   3874#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
   3875#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
   3876#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
   3877#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
   3878#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
   3879#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
   3880#endif /* GL_ARB_texture_cube_map_array */
   3881
   3882#ifndef GL_ARB_texture_env_add
   3883#define GL_ARB_texture_env_add 1
   3884#endif /* GL_ARB_texture_env_add */
   3885
   3886#ifndef GL_ARB_texture_env_combine
   3887#define GL_ARB_texture_env_combine 1
   3888#define GL_COMBINE_ARB                    0x8570
   3889#define GL_COMBINE_RGB_ARB                0x8571
   3890#define GL_COMBINE_ALPHA_ARB              0x8572
   3891#define GL_SOURCE0_RGB_ARB                0x8580
   3892#define GL_SOURCE1_RGB_ARB                0x8581
   3893#define GL_SOURCE2_RGB_ARB                0x8582
   3894#define GL_SOURCE0_ALPHA_ARB              0x8588
   3895#define GL_SOURCE1_ALPHA_ARB              0x8589
   3896#define GL_SOURCE2_ALPHA_ARB              0x858A
   3897#define GL_OPERAND0_RGB_ARB               0x8590
   3898#define GL_OPERAND1_RGB_ARB               0x8591
   3899#define GL_OPERAND2_RGB_ARB               0x8592
   3900#define GL_OPERAND0_ALPHA_ARB             0x8598
   3901#define GL_OPERAND1_ALPHA_ARB             0x8599
   3902#define GL_OPERAND2_ALPHA_ARB             0x859A
   3903#define GL_RGB_SCALE_ARB                  0x8573
   3904#define GL_ADD_SIGNED_ARB                 0x8574
   3905#define GL_INTERPOLATE_ARB                0x8575
   3906#define GL_SUBTRACT_ARB                   0x84E7
   3907#define GL_CONSTANT_ARB                   0x8576
   3908#define GL_PRIMARY_COLOR_ARB              0x8577
   3909#define GL_PREVIOUS_ARB                   0x8578
   3910#endif /* GL_ARB_texture_env_combine */
   3911
   3912#ifndef GL_ARB_texture_env_crossbar
   3913#define GL_ARB_texture_env_crossbar 1
   3914#endif /* GL_ARB_texture_env_crossbar */
   3915
   3916#ifndef GL_ARB_texture_env_dot3
   3917#define GL_ARB_texture_env_dot3 1
   3918#define GL_DOT3_RGB_ARB                   0x86AE
   3919#define GL_DOT3_RGBA_ARB                  0x86AF
   3920#endif /* GL_ARB_texture_env_dot3 */
   3921
   3922#ifndef GL_ARB_texture_float
   3923#define GL_ARB_texture_float 1
   3924#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
   3925#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
   3926#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
   3927#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
   3928#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
   3929#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
   3930#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
   3931#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
   3932#define GL_RGBA32F_ARB                    0x8814
   3933#define GL_RGB32F_ARB                     0x8815
   3934#define GL_ALPHA32F_ARB                   0x8816
   3935#define GL_INTENSITY32F_ARB               0x8817
   3936#define GL_LUMINANCE32F_ARB               0x8818
   3937#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
   3938#define GL_RGBA16F_ARB                    0x881A
   3939#define GL_RGB16F_ARB                     0x881B
   3940#define GL_ALPHA16F_ARB                   0x881C
   3941#define GL_INTENSITY16F_ARB               0x881D
   3942#define GL_LUMINANCE16F_ARB               0x881E
   3943#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
   3944#endif /* GL_ARB_texture_float */
   3945
   3946#ifndef GL_ARB_texture_gather
   3947#define GL_ARB_texture_gather 1
   3948#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
   3949#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
   3950#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
   3951#endif /* GL_ARB_texture_gather */
   3952
   3953#ifndef GL_ARB_texture_mirror_clamp_to_edge
   3954#define GL_ARB_texture_mirror_clamp_to_edge 1
   3955#endif /* GL_ARB_texture_mirror_clamp_to_edge */
   3956
   3957#ifndef GL_ARB_texture_mirrored_repeat
   3958#define GL_ARB_texture_mirrored_repeat 1
   3959#define GL_MIRRORED_REPEAT_ARB            0x8370
   3960#endif /* GL_ARB_texture_mirrored_repeat */
   3961
   3962#ifndef GL_ARB_texture_multisample
   3963#define GL_ARB_texture_multisample 1
   3964#endif /* GL_ARB_texture_multisample */
   3965
   3966#ifndef GL_ARB_texture_non_power_of_two
   3967#define GL_ARB_texture_non_power_of_two 1
   3968#endif /* GL_ARB_texture_non_power_of_two */
   3969
   3970#ifndef GL_ARB_texture_query_levels
   3971#define GL_ARB_texture_query_levels 1
   3972#endif /* GL_ARB_texture_query_levels */
   3973
   3974#ifndef GL_ARB_texture_query_lod
   3975#define GL_ARB_texture_query_lod 1
   3976#endif /* GL_ARB_texture_query_lod */
   3977
   3978#ifndef GL_ARB_texture_rectangle
   3979#define GL_ARB_texture_rectangle 1
   3980#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
   3981#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
   3982#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
   3983#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
   3984#endif /* GL_ARB_texture_rectangle */
   3985
   3986#ifndef GL_ARB_texture_rg
   3987#define GL_ARB_texture_rg 1
   3988#endif /* GL_ARB_texture_rg */
   3989
   3990#ifndef GL_ARB_texture_rgb10_a2ui
   3991#define GL_ARB_texture_rgb10_a2ui 1
   3992#endif /* GL_ARB_texture_rgb10_a2ui */
   3993
   3994#ifndef GL_ARB_texture_stencil8
   3995#define GL_ARB_texture_stencil8 1
   3996#endif /* GL_ARB_texture_stencil8 */
   3997
   3998#ifndef GL_ARB_texture_storage
   3999#define GL_ARB_texture_storage 1
   4000#endif /* GL_ARB_texture_storage */
   4001
   4002#ifndef GL_ARB_texture_storage_multisample
   4003#define GL_ARB_texture_storage_multisample 1
   4004#endif /* GL_ARB_texture_storage_multisample */
   4005
   4006#ifndef GL_ARB_texture_swizzle
   4007#define GL_ARB_texture_swizzle 1
   4008#endif /* GL_ARB_texture_swizzle */
   4009
   4010#ifndef GL_ARB_texture_view
   4011#define GL_ARB_texture_view 1
   4012#endif /* GL_ARB_texture_view */
   4013
   4014#ifndef GL_ARB_timer_query
   4015#define GL_ARB_timer_query 1
   4016#endif /* GL_ARB_timer_query */
   4017
   4018#ifndef GL_ARB_transform_feedback2
   4019#define GL_ARB_transform_feedback2 1
   4020#define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
   4021#define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
   4022#endif /* GL_ARB_transform_feedback2 */
   4023
   4024#ifndef GL_ARB_transform_feedback3
   4025#define GL_ARB_transform_feedback3 1
   4026#endif /* GL_ARB_transform_feedback3 */
   4027
   4028#ifndef GL_ARB_transform_feedback_instanced
   4029#define GL_ARB_transform_feedback_instanced 1
   4030#endif /* GL_ARB_transform_feedback_instanced */
   4031
   4032#ifndef GL_ARB_transpose_matrix
   4033#define GL_ARB_transpose_matrix 1
   4034#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
   4035#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
   4036#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
   4037#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
   4038typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
   4039typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
   4040typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
   4041typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
   4042#ifdef GL_GLEXT_PROTOTYPES
   4043GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
   4044GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
   4045GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
   4046GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
   4047#endif
   4048#endif /* GL_ARB_transpose_matrix */
   4049
   4050#ifndef GL_ARB_uniform_buffer_object
   4051#define GL_ARB_uniform_buffer_object 1
   4052#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
   4053#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
   4054#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
   4055#endif /* GL_ARB_uniform_buffer_object */
   4056
   4057#ifndef GL_ARB_vertex_array_bgra
   4058#define GL_ARB_vertex_array_bgra 1
   4059#endif /* GL_ARB_vertex_array_bgra */
   4060
   4061#ifndef GL_ARB_vertex_array_object
   4062#define GL_ARB_vertex_array_object 1
   4063#endif /* GL_ARB_vertex_array_object */
   4064
   4065#ifndef GL_ARB_vertex_attrib_64bit
   4066#define GL_ARB_vertex_attrib_64bit 1
   4067#endif /* GL_ARB_vertex_attrib_64bit */
   4068
   4069#ifndef GL_ARB_vertex_attrib_binding
   4070#define GL_ARB_vertex_attrib_binding 1
   4071#endif /* GL_ARB_vertex_attrib_binding */
   4072
   4073#ifndef GL_ARB_vertex_blend
   4074#define GL_ARB_vertex_blend 1
   4075#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
   4076#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
   4077#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
   4078#define GL_VERTEX_BLEND_ARB               0x86A7
   4079#define GL_CURRENT_WEIGHT_ARB             0x86A8
   4080#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
   4081#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
   4082#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
   4083#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
   4084#define GL_WEIGHT_ARRAY_ARB               0x86AD
   4085#define GL_MODELVIEW0_ARB                 0x1700
   4086#define GL_MODELVIEW1_ARB                 0x850A
   4087#define GL_MODELVIEW2_ARB                 0x8722
   4088#define GL_MODELVIEW3_ARB                 0x8723
   4089#define GL_MODELVIEW4_ARB                 0x8724
   4090#define GL_MODELVIEW5_ARB                 0x8725
   4091#define GL_MODELVIEW6_ARB                 0x8726
   4092#define GL_MODELVIEW7_ARB                 0x8727
   4093#define GL_MODELVIEW8_ARB                 0x8728
   4094#define GL_MODELVIEW9_ARB                 0x8729
   4095#define GL_MODELVIEW10_ARB                0x872A
   4096#define GL_MODELVIEW11_ARB                0x872B
   4097#define GL_MODELVIEW12_ARB                0x872C
   4098#define GL_MODELVIEW13_ARB                0x872D
   4099#define GL_MODELVIEW14_ARB                0x872E
   4100#define GL_MODELVIEW15_ARB                0x872F
   4101#define GL_MODELVIEW16_ARB                0x8730
   4102#define GL_MODELVIEW17_ARB                0x8731
   4103#define GL_MODELVIEW18_ARB                0x8732
   4104#define GL_MODELVIEW19_ARB                0x8733
   4105#define GL_MODELVIEW20_ARB                0x8734
   4106#define GL_MODELVIEW21_ARB                0x8735
   4107#define GL_MODELVIEW22_ARB                0x8736
   4108#define GL_MODELVIEW23_ARB                0x8737
   4109#define GL_MODELVIEW24_ARB                0x8738
   4110#define GL_MODELVIEW25_ARB                0x8739
   4111#define GL_MODELVIEW26_ARB                0x873A
   4112#define GL_MODELVIEW27_ARB                0x873B
   4113#define GL_MODELVIEW28_ARB                0x873C
   4114#define GL_MODELVIEW29_ARB                0x873D
   4115#define GL_MODELVIEW30_ARB                0x873E
   4116#define GL_MODELVIEW31_ARB                0x873F
   4117typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
   4118typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
   4119typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
   4120typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
   4121typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
   4122typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
   4123typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
   4124typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
   4125typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
   4126typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
   4127#ifdef GL_GLEXT_PROTOTYPES
   4128GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
   4129GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
   4130GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
   4131GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
   4132GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
   4133GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
   4134GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
   4135GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
   4136GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
   4137GLAPI void APIENTRY glVertexBlendARB (GLint count);
   4138#endif
   4139#endif /* GL_ARB_vertex_blend */
   4140
   4141#ifndef GL_ARB_vertex_buffer_object
   4142#define GL_ARB_vertex_buffer_object 1
   4143#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
   4144typedef long GLsizeiptrARB;
   4145typedef long GLintptrARB;
   4146#else
   4147typedef ptrdiff_t GLsizeiptrARB;
   4148typedef ptrdiff_t GLintptrARB;
   4149#endif
   4150#define GL_BUFFER_SIZE_ARB                0x8764
   4151#define GL_BUFFER_USAGE_ARB               0x8765
   4152#define GL_ARRAY_BUFFER_ARB               0x8892
   4153#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
   4154#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
   4155#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
   4156#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
   4157#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
   4158#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
   4159#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
   4160#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
   4161#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
   4162#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
   4163#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
   4164#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
   4165#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
   4166#define GL_READ_ONLY_ARB                  0x88B8
   4167#define GL_WRITE_ONLY_ARB                 0x88B9
   4168#define GL_READ_WRITE_ARB                 0x88BA
   4169#define GL_BUFFER_ACCESS_ARB              0x88BB
   4170#define GL_BUFFER_MAPPED_ARB              0x88BC
   4171#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
   4172#define GL_STREAM_DRAW_ARB                0x88E0
   4173#define GL_STREAM_READ_ARB                0x88E1
   4174#define GL_STREAM_COPY_ARB                0x88E2
   4175#define GL_STATIC_DRAW_ARB                0x88E4
   4176#define GL_STATIC_READ_ARB                0x88E5
   4177#define GL_STATIC_COPY_ARB                0x88E6
   4178#define GL_DYNAMIC_DRAW_ARB               0x88E8
   4179#define GL_DYNAMIC_READ_ARB               0x88E9
   4180#define GL_DYNAMIC_COPY_ARB               0x88EA
   4181typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
   4182typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
   4183typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
   4184typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
   4185typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
   4186typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
   4187typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
   4188typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
   4189typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
   4190typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
   4191typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
   4192#ifdef GL_GLEXT_PROTOTYPES
   4193GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
   4194GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
   4195GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
   4196GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
   4197GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
   4198GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
   4199GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
   4200GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
   4201GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
   4202GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
   4203GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
   4204#endif
   4205#endif /* GL_ARB_vertex_buffer_object */
   4206
   4207#ifndef GL_ARB_vertex_program
   4208#define GL_ARB_vertex_program 1
   4209#define GL_COLOR_SUM_ARB                  0x8458
   4210#define GL_VERTEX_PROGRAM_ARB             0x8620
   4211#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
   4212#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
   4213#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
   4214#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
   4215#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
   4216#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
   4217#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
   4218#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
   4219#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
   4220#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
   4221#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
   4222#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
   4223#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
   4224#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
   4225typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
   4226typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
   4227typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
   4228typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
   4229typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
   4230typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
   4231typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
   4232typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
   4233typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
   4234typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
   4235typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
   4236typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
   4237typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   4238typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
   4239typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
   4240typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
   4241typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
   4242typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
   4243typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
   4244typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
   4245typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
   4246typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
   4247typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
   4248typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
   4249typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
   4250typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
   4251typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   4252typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
   4253typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   4254typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
   4255typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
   4256typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
   4257typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
   4258typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
   4259typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
   4260typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
   4261typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
   4262typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
   4263typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
   4264typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
   4265typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
   4266typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
   4267typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
   4268#ifdef GL_GLEXT_PROTOTYPES
   4269GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
   4270GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
   4271GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
   4272GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
   4273GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
   4274GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
   4275GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
   4276GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
   4277GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
   4278GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
   4279GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
   4280GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
   4281GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   4282GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
   4283GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
   4284GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
   4285GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
   4286GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
   4287GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
   4288GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
   4289GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
   4290GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
   4291GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
   4292GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
   4293GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
   4294GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
   4295GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   4296GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
   4297GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   4298GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
   4299GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
   4300GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
   4301GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
   4302GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
   4303GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
   4304GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
   4305GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
   4306GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
   4307GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
   4308GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
   4309GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
   4310GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
   4311GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
   4312#endif
   4313#endif /* GL_ARB_vertex_program */
   4314
   4315#ifndef GL_ARB_vertex_shader
   4316#define GL_ARB_vertex_shader 1
   4317#define GL_VERTEX_SHADER_ARB              0x8B31
   4318#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
   4319#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
   4320#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
   4321#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
   4322#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
   4323#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
   4324typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
   4325typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
   4326typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
   4327#ifdef GL_GLEXT_PROTOTYPES
   4328GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
   4329GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
   4330GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
   4331#endif
   4332#endif /* GL_ARB_vertex_shader */
   4333
   4334#ifndef GL_ARB_vertex_type_10f_11f_11f_rev
   4335#define GL_ARB_vertex_type_10f_11f_11f_rev 1
   4336#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
   4337
   4338#ifndef GL_ARB_vertex_type_2_10_10_10_rev
   4339#define GL_ARB_vertex_type_2_10_10_10_rev 1
   4340#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
   4341
   4342#ifndef GL_ARB_viewport_array
   4343#define GL_ARB_viewport_array 1
   4344#endif /* GL_ARB_viewport_array */
   4345
   4346#ifndef GL_ARB_window_pos
   4347#define GL_ARB_window_pos 1
   4348typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
   4349typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
   4350typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
   4351typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
   4352typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
   4353typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
   4354typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
   4355typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
   4356typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
   4357typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
   4358typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
   4359typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
   4360typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
   4361typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
   4362typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
   4363typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
   4364#ifdef GL_GLEXT_PROTOTYPES
   4365GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
   4366GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
   4367GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
   4368GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
   4369GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
   4370GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
   4371GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
   4372GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
   4373GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
   4374GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
   4375GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
   4376GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
   4377GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
   4378GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
   4379GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
   4380GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
   4381#endif
   4382#endif /* GL_ARB_window_pos */
   4383
   4384#ifndef GL_KHR_debug
   4385#define GL_KHR_debug 1
   4386#endif /* GL_KHR_debug */
   4387
   4388#ifndef GL_KHR_texture_compression_astc_hdr
   4389#define GL_KHR_texture_compression_astc_hdr 1
   4390#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
   4391#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
   4392#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
   4393#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
   4394#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
   4395#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
   4396#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
   4397#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
   4398#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
   4399#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
   4400#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
   4401#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
   4402#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
   4403#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
   4404#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
   4405#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
   4406#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
   4407#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
   4408#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
   4409#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
   4410#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
   4411#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
   4412#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
   4413#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
   4414#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
   4415#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
   4416#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
   4417#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
   4418#endif /* GL_KHR_texture_compression_astc_hdr */
   4419
   4420#ifndef GL_KHR_texture_compression_astc_ldr
   4421#define GL_KHR_texture_compression_astc_ldr 1
   4422#endif /* GL_KHR_texture_compression_astc_ldr */
   4423
   4424#ifndef GL_OES_byte_coordinates
   4425#define GL_OES_byte_coordinates 1
   4426typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
   4427typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
   4428typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
   4429typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
   4430typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
   4431typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
   4432typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
   4433typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
   4434typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
   4435typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
   4436typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
   4437typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
   4438typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
   4439typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
   4440typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
   4441typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
   4442typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
   4443typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
   4444typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
   4445typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
   4446typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
   4447typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
   4448#ifdef GL_GLEXT_PROTOTYPES
   4449GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
   4450GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
   4451GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
   4452GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
   4453GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
   4454GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
   4455GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
   4456GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
   4457GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
   4458GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
   4459GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
   4460GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
   4461GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
   4462GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
   4463GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
   4464GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
   4465GLAPI void APIENTRY glVertex2bOES (GLbyte x);
   4466GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
   4467GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
   4468GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
   4469GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
   4470GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
   4471#endif
   4472#endif /* GL_OES_byte_coordinates */
   4473
   4474#ifndef GL_OES_compressed_paletted_texture
   4475#define GL_OES_compressed_paletted_texture 1
   4476#define GL_PALETTE4_RGB8_OES              0x8B90
   4477#define GL_PALETTE4_RGBA8_OES             0x8B91
   4478#define GL_PALETTE4_R5_G6_B5_OES          0x8B92
   4479#define GL_PALETTE4_RGBA4_OES             0x8B93
   4480#define GL_PALETTE4_RGB5_A1_OES           0x8B94
   4481#define GL_PALETTE8_RGB8_OES              0x8B95
   4482#define GL_PALETTE8_RGBA8_OES             0x8B96
   4483#define GL_PALETTE8_R5_G6_B5_OES          0x8B97
   4484#define GL_PALETTE8_RGBA4_OES             0x8B98
   4485#define GL_PALETTE8_RGB5_A1_OES           0x8B99
   4486#endif /* GL_OES_compressed_paletted_texture */
   4487
   4488#ifndef GL_OES_fixed_point
   4489#define GL_OES_fixed_point 1
   4490typedef GLint GLfixed;
   4491#define GL_FIXED_OES                      0x140C
   4492typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
   4493typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4494typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
   4495typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
   4496typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4497typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
   4498typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
   4499typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
   4500typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
   4501typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
   4502typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
   4503typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
   4504typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
   4505typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
   4506typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
   4507typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
   4508typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
   4509typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
   4510typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
   4511typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
   4512typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
   4513typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
   4514typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
   4515typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
   4516typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
   4517typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
   4518typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
   4519typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
   4520typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
   4521typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
   4522typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
   4523typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
   4524typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
   4525typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
   4526typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
   4527typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
   4528typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
   4529typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
   4530typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4531typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4532typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
   4533typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
   4534typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
   4535typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
   4536typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
   4537typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
   4538typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
   4539typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
   4540typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
   4541typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
   4542typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
   4543typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
   4544typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
   4545typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
   4546typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
   4547typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
   4548typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
   4549typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
   4550typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
   4551typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
   4552typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
   4553typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
   4554typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
   4555typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
   4556typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
   4557typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
   4558typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
   4559typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
   4560typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
   4561typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
   4562typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
   4563typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
   4564typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
   4565typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
   4566typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
   4567typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
   4568typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
   4569typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
   4570typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
   4571typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
   4572typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
   4573typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
   4574typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
   4575typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
   4576typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
   4577typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
   4578typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
   4579typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
   4580typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
   4581typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
   4582typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
   4583typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
   4584typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
   4585typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
   4586typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
   4587typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
   4588typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
   4589typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
   4590typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
   4591typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
   4592typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
   4593typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
   4594typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
   4595typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
   4596#ifdef GL_GLEXT_PROTOTYPES
   4597GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
   4598GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4599GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
   4600GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
   4601GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4602GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
   4603GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
   4604GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
   4605GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
   4606GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
   4607GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
   4608GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
   4609GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
   4610GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
   4611GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
   4612GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
   4613GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
   4614GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
   4615GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
   4616GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
   4617GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
   4618GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
   4619GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
   4620GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
   4621GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
   4622GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
   4623GLAPI void APIENTRY glPointSizexOES (GLfixed size);
   4624GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
   4625GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
   4626GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
   4627GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
   4628GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
   4629GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
   4630GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
   4631GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
   4632GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
   4633GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
   4634GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
   4635GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4636GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   4637GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
   4638GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
   4639GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
   4640GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
   4641GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
   4642GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
   4643GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
   4644GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
   4645GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
   4646GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
   4647GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
   4648GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
   4649GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
   4650GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
   4651GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
   4652GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
   4653GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
   4654GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
   4655GLAPI void APIENTRY glIndexxOES (GLfixed component);
   4656GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
   4657GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
   4658GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
   4659GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
   4660GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
   4661GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
   4662GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
   4663GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
   4664GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
   4665GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
   4666GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
   4667GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
   4668GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
   4669GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
   4670GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
   4671GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
   4672GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
   4673GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
   4674GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
   4675GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
   4676GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
   4677GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
   4678GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
   4679GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
   4680GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
   4681GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
   4682GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
   4683GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
   4684GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
   4685GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
   4686GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
   4687GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
   4688GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
   4689GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
   4690GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
   4691GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
   4692GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
   4693GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
   4694GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
   4695GLAPI void APIENTRY glVertex2xOES (GLfixed x);
   4696GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
   4697GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
   4698GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
   4699GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
   4700GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
   4701#endif
   4702#endif /* GL_OES_fixed_point */
   4703
   4704#ifndef GL_OES_query_matrix
   4705#define GL_OES_query_matrix 1
   4706typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
   4707#ifdef GL_GLEXT_PROTOTYPES
   4708GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
   4709#endif
   4710#endif /* GL_OES_query_matrix */
   4711
   4712#ifndef GL_OES_read_format
   4713#define GL_OES_read_format 1
   4714#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
   4715#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
   4716#endif /* GL_OES_read_format */
   4717
   4718#ifndef GL_OES_single_precision
   4719#define GL_OES_single_precision 1
   4720typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
   4721typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
   4722typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
   4723typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
   4724typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
   4725typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
   4726#ifdef GL_GLEXT_PROTOTYPES
   4727GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
   4728GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
   4729GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
   4730GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
   4731GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
   4732GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
   4733#endif
   4734#endif /* GL_OES_single_precision */
   4735
   4736#ifndef GL_3DFX_multisample
   4737#define GL_3DFX_multisample 1
   4738#define GL_MULTISAMPLE_3DFX               0x86B2
   4739#define GL_SAMPLE_BUFFERS_3DFX            0x86B3
   4740#define GL_SAMPLES_3DFX                   0x86B4
   4741#define GL_MULTISAMPLE_BIT_3DFX           0x20000000
   4742#endif /* GL_3DFX_multisample */
   4743
   4744#ifndef GL_3DFX_tbuffer
   4745#define GL_3DFX_tbuffer 1
   4746typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
   4747#ifdef GL_GLEXT_PROTOTYPES
   4748GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
   4749#endif
   4750#endif /* GL_3DFX_tbuffer */
   4751
   4752#ifndef GL_3DFX_texture_compression_FXT1
   4753#define GL_3DFX_texture_compression_FXT1 1
   4754#define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
   4755#define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
   4756#endif /* GL_3DFX_texture_compression_FXT1 */
   4757
   4758#ifndef GL_AMD_blend_minmax_factor
   4759#define GL_AMD_blend_minmax_factor 1
   4760#define GL_FACTOR_MIN_AMD                 0x901C
   4761#define GL_FACTOR_MAX_AMD                 0x901D
   4762#endif /* GL_AMD_blend_minmax_factor */
   4763
   4764#ifndef GL_AMD_conservative_depth
   4765#define GL_AMD_conservative_depth 1
   4766#endif /* GL_AMD_conservative_depth */
   4767
   4768#ifndef GL_AMD_debug_output
   4769#define GL_AMD_debug_output 1
   4770typedef void (APIENTRY  *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
   4771#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD   0x9143
   4772#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD  0x9144
   4773#define GL_DEBUG_LOGGED_MESSAGES_AMD      0x9145
   4774#define GL_DEBUG_SEVERITY_HIGH_AMD        0x9146
   4775#define GL_DEBUG_SEVERITY_MEDIUM_AMD      0x9147
   4776#define GL_DEBUG_SEVERITY_LOW_AMD         0x9148
   4777#define GL_DEBUG_CATEGORY_API_ERROR_AMD   0x9149
   4778#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
   4779#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
   4780#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
   4781#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
   4782#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
   4783#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
   4784#define GL_DEBUG_CATEGORY_OTHER_AMD       0x9150
   4785typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
   4786typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
   4787typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
   4788typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
   4789#ifdef GL_GLEXT_PROTOTYPES
   4790GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
   4791GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
   4792GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
   4793GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
   4794#endif
   4795#endif /* GL_AMD_debug_output */
   4796
   4797#ifndef GL_AMD_depth_clamp_separate
   4798#define GL_AMD_depth_clamp_separate 1
   4799#define GL_DEPTH_CLAMP_NEAR_AMD           0x901E
   4800#define GL_DEPTH_CLAMP_FAR_AMD            0x901F
   4801#endif /* GL_AMD_depth_clamp_separate */
   4802
   4803#ifndef GL_AMD_draw_buffers_blend
   4804#define GL_AMD_draw_buffers_blend 1
   4805typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
   4806typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
   4807typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
   4808typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
   4809#ifdef GL_GLEXT_PROTOTYPES
   4810GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
   4811GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
   4812GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
   4813GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
   4814#endif
   4815#endif /* GL_AMD_draw_buffers_blend */
   4816
   4817#ifndef GL_AMD_gcn_shader
   4818#define GL_AMD_gcn_shader 1
   4819#endif /* GL_AMD_gcn_shader */
   4820
   4821#ifndef GL_AMD_gpu_shader_int64
   4822#define GL_AMD_gpu_shader_int64 1
   4823typedef int64_t GLint64EXT;
   4824#define GL_INT64_NV                       0x140E
   4825#define GL_UNSIGNED_INT64_NV              0x140F
   4826#define GL_INT8_NV                        0x8FE0
   4827#define GL_INT8_VEC2_NV                   0x8FE1
   4828#define GL_INT8_VEC3_NV                   0x8FE2
   4829#define GL_INT8_VEC4_NV                   0x8FE3
   4830#define GL_INT16_NV                       0x8FE4
   4831#define GL_INT16_VEC2_NV                  0x8FE5
   4832#define GL_INT16_VEC3_NV                  0x8FE6
   4833#define GL_INT16_VEC4_NV                  0x8FE7
   4834#define GL_INT64_VEC2_NV                  0x8FE9
   4835#define GL_INT64_VEC3_NV                  0x8FEA
   4836#define GL_INT64_VEC4_NV                  0x8FEB
   4837#define GL_UNSIGNED_INT8_NV               0x8FEC
   4838#define GL_UNSIGNED_INT8_VEC2_NV          0x8FED
   4839#define GL_UNSIGNED_INT8_VEC3_NV          0x8FEE
   4840#define GL_UNSIGNED_INT8_VEC4_NV          0x8FEF
   4841#define GL_UNSIGNED_INT16_NV              0x8FF0
   4842#define GL_UNSIGNED_INT16_VEC2_NV         0x8FF1
   4843#define GL_UNSIGNED_INT16_VEC3_NV         0x8FF2
   4844#define GL_UNSIGNED_INT16_VEC4_NV         0x8FF3
   4845#define GL_UNSIGNED_INT64_VEC2_NV         0x8FF5
   4846#define GL_UNSIGNED_INT64_VEC3_NV         0x8FF6
   4847#define GL_UNSIGNED_INT64_VEC4_NV         0x8FF7
   4848#define GL_FLOAT16_NV                     0x8FF8
   4849#define GL_FLOAT16_VEC2_NV                0x8FF9
   4850#define GL_FLOAT16_VEC3_NV                0x8FFA
   4851#define GL_FLOAT16_VEC4_NV                0x8FFB
   4852typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
   4853typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
   4854typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
   4855typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
   4856typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
   4857typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
   4858typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
   4859typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
   4860typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
   4861typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
   4862typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
   4863typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
   4864typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
   4865typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
   4866typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
   4867typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
   4868typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
   4869typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
   4870typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
   4871typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
   4872typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
   4873typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
   4874typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4875typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4876typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4877typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4878typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
   4879typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
   4880typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
   4881typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
   4882typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4883typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4884typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4885typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4886#ifdef GL_GLEXT_PROTOTYPES
   4887GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
   4888GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
   4889GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
   4890GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
   4891GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
   4892GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
   4893GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
   4894GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
   4895GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
   4896GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
   4897GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
   4898GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
   4899GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
   4900GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
   4901GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
   4902GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
   4903GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
   4904GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
   4905GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
   4906GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
   4907GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
   4908GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
   4909GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4910GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4911GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4912GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
   4913GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
   4914GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
   4915GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
   4916GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
   4917GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4918GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4919GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4920GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   4921#endif
   4922#endif /* GL_AMD_gpu_shader_int64 */
   4923
   4924#ifndef GL_AMD_interleaved_elements
   4925#define GL_AMD_interleaved_elements 1
   4926#define GL_VERTEX_ELEMENT_SWIZZLE_AMD     0x91A4
   4927#define GL_VERTEX_ID_SWIZZLE_AMD          0x91A5
   4928typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
   4929#ifdef GL_GLEXT_PROTOTYPES
   4930GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
   4931#endif
   4932#endif /* GL_AMD_interleaved_elements */
   4933
   4934#ifndef GL_AMD_multi_draw_indirect
   4935#define GL_AMD_multi_draw_indirect 1
   4936typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
   4937typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
   4938#ifdef GL_GLEXT_PROTOTYPES
   4939GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
   4940GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
   4941#endif
   4942#endif /* GL_AMD_multi_draw_indirect */
   4943
   4944#ifndef GL_AMD_name_gen_delete
   4945#define GL_AMD_name_gen_delete 1
   4946#define GL_DATA_BUFFER_AMD                0x9151
   4947#define GL_PERFORMANCE_MONITOR_AMD        0x9152
   4948#define GL_QUERY_OBJECT_AMD               0x9153
   4949#define GL_VERTEX_ARRAY_OBJECT_AMD        0x9154
   4950#define GL_SAMPLER_OBJECT_AMD             0x9155
   4951typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
   4952typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
   4953typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
   4954#ifdef GL_GLEXT_PROTOTYPES
   4955GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
   4956GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
   4957GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
   4958#endif
   4959#endif /* GL_AMD_name_gen_delete */
   4960
   4961#ifndef GL_AMD_occlusion_query_event
   4962#define GL_AMD_occlusion_query_event 1
   4963#define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
   4964#define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
   4965#define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
   4966#define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
   4967#define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
   4968#define GL_QUERY_ALL_EVENT_BITS_AMD       0xFFFFFFFF
   4969typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
   4970#ifdef GL_GLEXT_PROTOTYPES
   4971GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
   4972#endif
   4973#endif /* GL_AMD_occlusion_query_event */
   4974
   4975#ifndef GL_AMD_performance_monitor
   4976#define GL_AMD_performance_monitor 1
   4977#define GL_COUNTER_TYPE_AMD               0x8BC0
   4978#define GL_COUNTER_RANGE_AMD              0x8BC1
   4979#define GL_UNSIGNED_INT64_AMD             0x8BC2
   4980#define GL_PERCENTAGE_AMD                 0x8BC3
   4981#define GL_PERFMON_RESULT_AVAILABLE_AMD   0x8BC4
   4982#define GL_PERFMON_RESULT_SIZE_AMD        0x8BC5
   4983#define GL_PERFMON_RESULT_AMD             0x8BC6
   4984typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
   4985typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
   4986typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
   4987typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
   4988typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
   4989typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
   4990typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
   4991typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
   4992typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
   4993typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
   4994typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
   4995#ifdef GL_GLEXT_PROTOTYPES
   4996GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
   4997GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
   4998GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
   4999GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
   5000GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
   5001GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
   5002GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
   5003GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
   5004GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
   5005GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
   5006GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
   5007#endif
   5008#endif /* GL_AMD_performance_monitor */
   5009
   5010#ifndef GL_AMD_pinned_memory
   5011#define GL_AMD_pinned_memory 1
   5012#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
   5013#endif /* GL_AMD_pinned_memory */
   5014
   5015#ifndef GL_AMD_query_buffer_object
   5016#define GL_AMD_query_buffer_object 1
   5017#define GL_QUERY_BUFFER_AMD               0x9192
   5018#define GL_QUERY_BUFFER_BINDING_AMD       0x9193
   5019#define GL_QUERY_RESULT_NO_WAIT_AMD       0x9194
   5020#endif /* GL_AMD_query_buffer_object */
   5021
   5022#ifndef GL_AMD_sample_positions
   5023#define GL_AMD_sample_positions 1
   5024#define GL_SUBSAMPLE_DISTANCE_AMD         0x883F
   5025typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
   5026#ifdef GL_GLEXT_PROTOTYPES
   5027GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
   5028#endif
   5029#endif /* GL_AMD_sample_positions */
   5030
   5031#ifndef GL_AMD_seamless_cubemap_per_texture
   5032#define GL_AMD_seamless_cubemap_per_texture 1
   5033#endif /* GL_AMD_seamless_cubemap_per_texture */
   5034
   5035#ifndef GL_AMD_shader_atomic_counter_ops
   5036#define GL_AMD_shader_atomic_counter_ops 1
   5037#endif /* GL_AMD_shader_atomic_counter_ops */
   5038
   5039#ifndef GL_AMD_shader_stencil_export
   5040#define GL_AMD_shader_stencil_export 1
   5041#endif /* GL_AMD_shader_stencil_export */
   5042
   5043#ifndef GL_AMD_shader_trinary_minmax
   5044#define GL_AMD_shader_trinary_minmax 1
   5045#endif /* GL_AMD_shader_trinary_minmax */
   5046
   5047#ifndef GL_AMD_sparse_texture
   5048#define GL_AMD_sparse_texture 1
   5049#define GL_VIRTUAL_PAGE_SIZE_X_AMD        0x9195
   5050#define GL_VIRTUAL_PAGE_SIZE_Y_AMD        0x9196
   5051#define GL_VIRTUAL_PAGE_SIZE_Z_AMD        0x9197
   5052#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD    0x9198
   5053#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
   5054#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
   5055#define GL_MIN_SPARSE_LEVEL_AMD           0x919B
   5056#define GL_MIN_LOD_WARNING_AMD            0x919C
   5057#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
   5058typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
   5059typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
   5060#ifdef GL_GLEXT_PROTOTYPES
   5061GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
   5062GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
   5063#endif
   5064#endif /* GL_AMD_sparse_texture */
   5065
   5066#ifndef GL_AMD_stencil_operation_extended
   5067#define GL_AMD_stencil_operation_extended 1
   5068#define GL_SET_AMD                        0x874A
   5069#define GL_REPLACE_VALUE_AMD              0x874B
   5070#define GL_STENCIL_OP_VALUE_AMD           0x874C
   5071#define GL_STENCIL_BACK_OP_VALUE_AMD      0x874D
   5072typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
   5073#ifdef GL_GLEXT_PROTOTYPES
   5074GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
   5075#endif
   5076#endif /* GL_AMD_stencil_operation_extended */
   5077
   5078#ifndef GL_AMD_texture_texture4
   5079#define GL_AMD_texture_texture4 1
   5080#endif /* GL_AMD_texture_texture4 */
   5081
   5082#ifndef GL_AMD_transform_feedback3_lines_triangles
   5083#define GL_AMD_transform_feedback3_lines_triangles 1
   5084#endif /* GL_AMD_transform_feedback3_lines_triangles */
   5085
   5086#ifndef GL_AMD_transform_feedback4
   5087#define GL_AMD_transform_feedback4 1
   5088#define GL_STREAM_RASTERIZATION_AMD       0x91A0
   5089#endif /* GL_AMD_transform_feedback4 */
   5090
   5091#ifndef GL_AMD_vertex_shader_layer
   5092#define GL_AMD_vertex_shader_layer 1
   5093#endif /* GL_AMD_vertex_shader_layer */
   5094
   5095#ifndef GL_AMD_vertex_shader_tessellator
   5096#define GL_AMD_vertex_shader_tessellator 1
   5097#define GL_SAMPLER_BUFFER_AMD             0x9001
   5098#define GL_INT_SAMPLER_BUFFER_AMD         0x9002
   5099#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
   5100#define GL_TESSELLATION_MODE_AMD          0x9004
   5101#define GL_TESSELLATION_FACTOR_AMD        0x9005
   5102#define GL_DISCRETE_AMD                   0x9006
   5103#define GL_CONTINUOUS_AMD                 0x9007
   5104typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
   5105typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
   5106#ifdef GL_GLEXT_PROTOTYPES
   5107GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
   5108GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
   5109#endif
   5110#endif /* GL_AMD_vertex_shader_tessellator */
   5111
   5112#ifndef GL_AMD_vertex_shader_viewport_index
   5113#define GL_AMD_vertex_shader_viewport_index 1
   5114#endif /* GL_AMD_vertex_shader_viewport_index */
   5115
   5116#ifndef GL_APPLE_aux_depth_stencil
   5117#define GL_APPLE_aux_depth_stencil 1
   5118#define GL_AUX_DEPTH_STENCIL_APPLE        0x8A14
   5119#endif /* GL_APPLE_aux_depth_stencil */
   5120
   5121#ifndef GL_APPLE_client_storage
   5122#define GL_APPLE_client_storage 1
   5123#define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
   5124#endif /* GL_APPLE_client_storage */
   5125
   5126#ifndef GL_APPLE_element_array
   5127#define GL_APPLE_element_array 1
   5128#define GL_ELEMENT_ARRAY_APPLE            0x8A0C
   5129#define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8A0D
   5130#define GL_ELEMENT_ARRAY_POINTER_APPLE    0x8A0E
   5131typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
   5132typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
   5133typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
   5134typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
   5135typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
   5136#ifdef GL_GLEXT_PROTOTYPES
   5137GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
   5138GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
   5139GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
   5140GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
   5141GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
   5142#endif
   5143#endif /* GL_APPLE_element_array */
   5144
   5145#ifndef GL_APPLE_fence
   5146#define GL_APPLE_fence 1
   5147#define GL_DRAW_PIXELS_APPLE              0x8A0A
   5148#define GL_FENCE_APPLE                    0x8A0B
   5149typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
   5150typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
   5151typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
   5152typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
   5153typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
   5154typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
   5155typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
   5156typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
   5157#ifdef GL_GLEXT_PROTOTYPES
   5158GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
   5159GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
   5160GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
   5161GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
   5162GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
   5163GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
   5164GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
   5165GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
   5166#endif
   5167#endif /* GL_APPLE_fence */
   5168
   5169#ifndef GL_APPLE_float_pixels
   5170#define GL_APPLE_float_pixels 1
   5171#define GL_HALF_APPLE                     0x140B
   5172#define GL_RGBA_FLOAT32_APPLE             0x8814
   5173#define GL_RGB_FLOAT32_APPLE              0x8815
   5174#define GL_ALPHA_FLOAT32_APPLE            0x8816
   5175#define GL_INTENSITY_FLOAT32_APPLE        0x8817
   5176#define GL_LUMINANCE_FLOAT32_APPLE        0x8818
   5177#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE  0x8819
   5178#define GL_RGBA_FLOAT16_APPLE             0x881A
   5179#define GL_RGB_FLOAT16_APPLE              0x881B
   5180#define GL_ALPHA_FLOAT16_APPLE            0x881C
   5181#define GL_INTENSITY_FLOAT16_APPLE        0x881D
   5182#define GL_LUMINANCE_FLOAT16_APPLE        0x881E
   5183#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE  0x881F
   5184#define GL_COLOR_FLOAT_APPLE              0x8A0F
   5185#endif /* GL_APPLE_float_pixels */
   5186
   5187#ifndef GL_APPLE_flush_buffer_range
   5188#define GL_APPLE_flush_buffer_range 1
   5189#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
   5190#define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
   5191typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
   5192typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
   5193#ifdef GL_GLEXT_PROTOTYPES
   5194GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
   5195GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
   5196#endif
   5197#endif /* GL_APPLE_flush_buffer_range */
   5198
   5199#ifndef GL_APPLE_object_purgeable
   5200#define GL_APPLE_object_purgeable 1
   5201#define GL_BUFFER_OBJECT_APPLE            0x85B3
   5202#define GL_RELEASED_APPLE                 0x8A19
   5203#define GL_VOLATILE_APPLE                 0x8A1A
   5204#define GL_RETAINED_APPLE                 0x8A1B
   5205#define GL_UNDEFINED_APPLE                0x8A1C
   5206#define GL_PURGEABLE_APPLE                0x8A1D
   5207typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
   5208typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
   5209typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
   5210#ifdef GL_GLEXT_PROTOTYPES
   5211GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
   5212GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
   5213GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
   5214#endif
   5215#endif /* GL_APPLE_object_purgeable */
   5216
   5217#ifndef GL_APPLE_rgb_422
   5218#define GL_APPLE_rgb_422 1
   5219#define GL_RGB_422_APPLE                  0x8A1F
   5220#define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
   5221#define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
   5222#define GL_RGB_RAW_422_APPLE              0x8A51
   5223#endif /* GL_APPLE_rgb_422 */
   5224
   5225#ifndef GL_APPLE_row_bytes
   5226#define GL_APPLE_row_bytes 1
   5227#define GL_PACK_ROW_BYTES_APPLE           0x8A15
   5228#define GL_UNPACK_ROW_BYTES_APPLE         0x8A16
   5229#endif /* GL_APPLE_row_bytes */
   5230
   5231#ifndef GL_APPLE_specular_vector
   5232#define GL_APPLE_specular_vector 1
   5233#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
   5234#endif /* GL_APPLE_specular_vector */
   5235
   5236#ifndef GL_APPLE_texture_range
   5237#define GL_APPLE_texture_range 1
   5238#define GL_TEXTURE_RANGE_LENGTH_APPLE     0x85B7
   5239#define GL_TEXTURE_RANGE_POINTER_APPLE    0x85B8
   5240#define GL_TEXTURE_STORAGE_HINT_APPLE     0x85BC
   5241#define GL_STORAGE_PRIVATE_APPLE          0x85BD
   5242#define GL_STORAGE_CACHED_APPLE           0x85BE
   5243#define GL_STORAGE_SHARED_APPLE           0x85BF
   5244typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
   5245typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
   5246#ifdef GL_GLEXT_PROTOTYPES
   5247GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
   5248GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
   5249#endif
   5250#endif /* GL_APPLE_texture_range */
   5251
   5252#ifndef GL_APPLE_transform_hint
   5253#define GL_APPLE_transform_hint 1
   5254#define GL_TRANSFORM_HINT_APPLE           0x85B1
   5255#endif /* GL_APPLE_transform_hint */
   5256
   5257#ifndef GL_APPLE_vertex_array_object
   5258#define GL_APPLE_vertex_array_object 1
   5259#define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
   5260typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
   5261typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
   5262typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
   5263typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
   5264#ifdef GL_GLEXT_PROTOTYPES
   5265GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
   5266GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
   5267GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
   5268GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
   5269#endif
   5270#endif /* GL_APPLE_vertex_array_object */
   5271
   5272#ifndef GL_APPLE_vertex_array_range
   5273#define GL_APPLE_vertex_array_range 1
   5274#define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
   5275#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
   5276#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
   5277#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
   5278#define GL_STORAGE_CLIENT_APPLE           0x85B4
   5279typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
   5280typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
   5281typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
   5282#ifdef GL_GLEXT_PROTOTYPES
   5283GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
   5284GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
   5285GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
   5286#endif
   5287#endif /* GL_APPLE_vertex_array_range */
   5288
   5289#ifndef GL_APPLE_vertex_program_evaluators
   5290#define GL_APPLE_vertex_program_evaluators 1
   5291#define GL_VERTEX_ATTRIB_MAP1_APPLE       0x8A00
   5292#define GL_VERTEX_ATTRIB_MAP2_APPLE       0x8A01
   5293#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE  0x8A02
   5294#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
   5295#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
   5296#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
   5297#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE  0x8A06
   5298#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
   5299#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
   5300#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
   5301typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
   5302typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
   5303typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
   5304typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
   5305typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
   5306typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
   5307typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
   5308#ifdef GL_GLEXT_PROTOTYPES
   5309GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
   5310GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
   5311GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
   5312GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
   5313GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
   5314GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
   5315GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
   5316#endif
   5317#endif /* GL_APPLE_vertex_program_evaluators */
   5318
   5319#ifndef GL_APPLE_ycbcr_422
   5320#define GL_APPLE_ycbcr_422 1
   5321#define GL_YCBCR_422_APPLE                0x85B9
   5322#endif /* GL_APPLE_ycbcr_422 */
   5323
   5324#ifndef GL_ATI_draw_buffers
   5325#define GL_ATI_draw_buffers 1
   5326#define GL_MAX_DRAW_BUFFERS_ATI           0x8824
   5327#define GL_DRAW_BUFFER0_ATI               0x8825
   5328#define GL_DRAW_BUFFER1_ATI               0x8826
   5329#define GL_DRAW_BUFFER2_ATI               0x8827
   5330#define GL_DRAW_BUFFER3_ATI               0x8828
   5331#define GL_DRAW_BUFFER4_ATI               0x8829
   5332#define GL_DRAW_BUFFER5_ATI               0x882A
   5333#define GL_DRAW_BUFFER6_ATI               0x882B
   5334#define GL_DRAW_BUFFER7_ATI               0x882C
   5335#define GL_DRAW_BUFFER8_ATI               0x882D
   5336#define GL_DRAW_BUFFER9_ATI               0x882E
   5337#define GL_DRAW_BUFFER10_ATI              0x882F
   5338#define GL_DRAW_BUFFER11_ATI              0x8830
   5339#define GL_DRAW_BUFFER12_ATI              0x8831
   5340#define GL_DRAW_BUFFER13_ATI              0x8832
   5341#define GL_DRAW_BUFFER14_ATI              0x8833
   5342#define GL_DRAW_BUFFER15_ATI              0x8834
   5343typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
   5344#ifdef GL_GLEXT_PROTOTYPES
   5345GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
   5346#endif
   5347#endif /* GL_ATI_draw_buffers */
   5348
   5349#ifndef GL_ATI_element_array
   5350#define GL_ATI_element_array 1
   5351#define GL_ELEMENT_ARRAY_ATI              0x8768
   5352#define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
   5353#define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
   5354typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
   5355typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
   5356typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
   5357#ifdef GL_GLEXT_PROTOTYPES
   5358GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
   5359GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
   5360GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
   5361#endif
   5362#endif /* GL_ATI_element_array */
   5363
   5364#ifndef GL_ATI_envmap_bumpmap
   5365#define GL_ATI_envmap_bumpmap 1
   5366#define GL_BUMP_ROT_MATRIX_ATI            0x8775
   5367#define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
   5368#define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
   5369#define GL_BUMP_TEX_UNITS_ATI             0x8778
   5370#define GL_DUDV_ATI                       0x8779
   5371#define GL_DU8DV8_ATI                     0x877A
   5372#define GL_BUMP_ENVMAP_ATI                0x877B
   5373#define GL_BUMP_TARGET_ATI                0x877C
   5374typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
   5375typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
   5376typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
   5377typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
   5378#ifdef GL_GLEXT_PROTOTYPES
   5379GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
   5380GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
   5381GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
   5382GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
   5383#endif
   5384#endif /* GL_ATI_envmap_bumpmap */
   5385
   5386#ifndef GL_ATI_fragment_shader
   5387#define GL_ATI_fragment_shader 1
   5388#define GL_FRAGMENT_SHADER_ATI            0x8920
   5389#define GL_REG_0_ATI                      0x8921
   5390#define GL_REG_1_ATI                      0x8922
   5391#define GL_REG_2_ATI                      0x8923
   5392#define GL_REG_3_ATI                      0x8924
   5393#define GL_REG_4_ATI                      0x8925
   5394#define GL_REG_5_ATI                      0x8926
   5395#define GL_REG_6_ATI                      0x8927
   5396#define GL_REG_7_ATI                      0x8928
   5397#define GL_REG_8_ATI                      0x8929
   5398#define GL_REG_9_ATI                      0x892A
   5399#define GL_REG_10_ATI                     0x892B
   5400#define GL_REG_11_ATI                     0x892C
   5401#define GL_REG_12_ATI                     0x892D
   5402#define GL_REG_13_ATI                     0x892E
   5403#define GL_REG_14_ATI                     0x892F
   5404#define GL_REG_15_ATI                     0x8930
   5405#define GL_REG_16_ATI                     0x8931
   5406#define GL_REG_17_ATI                     0x8932
   5407#define GL_REG_18_ATI                     0x8933
   5408#define GL_REG_19_ATI                     0x8934
   5409#define GL_REG_20_ATI                     0x8935
   5410#define GL_REG_21_ATI                     0x8936
   5411#define GL_REG_22_ATI                     0x8937
   5412#define GL_REG_23_ATI                     0x8938
   5413#define GL_REG_24_ATI                     0x8939
   5414#define GL_REG_25_ATI                     0x893A
   5415#define GL_REG_26_ATI                     0x893B
   5416#define GL_REG_27_ATI                     0x893C
   5417#define GL_REG_28_ATI                     0x893D
   5418#define GL_REG_29_ATI                     0x893E
   5419#define GL_REG_30_ATI                     0x893F
   5420#define GL_REG_31_ATI                     0x8940
   5421#define GL_CON_0_ATI                      0x8941
   5422#define GL_CON_1_ATI                      0x8942
   5423#define GL_CON_2_ATI                      0x8943
   5424#define GL_CON_3_ATI                      0x8944
   5425#define GL_CON_4_ATI                      0x8945
   5426#define GL_CON_5_ATI                      0x8946
   5427#define GL_CON_6_ATI                      0x8947
   5428#define GL_CON_7_ATI                      0x8948
   5429#define GL_CON_8_ATI                      0x8949
   5430#define GL_CON_9_ATI                      0x894A
   5431#define GL_CON_10_ATI                     0x894B
   5432#define GL_CON_11_ATI                     0x894C
   5433#define GL_CON_12_ATI                     0x894D
   5434#define GL_CON_13_ATI                     0x894E
   5435#define GL_CON_14_ATI                     0x894F
   5436#define GL_CON_15_ATI                     0x8950
   5437#define GL_CON_16_ATI                     0x8951
   5438#define GL_CON_17_ATI                     0x8952
   5439#define GL_CON_18_ATI                     0x8953
   5440#define GL_CON_19_ATI                     0x8954
   5441#define GL_CON_20_ATI                     0x8955
   5442#define GL_CON_21_ATI                     0x8956
   5443#define GL_CON_22_ATI                     0x8957
   5444#define GL_CON_23_ATI                     0x8958
   5445#define GL_CON_24_ATI                     0x8959
   5446#define GL_CON_25_ATI                     0x895A
   5447#define GL_CON_26_ATI                     0x895B
   5448#define GL_CON_27_ATI                     0x895C
   5449#define GL_CON_28_ATI                     0x895D
   5450#define GL_CON_29_ATI                     0x895E
   5451#define GL_CON_30_ATI                     0x895F
   5452#define GL_CON_31_ATI                     0x8960
   5453#define GL_MOV_ATI                        0x8961
   5454#define GL_ADD_ATI                        0x8963
   5455#define GL_MUL_ATI                        0x8964
   5456#define GL_SUB_ATI                        0x8965
   5457#define GL_DOT3_ATI                       0x8966
   5458#define GL_DOT4_ATI                       0x8967
   5459#define GL_MAD_ATI                        0x8968
   5460#define GL_LERP_ATI                       0x8969
   5461#define GL_CND_ATI                        0x896A
   5462#define GL_CND0_ATI                       0x896B
   5463#define GL_DOT2_ADD_ATI                   0x896C
   5464#define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
   5465#define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
   5466#define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
   5467#define GL_NUM_PASSES_ATI                 0x8970
   5468#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
   5469#define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
   5470#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
   5471#define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
   5472#define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
   5473#define GL_SWIZZLE_STR_ATI                0x8976
   5474#define GL_SWIZZLE_STQ_ATI                0x8977
   5475#define GL_SWIZZLE_STR_DR_ATI             0x8978
   5476#define GL_SWIZZLE_STQ_DQ_ATI             0x8979
   5477#define GL_SWIZZLE_STRQ_ATI               0x897A
   5478#define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
   5479#define GL_RED_BIT_ATI                    0x00000001
   5480#define GL_GREEN_BIT_ATI                  0x00000002
   5481#define GL_BLUE_BIT_ATI                   0x00000004
   5482#define GL_2X_BIT_ATI                     0x00000001
   5483#define GL_4X_BIT_ATI                     0x00000002
   5484#define GL_8X_BIT_ATI                     0x00000004
   5485#define GL_HALF_BIT_ATI                   0x00000008
   5486#define GL_QUARTER_BIT_ATI                0x00000010
   5487#define GL_EIGHTH_BIT_ATI                 0x00000020
   5488#define GL_SATURATE_BIT_ATI               0x00000040
   5489#define GL_COMP_BIT_ATI                   0x00000002
   5490#define GL_NEGATE_BIT_ATI                 0x00000004
   5491#define GL_BIAS_BIT_ATI                   0x00000008
   5492typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
   5493typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
   5494typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
   5495typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
   5496typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
   5497typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
   5498typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
   5499typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
   5500typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
   5501typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
   5502typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
   5503typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
   5504typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
   5505typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
   5506#ifdef GL_GLEXT_PROTOTYPES
   5507GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
   5508GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
   5509GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
   5510GLAPI void APIENTRY glBeginFragmentShaderATI (void);
   5511GLAPI void APIENTRY glEndFragmentShaderATI (void);
   5512GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
   5513GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
   5514GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
   5515GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
   5516GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
   5517GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
   5518GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
   5519GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
   5520GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
   5521#endif
   5522#endif /* GL_ATI_fragment_shader */
   5523
   5524#ifndef GL_ATI_map_object_buffer
   5525#define GL_ATI_map_object_buffer 1
   5526typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
   5527typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
   5528#ifdef GL_GLEXT_PROTOTYPES
   5529GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
   5530GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
   5531#endif
   5532#endif /* GL_ATI_map_object_buffer */
   5533
   5534#ifndef GL_ATI_meminfo
   5535#define GL_ATI_meminfo 1
   5536#define GL_VBO_FREE_MEMORY_ATI            0x87FB
   5537#define GL_TEXTURE_FREE_MEMORY_ATI        0x87FC
   5538#define GL_RENDERBUFFER_FREE_MEMORY_ATI   0x87FD
   5539#endif /* GL_ATI_meminfo */
   5540
   5541#ifndef GL_ATI_pixel_format_float
   5542#define GL_ATI_pixel_format_float 1
   5543#define GL_RGBA_FLOAT_MODE_ATI            0x8820
   5544#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
   5545#endif /* GL_ATI_pixel_format_float */
   5546
   5547#ifndef GL_ATI_pn_triangles
   5548#define GL_ATI_pn_triangles 1
   5549#define GL_PN_TRIANGLES_ATI               0x87F0
   5550#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
   5551#define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
   5552#define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
   5553#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
   5554#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
   5555#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
   5556#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
   5557#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
   5558typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
   5559typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
   5560#ifdef GL_GLEXT_PROTOTYPES
   5561GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
   5562GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
   5563#endif
   5564#endif /* GL_ATI_pn_triangles */
   5565
   5566#ifndef GL_ATI_separate_stencil
   5567#define GL_ATI_separate_stencil 1
   5568#define GL_STENCIL_BACK_FUNC_ATI          0x8800
   5569#define GL_STENCIL_BACK_FAIL_ATI          0x8801
   5570#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
   5571#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
   5572typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
   5573typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
   5574#ifdef GL_GLEXT_PROTOTYPES
   5575GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
   5576GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
   5577#endif
   5578#endif /* GL_ATI_separate_stencil */
   5579
   5580#ifndef GL_ATI_text_fragment_shader
   5581#define GL_ATI_text_fragment_shader 1
   5582#define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
   5583#endif /* GL_ATI_text_fragment_shader */
   5584
   5585#ifndef GL_ATI_texture_env_combine3
   5586#define GL_ATI_texture_env_combine3 1
   5587#define GL_MODULATE_ADD_ATI               0x8744
   5588#define GL_MODULATE_SIGNED_ADD_ATI        0x8745
   5589#define GL_MODULATE_SUBTRACT_ATI          0x8746
   5590#endif /* GL_ATI_texture_env_combine3 */
   5591
   5592#ifndef GL_ATI_texture_float
   5593#define GL_ATI_texture_float 1
   5594#define GL_RGBA_FLOAT32_ATI               0x8814
   5595#define GL_RGB_FLOAT32_ATI                0x8815
   5596#define GL_ALPHA_FLOAT32_ATI              0x8816
   5597#define GL_INTENSITY_FLOAT32_ATI          0x8817
   5598#define GL_LUMINANCE_FLOAT32_ATI          0x8818
   5599#define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
   5600#define GL_RGBA_FLOAT16_ATI               0x881A
   5601#define GL_RGB_FLOAT16_ATI                0x881B
   5602#define GL_ALPHA_FLOAT16_ATI              0x881C
   5603#define GL_INTENSITY_FLOAT16_ATI          0x881D
   5604#define GL_LUMINANCE_FLOAT16_ATI          0x881E
   5605#define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
   5606#endif /* GL_ATI_texture_float */
   5607
   5608#ifndef GL_ATI_texture_mirror_once
   5609#define GL_ATI_texture_mirror_once 1
   5610#define GL_MIRROR_CLAMP_ATI               0x8742
   5611#define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
   5612#endif /* GL_ATI_texture_mirror_once */
   5613
   5614#ifndef GL_ATI_vertex_array_object
   5615#define GL_ATI_vertex_array_object 1
   5616#define GL_STATIC_ATI                     0x8760
   5617#define GL_DYNAMIC_ATI                    0x8761
   5618#define GL_PRESERVE_ATI                   0x8762
   5619#define GL_DISCARD_ATI                    0x8763
   5620#define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
   5621#define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
   5622#define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
   5623#define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
   5624typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
   5625typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
   5626typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
   5627typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
   5628typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
   5629typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
   5630typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
   5631typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
   5632typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
   5633typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
   5634typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
   5635typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
   5636#ifdef GL_GLEXT_PROTOTYPES
   5637GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
   5638GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
   5639GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
   5640GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
   5641GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
   5642GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
   5643GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
   5644GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
   5645GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
   5646GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
   5647GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
   5648GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
   5649#endif
   5650#endif /* GL_ATI_vertex_array_object */
   5651
   5652#ifndef GL_ATI_vertex_attrib_array_object
   5653#define GL_ATI_vertex_attrib_array_object 1
   5654typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
   5655typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
   5656typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
   5657#ifdef GL_GLEXT_PROTOTYPES
   5658GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
   5659GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
   5660GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
   5661#endif
   5662#endif /* GL_ATI_vertex_attrib_array_object */
   5663
   5664#ifndef GL_ATI_vertex_streams
   5665#define GL_ATI_vertex_streams 1
   5666#define GL_MAX_VERTEX_STREAMS_ATI         0x876B
   5667#define GL_VERTEX_STREAM0_ATI             0x876C
   5668#define GL_VERTEX_STREAM1_ATI             0x876D
   5669#define GL_VERTEX_STREAM2_ATI             0x876E
   5670#define GL_VERTEX_STREAM3_ATI             0x876F
   5671#define GL_VERTEX_STREAM4_ATI             0x8770
   5672#define GL_VERTEX_STREAM5_ATI             0x8771
   5673#define GL_VERTEX_STREAM6_ATI             0x8772
   5674#define GL_VERTEX_STREAM7_ATI             0x8773
   5675#define GL_VERTEX_SOURCE_ATI              0x8774
   5676typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
   5677typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
   5678typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
   5679typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
   5680typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
   5681typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
   5682typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
   5683typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
   5684typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
   5685typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
   5686typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
   5687typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
   5688typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
   5689typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
   5690typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
   5691typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
   5692typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
   5693typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
   5694typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
   5695typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
   5696typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
   5697typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
   5698typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
   5699typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
   5700typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
   5701typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
   5702typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
   5703typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
   5704typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   5705typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
   5706typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   5707typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
   5708typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
   5709typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
   5710typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
   5711typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
   5712typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
   5713typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
   5714typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
   5715typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
   5716typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
   5717typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
   5718typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
   5719typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
   5720typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
   5721#ifdef GL_GLEXT_PROTOTYPES
   5722GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
   5723GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
   5724GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
   5725GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
   5726GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
   5727GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
   5728GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
   5729GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
   5730GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
   5731GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
   5732GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
   5733GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
   5734GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
   5735GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
   5736GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
   5737GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
   5738GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
   5739GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
   5740GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
   5741GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
   5742GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
   5743GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
   5744GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
   5745GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
   5746GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
   5747GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
   5748GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
   5749GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
   5750GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   5751GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
   5752GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   5753GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
   5754GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
   5755GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
   5756GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
   5757GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
   5758GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
   5759GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
   5760GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
   5761GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
   5762GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
   5763GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
   5764GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
   5765GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
   5766GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
   5767#endif
   5768#endif /* GL_ATI_vertex_streams */
   5769
   5770#ifndef GL_EXT_422_pixels
   5771#define GL_EXT_422_pixels 1
   5772#define GL_422_EXT                        0x80CC
   5773#define GL_422_REV_EXT                    0x80CD
   5774#define GL_422_AVERAGE_EXT                0x80CE
   5775#define GL_422_REV_AVERAGE_EXT            0x80CF
   5776#endif /* GL_EXT_422_pixels */
   5777
   5778#ifndef GL_EXT_abgr
   5779#define GL_EXT_abgr 1
   5780#define GL_ABGR_EXT                       0x8000
   5781#endif /* GL_EXT_abgr */
   5782
   5783#ifndef GL_EXT_bgra
   5784#define GL_EXT_bgra 1
   5785#define GL_BGR_EXT                        0x80E0
   5786#define GL_BGRA_EXT                       0x80E1
   5787#endif /* GL_EXT_bgra */
   5788
   5789#ifndef GL_EXT_bindable_uniform
   5790#define GL_EXT_bindable_uniform 1
   5791#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
   5792#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
   5793#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
   5794#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
   5795#define GL_UNIFORM_BUFFER_EXT             0x8DEE
   5796#define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
   5797typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
   5798typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
   5799typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
   5800#ifdef GL_GLEXT_PROTOTYPES
   5801GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
   5802GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
   5803GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
   5804#endif
   5805#endif /* GL_EXT_bindable_uniform */
   5806
   5807#ifndef GL_EXT_blend_color
   5808#define GL_EXT_blend_color 1
   5809#define GL_CONSTANT_COLOR_EXT             0x8001
   5810#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
   5811#define GL_CONSTANT_ALPHA_EXT             0x8003
   5812#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
   5813#define GL_BLEND_COLOR_EXT                0x8005
   5814typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   5815#ifdef GL_GLEXT_PROTOTYPES
   5816GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
   5817#endif
   5818#endif /* GL_EXT_blend_color */
   5819
   5820#ifndef GL_EXT_blend_equation_separate
   5821#define GL_EXT_blend_equation_separate 1
   5822#define GL_BLEND_EQUATION_RGB_EXT         0x8009
   5823#define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
   5824typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
   5825#ifdef GL_GLEXT_PROTOTYPES
   5826GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
   5827#endif
   5828#endif /* GL_EXT_blend_equation_separate */
   5829
   5830#ifndef GL_EXT_blend_func_separate
   5831#define GL_EXT_blend_func_separate 1
   5832#define GL_BLEND_DST_RGB_EXT              0x80C8
   5833#define GL_BLEND_SRC_RGB_EXT              0x80C9
   5834#define GL_BLEND_DST_ALPHA_EXT            0x80CA
   5835#define GL_BLEND_SRC_ALPHA_EXT            0x80CB
   5836typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   5837#ifdef GL_GLEXT_PROTOTYPES
   5838GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   5839#endif
   5840#endif /* GL_EXT_blend_func_separate */
   5841
   5842#ifndef GL_EXT_blend_logic_op
   5843#define GL_EXT_blend_logic_op 1
   5844#endif /* GL_EXT_blend_logic_op */
   5845
   5846#ifndef GL_EXT_blend_minmax
   5847#define GL_EXT_blend_minmax 1
   5848#define GL_MIN_EXT                        0x8007
   5849#define GL_MAX_EXT                        0x8008
   5850#define GL_FUNC_ADD_EXT                   0x8006
   5851#define GL_BLEND_EQUATION_EXT             0x8009
   5852typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
   5853#ifdef GL_GLEXT_PROTOTYPES
   5854GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
   5855#endif
   5856#endif /* GL_EXT_blend_minmax */
   5857
   5858#ifndef GL_EXT_blend_subtract
   5859#define GL_EXT_blend_subtract 1
   5860#define GL_FUNC_SUBTRACT_EXT              0x800A
   5861#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
   5862#endif /* GL_EXT_blend_subtract */
   5863
   5864#ifndef GL_EXT_clip_volume_hint
   5865#define GL_EXT_clip_volume_hint 1
   5866#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
   5867#endif /* GL_EXT_clip_volume_hint */
   5868
   5869#ifndef GL_EXT_cmyka
   5870#define GL_EXT_cmyka 1
   5871#define GL_CMYK_EXT                       0x800C
   5872#define GL_CMYKA_EXT                      0x800D
   5873#define GL_PACK_CMYK_HINT_EXT             0x800E
   5874#define GL_UNPACK_CMYK_HINT_EXT           0x800F
   5875#endif /* GL_EXT_cmyka */
   5876
   5877#ifndef GL_EXT_color_subtable
   5878#define GL_EXT_color_subtable 1
   5879typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
   5880typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
   5881#ifdef GL_GLEXT_PROTOTYPES
   5882GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
   5883GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
   5884#endif
   5885#endif /* GL_EXT_color_subtable */
   5886
   5887#ifndef GL_EXT_compiled_vertex_array
   5888#define GL_EXT_compiled_vertex_array 1
   5889#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
   5890#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
   5891typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
   5892typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
   5893#ifdef GL_GLEXT_PROTOTYPES
   5894GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
   5895GLAPI void APIENTRY glUnlockArraysEXT (void);
   5896#endif
   5897#endif /* GL_EXT_compiled_vertex_array */
   5898
   5899#ifndef GL_EXT_convolution
   5900#define GL_EXT_convolution 1
   5901#define GL_CONVOLUTION_1D_EXT             0x8010
   5902#define GL_CONVOLUTION_2D_EXT             0x8011
   5903#define GL_SEPARABLE_2D_EXT               0x8012
   5904#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
   5905#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
   5906#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
   5907#define GL_REDUCE_EXT                     0x8016
   5908#define GL_CONVOLUTION_FORMAT_EXT         0x8017
   5909#define GL_CONVOLUTION_WIDTH_EXT          0x8018
   5910#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
   5911#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
   5912#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
   5913#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
   5914#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
   5915#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
   5916#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
   5917#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
   5918#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
   5919#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
   5920#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
   5921typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
   5922typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
   5923typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
   5924typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
   5925typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
   5926typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
   5927typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   5928typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
   5929typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
   5930typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
   5931typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   5932typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
   5933typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
   5934#ifdef GL_GLEXT_PROTOTYPES
   5935GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
   5936GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
   5937GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
   5938GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
   5939GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
   5940GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
   5941GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   5942GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
   5943GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
   5944GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
   5945GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
   5946GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
   5947GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
   5948#endif
   5949#endif /* GL_EXT_convolution */
   5950
   5951#ifndef GL_EXT_coordinate_frame
   5952#define GL_EXT_coordinate_frame 1
   5953#define GL_TANGENT_ARRAY_EXT              0x8439
   5954#define GL_BINORMAL_ARRAY_EXT             0x843A
   5955#define GL_CURRENT_TANGENT_EXT            0x843B
   5956#define GL_CURRENT_BINORMAL_EXT           0x843C
   5957#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
   5958#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
   5959#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
   5960#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
   5961#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
   5962#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
   5963#define GL_MAP1_TANGENT_EXT               0x8444
   5964#define GL_MAP2_TANGENT_EXT               0x8445
   5965#define GL_MAP1_BINORMAL_EXT              0x8446
   5966#define GL_MAP2_BINORMAL_EXT              0x8447
   5967typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
   5968typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
   5969typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
   5970typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
   5971typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
   5972typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
   5973typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
   5974typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
   5975typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
   5976typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
   5977typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
   5978typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
   5979typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
   5980typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
   5981typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
   5982typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
   5983typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
   5984typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
   5985typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
   5986typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
   5987typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
   5988typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
   5989#ifdef GL_GLEXT_PROTOTYPES
   5990GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
   5991GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
   5992GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
   5993GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
   5994GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
   5995GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
   5996GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
   5997GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
   5998GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
   5999GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
   6000GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
   6001GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
   6002GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
   6003GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
   6004GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
   6005GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
   6006GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
   6007GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
   6008GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
   6009GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
   6010GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
   6011GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
   6012#endif
   6013#endif /* GL_EXT_coordinate_frame */
   6014
   6015#ifndef GL_EXT_copy_texture
   6016#define GL_EXT_copy_texture 1
   6017typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   6018typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   6019typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   6020typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6021typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6022#ifdef GL_GLEXT_PROTOTYPES
   6023GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   6024GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   6025GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   6026GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6027GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6028#endif
   6029#endif /* GL_EXT_copy_texture */
   6030
   6031#ifndef GL_EXT_cull_vertex
   6032#define GL_EXT_cull_vertex 1
   6033#define GL_CULL_VERTEX_EXT                0x81AA
   6034#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
   6035#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
   6036typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
   6037typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
   6038#ifdef GL_GLEXT_PROTOTYPES
   6039GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
   6040GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
   6041#endif
   6042#endif /* GL_EXT_cull_vertex */
   6043
   6044#ifndef GL_EXT_debug_label
   6045#define GL_EXT_debug_label 1
   6046#define GL_PROGRAM_PIPELINE_OBJECT_EXT    0x8A4F
   6047#define GL_PROGRAM_OBJECT_EXT             0x8B40
   6048#define GL_SHADER_OBJECT_EXT              0x8B48
   6049#define GL_BUFFER_OBJECT_EXT              0x9151
   6050#define GL_QUERY_OBJECT_EXT               0x9153
   6051#define GL_VERTEX_ARRAY_OBJECT_EXT        0x9154
   6052typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
   6053typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
   6054#ifdef GL_GLEXT_PROTOTYPES
   6055GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
   6056GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
   6057#endif
   6058#endif /* GL_EXT_debug_label */
   6059
   6060#ifndef GL_EXT_debug_marker
   6061#define GL_EXT_debug_marker 1
   6062typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
   6063typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
   6064typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
   6065#ifdef GL_GLEXT_PROTOTYPES
   6066GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
   6067GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
   6068GLAPI void APIENTRY glPopGroupMarkerEXT (void);
   6069#endif
   6070#endif /* GL_EXT_debug_marker */
   6071
   6072#ifndef GL_EXT_depth_bounds_test
   6073#define GL_EXT_depth_bounds_test 1
   6074#define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
   6075#define GL_DEPTH_BOUNDS_EXT               0x8891
   6076typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
   6077#ifdef GL_GLEXT_PROTOTYPES
   6078GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
   6079#endif
   6080#endif /* GL_EXT_depth_bounds_test */
   6081
   6082#ifndef GL_EXT_direct_state_access
   6083#define GL_EXT_direct_state_access 1
   6084#define GL_PROGRAM_MATRIX_EXT             0x8E2D
   6085#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
   6086#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
   6087typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
   6088typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
   6089typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
   6090typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
   6091typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
   6092typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
   6093typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
   6094typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
   6095typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
   6096typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
   6097typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
   6098typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
   6099typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
   6100typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
   6101typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
   6102typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
   6103typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
   6104typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
   6105typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
   6106typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
   6107typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
   6108typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
   6109typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
   6110typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
   6111typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
   6112typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   6113typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   6114typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   6115typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6116typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
   6117typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
   6118typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
   6119typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
   6120typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
   6121typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   6122typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   6123typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6124typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
   6125typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
   6126typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
   6127typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
   6128typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
   6129typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
   6130typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
   6131typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
   6132typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
   6133typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
   6134typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
   6135typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
   6136typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
   6137typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
   6138typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
   6139typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
   6140typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
   6141typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
   6142typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
   6143typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
   6144typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
   6145typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
   6146typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
   6147typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
   6148typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
   6149typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   6150typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   6151typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   6152typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6153typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
   6154typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
   6155typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
   6156typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
   6157typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
   6158typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   6159typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   6160typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6161typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
   6162typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
   6163typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
   6164typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
   6165typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
   6166typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
   6167typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
   6168typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
   6169typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
   6170typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
   6171typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
   6172typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
   6173typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
   6174typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
   6175typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
   6176typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
   6177typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
   6178typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
   6179typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
   6180typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
   6181typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
   6182typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
   6183typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
   6184typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
   6185typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
   6186typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
   6187typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
   6188typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
   6189typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
   6190typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
   6191typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
   6192typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
   6193typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
   6194typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
   6195typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
   6196typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
   6197typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
   6198typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   6199typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   6200typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
   6201typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
   6202typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
   6203typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   6204typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6205typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6206typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6207typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6208typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   6209typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   6210typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   6211typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
   6212typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6213typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6214typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6215typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6216typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6217typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6218typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6219typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6220typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6221typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
   6222typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
   6223typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
   6224typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
   6225typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
   6226typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
   6227typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
   6228typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
   6229typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
   6230typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
   6231typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
   6232typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
   6233typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
   6234typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   6235typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6236typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6237typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6238typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6239typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
   6240typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
   6241typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
   6242typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
   6243typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   6244typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
   6245typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
   6246typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
   6247typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
   6248typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
   6249typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
   6250typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
   6251typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
   6252typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
   6253typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
   6254typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   6255typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
   6256typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   6257typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
   6258typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
   6259typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
   6260typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
   6261typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
   6262typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
   6263typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
   6264typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   6265typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
   6266typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
   6267typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6268typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6269typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   6270typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   6271typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
   6272typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
   6273typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
   6274typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
   6275typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
   6276typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
   6277typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
   6278typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
   6279typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
   6280typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
   6281typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
   6282typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
   6283typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
   6284typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6285typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6286typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
   6287typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
   6288typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
   6289typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6290typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6291typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
   6292typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6293typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
   6294typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6295typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
   6296typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
   6297typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
   6298typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
   6299typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
   6300typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
   6301typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
   6302typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
   6303typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
   6304typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
   6305typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
   6306typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
   6307typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
   6308typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
   6309typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
   6310typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
   6311typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
   6312typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
   6313typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   6314typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6315typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6316typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6317typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6318typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6319typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6320typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6321typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6322typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6323typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6324typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6325typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6326typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6327typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
   6328typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
   6329typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
   6330typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
   6331typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   6332typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
   6333typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
   6334typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
   6335typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   6336typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   6337typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
   6338typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
   6339typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6340typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
   6341typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
   6342#ifdef GL_GLEXT_PROTOTYPES
   6343GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
   6344GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
   6345GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
   6346GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
   6347GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
   6348GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
   6349GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
   6350GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
   6351GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
   6352GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
   6353GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
   6354GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
   6355GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
   6356GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
   6357GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
   6358GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
   6359GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
   6360GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
   6361GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
   6362GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
   6363GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
   6364GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
   6365GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
   6366GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
   6367GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
   6368GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   6369GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   6370GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   6371GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6372GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
   6373GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
   6374GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
   6375GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
   6376GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
   6377GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   6378GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   6379GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6380GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
   6381GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
   6382GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
   6383GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
   6384GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
   6385GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
   6386GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
   6387GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
   6388GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
   6389GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
   6390GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
   6391GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
   6392GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
   6393GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
   6394GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
   6395GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
   6396GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
   6397GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
   6398GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
   6399GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
   6400GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
   6401GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
   6402GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
   6403GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
   6404GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
   6405GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
   6406GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   6407GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
   6408GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6409GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
   6410GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
   6411GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
   6412GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
   6413GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
   6414GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   6415GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   6416GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   6417GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
   6418GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
   6419GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
   6420GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
   6421GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
   6422GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
   6423GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
   6424GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
   6425GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
   6426GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
   6427GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
   6428GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
   6429GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
   6430GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
   6431GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
   6432GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
   6433GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
   6434GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
   6435GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
   6436GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
   6437GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
   6438GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
   6439GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
   6440GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
   6441GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
   6442GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
   6443GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
   6444GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
   6445GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
   6446GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
   6447GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
   6448GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
   6449GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
   6450GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
   6451GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
   6452GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
   6453GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
   6454GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   6455GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   6456GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
   6457GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
   6458GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
   6459GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   6460GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6461GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6462GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6463GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
   6464GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
   6465GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
   6466GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
   6467GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
   6468GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6469GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6470GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6471GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6472GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6473GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6474GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6475GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6476GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   6477GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
   6478GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
   6479GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
   6480GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
   6481GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
   6482GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
   6483GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
   6484GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
   6485GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
   6486GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
   6487GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
   6488GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
   6489GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
   6490GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   6491GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6492GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6493GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6494GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
   6495GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
   6496GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
   6497GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
   6498GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
   6499GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   6500GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
   6501GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
   6502GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
   6503GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
   6504GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
   6505GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
   6506GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
   6507GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
   6508GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
   6509GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
   6510GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   6511GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
   6512GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   6513GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
   6514GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
   6515GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
   6516GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
   6517GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
   6518GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
   6519GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
   6520GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   6521GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
   6522GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
   6523GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6524GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6525GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   6526GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   6527GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
   6528GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
   6529GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
   6530GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
   6531GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
   6532GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
   6533GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
   6534GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
   6535GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
   6536GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
   6537GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
   6538GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
   6539GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
   6540GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6541GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6542GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
   6543GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
   6544GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
   6545GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6546GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6547GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
   6548GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6549GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
   6550GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6551GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
   6552GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
   6553GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
   6554GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
   6555GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
   6556GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
   6557GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
   6558GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
   6559GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
   6560GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
   6561GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
   6562GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
   6563GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
   6564GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
   6565GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
   6566GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
   6567GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
   6568GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
   6569GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   6570GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6571GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6572GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6573GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
   6574GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6575GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6576GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6577GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6578GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6579GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6580GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6581GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6582GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
   6583GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
   6584GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
   6585GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
   6586GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
   6587GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
   6588GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
   6589GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
   6590GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
   6591GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   6592GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
   6593GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
   6594GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
   6595GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
   6596GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
   6597GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
   6598#endif
   6599#endif /* GL_EXT_direct_state_access */
   6600
   6601#ifndef GL_EXT_draw_buffers2
   6602#define GL_EXT_draw_buffers2 1
   6603typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
   6604#ifdef GL_GLEXT_PROTOTYPES
   6605GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
   6606#endif
   6607#endif /* GL_EXT_draw_buffers2 */
   6608
   6609#ifndef GL_EXT_draw_instanced
   6610#define GL_EXT_draw_instanced 1
   6611typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
   6612typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
   6613#ifdef GL_GLEXT_PROTOTYPES
   6614GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
   6615GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
   6616#endif
   6617#endif /* GL_EXT_draw_instanced */
   6618
   6619#ifndef GL_EXT_draw_range_elements
   6620#define GL_EXT_draw_range_elements 1
   6621#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
   6622#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
   6623typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
   6624#ifdef GL_GLEXT_PROTOTYPES
   6625GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
   6626#endif
   6627#endif /* GL_EXT_draw_range_elements */
   6628
   6629#ifndef GL_EXT_fog_coord
   6630#define GL_EXT_fog_coord 1
   6631#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
   6632#define GL_FOG_COORDINATE_EXT             0x8451
   6633#define GL_FRAGMENT_DEPTH_EXT             0x8452
   6634#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
   6635#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
   6636#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
   6637#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
   6638#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
   6639typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
   6640typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
   6641typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
   6642typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
   6643typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
   6644#ifdef GL_GLEXT_PROTOTYPES
   6645GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
   6646GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
   6647GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
   6648GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
   6649GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
   6650#endif
   6651#endif /* GL_EXT_fog_coord */
   6652
   6653#ifndef GL_EXT_framebuffer_blit
   6654#define GL_EXT_framebuffer_blit 1
   6655#define GL_READ_FRAMEBUFFER_EXT           0x8CA8
   6656#define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
   6657#define GL_DRAW_FRAMEBUFFER_BINDING_EXT   0x8CA6
   6658#define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
   6659typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
   6660#ifdef GL_GLEXT_PROTOTYPES
   6661GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
   6662#endif
   6663#endif /* GL_EXT_framebuffer_blit */
   6664
   6665#ifndef GL_EXT_framebuffer_multisample
   6666#define GL_EXT_framebuffer_multisample 1
   6667#define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
   6668#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
   6669#define GL_MAX_SAMPLES_EXT                0x8D57
   6670typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   6671#ifdef GL_GLEXT_PROTOTYPES
   6672GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
   6673#endif
   6674#endif /* GL_EXT_framebuffer_multisample */
   6675
   6676#ifndef GL_EXT_framebuffer_multisample_blit_scaled
   6677#define GL_EXT_framebuffer_multisample_blit_scaled 1
   6678#define GL_SCALED_RESOLVE_FASTEST_EXT     0x90BA
   6679#define GL_SCALED_RESOLVE_NICEST_EXT      0x90BB
   6680#endif /* GL_EXT_framebuffer_multisample_blit_scaled */
   6681
   6682#ifndef GL_EXT_framebuffer_object
   6683#define GL_EXT_framebuffer_object 1
   6684#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
   6685#define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
   6686#define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
   6687#define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
   6688#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
   6689#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
   6690#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
   6691#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
   6692#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
   6693#define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
   6694#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
   6695#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
   6696#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
   6697#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
   6698#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
   6699#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
   6700#define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
   6701#define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
   6702#define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
   6703#define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
   6704#define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
   6705#define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
   6706#define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
   6707#define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
   6708#define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
   6709#define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
   6710#define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
   6711#define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
   6712#define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
   6713#define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
   6714#define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
   6715#define GL_COLOR_ATTACHMENT13_EXT         0x8CED
   6716#define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
   6717#define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
   6718#define GL_DEPTH_ATTACHMENT_EXT           0x8D00
   6719#define GL_STENCIL_ATTACHMENT_EXT         0x8D20
   6720#define GL_FRAMEBUFFER_EXT                0x8D40
   6721#define GL_RENDERBUFFER_EXT               0x8D41
   6722#define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
   6723#define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
   6724#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
   6725#define GL_STENCIL_INDEX1_EXT             0x8D46
   6726#define GL_STENCIL_INDEX4_EXT             0x8D47
   6727#define GL_STENCIL_INDEX8_EXT             0x8D48
   6728#define GL_STENCIL_INDEX16_EXT            0x8D49
   6729#define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
   6730#define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
   6731#define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
   6732#define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
   6733#define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
   6734#define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
   6735typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
   6736typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
   6737typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
   6738typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
   6739typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
   6740typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   6741typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
   6742typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
   6743typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
   6744typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
   6745typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
   6746typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6747typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6748typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   6749typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   6750typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
   6751typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
   6752#ifdef GL_GLEXT_PROTOTYPES
   6753GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
   6754GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
   6755GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
   6756GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
   6757GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
   6758GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
   6759GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
   6760GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
   6761GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
   6762GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
   6763GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
   6764GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6765GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   6766GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   6767GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   6768GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
   6769GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
   6770#endif
   6771#endif /* GL_EXT_framebuffer_object */
   6772
   6773#ifndef GL_EXT_framebuffer_sRGB
   6774#define GL_EXT_framebuffer_sRGB 1
   6775#define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
   6776#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
   6777#endif /* GL_EXT_framebuffer_sRGB */
   6778
   6779#ifndef GL_EXT_geometry_shader4
   6780#define GL_EXT_geometry_shader4 1
   6781#define GL_GEOMETRY_SHADER_EXT            0x8DD9
   6782#define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
   6783#define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
   6784#define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
   6785#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
   6786#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
   6787#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
   6788#define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
   6789#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
   6790#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
   6791#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
   6792#define GL_LINES_ADJACENCY_EXT            0x000A
   6793#define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
   6794#define GL_TRIANGLES_ADJACENCY_EXT        0x000C
   6795#define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
   6796#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
   6797#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
   6798#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
   6799#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
   6800#define GL_PROGRAM_POINT_SIZE_EXT         0x8642
   6801typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
   6802#ifdef GL_GLEXT_PROTOTYPES
   6803GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
   6804#endif
   6805#endif /* GL_EXT_geometry_shader4 */
   6806
   6807#ifndef GL_EXT_gpu_program_parameters
   6808#define GL_EXT_gpu_program_parameters 1
   6809typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
   6810typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
   6811#ifdef GL_GLEXT_PROTOTYPES
   6812GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
   6813GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
   6814#endif
   6815#endif /* GL_EXT_gpu_program_parameters */
   6816
   6817#ifndef GL_EXT_gpu_shader4
   6818#define GL_EXT_gpu_shader4 1
   6819#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
   6820#define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
   6821#define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
   6822#define GL_SAMPLER_BUFFER_EXT             0x8DC2
   6823#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
   6824#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
   6825#define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
   6826#define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
   6827#define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
   6828#define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
   6829#define GL_INT_SAMPLER_1D_EXT             0x8DC9
   6830#define GL_INT_SAMPLER_2D_EXT             0x8DCA
   6831#define GL_INT_SAMPLER_3D_EXT             0x8DCB
   6832#define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
   6833#define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
   6834#define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
   6835#define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
   6836#define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
   6837#define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
   6838#define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
   6839#define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
   6840#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
   6841#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
   6842#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
   6843#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
   6844#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
   6845#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT   0x8904
   6846#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT   0x8905
   6847typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
   6848typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
   6849typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
   6850typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
   6851typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
   6852typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
   6853typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   6854typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
   6855typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
   6856typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
   6857typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
   6858#ifdef GL_GLEXT_PROTOTYPES
   6859GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
   6860GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
   6861GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
   6862GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
   6863GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
   6864GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
   6865GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
   6866GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
   6867GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
   6868GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
   6869GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
   6870#endif
   6871#endif /* GL_EXT_gpu_shader4 */
   6872
   6873#ifndef GL_EXT_histogram
   6874#define GL_EXT_histogram 1
   6875#define GL_HISTOGRAM_EXT                  0x8024
   6876#define GL_PROXY_HISTOGRAM_EXT            0x8025
   6877#define GL_HISTOGRAM_WIDTH_EXT            0x8026
   6878#define GL_HISTOGRAM_FORMAT_EXT           0x8027
   6879#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
   6880#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
   6881#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
   6882#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
   6883#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
   6884#define GL_HISTOGRAM_SINK_EXT             0x802D
   6885#define GL_MINMAX_EXT                     0x802E
   6886#define GL_MINMAX_FORMAT_EXT              0x802F
   6887#define GL_MINMAX_SINK_EXT                0x8030
   6888#define GL_TABLE_TOO_LARGE_EXT            0x8031
   6889typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   6890typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
   6891typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   6892typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   6893typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
   6894typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   6895typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
   6896typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
   6897typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
   6898typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
   6899#ifdef GL_GLEXT_PROTOTYPES
   6900GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   6901GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
   6902GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
   6903GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
   6904GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
   6905GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
   6906GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
   6907GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
   6908GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
   6909GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
   6910#endif
   6911#endif /* GL_EXT_histogram */
   6912
   6913#ifndef GL_EXT_index_array_formats
   6914#define GL_EXT_index_array_formats 1
   6915#define GL_IUI_V2F_EXT                    0x81AD
   6916#define GL_IUI_V3F_EXT                    0x81AE
   6917#define GL_IUI_N3F_V2F_EXT                0x81AF
   6918#define GL_IUI_N3F_V3F_EXT                0x81B0
   6919#define GL_T2F_IUI_V2F_EXT                0x81B1
   6920#define GL_T2F_IUI_V3F_EXT                0x81B2
   6921#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
   6922#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
   6923#endif /* GL_EXT_index_array_formats */
   6924
   6925#ifndef GL_EXT_index_func
   6926#define GL_EXT_index_func 1
   6927#define GL_INDEX_TEST_EXT                 0x81B5
   6928#define GL_INDEX_TEST_FUNC_EXT            0x81B6
   6929#define GL_INDEX_TEST_REF_EXT             0x81B7
   6930typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
   6931#ifdef GL_GLEXT_PROTOTYPES
   6932GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
   6933#endif
   6934#endif /* GL_EXT_index_func */
   6935
   6936#ifndef GL_EXT_index_material
   6937#define GL_EXT_index_material 1
   6938#define GL_INDEX_MATERIAL_EXT             0x81B8
   6939#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
   6940#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
   6941typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
   6942#ifdef GL_GLEXT_PROTOTYPES
   6943GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
   6944#endif
   6945#endif /* GL_EXT_index_material */
   6946
   6947#ifndef GL_EXT_index_texture
   6948#define GL_EXT_index_texture 1
   6949#endif /* GL_EXT_index_texture */
   6950
   6951#ifndef GL_EXT_light_texture
   6952#define GL_EXT_light_texture 1
   6953#define GL_FRAGMENT_MATERIAL_EXT          0x8349
   6954#define GL_FRAGMENT_NORMAL_EXT            0x834A
   6955#define GL_FRAGMENT_COLOR_EXT             0x834C
   6956#define GL_ATTENUATION_EXT                0x834D
   6957#define GL_SHADOW_ATTENUATION_EXT         0x834E
   6958#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
   6959#define GL_TEXTURE_LIGHT_EXT              0x8350
   6960#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
   6961#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
   6962typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
   6963typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
   6964typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
   6965#ifdef GL_GLEXT_PROTOTYPES
   6966GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
   6967GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
   6968GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
   6969#endif
   6970#endif /* GL_EXT_light_texture */
   6971
   6972#ifndef GL_EXT_misc_attribute
   6973#define GL_EXT_misc_attribute 1
   6974#endif /* GL_EXT_misc_attribute */
   6975
   6976#ifndef GL_EXT_multi_draw_arrays
   6977#define GL_EXT_multi_draw_arrays 1
   6978typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
   6979typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
   6980#ifdef GL_GLEXT_PROTOTYPES
   6981GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
   6982GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
   6983#endif
   6984#endif /* GL_EXT_multi_draw_arrays */
   6985
   6986#ifndef GL_EXT_multisample
   6987#define GL_EXT_multisample 1
   6988#define GL_MULTISAMPLE_EXT                0x809D
   6989#define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
   6990#define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
   6991#define GL_SAMPLE_MASK_EXT                0x80A0
   6992#define GL_1PASS_EXT                      0x80A1
   6993#define GL_2PASS_0_EXT                    0x80A2
   6994#define GL_2PASS_1_EXT                    0x80A3
   6995#define GL_4PASS_0_EXT                    0x80A4
   6996#define GL_4PASS_1_EXT                    0x80A5
   6997#define GL_4PASS_2_EXT                    0x80A6
   6998#define GL_4PASS_3_EXT                    0x80A7
   6999#define GL_SAMPLE_BUFFERS_EXT             0x80A8
   7000#define GL_SAMPLES_EXT                    0x80A9
   7001#define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
   7002#define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
   7003#define GL_SAMPLE_PATTERN_EXT             0x80AC
   7004#define GL_MULTISAMPLE_BIT_EXT            0x20000000
   7005typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
   7006typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
   7007#ifdef GL_GLEXT_PROTOTYPES
   7008GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
   7009GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
   7010#endif
   7011#endif /* GL_EXT_multisample */
   7012
   7013#ifndef GL_EXT_packed_depth_stencil
   7014#define GL_EXT_packed_depth_stencil 1
   7015#define GL_DEPTH_STENCIL_EXT              0x84F9
   7016#define GL_UNSIGNED_INT_24_8_EXT          0x84FA
   7017#define GL_DEPTH24_STENCIL8_EXT           0x88F0
   7018#define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
   7019#endif /* GL_EXT_packed_depth_stencil */
   7020
   7021#ifndef GL_EXT_packed_float
   7022#define GL_EXT_packed_float 1
   7023#define GL_R11F_G11F_B10F_EXT             0x8C3A
   7024#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
   7025#define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
   7026#endif /* GL_EXT_packed_float */
   7027
   7028#ifndef GL_EXT_packed_pixels
   7029#define GL_EXT_packed_pixels 1
   7030#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
   7031#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
   7032#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
   7033#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
   7034#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
   7035#endif /* GL_EXT_packed_pixels */
   7036
   7037#ifndef GL_EXT_paletted_texture
   7038#define GL_EXT_paletted_texture 1
   7039#define GL_COLOR_INDEX1_EXT               0x80E2
   7040#define GL_COLOR_INDEX2_EXT               0x80E3
   7041#define GL_COLOR_INDEX4_EXT               0x80E4
   7042#define GL_COLOR_INDEX8_EXT               0x80E5
   7043#define GL_COLOR_INDEX12_EXT              0x80E6
   7044#define GL_COLOR_INDEX16_EXT              0x80E7
   7045#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
   7046typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
   7047typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
   7048typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   7049typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
   7050#ifdef GL_GLEXT_PROTOTYPES
   7051GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
   7052GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
   7053GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
   7054GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
   7055#endif
   7056#endif /* GL_EXT_paletted_texture */
   7057
   7058#ifndef GL_EXT_pixel_buffer_object
   7059#define GL_EXT_pixel_buffer_object 1
   7060#define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
   7061#define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
   7062#define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
   7063#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
   7064#endif /* GL_EXT_pixel_buffer_object */
   7065
   7066#ifndef GL_EXT_pixel_transform
   7067#define GL_EXT_pixel_transform 1
   7068#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
   7069#define GL_PIXEL_MAG_FILTER_EXT           0x8331
   7070#define GL_PIXEL_MIN_FILTER_EXT           0x8332
   7071#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
   7072#define GL_CUBIC_EXT                      0x8334
   7073#define GL_AVERAGE_EXT                    0x8335
   7074#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
   7075#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
   7076#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
   7077typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
   7078typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
   7079typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
   7080typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
   7081typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   7082typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
   7083#ifdef GL_GLEXT_PROTOTYPES
   7084GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
   7085GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
   7086GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
   7087GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
   7088GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
   7089GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
   7090#endif
   7091#endif /* GL_EXT_pixel_transform */
   7092
   7093#ifndef GL_EXT_pixel_transform_color_table
   7094#define GL_EXT_pixel_transform_color_table 1
   7095#endif /* GL_EXT_pixel_transform_color_table */
   7096
   7097#ifndef GL_EXT_point_parameters
   7098#define GL_EXT_point_parameters 1
   7099#define GL_POINT_SIZE_MIN_EXT             0x8126
   7100#define GL_POINT_SIZE_MAX_EXT             0x8127
   7101#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
   7102#define GL_DISTANCE_ATTENUATION_EXT       0x8129
   7103typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
   7104typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
   7105#ifdef GL_GLEXT_PROTOTYPES
   7106GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
   7107GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
   7108#endif
   7109#endif /* GL_EXT_point_parameters */
   7110
   7111#ifndef GL_EXT_polygon_offset
   7112#define GL_EXT_polygon_offset 1
   7113#define GL_POLYGON_OFFSET_EXT             0x8037
   7114#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
   7115#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
   7116typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
   7117#ifdef GL_GLEXT_PROTOTYPES
   7118GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
   7119#endif
   7120#endif /* GL_EXT_polygon_offset */
   7121
   7122#ifndef GL_EXT_provoking_vertex
   7123#define GL_EXT_provoking_vertex 1
   7124#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
   7125#define GL_FIRST_VERTEX_CONVENTION_EXT    0x8E4D
   7126#define GL_LAST_VERTEX_CONVENTION_EXT     0x8E4E
   7127#define GL_PROVOKING_VERTEX_EXT           0x8E4F
   7128typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
   7129#ifdef GL_GLEXT_PROTOTYPES
   7130GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
   7131#endif
   7132#endif /* GL_EXT_provoking_vertex */
   7133
   7134#ifndef GL_EXT_rescale_normal
   7135#define GL_EXT_rescale_normal 1
   7136#define GL_RESCALE_NORMAL_EXT             0x803A
   7137#endif /* GL_EXT_rescale_normal */
   7138
   7139#ifndef GL_EXT_secondary_color
   7140#define GL_EXT_secondary_color 1
   7141#define GL_COLOR_SUM_EXT                  0x8458
   7142#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
   7143#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
   7144#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
   7145#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
   7146#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
   7147#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
   7148typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
   7149typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
   7150typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
   7151typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
   7152typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
   7153typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
   7154typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
   7155typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
   7156typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
   7157typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
   7158typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
   7159typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
   7160typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
   7161typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
   7162typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
   7163typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
   7164typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
   7165#ifdef GL_GLEXT_PROTOTYPES
   7166GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
   7167GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
   7168GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
   7169GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
   7170GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
   7171GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
   7172GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
   7173GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
   7174GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
   7175GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
   7176GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
   7177GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
   7178GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
   7179GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
   7180GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
   7181GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
   7182GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
   7183#endif
   7184#endif /* GL_EXT_secondary_color */
   7185
   7186#ifndef GL_EXT_separate_shader_objects
   7187#define GL_EXT_separate_shader_objects 1
   7188#define GL_ACTIVE_PROGRAM_EXT             0x8B8D
   7189typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
   7190typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
   7191typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
   7192#ifdef GL_GLEXT_PROTOTYPES
   7193GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
   7194GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
   7195GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
   7196#endif
   7197#endif /* GL_EXT_separate_shader_objects */
   7198
   7199#ifndef GL_EXT_separate_specular_color
   7200#define GL_EXT_separate_specular_color 1
   7201#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
   7202#define GL_SINGLE_COLOR_EXT               0x81F9
   7203#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
   7204#endif /* GL_EXT_separate_specular_color */
   7205
   7206#ifndef GL_EXT_shader_image_load_formatted
   7207#define GL_EXT_shader_image_load_formatted 1
   7208#endif /* GL_EXT_shader_image_load_formatted */
   7209
   7210#ifndef GL_EXT_shader_image_load_store
   7211#define GL_EXT_shader_image_load_store 1
   7212#define GL_MAX_IMAGE_UNITS_EXT            0x8F38
   7213#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
   7214#define GL_IMAGE_BINDING_NAME_EXT         0x8F3A
   7215#define GL_IMAGE_BINDING_LEVEL_EXT        0x8F3B
   7216#define GL_IMAGE_BINDING_LAYERED_EXT      0x8F3C
   7217#define GL_IMAGE_BINDING_LAYER_EXT        0x8F3D
   7218#define GL_IMAGE_BINDING_ACCESS_EXT       0x8F3E
   7219#define GL_IMAGE_1D_EXT                   0x904C
   7220#define GL_IMAGE_2D_EXT                   0x904D
   7221#define GL_IMAGE_3D_EXT                   0x904E
   7222#define GL_IMAGE_2D_RECT_EXT              0x904F
   7223#define GL_IMAGE_CUBE_EXT                 0x9050
   7224#define GL_IMAGE_BUFFER_EXT               0x9051
   7225#define GL_IMAGE_1D_ARRAY_EXT             0x9052
   7226#define GL_IMAGE_2D_ARRAY_EXT             0x9053
   7227#define GL_IMAGE_CUBE_MAP_ARRAY_EXT       0x9054
   7228#define GL_IMAGE_2D_MULTISAMPLE_EXT       0x9055
   7229#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
   7230#define GL_INT_IMAGE_1D_EXT               0x9057
   7231#define GL_INT_IMAGE_2D_EXT               0x9058
   7232#define GL_INT_IMAGE_3D_EXT               0x9059
   7233#define GL_INT_IMAGE_2D_RECT_EXT          0x905A
   7234#define GL_INT_IMAGE_CUBE_EXT             0x905B
   7235#define GL_INT_IMAGE_BUFFER_EXT           0x905C
   7236#define GL_INT_IMAGE_1D_ARRAY_EXT         0x905D
   7237#define GL_INT_IMAGE_2D_ARRAY_EXT         0x905E
   7238#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT   0x905F
   7239#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT   0x9060
   7240#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
   7241#define GL_UNSIGNED_INT_IMAGE_1D_EXT      0x9062
   7242#define GL_UNSIGNED_INT_IMAGE_2D_EXT      0x9063
   7243#define GL_UNSIGNED_INT_IMAGE_3D_EXT      0x9064
   7244#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
   7245#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT    0x9066
   7246#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT  0x9067
   7247#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
   7248#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
   7249#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
   7250#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
   7251#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
   7252#define GL_MAX_IMAGE_SAMPLES_EXT          0x906D
   7253#define GL_IMAGE_BINDING_FORMAT_EXT       0x906E
   7254#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
   7255#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT  0x00000002
   7256#define GL_UNIFORM_BARRIER_BIT_EXT        0x00000004
   7257#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT  0x00000008
   7258#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
   7259#define GL_COMMAND_BARRIER_BIT_EXT        0x00000040
   7260#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT   0x00000080
   7261#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
   7262#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT  0x00000200
   7263#define GL_FRAMEBUFFER_BARRIER_BIT_EXT    0x00000400
   7264#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
   7265#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
   7266#define GL_ALL_BARRIER_BITS_EXT           0xFFFFFFFF
   7267typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
   7268typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
   7269#ifdef GL_GLEXT_PROTOTYPES
   7270GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
   7271GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
   7272#endif
   7273#endif /* GL_EXT_shader_image_load_store */
   7274
   7275#ifndef GL_EXT_shader_integer_mix
   7276#define GL_EXT_shader_integer_mix 1
   7277#endif /* GL_EXT_shader_integer_mix */
   7278
   7279#ifndef GL_EXT_shadow_funcs
   7280#define GL_EXT_shadow_funcs 1
   7281#endif /* GL_EXT_shadow_funcs */
   7282
   7283#ifndef GL_EXT_shared_texture_palette
   7284#define GL_EXT_shared_texture_palette 1
   7285#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
   7286#endif /* GL_EXT_shared_texture_palette */
   7287
   7288#ifndef GL_EXT_stencil_clear_tag
   7289#define GL_EXT_stencil_clear_tag 1
   7290#define GL_STENCIL_TAG_BITS_EXT           0x88F2
   7291#define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
   7292typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
   7293#ifdef GL_GLEXT_PROTOTYPES
   7294GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
   7295#endif
   7296#endif /* GL_EXT_stencil_clear_tag */
   7297
   7298#ifndef GL_EXT_stencil_two_side
   7299#define GL_EXT_stencil_two_side 1
   7300#define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
   7301#define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
   7302typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
   7303#ifdef GL_GLEXT_PROTOTYPES
   7304GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
   7305#endif
   7306#endif /* GL_EXT_stencil_two_side */
   7307
   7308#ifndef GL_EXT_stencil_wrap
   7309#define GL_EXT_stencil_wrap 1
   7310#define GL_INCR_WRAP_EXT                  0x8507
   7311#define GL_DECR_WRAP_EXT                  0x8508
   7312#endif /* GL_EXT_stencil_wrap */
   7313
   7314#ifndef GL_EXT_subtexture
   7315#define GL_EXT_subtexture 1
   7316typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
   7317typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
   7318#ifdef GL_GLEXT_PROTOTYPES
   7319GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
   7320GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
   7321#endif
   7322#endif /* GL_EXT_subtexture */
   7323
   7324#ifndef GL_EXT_texture
   7325#define GL_EXT_texture 1
   7326#define GL_ALPHA4_EXT                     0x803B
   7327#define GL_ALPHA8_EXT                     0x803C
   7328#define GL_ALPHA12_EXT                    0x803D
   7329#define GL_ALPHA16_EXT                    0x803E
   7330#define GL_LUMINANCE4_EXT                 0x803F
   7331#define GL_LUMINANCE8_EXT                 0x8040
   7332#define GL_LUMINANCE12_EXT                0x8041
   7333#define GL_LUMINANCE16_EXT                0x8042
   7334#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
   7335#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
   7336#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
   7337#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
   7338#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
   7339#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
   7340#define GL_INTENSITY_EXT                  0x8049
   7341#define GL_INTENSITY4_EXT                 0x804A
   7342#define GL_INTENSITY8_EXT                 0x804B
   7343#define GL_INTENSITY12_EXT                0x804C
   7344#define GL_INTENSITY16_EXT                0x804D
   7345#define GL_RGB2_EXT                       0x804E
   7346#define GL_RGB4_EXT                       0x804F
   7347#define GL_RGB5_EXT                       0x8050
   7348#define GL_RGB8_EXT                       0x8051
   7349#define GL_RGB10_EXT                      0x8052
   7350#define GL_RGB12_EXT                      0x8053
   7351#define GL_RGB16_EXT                      0x8054
   7352#define GL_RGBA2_EXT                      0x8055
   7353#define GL_RGBA4_EXT                      0x8056
   7354#define GL_RGB5_A1_EXT                    0x8057
   7355#define GL_RGBA8_EXT                      0x8058
   7356#define GL_RGB10_A2_EXT                   0x8059
   7357#define GL_RGBA12_EXT                     0x805A
   7358#define GL_RGBA16_EXT                     0x805B
   7359#define GL_TEXTURE_RED_SIZE_EXT           0x805C
   7360#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
   7361#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
   7362#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
   7363#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
   7364#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
   7365#define GL_REPLACE_EXT                    0x8062
   7366#define GL_PROXY_TEXTURE_1D_EXT           0x8063
   7367#define GL_PROXY_TEXTURE_2D_EXT           0x8064
   7368#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
   7369#endif /* GL_EXT_texture */
   7370
   7371#ifndef GL_EXT_texture3D
   7372#define GL_EXT_texture3D 1
   7373#define GL_PACK_SKIP_IMAGES_EXT           0x806B
   7374#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
   7375#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
   7376#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
   7377#define GL_TEXTURE_3D_EXT                 0x806F
   7378#define GL_PROXY_TEXTURE_3D_EXT           0x8070
   7379#define GL_TEXTURE_DEPTH_EXT              0x8071
   7380#define GL_TEXTURE_WRAP_R_EXT             0x8072
   7381#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
   7382typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   7383typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   7384#ifdef GL_GLEXT_PROTOTYPES
   7385GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
   7386GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
   7387#endif
   7388#endif /* GL_EXT_texture3D */
   7389
   7390#ifndef GL_EXT_texture_array
   7391#define GL_EXT_texture_array 1
   7392#define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
   7393#define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
   7394#define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
   7395#define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
   7396#define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
   7397#define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
   7398#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
   7399#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
   7400#endif /* GL_EXT_texture_array */
   7401
   7402#ifndef GL_EXT_texture_buffer_object
   7403#define GL_EXT_texture_buffer_object 1
   7404#define GL_TEXTURE_BUFFER_EXT             0x8C2A
   7405#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
   7406#define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
   7407#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
   7408#define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
   7409typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
   7410#ifdef GL_GLEXT_PROTOTYPES
   7411GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
   7412#endif
   7413#endif /* GL_EXT_texture_buffer_object */
   7414
   7415#ifndef GL_EXT_texture_compression_latc
   7416#define GL_EXT_texture_compression_latc 1
   7417#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
   7418#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
   7419#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
   7420#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
   7421#endif /* GL_EXT_texture_compression_latc */
   7422
   7423#ifndef GL_EXT_texture_compression_rgtc
   7424#define GL_EXT_texture_compression_rgtc 1
   7425#define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
   7426#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
   7427#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
   7428#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
   7429#endif /* GL_EXT_texture_compression_rgtc */
   7430
   7431#ifndef GL_EXT_texture_compression_s3tc
   7432#define GL_EXT_texture_compression_s3tc 1
   7433#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
   7434#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
   7435#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
   7436#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
   7437#endif /* GL_EXT_texture_compression_s3tc */
   7438
   7439#ifndef GL_EXT_texture_cube_map
   7440#define GL_EXT_texture_cube_map 1
   7441#define GL_NORMAL_MAP_EXT                 0x8511
   7442#define GL_REFLECTION_MAP_EXT             0x8512
   7443#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
   7444#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
   7445#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
   7446#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
   7447#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
   7448#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
   7449#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
   7450#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
   7451#define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
   7452#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
   7453#endif /* GL_EXT_texture_cube_map */
   7454
   7455#ifndef GL_EXT_texture_env_add
   7456#define GL_EXT_texture_env_add 1
   7457#endif /* GL_EXT_texture_env_add */
   7458
   7459#ifndef GL_EXT_texture_env_combine
   7460#define GL_EXT_texture_env_combine 1
   7461#define GL_COMBINE_EXT                    0x8570
   7462#define GL_COMBINE_RGB_EXT                0x8571
   7463#define GL_COMBINE_ALPHA_EXT              0x8572
   7464#define GL_RGB_SCALE_EXT                  0x8573
   7465#define GL_ADD_SIGNED_EXT                 0x8574
   7466#define GL_INTERPOLATE_EXT                0x8575
   7467#define GL_CONSTANT_EXT                   0x8576
   7468#define GL_PRIMARY_COLOR_EXT              0x8577
   7469#define GL_PREVIOUS_EXT                   0x8578
   7470#define GL_SOURCE0_RGB_EXT                0x8580
   7471#define GL_SOURCE1_RGB_EXT                0x8581
   7472#define GL_SOURCE2_RGB_EXT                0x8582
   7473#define GL_SOURCE0_ALPHA_EXT              0x8588
   7474#define GL_SOURCE1_ALPHA_EXT              0x8589
   7475#define GL_SOURCE2_ALPHA_EXT              0x858A
   7476#define GL_OPERAND0_RGB_EXT               0x8590
   7477#define GL_OPERAND1_RGB_EXT               0x8591
   7478#define GL_OPERAND2_RGB_EXT               0x8592
   7479#define GL_OPERAND0_ALPHA_EXT             0x8598
   7480#define GL_OPERAND1_ALPHA_EXT             0x8599
   7481#define GL_OPERAND2_ALPHA_EXT             0x859A
   7482#endif /* GL_EXT_texture_env_combine */
   7483
   7484#ifndef GL_EXT_texture_env_dot3
   7485#define GL_EXT_texture_env_dot3 1
   7486#define GL_DOT3_RGB_EXT                   0x8740
   7487#define GL_DOT3_RGBA_EXT                  0x8741
   7488#endif /* GL_EXT_texture_env_dot3 */
   7489
   7490#ifndef GL_EXT_texture_filter_anisotropic
   7491#define GL_EXT_texture_filter_anisotropic 1
   7492#define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
   7493#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
   7494#endif /* GL_EXT_texture_filter_anisotropic */
   7495
   7496#ifndef GL_EXT_texture_integer
   7497#define GL_EXT_texture_integer 1
   7498#define GL_RGBA32UI_EXT                   0x8D70
   7499#define GL_RGB32UI_EXT                    0x8D71
   7500#define GL_ALPHA32UI_EXT                  0x8D72
   7501#define GL_INTENSITY32UI_EXT              0x8D73
   7502#define GL_LUMINANCE32UI_EXT              0x8D74
   7503#define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
   7504#define GL_RGBA16UI_EXT                   0x8D76
   7505#define GL_RGB16UI_EXT                    0x8D77
   7506#define GL_ALPHA16UI_EXT                  0x8D78
   7507#define GL_INTENSITY16UI_EXT              0x8D79
   7508#define GL_LUMINANCE16UI_EXT              0x8D7A
   7509#define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
   7510#define GL_RGBA8UI_EXT                    0x8D7C
   7511#define GL_RGB8UI_EXT                     0x8D7D
   7512#define GL_ALPHA8UI_EXT                   0x8D7E
   7513#define GL_INTENSITY8UI_EXT               0x8D7F
   7514#define GL_LUMINANCE8UI_EXT               0x8D80
   7515#define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
   7516#define GL_RGBA32I_EXT                    0x8D82
   7517#define GL_RGB32I_EXT                     0x8D83
   7518#define GL_ALPHA32I_EXT                   0x8D84
   7519#define GL_INTENSITY32I_EXT               0x8D85
   7520#define GL_LUMINANCE32I_EXT               0x8D86
   7521#define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
   7522#define GL_RGBA16I_EXT                    0x8D88
   7523#define GL_RGB16I_EXT                     0x8D89
   7524#define GL_ALPHA16I_EXT                   0x8D8A
   7525#define GL_INTENSITY16I_EXT               0x8D8B
   7526#define GL_LUMINANCE16I_EXT               0x8D8C
   7527#define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
   7528#define GL_RGBA8I_EXT                     0x8D8E
   7529#define GL_RGB8I_EXT                      0x8D8F
   7530#define GL_ALPHA8I_EXT                    0x8D90
   7531#define GL_INTENSITY8I_EXT                0x8D91
   7532#define GL_LUMINANCE8I_EXT                0x8D92
   7533#define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
   7534#define GL_RED_INTEGER_EXT                0x8D94
   7535#define GL_GREEN_INTEGER_EXT              0x8D95
   7536#define GL_BLUE_INTEGER_EXT               0x8D96
   7537#define GL_ALPHA_INTEGER_EXT              0x8D97
   7538#define GL_RGB_INTEGER_EXT                0x8D98
   7539#define GL_RGBA_INTEGER_EXT               0x8D99
   7540#define GL_BGR_INTEGER_EXT                0x8D9A
   7541#define GL_BGRA_INTEGER_EXT               0x8D9B
   7542#define GL_LUMINANCE_INTEGER_EXT          0x8D9C
   7543#define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
   7544#define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
   7545typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
   7546typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
   7547typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   7548typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
   7549typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
   7550typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
   7551#ifdef GL_GLEXT_PROTOTYPES
   7552GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
   7553GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
   7554GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
   7555GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
   7556GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
   7557GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
   7558#endif
   7559#endif /* GL_EXT_texture_integer */
   7560
   7561#ifndef GL_EXT_texture_lod_bias
   7562#define GL_EXT_texture_lod_bias 1
   7563#define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
   7564#define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
   7565#define GL_TEXTURE_LOD_BIAS_EXT           0x8501
   7566#endif /* GL_EXT_texture_lod_bias */
   7567
   7568#ifndef GL_EXT_texture_mirror_clamp
   7569#define GL_EXT_texture_mirror_clamp 1
   7570#define GL_MIRROR_CLAMP_EXT               0x8742
   7571#define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
   7572#define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
   7573#endif /* GL_EXT_texture_mirror_clamp */
   7574
   7575#ifndef GL_EXT_texture_object
   7576#define GL_EXT_texture_object 1
   7577#define GL_TEXTURE_PRIORITY_EXT           0x8066
   7578#define GL_TEXTURE_RESIDENT_EXT           0x8067
   7579#define GL_TEXTURE_1D_BINDING_EXT         0x8068
   7580#define GL_TEXTURE_2D_BINDING_EXT         0x8069
   7581#define GL_TEXTURE_3D_BINDING_EXT         0x806A
   7582typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
   7583typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
   7584typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
   7585typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
   7586typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
   7587typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
   7588#ifdef GL_GLEXT_PROTOTYPES
   7589GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
   7590GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
   7591GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
   7592GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
   7593GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
   7594GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
   7595#endif
   7596#endif /* GL_EXT_texture_object */
   7597
   7598#ifndef GL_EXT_texture_perturb_normal
   7599#define GL_EXT_texture_perturb_normal 1
   7600#define GL_PERTURB_EXT                    0x85AE
   7601#define GL_TEXTURE_NORMAL_EXT             0x85AF
   7602typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
   7603#ifdef GL_GLEXT_PROTOTYPES
   7604GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
   7605#endif
   7606#endif /* GL_EXT_texture_perturb_normal */
   7607
   7608#ifndef GL_EXT_texture_sRGB
   7609#define GL_EXT_texture_sRGB 1
   7610#define GL_SRGB_EXT                       0x8C40
   7611#define GL_SRGB8_EXT                      0x8C41
   7612#define GL_SRGB_ALPHA_EXT                 0x8C42
   7613#define GL_SRGB8_ALPHA8_EXT               0x8C43
   7614#define GL_SLUMINANCE_ALPHA_EXT           0x8C44
   7615#define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
   7616#define GL_SLUMINANCE_EXT                 0x8C46
   7617#define GL_SLUMINANCE8_EXT                0x8C47
   7618#define GL_COMPRESSED_SRGB_EXT            0x8C48
   7619#define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
   7620#define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
   7621#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
   7622#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
   7623#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
   7624#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
   7625#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
   7626#endif /* GL_EXT_texture_sRGB */
   7627
   7628#ifndef GL_EXT_texture_sRGB_decode
   7629#define GL_EXT_texture_sRGB_decode 1
   7630#define GL_TEXTURE_SRGB_DECODE_EXT        0x8A48
   7631#define GL_DECODE_EXT                     0x8A49
   7632#define GL_SKIP_DECODE_EXT                0x8A4A
   7633#endif /* GL_EXT_texture_sRGB_decode */
   7634
   7635#ifndef GL_EXT_texture_shared_exponent
   7636#define GL_EXT_texture_shared_exponent 1
   7637#define GL_RGB9_E5_EXT                    0x8C3D
   7638#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
   7639#define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
   7640#endif /* GL_EXT_texture_shared_exponent */
   7641
   7642#ifndef GL_EXT_texture_snorm
   7643#define GL_EXT_texture_snorm 1
   7644#define GL_ALPHA_SNORM                    0x9010
   7645#define GL_LUMINANCE_SNORM                0x9011
   7646#define GL_LUMINANCE_ALPHA_SNORM          0x9012
   7647#define GL_INTENSITY_SNORM                0x9013
   7648#define GL_ALPHA8_SNORM                   0x9014
   7649#define GL_LUMINANCE8_SNORM               0x9015
   7650#define GL_LUMINANCE8_ALPHA8_SNORM        0x9016
   7651#define GL_INTENSITY8_SNORM               0x9017
   7652#define GL_ALPHA16_SNORM                  0x9018
   7653#define GL_LUMINANCE16_SNORM              0x9019
   7654#define GL_LUMINANCE16_ALPHA16_SNORM      0x901A
   7655#define GL_INTENSITY16_SNORM              0x901B
   7656#define GL_RED_SNORM                      0x8F90
   7657#define GL_RG_SNORM                       0x8F91
   7658#define GL_RGB_SNORM                      0x8F92
   7659#define GL_RGBA_SNORM                     0x8F93
   7660#endif /* GL_EXT_texture_snorm */
   7661
   7662#ifndef GL_EXT_texture_swizzle
   7663#define GL_EXT_texture_swizzle 1
   7664#define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
   7665#define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
   7666#define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
   7667#define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
   7668#define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
   7669#endif /* GL_EXT_texture_swizzle */
   7670
   7671#ifndef GL_EXT_timer_query
   7672#define GL_EXT_timer_query 1
   7673#define GL_TIME_ELAPSED_EXT               0x88BF
   7674typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
   7675typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
   7676#ifdef GL_GLEXT_PROTOTYPES
   7677GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
   7678GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
   7679#endif
   7680#endif /* GL_EXT_timer_query */
   7681
   7682#ifndef GL_EXT_transform_feedback
   7683#define GL_EXT_transform_feedback 1
   7684#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
   7685#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
   7686#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
   7687#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
   7688#define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
   7689#define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
   7690#define GL_PRIMITIVES_GENERATED_EXT       0x8C87
   7691#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
   7692#define GL_RASTERIZER_DISCARD_EXT         0x8C89
   7693#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
   7694#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
   7695#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
   7696#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
   7697#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
   7698#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
   7699typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
   7700typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
   7701typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   7702typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
   7703typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
   7704typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
   7705typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
   7706#ifdef GL_GLEXT_PROTOTYPES
   7707GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
   7708GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
   7709GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   7710GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
   7711GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
   7712GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
   7713GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
   7714#endif
   7715#endif /* GL_EXT_transform_feedback */
   7716
   7717#ifndef GL_EXT_vertex_array
   7718#define GL_EXT_vertex_array 1
   7719#define GL_VERTEX_ARRAY_EXT               0x8074
   7720#define GL_NORMAL_ARRAY_EXT               0x8075
   7721#define GL_COLOR_ARRAY_EXT                0x8076
   7722#define GL_INDEX_ARRAY_EXT                0x8077
   7723#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
   7724#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
   7725#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
   7726#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
   7727#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
   7728#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
   7729#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
   7730#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
   7731#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
   7732#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
   7733#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
   7734#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
   7735#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
   7736#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
   7737#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
   7738#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
   7739#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
   7740#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
   7741#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
   7742#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
   7743#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
   7744#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
   7745#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
   7746#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
   7747#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
   7748#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
   7749#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
   7750#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
   7751typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
   7752typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7753typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
   7754typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
   7755typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
   7756typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7757typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7758typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7759typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7760#ifdef GL_GLEXT_PROTOTYPES
   7761GLAPI void APIENTRY glArrayElementEXT (GLint i);
   7762GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7763GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
   7764GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
   7765GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
   7766GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7767GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7768GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7769GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
   7770#endif
   7771#endif /* GL_EXT_vertex_array */
   7772
   7773#ifndef GL_EXT_vertex_array_bgra
   7774#define GL_EXT_vertex_array_bgra 1
   7775#endif /* GL_EXT_vertex_array_bgra */
   7776
   7777#ifndef GL_EXT_vertex_attrib_64bit
   7778#define GL_EXT_vertex_attrib_64bit 1
   7779#define GL_DOUBLE_VEC2_EXT                0x8FFC
   7780#define GL_DOUBLE_VEC3_EXT                0x8FFD
   7781#define GL_DOUBLE_VEC4_EXT                0x8FFE
   7782#define GL_DOUBLE_MAT2_EXT                0x8F46
   7783#define GL_DOUBLE_MAT3_EXT                0x8F47
   7784#define GL_DOUBLE_MAT4_EXT                0x8F48
   7785#define GL_DOUBLE_MAT2x3_EXT              0x8F49
   7786#define GL_DOUBLE_MAT2x4_EXT              0x8F4A
   7787#define GL_DOUBLE_MAT3x2_EXT              0x8F4B
   7788#define GL_DOUBLE_MAT3x4_EXT              0x8F4C
   7789#define GL_DOUBLE_MAT4x2_EXT              0x8F4D
   7790#define GL_DOUBLE_MAT4x3_EXT              0x8F4E
   7791typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
   7792typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
   7793typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   7794typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   7795typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
   7796typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
   7797typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
   7798typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
   7799typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
   7800typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
   7801#ifdef GL_GLEXT_PROTOTYPES
   7802GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
   7803GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
   7804GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   7805GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   7806GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
   7807GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
   7808GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
   7809GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
   7810GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
   7811GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
   7812#endif
   7813#endif /* GL_EXT_vertex_attrib_64bit */
   7814
   7815#ifndef GL_EXT_vertex_shader
   7816#define GL_EXT_vertex_shader 1
   7817#define GL_VERTEX_SHADER_EXT              0x8780
   7818#define GL_VERTEX_SHADER_BINDING_EXT      0x8781
   7819#define GL_OP_INDEX_EXT                   0x8782
   7820#define GL_OP_NEGATE_EXT                  0x8783
   7821#define GL_OP_DOT3_EXT                    0x8784
   7822#define GL_OP_DOT4_EXT                    0x8785
   7823#define GL_OP_MUL_EXT                     0x8786
   7824#define GL_OP_ADD_EXT                     0x8787
   7825#define GL_OP_MADD_EXT                    0x8788
   7826#define GL_OP_FRAC_EXT                    0x8789
   7827#define GL_OP_MAX_EXT                     0x878A
   7828#define GL_OP_MIN_EXT                     0x878B
   7829#define GL_OP_SET_GE_EXT                  0x878C
   7830#define GL_OP_SET_LT_EXT                  0x878D
   7831#define GL_OP_CLAMP_EXT                   0x878E
   7832#define GL_OP_FLOOR_EXT                   0x878F
   7833#define GL_OP_ROUND_EXT                   0x8790
   7834#define GL_OP_EXP_BASE_2_EXT              0x8791
   7835#define GL_OP_LOG_BASE_2_EXT              0x8792
   7836#define GL_OP_POWER_EXT                   0x8793
   7837#define GL_OP_RECIP_EXT                   0x8794
   7838#define GL_OP_RECIP_SQRT_EXT              0x8795
   7839#define GL_OP_SUB_EXT                     0x8796
   7840#define GL_OP_CROSS_PRODUCT_EXT           0x8797
   7841#define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
   7842#define GL_OP_MOV_EXT                     0x8799
   7843#define GL_OUTPUT_VERTEX_EXT              0x879A
   7844#define GL_OUTPUT_COLOR0_EXT              0x879B
   7845#define GL_OUTPUT_COLOR1_EXT              0x879C
   7846#define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
   7847#define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
   7848#define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
   7849#define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
   7850#define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
   7851#define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
   7852#define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
   7853#define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
   7854#define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
   7855#define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
   7856#define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
   7857#define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
   7858#define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
   7859#define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
   7860#define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
   7861#define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
   7862#define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
   7863#define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
   7864#define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
   7865#define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
   7866#define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
   7867#define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
   7868#define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
   7869#define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
   7870#define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
   7871#define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
   7872#define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
   7873#define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
   7874#define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
   7875#define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
   7876#define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
   7877#define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
   7878#define GL_OUTPUT_FOG_EXT                 0x87BD
   7879#define GL_SCALAR_EXT                     0x87BE
   7880#define GL_VECTOR_EXT                     0x87BF
   7881#define GL_MATRIX_EXT                     0x87C0
   7882#define GL_VARIANT_EXT                    0x87C1
   7883#define GL_INVARIANT_EXT                  0x87C2
   7884#define GL_LOCAL_CONSTANT_EXT             0x87C3
   7885#define GL_LOCAL_EXT                      0x87C4
   7886#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
   7887#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
   7888#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
   7889#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
   7890#define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
   7891#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
   7892#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
   7893#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
   7894#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
   7895#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
   7896#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
   7897#define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
   7898#define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
   7899#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
   7900#define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
   7901#define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
   7902#define GL_X_EXT                          0x87D5
   7903#define GL_Y_EXT                          0x87D6
   7904#define GL_Z_EXT                          0x87D7
   7905#define GL_W_EXT                          0x87D8
   7906#define GL_NEGATIVE_X_EXT                 0x87D9
   7907#define GL_NEGATIVE_Y_EXT                 0x87DA
   7908#define GL_NEGATIVE_Z_EXT                 0x87DB
   7909#define GL_NEGATIVE_W_EXT                 0x87DC
   7910#define GL_ZERO_EXT                       0x87DD
   7911#define GL_ONE_EXT                        0x87DE
   7912#define GL_NEGATIVE_ONE_EXT               0x87DF
   7913#define GL_NORMALIZED_RANGE_EXT           0x87E0
   7914#define GL_FULL_RANGE_EXT                 0x87E1
   7915#define GL_CURRENT_VERTEX_EXT             0x87E2
   7916#define GL_MVP_MATRIX_EXT                 0x87E3
   7917#define GL_VARIANT_VALUE_EXT              0x87E4
   7918#define GL_VARIANT_DATATYPE_EXT           0x87E5
   7919#define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
   7920#define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
   7921#define GL_VARIANT_ARRAY_EXT              0x87E8
   7922#define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
   7923#define GL_INVARIANT_VALUE_EXT            0x87EA
   7924#define GL_INVARIANT_DATATYPE_EXT         0x87EB
   7925#define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
   7926#define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
   7927typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
   7928typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
   7929typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
   7930typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
   7931typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
   7932typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
   7933typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
   7934typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
   7935typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
   7936typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
   7937typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
   7938typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
   7939typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
   7940typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
   7941typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
   7942typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
   7943typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
   7944typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
   7945typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
   7946typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
   7947typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
   7948typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
   7949typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
   7950typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
   7951typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
   7952typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
   7953typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
   7954typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
   7955typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
   7956typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
   7957typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
   7958typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
   7959typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
   7960typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
   7961typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
   7962typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
   7963typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
   7964typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
   7965typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
   7966typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
   7967typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
   7968typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
   7969#ifdef GL_GLEXT_PROTOTYPES
   7970GLAPI void APIENTRY glBeginVertexShaderEXT (void);
   7971GLAPI void APIENTRY glEndVertexShaderEXT (void);
   7972GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
   7973GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
   7974GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
   7975GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
   7976GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
   7977GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
   7978GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
   7979GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
   7980GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
   7981GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
   7982GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
   7983GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
   7984GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
   7985GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
   7986GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
   7987GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
   7988GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
   7989GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
   7990GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
   7991GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
   7992GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
   7993GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
   7994GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
   7995GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
   7996GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
   7997GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
   7998GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
   7999GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
   8000GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
   8001GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
   8002GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
   8003GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
   8004GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
   8005GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
   8006GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
   8007GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
   8008GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
   8009GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
   8010GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
   8011GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
   8012#endif
   8013#endif /* GL_EXT_vertex_shader */
   8014
   8015#ifndef GL_EXT_vertex_weighting
   8016#define GL_EXT_vertex_weighting 1
   8017#define GL_MODELVIEW0_STACK_DEPTH_EXT     0x0BA3
   8018#define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
   8019#define GL_MODELVIEW0_MATRIX_EXT          0x0BA6
   8020#define GL_MODELVIEW1_MATRIX_EXT          0x8506
   8021#define GL_VERTEX_WEIGHTING_EXT           0x8509
   8022#define GL_MODELVIEW0_EXT                 0x1700
   8023#define GL_MODELVIEW1_EXT                 0x850A
   8024#define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
   8025#define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
   8026#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
   8027#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
   8028#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
   8029#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
   8030typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
   8031typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
   8032typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
   8033#ifdef GL_GLEXT_PROTOTYPES
   8034GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
   8035GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
   8036GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
   8037#endif
   8038#endif /* GL_EXT_vertex_weighting */
   8039
   8040#ifndef GL_EXT_x11_sync_object
   8041#define GL_EXT_x11_sync_object 1
   8042#define GL_SYNC_X11_FENCE_EXT             0x90E1
   8043typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
   8044#ifdef GL_GLEXT_PROTOTYPES
   8045GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
   8046#endif
   8047#endif /* GL_EXT_x11_sync_object */
   8048
   8049#ifndef GL_GREMEDY_frame_terminator
   8050#define GL_GREMEDY_frame_terminator 1
   8051typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
   8052#ifdef GL_GLEXT_PROTOTYPES
   8053GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
   8054#endif
   8055#endif /* GL_GREMEDY_frame_terminator */
   8056
   8057#ifndef GL_GREMEDY_string_marker
   8058#define GL_GREMEDY_string_marker 1
   8059typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
   8060#ifdef GL_GLEXT_PROTOTYPES
   8061GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
   8062#endif
   8063#endif /* GL_GREMEDY_string_marker */
   8064
   8065#ifndef GL_HP_convolution_border_modes
   8066#define GL_HP_convolution_border_modes 1
   8067#define GL_IGNORE_BORDER_HP               0x8150
   8068#define GL_CONSTANT_BORDER_HP             0x8151
   8069#define GL_REPLICATE_BORDER_HP            0x8153
   8070#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
   8071#endif /* GL_HP_convolution_border_modes */
   8072
   8073#ifndef GL_HP_image_transform
   8074#define GL_HP_image_transform 1
   8075#define GL_IMAGE_SCALE_X_HP               0x8155
   8076#define GL_IMAGE_SCALE_Y_HP               0x8156
   8077#define GL_IMAGE_TRANSLATE_X_HP           0x8157
   8078#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
   8079#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
   8080#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
   8081#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
   8082#define GL_IMAGE_MAG_FILTER_HP            0x815C
   8083#define GL_IMAGE_MIN_FILTER_HP            0x815D
   8084#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
   8085#define GL_CUBIC_HP                       0x815F
   8086#define GL_AVERAGE_HP                     0x8160
   8087#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
   8088#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
   8089#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
   8090typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
   8091typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
   8092typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
   8093typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
   8094typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
   8095typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
   8096#ifdef GL_GLEXT_PROTOTYPES
   8097GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
   8098GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
   8099GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
   8100GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
   8101GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
   8102GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
   8103#endif
   8104#endif /* GL_HP_image_transform */
   8105
   8106#ifndef GL_HP_occlusion_test
   8107#define GL_HP_occlusion_test 1
   8108#define GL_OCCLUSION_TEST_HP              0x8165
   8109#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
   8110#endif /* GL_HP_occlusion_test */
   8111
   8112#ifndef GL_HP_texture_lighting
   8113#define GL_HP_texture_lighting 1
   8114#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
   8115#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
   8116#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
   8117#endif /* GL_HP_texture_lighting */
   8118
   8119#ifndef GL_IBM_cull_vertex
   8120#define GL_IBM_cull_vertex 1
   8121#define GL_CULL_VERTEX_IBM                103050
   8122#endif /* GL_IBM_cull_vertex */
   8123
   8124#ifndef GL_IBM_multimode_draw_arrays
   8125#define GL_IBM_multimode_draw_arrays 1
   8126typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
   8127typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
   8128#ifdef GL_GLEXT_PROTOTYPES
   8129GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
   8130GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
   8131#endif
   8132#endif /* GL_IBM_multimode_draw_arrays */
   8133
   8134#ifndef GL_IBM_rasterpos_clip
   8135#define GL_IBM_rasterpos_clip 1
   8136#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
   8137#endif /* GL_IBM_rasterpos_clip */
   8138
   8139#ifndef GL_IBM_static_data
   8140#define GL_IBM_static_data 1
   8141#define GL_ALL_STATIC_DATA_IBM            103060
   8142#define GL_STATIC_VERTEX_ARRAY_IBM        103061
   8143typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
   8144#ifdef GL_GLEXT_PROTOTYPES
   8145GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
   8146#endif
   8147#endif /* GL_IBM_static_data */
   8148
   8149#ifndef GL_IBM_texture_mirrored_repeat
   8150#define GL_IBM_texture_mirrored_repeat 1
   8151#define GL_MIRRORED_REPEAT_IBM            0x8370
   8152#endif /* GL_IBM_texture_mirrored_repeat */
   8153
   8154#ifndef GL_IBM_vertex_array_lists
   8155#define GL_IBM_vertex_array_lists 1
   8156#define GL_VERTEX_ARRAY_LIST_IBM          103070
   8157#define GL_NORMAL_ARRAY_LIST_IBM          103071
   8158#define GL_COLOR_ARRAY_LIST_IBM           103072
   8159#define GL_INDEX_ARRAY_LIST_IBM           103073
   8160#define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
   8161#define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
   8162#define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
   8163#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
   8164#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
   8165#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
   8166#define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
   8167#define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
   8168#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
   8169#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
   8170#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
   8171#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
   8172typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8173typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8174typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
   8175typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8176typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8177typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8178typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8179typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8180#ifdef GL_GLEXT_PROTOTYPES
   8181GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8182GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8183GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
   8184GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8185GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8186GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8187GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8188GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
   8189#endif
   8190#endif /* GL_IBM_vertex_array_lists */
   8191
   8192#ifndef GL_INGR_blend_func_separate
   8193#define GL_INGR_blend_func_separate 1
   8194typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   8195#ifdef GL_GLEXT_PROTOTYPES
   8196GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   8197#endif
   8198#endif /* GL_INGR_blend_func_separate */
   8199
   8200#ifndef GL_INGR_color_clamp
   8201#define GL_INGR_color_clamp 1
   8202#define GL_RED_MIN_CLAMP_INGR             0x8560
   8203#define GL_GREEN_MIN_CLAMP_INGR           0x8561
   8204#define GL_BLUE_MIN_CLAMP_INGR            0x8562
   8205#define GL_ALPHA_MIN_CLAMP_INGR           0x8563
   8206#define GL_RED_MAX_CLAMP_INGR             0x8564
   8207#define GL_GREEN_MAX_CLAMP_INGR           0x8565
   8208#define GL_BLUE_MAX_CLAMP_INGR            0x8566
   8209#define GL_ALPHA_MAX_CLAMP_INGR           0x8567
   8210#endif /* GL_INGR_color_clamp */
   8211
   8212#ifndef GL_INGR_interlace_read
   8213#define GL_INGR_interlace_read 1
   8214#define GL_INTERLACE_READ_INGR            0x8568
   8215#endif /* GL_INGR_interlace_read */
   8216
   8217#ifndef GL_INTEL_fragment_shader_ordering
   8218#define GL_INTEL_fragment_shader_ordering 1
   8219#endif /* GL_INTEL_fragment_shader_ordering */
   8220
   8221#ifndef GL_INTEL_map_texture
   8222#define GL_INTEL_map_texture 1
   8223#define GL_TEXTURE_MEMORY_LAYOUT_INTEL    0x83FF
   8224#define GL_LAYOUT_DEFAULT_INTEL           0
   8225#define GL_LAYOUT_LINEAR_INTEL            1
   8226#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
   8227typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
   8228typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
   8229typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
   8230#ifdef GL_GLEXT_PROTOTYPES
   8231GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
   8232GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
   8233GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
   8234#endif
   8235#endif /* GL_INTEL_map_texture */
   8236
   8237#ifndef GL_INTEL_parallel_arrays
   8238#define GL_INTEL_parallel_arrays 1
   8239#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
   8240#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
   8241#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
   8242#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
   8243#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
   8244typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
   8245typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
   8246typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
   8247typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
   8248#ifdef GL_GLEXT_PROTOTYPES
   8249GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
   8250GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
   8251GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
   8252GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
   8253#endif
   8254#endif /* GL_INTEL_parallel_arrays */
   8255
   8256#ifndef GL_INTEL_performance_query
   8257#define GL_INTEL_performance_query 1
   8258#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
   8259#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
   8260#define GL_PERFQUERY_WAIT_INTEL           0x83FB
   8261#define GL_PERFQUERY_FLUSH_INTEL          0x83FA
   8262#define GL_PERFQUERY_DONOT_FLUSH_INTEL    0x83F9
   8263#define GL_PERFQUERY_COUNTER_EVENT_INTEL  0x94F0
   8264#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
   8265#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
   8266#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
   8267#define GL_PERFQUERY_COUNTER_RAW_INTEL    0x94F4
   8268#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
   8269#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
   8270#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
   8271#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
   8272#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
   8273#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
   8274#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
   8275#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
   8276#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
   8277#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
   8278typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
   8279typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
   8280typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
   8281typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
   8282typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
   8283typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
   8284typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
   8285typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
   8286typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
   8287typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
   8288#ifdef GL_GLEXT_PROTOTYPES
   8289GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
   8290GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
   8291GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
   8292GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
   8293GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
   8294GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
   8295GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
   8296GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
   8297GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
   8298GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
   8299#endif
   8300#endif /* GL_INTEL_performance_query */
   8301
   8302#ifndef GL_MESAX_texture_stack
   8303#define GL_MESAX_texture_stack 1
   8304#define GL_TEXTURE_1D_STACK_MESAX         0x8759
   8305#define GL_TEXTURE_2D_STACK_MESAX         0x875A
   8306#define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
   8307#define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
   8308#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
   8309#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
   8310#endif /* GL_MESAX_texture_stack */
   8311
   8312#ifndef GL_MESA_pack_invert
   8313#define GL_MESA_pack_invert 1
   8314#define GL_PACK_INVERT_MESA               0x8758
   8315#endif /* GL_MESA_pack_invert */
   8316
   8317#ifndef GL_MESA_resize_buffers
   8318#define GL_MESA_resize_buffers 1
   8319typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
   8320#ifdef GL_GLEXT_PROTOTYPES
   8321GLAPI void APIENTRY glResizeBuffersMESA (void);
   8322#endif
   8323#endif /* GL_MESA_resize_buffers */
   8324
   8325#ifndef GL_MESA_window_pos
   8326#define GL_MESA_window_pos 1
   8327typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
   8328typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
   8329typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
   8330typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
   8331typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
   8332typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
   8333typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
   8334typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
   8335typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
   8336typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
   8337typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
   8338typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
   8339typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
   8340typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
   8341typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
   8342typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
   8343typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   8344typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
   8345typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   8346typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
   8347typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
   8348typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
   8349typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
   8350typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
   8351#ifdef GL_GLEXT_PROTOTYPES
   8352GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
   8353GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
   8354GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
   8355GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
   8356GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
   8357GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
   8358GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
   8359GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
   8360GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
   8361GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
   8362GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
   8363GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
   8364GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
   8365GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
   8366GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
   8367GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
   8368GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   8369GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
   8370GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   8371GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
   8372GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
   8373GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
   8374GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
   8375GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
   8376#endif
   8377#endif /* GL_MESA_window_pos */
   8378
   8379#ifndef GL_MESA_ycbcr_texture
   8380#define GL_MESA_ycbcr_texture 1
   8381#define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
   8382#define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
   8383#define GL_YCBCR_MESA                     0x8757
   8384#endif /* GL_MESA_ycbcr_texture */
   8385
   8386#ifndef GL_NVX_conditional_render
   8387#define GL_NVX_conditional_render 1
   8388typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
   8389typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
   8390#ifdef GL_GLEXT_PROTOTYPES
   8391GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
   8392GLAPI void APIENTRY glEndConditionalRenderNVX (void);
   8393#endif
   8394#endif /* GL_NVX_conditional_render */
   8395
   8396#ifndef GL_NVX_gpu_memory_info
   8397#define GL_NVX_gpu_memory_info 1
   8398#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
   8399#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
   8400#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
   8401#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
   8402#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
   8403#endif /* GL_NVX_gpu_memory_info */
   8404
   8405#ifndef GL_NV_bindless_multi_draw_indirect
   8406#define GL_NV_bindless_multi_draw_indirect 1
   8407typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
   8408typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
   8409#ifdef GL_GLEXT_PROTOTYPES
   8410GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
   8411GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
   8412#endif
   8413#endif /* GL_NV_bindless_multi_draw_indirect */
   8414
   8415#ifndef GL_NV_bindless_texture
   8416#define GL_NV_bindless_texture 1
   8417typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
   8418typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
   8419typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
   8420typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
   8421typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
   8422typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
   8423typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
   8424typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
   8425typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
   8426typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
   8427typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
   8428typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
   8429typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
   8430#ifdef GL_GLEXT_PROTOTYPES
   8431GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
   8432GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
   8433GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
   8434GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
   8435GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
   8436GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
   8437GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
   8438GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
   8439GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
   8440GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
   8441GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
   8442GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
   8443GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
   8444#endif
   8445#endif /* GL_NV_bindless_texture */
   8446
   8447#ifndef GL_NV_blend_equation_advanced
   8448#define GL_NV_blend_equation_advanced 1
   8449#define GL_BLEND_OVERLAP_NV               0x9281
   8450#define GL_BLEND_PREMULTIPLIED_SRC_NV     0x9280
   8451#define GL_BLUE_NV                        0x1905
   8452#define GL_COLORBURN_NV                   0x929A
   8453#define GL_COLORDODGE_NV                  0x9299
   8454#define GL_CONJOINT_NV                    0x9284
   8455#define GL_CONTRAST_NV                    0x92A1
   8456#define GL_DARKEN_NV                      0x9297
   8457#define GL_DIFFERENCE_NV                  0x929E
   8458#define GL_DISJOINT_NV                    0x9283
   8459#define GL_DST_ATOP_NV                    0x928F
   8460#define GL_DST_IN_NV                      0x928B
   8461#define GL_DST_NV                         0x9287
   8462#define GL_DST_OUT_NV                     0x928D
   8463#define GL_DST_OVER_NV                    0x9289
   8464#define GL_EXCLUSION_NV                   0x92A0
   8465#define GL_GREEN_NV                       0x1904
   8466#define GL_HARDLIGHT_NV                   0x929B
   8467#define GL_HARDMIX_NV                     0x92A9
   8468#define GL_HSL_COLOR_NV                   0x92AF
   8469#define GL_HSL_HUE_NV                     0x92AD
   8470#define GL_HSL_LUMINOSITY_NV              0x92B0
   8471#define GL_HSL_SATURATION_NV              0x92AE
   8472#define GL_INVERT_OVG_NV                  0x92B4
   8473#define GL_INVERT_RGB_NV                  0x92A3
   8474#define GL_LIGHTEN_NV                     0x9298
   8475#define GL_LINEARBURN_NV                  0x92A5
   8476#define GL_LINEARDODGE_NV                 0x92A4
   8477#define GL_LINEARLIGHT_NV                 0x92A7
   8478#define GL_MINUS_CLAMPED_NV               0x92B3
   8479#define GL_MINUS_NV                       0x929F
   8480#define GL_MULTIPLY_NV                    0x9294
   8481#define GL_OVERLAY_NV                     0x9296
   8482#define GL_PINLIGHT_NV                    0x92A8
   8483#define GL_PLUS_CLAMPED_ALPHA_NV          0x92B2
   8484#define GL_PLUS_CLAMPED_NV                0x92B1
   8485#define GL_PLUS_DARKER_NV                 0x9292
   8486#define GL_PLUS_NV                        0x9291
   8487#define GL_RED_NV                         0x1903
   8488#define GL_SCREEN_NV                      0x9295
   8489#define GL_SOFTLIGHT_NV                   0x929C
   8490#define GL_SRC_ATOP_NV                    0x928E
   8491#define GL_SRC_IN_NV                      0x928A
   8492#define GL_SRC_NV                         0x9286
   8493#define GL_SRC_OUT_NV                     0x928C
   8494#define GL_SRC_OVER_NV                    0x9288
   8495#define GL_UNCORRELATED_NV                0x9282
   8496#define GL_VIVIDLIGHT_NV                  0x92A6
   8497#define GL_XOR_NV                         0x1506
   8498typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
   8499typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
   8500#ifdef GL_GLEXT_PROTOTYPES
   8501GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
   8502GLAPI void APIENTRY glBlendBarrierNV (void);
   8503#endif
   8504#endif /* GL_NV_blend_equation_advanced */
   8505
   8506#ifndef GL_NV_blend_equation_advanced_coherent
   8507#define GL_NV_blend_equation_advanced_coherent 1
   8508#define GL_BLEND_ADVANCED_COHERENT_NV     0x9285
   8509#endif /* GL_NV_blend_equation_advanced_coherent */
   8510
   8511#ifndef GL_NV_blend_square
   8512#define GL_NV_blend_square 1
   8513#endif /* GL_NV_blend_square */
   8514
   8515#ifndef GL_NV_compute_program5
   8516#define GL_NV_compute_program5 1
   8517#define GL_COMPUTE_PROGRAM_NV             0x90FB
   8518#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
   8519#endif /* GL_NV_compute_program5 */
   8520
   8521#ifndef GL_NV_conditional_render
   8522#define GL_NV_conditional_render 1
   8523#define GL_QUERY_WAIT_NV                  0x8E13
   8524#define GL_QUERY_NO_WAIT_NV               0x8E14
   8525#define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
   8526#define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
   8527typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
   8528typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
   8529#ifdef GL_GLEXT_PROTOTYPES
   8530GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
   8531GLAPI void APIENTRY glEndConditionalRenderNV (void);
   8532#endif
   8533#endif /* GL_NV_conditional_render */
   8534
   8535#ifndef GL_NV_copy_depth_to_color
   8536#define GL_NV_copy_depth_to_color 1
   8537#define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
   8538#define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
   8539#endif /* GL_NV_copy_depth_to_color */
   8540
   8541#ifndef GL_NV_copy_image
   8542#define GL_NV_copy_image 1
   8543typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
   8544#ifdef GL_GLEXT_PROTOTYPES
   8545GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
   8546#endif
   8547#endif /* GL_NV_copy_image */
   8548
   8549#ifndef GL_NV_deep_texture3D
   8550#define GL_NV_deep_texture3D 1
   8551#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
   8552#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV   0x90D1
   8553#endif /* GL_NV_deep_texture3D */
   8554
   8555#ifndef GL_NV_depth_buffer_float
   8556#define GL_NV_depth_buffer_float 1
   8557#define GL_DEPTH_COMPONENT32F_NV          0x8DAB
   8558#define GL_DEPTH32F_STENCIL8_NV           0x8DAC
   8559#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
   8560#define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
   8561typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
   8562typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
   8563typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
   8564#ifdef GL_GLEXT_PROTOTYPES
   8565GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
   8566GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
   8567GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
   8568#endif
   8569#endif /* GL_NV_depth_buffer_float */
   8570
   8571#ifndef GL_NV_depth_clamp
   8572#define GL_NV_depth_clamp 1
   8573#define GL_DEPTH_CLAMP_NV                 0x864F
   8574#endif /* GL_NV_depth_clamp */
   8575
   8576#ifndef GL_NV_draw_texture
   8577#define GL_NV_draw_texture 1
   8578typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
   8579#ifdef GL_GLEXT_PROTOTYPES
   8580GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
   8581#endif
   8582#endif /* GL_NV_draw_texture */
   8583
   8584#ifndef GL_NV_evaluators
   8585#define GL_NV_evaluators 1
   8586#define GL_EVAL_2D_NV                     0x86C0
   8587#define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
   8588#define GL_MAP_TESSELLATION_NV            0x86C2
   8589#define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
   8590#define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
   8591#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
   8592#define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
   8593#define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
   8594#define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
   8595#define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
   8596#define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
   8597#define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
   8598#define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
   8599#define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
   8600#define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
   8601#define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
   8602#define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
   8603#define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
   8604#define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
   8605#define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
   8606#define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
   8607#define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
   8608#define GL_MAX_MAP_TESSELLATION_NV        0x86D6
   8609#define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
   8610typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
   8611typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
   8612typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
   8613typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
   8614typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
   8615typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
   8616typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
   8617typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
   8618typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
   8619#ifdef GL_GLEXT_PROTOTYPES
   8620GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
   8621GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
   8622GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
   8623GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
   8624GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
   8625GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
   8626GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
   8627GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
   8628GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
   8629#endif
   8630#endif /* GL_NV_evaluators */
   8631
   8632#ifndef GL_NV_explicit_multisample
   8633#define GL_NV_explicit_multisample 1
   8634#define GL_SAMPLE_POSITION_NV             0x8E50
   8635#define GL_SAMPLE_MASK_NV                 0x8E51
   8636#define GL_SAMPLE_MASK_VALUE_NV           0x8E52
   8637#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
   8638#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
   8639#define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
   8640#define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
   8641#define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
   8642#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
   8643#define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
   8644typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
   8645typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
   8646typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
   8647#ifdef GL_GLEXT_PROTOTYPES
   8648GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
   8649GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
   8650GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
   8651#endif
   8652#endif /* GL_NV_explicit_multisample */
   8653
   8654#ifndef GL_NV_fence
   8655#define GL_NV_fence 1
   8656#define GL_ALL_COMPLETED_NV               0x84F2
   8657#define GL_FENCE_STATUS_NV                0x84F3
   8658#define GL_FENCE_CONDITION_NV             0x84F4
   8659typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
   8660typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
   8661typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
   8662typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
   8663typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
   8664typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
   8665typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
   8666#ifdef GL_GLEXT_PROTOTYPES
   8667GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
   8668GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
   8669GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
   8670GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
   8671GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
   8672GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
   8673GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
   8674#endif
   8675#endif /* GL_NV_fence */
   8676
   8677#ifndef GL_NV_float_buffer
   8678#define GL_NV_float_buffer 1
   8679#define GL_FLOAT_R_NV                     0x8880
   8680#define GL_FLOAT_RG_NV                    0x8881
   8681#define GL_FLOAT_RGB_NV                   0x8882
   8682#define GL_FLOAT_RGBA_NV                  0x8883
   8683#define GL_FLOAT_R16_NV                   0x8884
   8684#define GL_FLOAT_R32_NV                   0x8885
   8685#define GL_FLOAT_RG16_NV                  0x8886
   8686#define GL_FLOAT_RG32_NV                  0x8887
   8687#define GL_FLOAT_RGB16_NV                 0x8888
   8688#define GL_FLOAT_RGB32_NV                 0x8889
   8689#define GL_FLOAT_RGBA16_NV                0x888A
   8690#define GL_FLOAT_RGBA32_NV                0x888B
   8691#define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
   8692#define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
   8693#define GL_FLOAT_RGBA_MODE_NV             0x888E
   8694#endif /* GL_NV_float_buffer */
   8695
   8696#ifndef GL_NV_fog_distance
   8697#define GL_NV_fog_distance 1
   8698#define GL_FOG_DISTANCE_MODE_NV           0x855A
   8699#define GL_EYE_RADIAL_NV                  0x855B
   8700#define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
   8701#endif /* GL_NV_fog_distance */
   8702
   8703#ifndef GL_NV_fragment_program
   8704#define GL_NV_fragment_program 1
   8705#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
   8706#define GL_FRAGMENT_PROGRAM_NV            0x8870
   8707#define GL_MAX_TEXTURE_COORDS_NV          0x8871
   8708#define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
   8709#define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
   8710#define GL_PROGRAM_ERROR_STRING_NV        0x8874
   8711typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   8712typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
   8713typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   8714typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
   8715typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
   8716typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
   8717#ifdef GL_GLEXT_PROTOTYPES
   8718GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   8719GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
   8720GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   8721GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
   8722GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
   8723GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
   8724#endif
   8725#endif /* GL_NV_fragment_program */
   8726
   8727#ifndef GL_NV_fragment_program2
   8728#define GL_NV_fragment_program2 1
   8729#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
   8730#define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
   8731#define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
   8732#define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
   8733#define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
   8734#endif /* GL_NV_fragment_program2 */
   8735
   8736#ifndef GL_NV_fragment_program4
   8737#define GL_NV_fragment_program4 1
   8738#endif /* GL_NV_fragment_program4 */
   8739
   8740#ifndef GL_NV_fragment_program_option
   8741#define GL_NV_fragment_program_option 1
   8742#endif /* GL_NV_fragment_program_option */
   8743
   8744#ifndef GL_NV_framebuffer_multisample_coverage
   8745#define GL_NV_framebuffer_multisample_coverage 1
   8746#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
   8747#define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
   8748#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
   8749#define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
   8750typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
   8751#ifdef GL_GLEXT_PROTOTYPES
   8752GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
   8753#endif
   8754#endif /* GL_NV_framebuffer_multisample_coverage */
   8755
   8756#ifndef GL_NV_geometry_program4
   8757#define GL_NV_geometry_program4 1
   8758#define GL_GEOMETRY_PROGRAM_NV            0x8C26
   8759#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
   8760#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
   8761typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
   8762typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
   8763typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   8764typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
   8765#ifdef GL_GLEXT_PROTOTYPES
   8766GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
   8767GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
   8768GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
   8769GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
   8770#endif
   8771#endif /* GL_NV_geometry_program4 */
   8772
   8773#ifndef GL_NV_geometry_shader4
   8774#define GL_NV_geometry_shader4 1
   8775#endif /* GL_NV_geometry_shader4 */
   8776
   8777#ifndef GL_NV_gpu_program4
   8778#define GL_NV_gpu_program4 1
   8779#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
   8780#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
   8781#define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
   8782#define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
   8783#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
   8784#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
   8785#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
   8786#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
   8787typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
   8788typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
   8789typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
   8790typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   8791typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
   8792typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
   8793typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
   8794typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
   8795typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
   8796typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   8797typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
   8798typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
   8799typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
   8800typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
   8801typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
   8802typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
   8803#ifdef GL_GLEXT_PROTOTYPES
   8804GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
   8805GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
   8806GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
   8807GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   8808GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
   8809GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
   8810GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
   8811GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
   8812GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
   8813GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
   8814GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
   8815GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
   8816GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
   8817GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
   8818GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
   8819GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
   8820#endif
   8821#endif /* GL_NV_gpu_program4 */
   8822
   8823#ifndef GL_NV_gpu_program5
   8824#define GL_NV_gpu_program5 1
   8825#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
   8826#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
   8827#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
   8828#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
   8829#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
   8830#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
   8831#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
   8832#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV  0x8F45
   8833typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
   8834typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
   8835#ifdef GL_GLEXT_PROTOTYPES
   8836GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
   8837GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
   8838#endif
   8839#endif /* GL_NV_gpu_program5 */
   8840
   8841#ifndef GL_NV_gpu_program5_mem_extended
   8842#define GL_NV_gpu_program5_mem_extended 1
   8843#endif /* GL_NV_gpu_program5_mem_extended */
   8844
   8845#ifndef GL_NV_gpu_shader5
   8846#define GL_NV_gpu_shader5 1
   8847#endif /* GL_NV_gpu_shader5 */
   8848
   8849#ifndef GL_NV_half_float
   8850#define GL_NV_half_float 1
   8851typedef unsigned short GLhalfNV;
   8852#define GL_HALF_FLOAT_NV                  0x140B
   8853typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
   8854typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
   8855typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
   8856typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
   8857typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
   8858typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
   8859typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
   8860typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
   8861typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
   8862typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
   8863typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
   8864typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
   8865typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
   8866typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
   8867typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
   8868typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
   8869typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
   8870typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
   8871typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
   8872typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
   8873typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
   8874typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
   8875typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
   8876typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
   8877typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
   8878typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
   8879typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
   8880typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
   8881typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
   8882typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
   8883typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
   8884typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
   8885typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
   8886typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
   8887typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
   8888typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
   8889typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
   8890typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
   8891typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
   8892typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
   8893typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
   8894typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
   8895typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
   8896typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
   8897typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
   8898typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
   8899#ifdef GL_GLEXT_PROTOTYPES
   8900GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
   8901GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
   8902GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
   8903GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
   8904GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
   8905GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
   8906GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
   8907GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
   8908GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
   8909GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
   8910GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
   8911GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
   8912GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
   8913GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
   8914GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
   8915GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
   8916GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
   8917GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
   8918GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
   8919GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
   8920GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
   8921GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
   8922GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
   8923GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
   8924GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
   8925GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
   8926GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
   8927GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
   8928GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
   8929GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
   8930GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
   8931GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
   8932GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
   8933GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
   8934GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
   8935GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
   8936GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
   8937GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
   8938GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
   8939GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
   8940GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
   8941GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
   8942GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
   8943GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
   8944GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
   8945GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
   8946#endif
   8947#endif /* GL_NV_half_float */
   8948
   8949#ifndef GL_NV_light_max_exponent
   8950#define GL_NV_light_max_exponent 1
   8951#define GL_MAX_SHININESS_NV               0x8504
   8952#define GL_MAX_SPOT_EXPONENT_NV           0x8505
   8953#endif /* GL_NV_light_max_exponent */
   8954
   8955#ifndef GL_NV_multisample_coverage
   8956#define GL_NV_multisample_coverage 1
   8957#define GL_COLOR_SAMPLES_NV               0x8E20
   8958#endif /* GL_NV_multisample_coverage */
   8959
   8960#ifndef GL_NV_multisample_filter_hint
   8961#define GL_NV_multisample_filter_hint 1
   8962#define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
   8963#endif /* GL_NV_multisample_filter_hint */
   8964
   8965#ifndef GL_NV_occlusion_query
   8966#define GL_NV_occlusion_query 1
   8967#define GL_PIXEL_COUNTER_BITS_NV          0x8864
   8968#define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
   8969#define GL_PIXEL_COUNT_NV                 0x8866
   8970#define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
   8971typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
   8972typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
   8973typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
   8974typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
   8975typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
   8976typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
   8977typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
   8978#ifdef GL_GLEXT_PROTOTYPES
   8979GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
   8980GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
   8981GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
   8982GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
   8983GLAPI void APIENTRY glEndOcclusionQueryNV (void);
   8984GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
   8985GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
   8986#endif
   8987#endif /* GL_NV_occlusion_query */
   8988
   8989#ifndef GL_NV_packed_depth_stencil
   8990#define GL_NV_packed_depth_stencil 1
   8991#define GL_DEPTH_STENCIL_NV               0x84F9
   8992#define GL_UNSIGNED_INT_24_8_NV           0x84FA
   8993#endif /* GL_NV_packed_depth_stencil */
   8994
   8995#ifndef GL_NV_parameter_buffer_object
   8996#define GL_NV_parameter_buffer_object 1
   8997#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
   8998#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
   8999#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
   9000#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
   9001#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
   9002typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
   9003typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
   9004typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
   9005#ifdef GL_GLEXT_PROTOTYPES
   9006GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
   9007GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
   9008GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
   9009#endif
   9010#endif /* GL_NV_parameter_buffer_object */
   9011
   9012#ifndef GL_NV_parameter_buffer_object2
   9013#define GL_NV_parameter_buffer_object2 1
   9014#endif /* GL_NV_parameter_buffer_object2 */
   9015
   9016#ifndef GL_NV_path_rendering
   9017#define GL_NV_path_rendering 1
   9018#define GL_PATH_FORMAT_SVG_NV             0x9070
   9019#define GL_PATH_FORMAT_PS_NV              0x9071
   9020#define GL_STANDARD_FONT_NAME_NV          0x9072
   9021#define GL_SYSTEM_FONT_NAME_NV            0x9073
   9022#define GL_FILE_NAME_NV                   0x9074
   9023#define GL_PATH_STROKE_WIDTH_NV           0x9075
   9024#define GL_PATH_END_CAPS_NV               0x9076
   9025#define GL_PATH_INITIAL_END_CAP_NV        0x9077
   9026#define GL_PATH_TERMINAL_END_CAP_NV       0x9078
   9027#define GL_PATH_JOIN_STYLE_NV             0x9079
   9028#define GL_PATH_MITER_LIMIT_NV            0x907A
   9029#define GL_PATH_DASH_CAPS_NV              0x907B
   9030#define GL_PATH_INITIAL_DASH_CAP_NV       0x907C
   9031#define GL_PATH_TERMINAL_DASH_CAP_NV      0x907D
   9032#define GL_PATH_DASH_OFFSET_NV            0x907E
   9033#define GL_PATH_CLIENT_LENGTH_NV          0x907F
   9034#define GL_PATH_FILL_MODE_NV              0x9080
   9035#define GL_PATH_FILL_MASK_NV              0x9081
   9036#define GL_PATH_FILL_COVER_MODE_NV        0x9082
   9037#define GL_PATH_STROKE_COVER_MODE_NV      0x9083
   9038#define GL_PATH_STROKE_MASK_NV            0x9084
   9039#define GL_COUNT_UP_NV                    0x9088
   9040#define GL_COUNT_DOWN_NV                  0x9089
   9041#define GL_PATH_OBJECT_BOUNDING_BOX_NV    0x908A
   9042#define GL_CONVEX_HULL_NV                 0x908B
   9043#define GL_BOUNDING_BOX_NV                0x908D
   9044#define GL_TRANSLATE_X_NV                 0x908E
   9045#define GL_TRANSLATE_Y_NV                 0x908F
   9046#define GL_TRANSLATE_2D_NV                0x9090
   9047#define GL_TRANSLATE_3D_NV                0x9091
   9048#define GL_AFFINE_2D_NV                   0x9092
   9049#define GL_AFFINE_3D_NV                   0x9094
   9050#define GL_TRANSPOSE_AFFINE_2D_NV         0x9096
   9051#define GL_TRANSPOSE_AFFINE_3D_NV         0x9098
   9052#define GL_UTF8_NV                        0x909A
   9053#define GL_UTF16_NV                       0x909B
   9054#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
   9055#define GL_PATH_COMMAND_COUNT_NV          0x909D
   9056#define GL_PATH_COORD_COUNT_NV            0x909E
   9057#define GL_PATH_DASH_ARRAY_COUNT_NV       0x909F
   9058#define GL_PATH_COMPUTED_LENGTH_NV        0x90A0
   9059#define GL_PATH_FILL_BOUNDING_BOX_NV      0x90A1
   9060#define GL_PATH_STROKE_BOUNDING_BOX_NV    0x90A2
   9061#define GL_SQUARE_NV                      0x90A3
   9062#define GL_ROUND_NV                       0x90A4
   9063#define GL_TRIANGULAR_NV                  0x90A5
   9064#define GL_BEVEL_NV                       0x90A6
   9065#define GL_MITER_REVERT_NV                0x90A7
   9066#define GL_MITER_TRUNCATE_NV              0x90A8
   9067#define GL_SKIP_MISSING_GLYPH_NV          0x90A9
   9068#define GL_USE_MISSING_GLYPH_NV           0x90AA
   9069#define GL_PATH_ERROR_POSITION_NV         0x90AB
   9070#define GL_PATH_FOG_GEN_MODE_NV           0x90AC
   9071#define GL_ACCUM_ADJACENT_PAIRS_NV        0x90AD
   9072#define GL_ADJACENT_PAIRS_NV              0x90AE
   9073#define GL_FIRST_TO_REST_NV               0x90AF
   9074#define GL_PATH_GEN_MODE_NV               0x90B0
   9075#define GL_PATH_GEN_COEFF_NV              0x90B1
   9076#define GL_PATH_GEN_COLOR_FORMAT_NV       0x90B2
   9077#define GL_PATH_GEN_COMPONENTS_NV         0x90B3
   9078#define GL_PATH_STENCIL_FUNC_NV           0x90B7
   9079#define GL_PATH_STENCIL_REF_NV            0x90B8
   9080#define GL_PATH_STENCIL_VALUE_MASK_NV     0x90B9
   9081#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
   9082#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
   9083#define GL_PATH_COVER_DEPTH_FUNC_NV       0x90BF
   9084#define GL_PATH_DASH_OFFSET_RESET_NV      0x90B4
   9085#define GL_MOVE_TO_RESETS_NV              0x90B5
   9086#define GL_MOVE_TO_CONTINUES_NV           0x90B6
   9087#define GL_CLOSE_PATH_NV                  0x00
   9088#define GL_MOVE_TO_NV                     0x02
   9089#define GL_RELATIVE_MOVE_TO_NV            0x03
   9090#define GL_LINE_TO_NV                     0x04
   9091#define GL_RELATIVE_LINE_TO_NV            0x05
   9092#define GL_HORIZONTAL_LINE_TO_NV          0x06
   9093#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
   9094#define GL_VERTICAL_LINE_TO_NV            0x08
   9095#define GL_RELATIVE_VERTICAL_LINE_TO_NV   0x09
   9096#define GL_QUADRATIC_CURVE_TO_NV          0x0A
   9097#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
   9098#define GL_CUBIC_CURVE_TO_NV              0x0C
   9099#define GL_RELATIVE_CUBIC_CURVE_TO_NV     0x0D
   9100#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV   0x0E
   9101#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
   9102#define GL_SMOOTH_CUBIC_CURVE_TO_NV       0x10
   9103#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
   9104#define GL_SMALL_CCW_ARC_TO_NV            0x12
   9105#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV   0x13
   9106#define GL_SMALL_CW_ARC_TO_NV             0x14
   9107#define GL_RELATIVE_SMALL_CW_ARC_TO_NV    0x15
   9108#define GL_LARGE_CCW_ARC_TO_NV            0x16
   9109#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV   0x17
   9110#define GL_LARGE_CW_ARC_TO_NV             0x18
   9111#define GL_RELATIVE_LARGE_CW_ARC_TO_NV    0x19
   9112#define GL_RESTART_PATH_NV                0xF0
   9113#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV    0xF2
   9114#define GL_DUP_LAST_CUBIC_CURVE_TO_NV     0xF4
   9115#define GL_RECT_NV                        0xF6
   9116#define GL_CIRCULAR_CCW_ARC_TO_NV         0xF8
   9117#define GL_CIRCULAR_CW_ARC_TO_NV          0xFA
   9118#define GL_CIRCULAR_TANGENT_ARC_TO_NV     0xFC
   9119#define GL_ARC_TO_NV                      0xFE
   9120#define GL_RELATIVE_ARC_TO_NV             0xFF
   9121#define GL_BOLD_BIT_NV                    0x01
   9122#define GL_ITALIC_BIT_NV                  0x02
   9123#define GL_GLYPH_WIDTH_BIT_NV             0x01
   9124#define GL_GLYPH_HEIGHT_BIT_NV            0x02
   9125#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
   9126#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
   9127#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
   9128#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
   9129#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
   9130#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
   9131#define GL_GLYPH_HAS_KERNING_BIT_NV       0x100
   9132#define GL_FONT_X_MIN_BOUNDS_BIT_NV       0x00010000
   9133#define GL_FONT_Y_MIN_BOUNDS_BIT_NV       0x00020000
   9134#define GL_FONT_X_MAX_BOUNDS_BIT_NV       0x00040000
   9135#define GL_FONT_Y_MAX_BOUNDS_BIT_NV       0x00080000
   9136#define GL_FONT_UNITS_PER_EM_BIT_NV       0x00100000
   9137#define GL_FONT_ASCENDER_BIT_NV           0x00200000
   9138#define GL_FONT_DESCENDER_BIT_NV          0x00400000
   9139#define GL_FONT_HEIGHT_BIT_NV             0x00800000
   9140#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV  0x01000000
   9141#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
   9142#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
   9143#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
   9144#define GL_FONT_HAS_KERNING_BIT_NV        0x10000000
   9145#define GL_PRIMARY_COLOR_NV               0x852C
   9146#define GL_SECONDARY_COLOR_NV             0x852D
   9147typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
   9148typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
   9149typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
   9150typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
   9151typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
   9152typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
   9153typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
   9154typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
   9155typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
   9156typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
   9157typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
   9158typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
   9159typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
   9160typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
   9161typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
   9162typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
   9163typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
   9164typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
   9165typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
   9166typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
   9167typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
   9168typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
   9169typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
   9170typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
   9171typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
   9172typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
   9173typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
   9174typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
   9175typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
   9176typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
   9177typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
   9178typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
   9179typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
   9180typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
   9181typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
   9182typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
   9183typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
   9184typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
   9185typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
   9186typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
   9187typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
   9188typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
   9189typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
   9190typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
   9191typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
   9192typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
   9193typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
   9194typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
   9195typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
   9196#ifdef GL_GLEXT_PROTOTYPES
   9197GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
   9198GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
   9199GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
   9200GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
   9201GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
   9202GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
   9203GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
   9204GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
   9205GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
   9206GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
   9207GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
   9208GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
   9209GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
   9210GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
   9211GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
   9212GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
   9213GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
   9214GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
   9215GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
   9216GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
   9217GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
   9218GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
   9219GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
   9220GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
   9221GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
   9222GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
   9223GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
   9224GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
   9225GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
   9226GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
   9227GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
   9228GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
   9229GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
   9230GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
   9231GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
   9232GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
   9233GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
   9234GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
   9235GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
   9236GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
   9237GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
   9238GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
   9239GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
   9240GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
   9241GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
   9242GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
   9243GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
   9244GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
   9245GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
   9246#endif
   9247#endif /* GL_NV_path_rendering */
   9248
   9249#ifndef GL_NV_pixel_data_range
   9250#define GL_NV_pixel_data_range 1
   9251#define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
   9252#define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
   9253#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
   9254#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
   9255#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
   9256#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
   9257typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
   9258typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
   9259#ifdef GL_GLEXT_PROTOTYPES
   9260GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
   9261GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
   9262#endif
   9263#endif /* GL_NV_pixel_data_range */
   9264
   9265#ifndef GL_NV_point_sprite
   9266#define GL_NV_point_sprite 1
   9267#define GL_POINT_SPRITE_NV                0x8861
   9268#define GL_COORD_REPLACE_NV               0x8862
   9269#define GL_POINT_SPRITE_R_MODE_NV         0x8863
   9270typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
   9271typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
   9272#ifdef GL_GLEXT_PROTOTYPES
   9273GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
   9274GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
   9275#endif
   9276#endif /* GL_NV_point_sprite */
   9277
   9278#ifndef GL_NV_present_video
   9279#define GL_NV_present_video 1
   9280#define GL_FRAME_NV                       0x8E26
   9281#define GL_FIELDS_NV                      0x8E27
   9282#define GL_CURRENT_TIME_NV                0x8E28
   9283#define GL_NUM_FILL_STREAMS_NV            0x8E29
   9284#define GL_PRESENT_TIME_NV                0x8E2A
   9285#define GL_PRESENT_DURATION_NV            0x8E2B
   9286typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
   9287typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
   9288typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
   9289typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
   9290typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
   9291typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
   9292#ifdef GL_GLEXT_PROTOTYPES
   9293GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
   9294GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
   9295GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
   9296GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
   9297GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
   9298GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
   9299#endif
   9300#endif /* GL_NV_present_video */
   9301
   9302#ifndef GL_NV_primitive_restart
   9303#define GL_NV_primitive_restart 1
   9304#define GL_PRIMITIVE_RESTART_NV           0x8558
   9305#define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
   9306typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
   9307typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
   9308#ifdef GL_GLEXT_PROTOTYPES
   9309GLAPI void APIENTRY glPrimitiveRestartNV (void);
   9310GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
   9311#endif
   9312#endif /* GL_NV_primitive_restart */
   9313
   9314#ifndef GL_NV_register_combiners
   9315#define GL_NV_register_combiners 1
   9316#define GL_REGISTER_COMBINERS_NV          0x8522
   9317#define GL_VARIABLE_A_NV                  0x8523
   9318#define GL_VARIABLE_B_NV                  0x8524
   9319#define GL_VARIABLE_C_NV                  0x8525
   9320#define GL_VARIABLE_D_NV                  0x8526
   9321#define GL_VARIABLE_E_NV                  0x8527
   9322#define GL_VARIABLE_F_NV                  0x8528
   9323#define GL_VARIABLE_G_NV                  0x8529
   9324#define GL_CONSTANT_COLOR0_NV             0x852A
   9325#define GL_CONSTANT_COLOR1_NV             0x852B
   9326#define GL_SPARE0_NV                      0x852E
   9327#define GL_SPARE1_NV                      0x852F
   9328#define GL_DISCARD_NV                     0x8530
   9329#define GL_E_TIMES_F_NV                   0x8531
   9330#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
   9331#define GL_UNSIGNED_IDENTITY_NV           0x8536
   9332#define GL_UNSIGNED_INVERT_NV             0x8537
   9333#define GL_EXPAND_NORMAL_NV               0x8538
   9334#define GL_EXPAND_NEGATE_NV               0x8539
   9335#define GL_HALF_BIAS_NORMAL_NV            0x853A
   9336#define GL_HALF_BIAS_NEGATE_NV            0x853B
   9337#define GL_SIGNED_IDENTITY_NV             0x853C
   9338#define GL_SIGNED_NEGATE_NV               0x853D
   9339#define GL_SCALE_BY_TWO_NV                0x853E
   9340#define GL_SCALE_BY_FOUR_NV               0x853F
   9341#define GL_SCALE_BY_ONE_HALF_NV           0x8540
   9342#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
   9343#define GL_COMBINER_INPUT_NV              0x8542
   9344#define GL_COMBINER_MAPPING_NV            0x8543
   9345#define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
   9346#define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
   9347#define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
   9348#define GL_COMBINER_MUX_SUM_NV            0x8547
   9349#define GL_COMBINER_SCALE_NV              0x8548
   9350#define GL_COMBINER_BIAS_NV               0x8549
   9351#define GL_COMBINER_AB_OUTPUT_NV          0x854A
   9352#define GL_COMBINER_CD_OUTPUT_NV          0x854B
   9353#define GL_COMBINER_SUM_OUTPUT_NV         0x854C
   9354#define GL_MAX_GENERAL_COMBINERS_NV       0x854D
   9355#define GL_NUM_GENERAL_COMBINERS_NV       0x854E
   9356#define GL_COLOR_SUM_CLAMP_NV             0x854F
   9357#define GL_COMBINER0_NV                   0x8550
   9358#define GL_COMBINER1_NV                   0x8551
   9359#define GL_COMBINER2_NV                   0x8552
   9360#define GL_COMBINER3_NV                   0x8553
   9361#define GL_COMBINER4_NV                   0x8554
   9362#define GL_COMBINER5_NV                   0x8555
   9363#define GL_COMBINER6_NV                   0x8556
   9364#define GL_COMBINER7_NV                   0x8557
   9365typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
   9366typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
   9367typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
   9368typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
   9369typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
   9370typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
   9371typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
   9372typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
   9373typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
   9374typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
   9375typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
   9376typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
   9377typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
   9378#ifdef GL_GLEXT_PROTOTYPES
   9379GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
   9380GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
   9381GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
   9382GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
   9383GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
   9384GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
   9385GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
   9386GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
   9387GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
   9388GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
   9389GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
   9390GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
   9391GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
   9392#endif
   9393#endif /* GL_NV_register_combiners */
   9394
   9395#ifndef GL_NV_register_combiners2
   9396#define GL_NV_register_combiners2 1
   9397#define GL_PER_STAGE_CONSTANTS_NV         0x8535
   9398typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
   9399typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
   9400#ifdef GL_GLEXT_PROTOTYPES
   9401GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
   9402GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
   9403#endif
   9404#endif /* GL_NV_register_combiners2 */
   9405
   9406#ifndef GL_NV_shader_atomic_counters
   9407#define GL_NV_shader_atomic_counters 1
   9408#endif /* GL_NV_shader_atomic_counters */
   9409
   9410#ifndef GL_NV_shader_atomic_float
   9411#define GL_NV_shader_atomic_float 1
   9412#endif /* GL_NV_shader_atomic_float */
   9413
   9414#ifndef GL_NV_shader_buffer_load
   9415#define GL_NV_shader_buffer_load 1
   9416#define GL_BUFFER_GPU_ADDRESS_NV          0x8F1D
   9417#define GL_GPU_ADDRESS_NV                 0x8F34
   9418#define GL_MAX_SHADER_BUFFER_ADDRESS_NV   0x8F35
   9419typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
   9420typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
   9421typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
   9422typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
   9423typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
   9424typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
   9425typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
   9426typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
   9427typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
   9428typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
   9429typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
   9430typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
   9431typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   9432#ifdef GL_GLEXT_PROTOTYPES
   9433GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
   9434GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
   9435GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
   9436GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
   9437GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
   9438GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
   9439GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
   9440GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
   9441GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
   9442GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
   9443GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
   9444GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
   9445GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
   9446#endif
   9447#endif /* GL_NV_shader_buffer_load */
   9448
   9449#ifndef GL_NV_shader_buffer_store
   9450#define GL_NV_shader_buffer_store 1
   9451#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
   9452#endif /* GL_NV_shader_buffer_store */
   9453
   9454#ifndef GL_NV_shader_storage_buffer_object
   9455#define GL_NV_shader_storage_buffer_object 1
   9456#endif /* GL_NV_shader_storage_buffer_object */
   9457
   9458#ifndef GL_NV_shader_thread_group
   9459#define GL_NV_shader_thread_group 1
   9460#define GL_WARP_SIZE_NV                   0x9339
   9461#define GL_WARPS_PER_SM_NV                0x933A
   9462#define GL_SM_COUNT_NV                    0x933B
   9463#endif /* GL_NV_shader_thread_group */
   9464
   9465#ifndef GL_NV_shader_thread_shuffle
   9466#define GL_NV_shader_thread_shuffle 1
   9467#endif /* GL_NV_shader_thread_shuffle */
   9468
   9469#ifndef GL_NV_tessellation_program5
   9470#define GL_NV_tessellation_program5 1
   9471#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV   0x86D8
   9472#define GL_TESS_CONTROL_PROGRAM_NV        0x891E
   9473#define GL_TESS_EVALUATION_PROGRAM_NV     0x891F
   9474#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
   9475#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
   9476#endif /* GL_NV_tessellation_program5 */
   9477
   9478#ifndef GL_NV_texgen_emboss
   9479#define GL_NV_texgen_emboss 1
   9480#define GL_EMBOSS_LIGHT_NV                0x855D
   9481#define GL_EMBOSS_CONSTANT_NV             0x855E
   9482#define GL_EMBOSS_MAP_NV                  0x855F
   9483#endif /* GL_NV_texgen_emboss */
   9484
   9485#ifndef GL_NV_texgen_reflection
   9486#define GL_NV_texgen_reflection 1
   9487#define GL_NORMAL_MAP_NV                  0x8511
   9488#define GL_REFLECTION_MAP_NV              0x8512
   9489#endif /* GL_NV_texgen_reflection */
   9490
   9491#ifndef GL_NV_texture_barrier
   9492#define GL_NV_texture_barrier 1
   9493typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
   9494#ifdef GL_GLEXT_PROTOTYPES
   9495GLAPI void APIENTRY glTextureBarrierNV (void);
   9496#endif
   9497#endif /* GL_NV_texture_barrier */
   9498
   9499#ifndef GL_NV_texture_compression_vtc
   9500#define GL_NV_texture_compression_vtc 1
   9501#endif /* GL_NV_texture_compression_vtc */
   9502
   9503#ifndef GL_NV_texture_env_combine4
   9504#define GL_NV_texture_env_combine4 1
   9505#define GL_COMBINE4_NV                    0x8503
   9506#define GL_SOURCE3_RGB_NV                 0x8583
   9507#define GL_SOURCE3_ALPHA_NV               0x858B
   9508#define GL_OPERAND3_RGB_NV                0x8593
   9509#define GL_OPERAND3_ALPHA_NV              0x859B
   9510#endif /* GL_NV_texture_env_combine4 */
   9511
   9512#ifndef GL_NV_texture_expand_normal
   9513#define GL_NV_texture_expand_normal 1
   9514#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
   9515#endif /* GL_NV_texture_expand_normal */
   9516
   9517#ifndef GL_NV_texture_multisample
   9518#define GL_NV_texture_multisample 1
   9519#define GL_TEXTURE_COVERAGE_SAMPLES_NV    0x9045
   9520#define GL_TEXTURE_COLOR_SAMPLES_NV       0x9046
   9521typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
   9522typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
   9523typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
   9524typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
   9525typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
   9526typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
   9527#ifdef GL_GLEXT_PROTOTYPES
   9528GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
   9529GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
   9530GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
   9531GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
   9532GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
   9533GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
   9534#endif
   9535#endif /* GL_NV_texture_multisample */
   9536
   9537#ifndef GL_NV_texture_rectangle
   9538#define GL_NV_texture_rectangle 1
   9539#define GL_TEXTURE_RECTANGLE_NV           0x84F5
   9540#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
   9541#define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
   9542#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
   9543#endif /* GL_NV_texture_rectangle */
   9544
   9545#ifndef GL_NV_texture_shader
   9546#define GL_NV_texture_shader 1
   9547#define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
   9548#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
   9549#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
   9550#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
   9551#define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
   9552#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
   9553#define GL_DSDT_MAG_INTENSITY_NV          0x86DC
   9554#define GL_SHADER_CONSISTENT_NV           0x86DD
   9555#define GL_TEXTURE_SHADER_NV              0x86DE
   9556#define GL_SHADER_OPERATION_NV            0x86DF
   9557#define GL_CULL_MODES_NV                  0x86E0
   9558#define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
   9559#define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
   9560#define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
   9561#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    0x86E1
   9562#define GL_OFFSET_TEXTURE_2D_SCALE_NV     0x86E2
   9563#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
   9564#define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
   9565#define GL_CONST_EYE_NV                   0x86E5
   9566#define GL_PASS_THROUGH_NV                0x86E6
   9567#define GL_CULL_FRAGMENT_NV               0x86E7
   9568#define GL_OFFSET_TEXTURE_2D_NV           0x86E8
   9569#define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
   9570#define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
   9571#define GL_DOT_PRODUCT_NV                 0x86EC
   9572#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
   9573#define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
   9574#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
   9575#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
   9576#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
   9577#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
   9578#define GL_HILO_NV                        0x86F4
   9579#define GL_DSDT_NV                        0x86F5
   9580#define GL_DSDT_MAG_NV                    0x86F6
   9581#define GL_DSDT_MAG_VIB_NV                0x86F7
   9582#define GL_HILO16_NV                      0x86F8
   9583#define GL_SIGNED_HILO_NV                 0x86F9
   9584#define GL_SIGNED_HILO16_NV               0x86FA
   9585#define GL_SIGNED_RGBA_NV                 0x86FB
   9586#define GL_SIGNED_RGBA8_NV                0x86FC
   9587#define GL_SIGNED_RGB_NV                  0x86FE
   9588#define GL_SIGNED_RGB8_NV                 0x86FF
   9589#define GL_SIGNED_LUMINANCE_NV            0x8701
   9590#define GL_SIGNED_LUMINANCE8_NV           0x8702
   9591#define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
   9592#define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
   9593#define GL_SIGNED_ALPHA_NV                0x8705
   9594#define GL_SIGNED_ALPHA8_NV               0x8706
   9595#define GL_SIGNED_INTENSITY_NV            0x8707
   9596#define GL_SIGNED_INTENSITY8_NV           0x8708
   9597#define GL_DSDT8_NV                       0x8709
   9598#define GL_DSDT8_MAG8_NV                  0x870A
   9599#define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
   9600#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
   9601#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
   9602#define GL_HI_SCALE_NV                    0x870E
   9603#define GL_LO_SCALE_NV                    0x870F
   9604#define GL_DS_SCALE_NV                    0x8710
   9605#define GL_DT_SCALE_NV                    0x8711
   9606#define GL_MAGNITUDE_SCALE_NV             0x8712
   9607#define GL_VIBRANCE_SCALE_NV              0x8713
   9608#define GL_HI_BIAS_NV                     0x8714
   9609#define GL_LO_BIAS_NV                     0x8715
   9610#define GL_DS_BIAS_NV                     0x8716
   9611#define GL_DT_BIAS_NV                     0x8717
   9612#define GL_MAGNITUDE_BIAS_NV              0x8718
   9613#define GL_VIBRANCE_BIAS_NV               0x8719
   9614#define GL_TEXTURE_BORDER_VALUES_NV       0x871A
   9615#define GL_TEXTURE_HI_SIZE_NV             0x871B
   9616#define GL_TEXTURE_LO_SIZE_NV             0x871C
   9617#define GL_TEXTURE_DS_SIZE_NV             0x871D
   9618#define GL_TEXTURE_DT_SIZE_NV             0x871E
   9619#define GL_TEXTURE_MAG_SIZE_NV            0x871F
   9620#endif /* GL_NV_texture_shader */
   9621
   9622#ifndef GL_NV_texture_shader2
   9623#define GL_NV_texture_shader2 1
   9624#define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
   9625#endif /* GL_NV_texture_shader2 */
   9626
   9627#ifndef GL_NV_texture_shader3
   9628#define GL_NV_texture_shader3 1
   9629#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
   9630#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
   9631#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
   9632#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
   9633#define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
   9634#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
   9635#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
   9636#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
   9637#define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
   9638#define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
   9639#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
   9640#define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
   9641#define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
   9642#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
   9643#define GL_HILO8_NV                       0x885E
   9644#define GL_SIGNED_HILO8_NV                0x885F
   9645#define GL_FORCE_BLUE_TO_ONE_NV           0x8860
   9646#endif /* GL_NV_texture_shader3 */
   9647
   9648#ifndef GL_NV_transform_feedback
   9649#define GL_NV_transform_feedback 1
   9650#define GL_BACK_PRIMARY_COLOR_NV          0x8C77
   9651#define GL_BACK_SECONDARY_COLOR_NV        0x8C78
   9652#define GL_TEXTURE_COORD_NV               0x8C79
   9653#define GL_CLIP_DISTANCE_NV               0x8C7A
   9654#define GL_VERTEX_ID_NV                   0x8C7B
   9655#define GL_PRIMITIVE_ID_NV                0x8C7C
   9656#define GL_GENERIC_ATTRIB_NV              0x8C7D
   9657#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV  0x8C7E
   9658#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
   9659#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
   9660#define GL_ACTIVE_VARYINGS_NV             0x8C81
   9661#define GL_ACTIVE_VARYING_MAX_LENGTH_NV   0x8C82
   9662#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
   9663#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
   9664#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
   9665#define GL_TRANSFORM_FEEDBACK_RECORD_NV   0x8C86
   9666#define GL_PRIMITIVES_GENERATED_NV        0x8C87
   9667#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
   9668#define GL_RASTERIZER_DISCARD_NV          0x8C89
   9669#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
   9670#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
   9671#define GL_INTERLEAVED_ATTRIBS_NV         0x8C8C
   9672#define GL_SEPARATE_ATTRIBS_NV            0x8C8D
   9673#define GL_TRANSFORM_FEEDBACK_BUFFER_NV   0x8C8E
   9674#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
   9675#define GL_LAYER_NV                       0x8DAA
   9676#define GL_NEXT_BUFFER_NV                 -2
   9677#define GL_SKIP_COMPONENTS4_NV            -3
   9678#define GL_SKIP_COMPONENTS3_NV            -4
   9679#define GL_SKIP_COMPONENTS2_NV            -5
   9680#define GL_SKIP_COMPONENTS1_NV            -6
   9681typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
   9682typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
   9683typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
   9684typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   9685typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
   9686typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
   9687typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
   9688typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
   9689typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
   9690typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
   9691typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
   9692typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
   9693#ifdef GL_GLEXT_PROTOTYPES
   9694GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
   9695GLAPI void APIENTRY glEndTransformFeedbackNV (void);
   9696GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
   9697GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
   9698GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
   9699GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
   9700GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
   9701GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
   9702GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
   9703GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
   9704GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
   9705GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
   9706#endif
   9707#endif /* GL_NV_transform_feedback */
   9708
   9709#ifndef GL_NV_transform_feedback2
   9710#define GL_NV_transform_feedback2 1
   9711#define GL_TRANSFORM_FEEDBACK_NV          0x8E22
   9712#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
   9713#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
   9714#define GL_TRANSFORM_FEEDBACK_BINDING_NV  0x8E25
   9715typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
   9716typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
   9717typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
   9718typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
   9719typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
   9720typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
   9721typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
   9722#ifdef GL_GLEXT_PROTOTYPES
   9723GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
   9724GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
   9725GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
   9726GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
   9727GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
   9728GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
   9729GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
   9730#endif
   9731#endif /* GL_NV_transform_feedback2 */
   9732
   9733#ifndef GL_NV_vdpau_interop
   9734#define GL_NV_vdpau_interop 1
   9735typedef GLintptr GLvdpauSurfaceNV;
   9736#define GL_SURFACE_STATE_NV               0x86EB
   9737#define GL_SURFACE_REGISTERED_NV          0x86FD
   9738#define GL_SURFACE_MAPPED_NV              0x8700
   9739#define GL_WRITE_DISCARD_NV               0x88BE
   9740typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
   9741typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
   9742typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
   9743typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
   9744typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
   9745typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
   9746typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
   9747typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
   9748typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
   9749typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
   9750#ifdef GL_GLEXT_PROTOTYPES
   9751GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
   9752GLAPI void APIENTRY glVDPAUFiniNV (void);
   9753GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
   9754GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
   9755GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
   9756GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
   9757GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
   9758GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
   9759GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
   9760GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
   9761#endif
   9762#endif /* GL_NV_vdpau_interop */
   9763
   9764#ifndef GL_NV_vertex_array_range
   9765#define GL_NV_vertex_array_range 1
   9766#define GL_VERTEX_ARRAY_RANGE_NV          0x851D
   9767#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
   9768#define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
   9769#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
   9770#define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
   9771typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
   9772typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
   9773#ifdef GL_GLEXT_PROTOTYPES
   9774GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
   9775GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
   9776#endif
   9777#endif /* GL_NV_vertex_array_range */
   9778
   9779#ifndef GL_NV_vertex_array_range2
   9780#define GL_NV_vertex_array_range2 1
   9781#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
   9782#endif /* GL_NV_vertex_array_range2 */
   9783
   9784#ifndef GL_NV_vertex_attrib_integer_64bit
   9785#define GL_NV_vertex_attrib_integer_64bit 1
   9786typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
   9787typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
   9788typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
   9789typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
   9790typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
   9791typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
   9792typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
   9793typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
   9794typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
   9795typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
   9796typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
   9797typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
   9798typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
   9799typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
   9800typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
   9801typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
   9802typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
   9803typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
   9804typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
   9805#ifdef GL_GLEXT_PROTOTYPES
   9806GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
   9807GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
   9808GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
   9809GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
   9810GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
   9811GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
   9812GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
   9813GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
   9814GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
   9815GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
   9816GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
   9817GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
   9818GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
   9819GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
   9820GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
   9821GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
   9822GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
   9823GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
   9824GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
   9825#endif
   9826#endif /* GL_NV_vertex_attrib_integer_64bit */
   9827
   9828#ifndef GL_NV_vertex_buffer_unified_memory
   9829#define GL_NV_vertex_buffer_unified_memory 1
   9830#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
   9831#define GL_ELEMENT_ARRAY_UNIFIED_NV       0x8F1F
   9832#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
   9833#define GL_VERTEX_ARRAY_ADDRESS_NV        0x8F21
   9834#define GL_NORMAL_ARRAY_ADDRESS_NV        0x8F22
   9835#define GL_COLOR_ARRAY_ADDRESS_NV         0x8F23
   9836#define GL_INDEX_ARRAY_ADDRESS_NV         0x8F24
   9837#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
   9838#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV     0x8F26
   9839#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
   9840#define GL_FOG_COORD_ARRAY_ADDRESS_NV     0x8F28
   9841#define GL_ELEMENT_ARRAY_ADDRESS_NV       0x8F29
   9842#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV  0x8F2A
   9843#define GL_VERTEX_ARRAY_LENGTH_NV         0x8F2B
   9844#define GL_NORMAL_ARRAY_LENGTH_NV         0x8F2C
   9845#define GL_COLOR_ARRAY_LENGTH_NV          0x8F2D
   9846#define GL_INDEX_ARRAY_LENGTH_NV          0x8F2E
   9847#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV  0x8F2F
   9848#define GL_EDGE_FLAG_ARRAY_LENGTH_NV      0x8F30
   9849#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
   9850#define GL_FOG_COORD_ARRAY_LENGTH_NV      0x8F32
   9851#define GL_ELEMENT_ARRAY_LENGTH_NV        0x8F33
   9852#define GL_DRAW_INDIRECT_UNIFIED_NV       0x8F40
   9853#define GL_DRAW_INDIRECT_ADDRESS_NV       0x8F41
   9854#define GL_DRAW_INDIRECT_LENGTH_NV        0x8F42
   9855typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
   9856typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
   9857typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
   9858typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
   9859typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
   9860typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
   9861typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
   9862typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
   9863typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
   9864typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
   9865typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
   9866typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
   9867#ifdef GL_GLEXT_PROTOTYPES
   9868GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
   9869GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
   9870GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
   9871GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
   9872GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
   9873GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
   9874GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
   9875GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
   9876GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
   9877GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
   9878GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
   9879GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
   9880#endif
   9881#endif /* GL_NV_vertex_buffer_unified_memory */
   9882
   9883#ifndef GL_NV_vertex_program
   9884#define GL_NV_vertex_program 1
   9885#define GL_VERTEX_PROGRAM_NV              0x8620
   9886#define GL_VERTEX_STATE_PROGRAM_NV        0x8621
   9887#define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
   9888#define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
   9889#define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
   9890#define GL_CURRENT_ATTRIB_NV              0x8626
   9891#define GL_PROGRAM_LENGTH_NV              0x8627
   9892#define GL_PROGRAM_STRING_NV              0x8628
   9893#define GL_MODELVIEW_PROJECTION_NV        0x8629
   9894#define GL_IDENTITY_NV                    0x862A
   9895#define GL_INVERSE_NV                     0x862B
   9896#define GL_TRANSPOSE_NV                   0x862C
   9897#define GL_INVERSE_TRANSPOSE_NV           0x862D
   9898#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
   9899#define GL_MAX_TRACK_MATRICES_NV          0x862F
   9900#define GL_MATRIX0_NV                     0x8630
   9901#define GL_MATRIX1_NV                     0x8631
   9902#define GL_MATRIX2_NV                     0x8632
   9903#define GL_MATRIX3_NV                     0x8633
   9904#define GL_MATRIX4_NV                     0x8634
   9905#define GL_MATRIX5_NV                     0x8635
   9906#define GL_MATRIX6_NV                     0x8636
   9907#define GL_MATRIX7_NV                     0x8637
   9908#define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
   9909#define GL_CURRENT_MATRIX_NV              0x8641
   9910#define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
   9911#define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
   9912#define GL_PROGRAM_PARAMETER_NV           0x8644
   9913#define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
   9914#define GL_PROGRAM_TARGET_NV              0x8646
   9915#define GL_PROGRAM_RESIDENT_NV            0x8647
   9916#define GL_TRACK_MATRIX_NV                0x8648
   9917#define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
   9918#define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
   9919#define GL_PROGRAM_ERROR_POSITION_NV      0x864B
   9920#define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
   9921#define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
   9922#define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
   9923#define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
   9924#define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
   9925#define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
   9926#define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
   9927#define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
   9928#define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
   9929#define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
   9930#define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
   9931#define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
   9932#define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
   9933#define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
   9934#define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
   9935#define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
   9936#define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
   9937#define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
   9938#define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
   9939#define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
   9940#define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
   9941#define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
   9942#define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
   9943#define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
   9944#define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
   9945#define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
   9946#define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
   9947#define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
   9948#define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
   9949#define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
   9950#define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
   9951#define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
   9952#define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
   9953#define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
   9954#define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
   9955#define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
   9956#define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
   9957#define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
   9958#define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
   9959#define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
   9960#define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
   9961#define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
   9962#define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
   9963#define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
   9964#define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
   9965#define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
   9966#define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
   9967#define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
   9968typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
   9969typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
   9970typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
   9971typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
   9972typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
   9973typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
   9974typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
   9975typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
   9976typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
   9977typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
   9978typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
   9979typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
   9980typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
   9981typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
   9982typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
   9983typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
   9984typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   9985typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
   9986typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   9987typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
   9988typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
   9989typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
   9990typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
   9991typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
   9992typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
   9993typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
   9994typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
   9995typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
   9996typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
   9997typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
   9998typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
   9999typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  10000typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  10001typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  10002typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  10003typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  10004typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  10005typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  10006typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  10007typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  10008typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  10009typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  10010typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  10011typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10012typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  10013typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10014typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  10015typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  10016typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  10017typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  10018typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  10019typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  10020typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  10021typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  10022typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  10023typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  10024typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  10025typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  10026typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  10027typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  10028typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  10029typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  10030typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  10031typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  10032#ifdef GL_GLEXT_PROTOTYPES
  10033GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  10034GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  10035GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  10036GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  10037GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  10038GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  10039GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  10040GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  10041GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  10042GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  10043GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  10044GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  10045GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  10046GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
  10047GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  10048GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  10049GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10050GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  10051GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10052GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  10053GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  10054GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  10055GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  10056GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  10057GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  10058GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  10059GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  10060GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  10061GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  10062GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  10063GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  10064GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  10065GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  10066GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  10067GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  10068GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  10069GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  10070GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  10071GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  10072GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  10073GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  10074GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  10075GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  10076GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10077GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  10078GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10079GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  10080GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  10081GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  10082GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  10083GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  10084GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  10085GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  10086GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  10087GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  10088GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  10089GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  10090GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  10091GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  10092GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  10093GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  10094GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  10095GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  10096GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  10097#endif
  10098#endif /* GL_NV_vertex_program */
  10099
  10100#ifndef GL_NV_vertex_program1_1
  10101#define GL_NV_vertex_program1_1 1
  10102#endif /* GL_NV_vertex_program1_1 */
  10103
  10104#ifndef GL_NV_vertex_program2
  10105#define GL_NV_vertex_program2 1
  10106#endif /* GL_NV_vertex_program2 */
  10107
  10108#ifndef GL_NV_vertex_program2_option
  10109#define GL_NV_vertex_program2_option 1
  10110#endif /* GL_NV_vertex_program2_option */
  10111
  10112#ifndef GL_NV_vertex_program3
  10113#define GL_NV_vertex_program3 1
  10114#endif /* GL_NV_vertex_program3 */
  10115
  10116#ifndef GL_NV_vertex_program4
  10117#define GL_NV_vertex_program4 1
  10118#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  10119typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  10120typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  10121typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  10122typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  10123typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  10124typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  10125typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  10126typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10127typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  10128typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  10129typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  10130typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  10131typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  10132typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  10133typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  10134typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  10135typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  10136typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  10137typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  10138typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  10139typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  10140typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  10141typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  10142#ifdef GL_GLEXT_PROTOTYPES
  10143GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  10144GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  10145GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  10146GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  10147GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  10148GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  10149GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  10150GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10151GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  10152GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  10153GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  10154GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  10155GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  10156GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  10157GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  10158GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  10159GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  10160GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  10161GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  10162GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  10163GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  10164GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  10165GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  10166#endif
  10167#endif /* GL_NV_vertex_program4 */
  10168
  10169#ifndef GL_NV_video_capture
  10170#define GL_NV_video_capture 1
  10171#define GL_VIDEO_BUFFER_NV                0x9020
  10172#define GL_VIDEO_BUFFER_BINDING_NV        0x9021
  10173#define GL_FIELD_UPPER_NV                 0x9022
  10174#define GL_FIELD_LOWER_NV                 0x9023
  10175#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV   0x9024
  10176#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  10177#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  10178#define GL_LAST_VIDEO_CAPTURE_STATUS_NV   0x9027
  10179#define GL_VIDEO_BUFFER_PITCH_NV          0x9028
  10180#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  10181#define GL_VIDEO_COLOR_CONVERSION_MAX_NV  0x902A
  10182#define GL_VIDEO_COLOR_CONVERSION_MIN_NV  0x902B
  10183#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  10184#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  10185#define GL_PARTIAL_SUCCESS_NV             0x902E
  10186#define GL_SUCCESS_NV                     0x902F
  10187#define GL_FAILURE_NV                     0x9030
  10188#define GL_YCBYCR8_422_NV                 0x9031
  10189#define GL_YCBAYCR8A_4224_NV              0x9032
  10190#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV  0x9033
  10191#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  10192#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV  0x9035
  10193#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  10194#define GL_Z4Y12Z4CB12Z4CR12_444_NV       0x9037
  10195#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV   0x9038
  10196#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV  0x9039
  10197#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  10198#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  10199#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  10200typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  10201typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  10202typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  10203typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  10204typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  10205typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  10206typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  10207typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  10208typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  10209typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  10210typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  10211typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  10212#ifdef GL_GLEXT_PROTOTYPES
  10213GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  10214GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  10215GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  10216GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  10217GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  10218GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  10219GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  10220GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  10221GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  10222GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  10223GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  10224GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  10225#endif
  10226#endif /* GL_NV_video_capture */
  10227
  10228#ifndef GL_OML_interlace
  10229#define GL_OML_interlace 1
  10230#define GL_INTERLACE_OML                  0x8980
  10231#define GL_INTERLACE_READ_OML             0x8981
  10232#endif /* GL_OML_interlace */
  10233
  10234#ifndef GL_OML_resample
  10235#define GL_OML_resample 1
  10236#define GL_PACK_RESAMPLE_OML              0x8984
  10237#define GL_UNPACK_RESAMPLE_OML            0x8985
  10238#define GL_RESAMPLE_REPLICATE_OML         0x8986
  10239#define GL_RESAMPLE_ZERO_FILL_OML         0x8987
  10240#define GL_RESAMPLE_AVERAGE_OML           0x8988
  10241#define GL_RESAMPLE_DECIMATE_OML          0x8989
  10242#endif /* GL_OML_resample */
  10243
  10244#ifndef GL_OML_subsample
  10245#define GL_OML_subsample 1
  10246#define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
  10247#define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
  10248#endif /* GL_OML_subsample */
  10249
  10250#ifndef GL_PGI_misc_hints
  10251#define GL_PGI_misc_hints 1
  10252#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
  10253#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
  10254#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
  10255#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
  10256#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  10257#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
  10258#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
  10259#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
  10260#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
  10261#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
  10262#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
  10263#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
  10264#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
  10265#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
  10266#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
  10267#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
  10268#define GL_CLIP_NEAR_HINT_PGI             0x1A220
  10269#define GL_CLIP_FAR_HINT_PGI              0x1A221
  10270#define GL_WIDE_LINE_HINT_PGI             0x1A222
  10271#define GL_BACK_NORMALS_HINT_PGI          0x1A223
  10272typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  10273#ifdef GL_GLEXT_PROTOTYPES
  10274GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  10275#endif
  10276#endif /* GL_PGI_misc_hints */
  10277
  10278#ifndef GL_PGI_vertex_hints
  10279#define GL_PGI_vertex_hints 1
  10280#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
  10281#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
  10282#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
  10283#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
  10284#define GL_COLOR3_BIT_PGI                 0x00010000
  10285#define GL_COLOR4_BIT_PGI                 0x00020000
  10286#define GL_EDGEFLAG_BIT_PGI               0x00040000
  10287#define GL_INDEX_BIT_PGI                  0x00080000
  10288#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
  10289#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  10290#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
  10291#define GL_MAT_EMISSION_BIT_PGI           0x00800000
  10292#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
  10293#define GL_MAT_SHININESS_BIT_PGI          0x02000000
  10294#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
  10295#define GL_NORMAL_BIT_PGI                 0x08000000
  10296#define GL_TEXCOORD1_BIT_PGI              0x10000000
  10297#define GL_TEXCOORD2_BIT_PGI              0x20000000
  10298#define GL_TEXCOORD3_BIT_PGI              0x40000000
  10299#define GL_TEXCOORD4_BIT_PGI              0x80000000
  10300#define GL_VERTEX23_BIT_PGI               0x00000004
  10301#define GL_VERTEX4_BIT_PGI                0x00000008
  10302#endif /* GL_PGI_vertex_hints */
  10303
  10304#ifndef GL_REND_screen_coordinates
  10305#define GL_REND_screen_coordinates 1
  10306#define GL_SCREEN_COORDINATES_REND        0x8490
  10307#define GL_INVERTED_SCREEN_W_REND         0x8491
  10308#endif /* GL_REND_screen_coordinates */
  10309
  10310#ifndef GL_S3_s3tc
  10311#define GL_S3_s3tc 1
  10312#define GL_RGB_S3TC                       0x83A0
  10313#define GL_RGB4_S3TC                      0x83A1
  10314#define GL_RGBA_S3TC                      0x83A2
  10315#define GL_RGBA4_S3TC                     0x83A3
  10316#define GL_RGBA_DXT5_S3TC                 0x83A4
  10317#define GL_RGBA4_DXT5_S3TC                0x83A5
  10318#endif /* GL_S3_s3tc */
  10319
  10320#ifndef GL_SGIS_detail_texture
  10321#define GL_SGIS_detail_texture 1
  10322#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
  10323#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  10324#define GL_LINEAR_DETAIL_SGIS             0x8097
  10325#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
  10326#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
  10327#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
  10328#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
  10329#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  10330typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  10331typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  10332#ifdef GL_GLEXT_PROTOTYPES
  10333GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  10334GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  10335#endif
  10336#endif /* GL_SGIS_detail_texture */
  10337
  10338#ifndef GL_SGIS_fog_function
  10339#define GL_SGIS_fog_function 1
  10340#define GL_FOG_FUNC_SGIS                  0x812A
  10341#define GL_FOG_FUNC_POINTS_SGIS           0x812B
  10342#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
  10343typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  10344typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  10345#ifdef GL_GLEXT_PROTOTYPES
  10346GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  10347GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  10348#endif
  10349#endif /* GL_SGIS_fog_function */
  10350
  10351#ifndef GL_SGIS_generate_mipmap
  10352#define GL_SGIS_generate_mipmap 1
  10353#define GL_GENERATE_MIPMAP_SGIS           0x8191
  10354#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
  10355#endif /* GL_SGIS_generate_mipmap */
  10356
  10357#ifndef GL_SGIS_multisample
  10358#define GL_SGIS_multisample 1
  10359#define GL_MULTISAMPLE_SGIS               0x809D
  10360#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
  10361#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
  10362#define GL_SAMPLE_MASK_SGIS               0x80A0
  10363#define GL_1PASS_SGIS                     0x80A1
  10364#define GL_2PASS_0_SGIS                   0x80A2
  10365#define GL_2PASS_1_SGIS                   0x80A3
  10366#define GL_4PASS_0_SGIS                   0x80A4
  10367#define GL_4PASS_1_SGIS                   0x80A5
  10368#define GL_4PASS_2_SGIS                   0x80A6
  10369#define GL_4PASS_3_SGIS                   0x80A7
  10370#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
  10371#define GL_SAMPLES_SGIS                   0x80A9
  10372#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
  10373#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
  10374#define GL_SAMPLE_PATTERN_SGIS            0x80AC
  10375typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  10376typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  10377#ifdef GL_GLEXT_PROTOTYPES
  10378GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  10379GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  10380#endif
  10381#endif /* GL_SGIS_multisample */
  10382
  10383#ifndef GL_SGIS_pixel_texture
  10384#define GL_SGIS_pixel_texture 1
  10385#define GL_PIXEL_TEXTURE_SGIS             0x8353
  10386#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  10387#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  10388#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
  10389typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  10390typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  10391typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  10392typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  10393typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  10394typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  10395#ifdef GL_GLEXT_PROTOTYPES
  10396GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  10397GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  10398GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  10399GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  10400GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  10401GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  10402#endif
  10403#endif /* GL_SGIS_pixel_texture */
  10404
  10405#ifndef GL_SGIS_point_line_texgen
  10406#define GL_SGIS_point_line_texgen 1
  10407#define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
  10408#define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
  10409#define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
  10410#define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
  10411#define GL_EYE_POINT_SGIS                 0x81F4
  10412#define GL_OBJECT_POINT_SGIS              0x81F5
  10413#define GL_EYE_LINE_SGIS                  0x81F6
  10414#define GL_OBJECT_LINE_SGIS               0x81F7
  10415#endif /* GL_SGIS_point_line_texgen */
  10416
  10417#ifndef GL_SGIS_point_parameters
  10418#define GL_SGIS_point_parameters 1
  10419#define GL_POINT_SIZE_MIN_SGIS            0x8126
  10420#define GL_POINT_SIZE_MAX_SGIS            0x8127
  10421#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  10422#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
  10423typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  10424typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  10425#ifdef GL_GLEXT_PROTOTYPES
  10426GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  10427GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  10428#endif
  10429#endif /* GL_SGIS_point_parameters */
  10430
  10431#ifndef GL_SGIS_sharpen_texture
  10432#define GL_SGIS_sharpen_texture 1
  10433#define GL_LINEAR_SHARPEN_SGIS            0x80AD
  10434#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
  10435#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
  10436#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  10437typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  10438typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  10439#ifdef GL_GLEXT_PROTOTYPES
  10440GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  10441GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  10442#endif
  10443#endif /* GL_SGIS_sharpen_texture */
  10444
  10445#ifndef GL_SGIS_texture4D
  10446#define GL_SGIS_texture4D 1
  10447#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
  10448#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
  10449#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
  10450#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
  10451#define GL_TEXTURE_4D_SGIS                0x8134
  10452#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
  10453#define GL_TEXTURE_4DSIZE_SGIS            0x8136
  10454#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
  10455#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
  10456#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
  10457typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
  10458typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
  10459#ifdef GL_GLEXT_PROTOTYPES
  10460GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
  10461GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
  10462#endif
  10463#endif /* GL_SGIS_texture4D */
  10464
  10465#ifndef GL_SGIS_texture_border_clamp
  10466#define GL_SGIS_texture_border_clamp 1
  10467#define GL_CLAMP_TO_BORDER_SGIS           0x812D
  10468#endif /* GL_SGIS_texture_border_clamp */
  10469
  10470#ifndef GL_SGIS_texture_color_mask
  10471#define GL_SGIS_texture_color_mask 1
  10472#define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
  10473typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  10474#ifdef GL_GLEXT_PROTOTYPES
  10475GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  10476#endif
  10477#endif /* GL_SGIS_texture_color_mask */
  10478
  10479#ifndef GL_SGIS_texture_edge_clamp
  10480#define GL_SGIS_texture_edge_clamp 1
  10481#define GL_CLAMP_TO_EDGE_SGIS             0x812F
  10482#endif /* GL_SGIS_texture_edge_clamp */
  10483
  10484#ifndef GL_SGIS_texture_filter4
  10485#define GL_SGIS_texture_filter4 1
  10486#define GL_FILTER4_SGIS                   0x8146
  10487#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
  10488typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  10489typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  10490#ifdef GL_GLEXT_PROTOTYPES
  10491GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  10492GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  10493#endif
  10494#endif /* GL_SGIS_texture_filter4 */
  10495
  10496#ifndef GL_SGIS_texture_lod
  10497#define GL_SGIS_texture_lod 1
  10498#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
  10499#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
  10500#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
  10501#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
  10502#endif /* GL_SGIS_texture_lod */
  10503
  10504#ifndef GL_SGIS_texture_select
  10505#define GL_SGIS_texture_select 1
  10506#define GL_DUAL_ALPHA4_SGIS               0x8110
  10507#define GL_DUAL_ALPHA8_SGIS               0x8111
  10508#define GL_DUAL_ALPHA12_SGIS              0x8112
  10509#define GL_DUAL_ALPHA16_SGIS              0x8113
  10510#define GL_DUAL_LUMINANCE4_SGIS           0x8114
  10511#define GL_DUAL_LUMINANCE8_SGIS           0x8115
  10512#define GL_DUAL_LUMINANCE12_SGIS          0x8116
  10513#define GL_DUAL_LUMINANCE16_SGIS          0x8117
  10514#define GL_DUAL_INTENSITY4_SGIS           0x8118
  10515#define GL_DUAL_INTENSITY8_SGIS           0x8119
  10516#define GL_DUAL_INTENSITY12_SGIS          0x811A
  10517#define GL_DUAL_INTENSITY16_SGIS          0x811B
  10518#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
  10519#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
  10520#define GL_QUAD_ALPHA4_SGIS               0x811E
  10521#define GL_QUAD_ALPHA8_SGIS               0x811F
  10522#define GL_QUAD_LUMINANCE4_SGIS           0x8120
  10523#define GL_QUAD_LUMINANCE8_SGIS           0x8121
  10524#define GL_QUAD_INTENSITY4_SGIS           0x8122
  10525#define GL_QUAD_INTENSITY8_SGIS           0x8123
  10526#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
  10527#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
  10528#endif /* GL_SGIS_texture_select */
  10529
  10530#ifndef GL_SGIX_async
  10531#define GL_SGIX_async 1
  10532#define GL_ASYNC_MARKER_SGIX              0x8329
  10533typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  10534typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  10535typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  10536typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  10537typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  10538typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  10539#ifdef GL_GLEXT_PROTOTYPES
  10540GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  10541GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  10542GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  10543GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  10544GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  10545GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  10546#endif
  10547#endif /* GL_SGIX_async */
  10548
  10549#ifndef GL_SGIX_async_histogram
  10550#define GL_SGIX_async_histogram 1
  10551#define GL_ASYNC_HISTOGRAM_SGIX           0x832C
  10552#define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
  10553#endif /* GL_SGIX_async_histogram */
  10554
  10555#ifndef GL_SGIX_async_pixel
  10556#define GL_SGIX_async_pixel 1
  10557#define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
  10558#define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
  10559#define GL_ASYNC_READ_PIXELS_SGIX         0x835E
  10560#define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
  10561#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
  10562#define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
  10563#endif /* GL_SGIX_async_pixel */
  10564
  10565#ifndef GL_SGIX_blend_alpha_minmax
  10566#define GL_SGIX_blend_alpha_minmax 1
  10567#define GL_ALPHA_MIN_SGIX                 0x8320
  10568#define GL_ALPHA_MAX_SGIX                 0x8321
  10569#endif /* GL_SGIX_blend_alpha_minmax */
  10570
  10571#ifndef GL_SGIX_calligraphic_fragment
  10572#define GL_SGIX_calligraphic_fragment 1
  10573#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
  10574#endif /* GL_SGIX_calligraphic_fragment */
  10575
  10576#ifndef GL_SGIX_clipmap
  10577#define GL_SGIX_clipmap 1
  10578#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
  10579#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
  10580#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
  10581#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
  10582#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  10583#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  10584#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
  10585#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
  10586#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  10587#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
  10588#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
  10589#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
  10590#endif /* GL_SGIX_clipmap */
  10591
  10592#ifndef GL_SGIX_convolution_accuracy
  10593#define GL_SGIX_convolution_accuracy 1
  10594#define GL_CONVOLUTION_HINT_SGIX          0x8316
  10595#endif /* GL_SGIX_convolution_accuracy */
  10596
  10597#ifndef GL_SGIX_depth_pass_instrument
  10598#define GL_SGIX_depth_pass_instrument 1
  10599#endif /* GL_SGIX_depth_pass_instrument */
  10600
  10601#ifndef GL_SGIX_depth_texture
  10602#define GL_SGIX_depth_texture 1
  10603#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
  10604#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
  10605#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
  10606#endif /* GL_SGIX_depth_texture */
  10607
  10608#ifndef GL_SGIX_flush_raster
  10609#define GL_SGIX_flush_raster 1
  10610typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  10611#ifdef GL_GLEXT_PROTOTYPES
  10612GLAPI void APIENTRY glFlushRasterSGIX (void);
  10613#endif
  10614#endif /* GL_SGIX_flush_raster */
  10615
  10616#ifndef GL_SGIX_fog_offset
  10617#define GL_SGIX_fog_offset 1
  10618#define GL_FOG_OFFSET_SGIX                0x8198
  10619#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
  10620#endif /* GL_SGIX_fog_offset */
  10621
  10622#ifndef GL_SGIX_fragment_lighting
  10623#define GL_SGIX_fragment_lighting 1
  10624#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
  10625#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
  10626#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  10627#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  10628#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
  10629#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
  10630#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
  10631#define GL_LIGHT_ENV_MODE_SGIX            0x8407
  10632#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  10633#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  10634#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  10635#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  10636#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
  10637#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
  10638#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
  10639#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
  10640#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
  10641#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
  10642#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
  10643#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
  10644typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  10645typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  10646typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  10647typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  10648typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  10649typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  10650typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  10651typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  10652typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  10653typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  10654typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  10655typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  10656typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  10657typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  10658typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  10659typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  10660typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  10661typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  10662#ifdef GL_GLEXT_PROTOTYPES
  10663GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  10664GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  10665GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  10666GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  10667GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  10668GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  10669GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  10670GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  10671GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  10672GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  10673GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  10674GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  10675GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  10676GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  10677GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  10678GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  10679GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  10680GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  10681#endif
  10682#endif /* GL_SGIX_fragment_lighting */
  10683
  10684#ifndef GL_SGIX_framezoom
  10685#define GL_SGIX_framezoom 1
  10686#define GL_FRAMEZOOM_SGIX                 0x818B
  10687#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
  10688#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
  10689typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  10690#ifdef GL_GLEXT_PROTOTYPES
  10691GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  10692#endif
  10693#endif /* GL_SGIX_framezoom */
  10694
  10695#ifndef GL_SGIX_igloo_interface
  10696#define GL_SGIX_igloo_interface 1
  10697typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
  10698#ifdef GL_GLEXT_PROTOTYPES
  10699GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
  10700#endif
  10701#endif /* GL_SGIX_igloo_interface */
  10702
  10703#ifndef GL_SGIX_instruments
  10704#define GL_SGIX_instruments 1
  10705#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  10706#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
  10707typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  10708typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  10709typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  10710typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  10711typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  10712typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  10713#ifdef GL_GLEXT_PROTOTYPES
  10714GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  10715GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  10716GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  10717GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  10718GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  10719GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  10720#endif
  10721#endif /* GL_SGIX_instruments */
  10722
  10723#ifndef GL_SGIX_interlace
  10724#define GL_SGIX_interlace 1
  10725#define GL_INTERLACE_SGIX                 0x8094
  10726#endif /* GL_SGIX_interlace */
  10727
  10728#ifndef GL_SGIX_ir_instrument1
  10729#define GL_SGIX_ir_instrument1 1
  10730#define GL_IR_INSTRUMENT1_SGIX            0x817F
  10731#endif /* GL_SGIX_ir_instrument1 */
  10732
  10733#ifndef GL_SGIX_list_priority
  10734#define GL_SGIX_list_priority 1
  10735#define GL_LIST_PRIORITY_SGIX             0x8182
  10736typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  10737typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  10738typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  10739typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  10740typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  10741typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  10742#ifdef GL_GLEXT_PROTOTYPES
  10743GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  10744GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  10745GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  10746GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  10747GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  10748GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  10749#endif
  10750#endif /* GL_SGIX_list_priority */
  10751
  10752#ifndef GL_SGIX_pixel_texture
  10753#define GL_SGIX_pixel_texture 1
  10754#define GL_PIXEL_TEX_GEN_SGIX             0x8139
  10755#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
  10756typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  10757#ifdef GL_GLEXT_PROTOTYPES
  10758GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  10759#endif
  10760#endif /* GL_SGIX_pixel_texture */
  10761
  10762#ifndef GL_SGIX_pixel_tiles
  10763#define GL_SGIX_pixel_tiles 1
  10764#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  10765#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  10766#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
  10767#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
  10768#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
  10769#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
  10770#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
  10771#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
  10772#endif /* GL_SGIX_pixel_tiles */
  10773
  10774#ifndef GL_SGIX_polynomial_ffd
  10775#define GL_SGIX_polynomial_ffd 1
  10776#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
  10777#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
  10778#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
  10779#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
  10780#define GL_DEFORMATIONS_MASK_SGIX         0x8196
  10781#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
  10782typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  10783typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  10784typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  10785typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  10786#ifdef GL_GLEXT_PROTOTYPES
  10787GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  10788GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  10789GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  10790GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  10791#endif
  10792#endif /* GL_SGIX_polynomial_ffd */
  10793
  10794#ifndef GL_SGIX_reference_plane
  10795#define GL_SGIX_reference_plane 1
  10796#define GL_REFERENCE_PLANE_SGIX           0x817D
  10797#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
  10798typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  10799#ifdef GL_GLEXT_PROTOTYPES
  10800GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  10801#endif
  10802#endif /* GL_SGIX_reference_plane */
  10803
  10804#ifndef GL_SGIX_resample
  10805#define GL_SGIX_resample 1
  10806#define GL_PACK_RESAMPLE_SGIX             0x842C
  10807#define GL_UNPACK_RESAMPLE_SGIX           0x842D
  10808#define GL_RESAMPLE_REPLICATE_SGIX        0x842E
  10809#define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
  10810#define GL_RESAMPLE_DECIMATE_SGIX         0x8430
  10811#endif /* GL_SGIX_resample */
  10812
  10813#ifndef GL_SGIX_scalebias_hint
  10814#define GL_SGIX_scalebias_hint 1
  10815#define GL_SCALEBIAS_HINT_SGIX            0x8322
  10816#endif /* GL_SGIX_scalebias_hint */
  10817
  10818#ifndef GL_SGIX_shadow
  10819#define GL_SGIX_shadow 1
  10820#define GL_TEXTURE_COMPARE_SGIX           0x819A
  10821#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
  10822#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
  10823#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
  10824#endif /* GL_SGIX_shadow */
  10825
  10826#ifndef GL_SGIX_shadow_ambient
  10827#define GL_SGIX_shadow_ambient 1
  10828#define GL_SHADOW_AMBIENT_SGIX            0x80BF
  10829#endif /* GL_SGIX_shadow_ambient */
  10830
  10831#ifndef GL_SGIX_sprite
  10832#define GL_SGIX_sprite 1
  10833#define GL_SPRITE_SGIX                    0x8148
  10834#define GL_SPRITE_MODE_SGIX               0x8149
  10835#define GL_SPRITE_AXIS_SGIX               0x814A
  10836#define GL_SPRITE_TRANSLATION_SGIX        0x814B
  10837#define GL_SPRITE_AXIAL_SGIX              0x814C
  10838#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
  10839#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
  10840typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  10841typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  10842typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  10843typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  10844#ifdef GL_GLEXT_PROTOTYPES
  10845GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  10846GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  10847GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  10848GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  10849#endif
  10850#endif /* GL_SGIX_sprite */
  10851
  10852#ifndef GL_SGIX_subsample
  10853#define GL_SGIX_subsample 1
  10854#define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
  10855#define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
  10856#define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
  10857#define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
  10858#define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
  10859#endif /* GL_SGIX_subsample */
  10860
  10861#ifndef GL_SGIX_tag_sample_buffer
  10862#define GL_SGIX_tag_sample_buffer 1
  10863typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  10864#ifdef GL_GLEXT_PROTOTYPES
  10865GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  10866#endif
  10867#endif /* GL_SGIX_tag_sample_buffer */
  10868
  10869#ifndef GL_SGIX_texture_add_env
  10870#define GL_SGIX_texture_add_env 1
  10871#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
  10872#endif /* GL_SGIX_texture_add_env */
  10873
  10874#ifndef GL_SGIX_texture_coordinate_clamp
  10875#define GL_SGIX_texture_coordinate_clamp 1
  10876#define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
  10877#define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
  10878#define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
  10879#endif /* GL_SGIX_texture_coordinate_clamp */
  10880
  10881#ifndef GL_SGIX_texture_lod_bias
  10882#define GL_SGIX_texture_lod_bias 1
  10883#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
  10884#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
  10885#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
  10886#endif /* GL_SGIX_texture_lod_bias */
  10887
  10888#ifndef GL_SGIX_texture_multi_buffer
  10889#define GL_SGIX_texture_multi_buffer 1
  10890#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  10891#endif /* GL_SGIX_texture_multi_buffer */
  10892
  10893#ifndef GL_SGIX_texture_scale_bias
  10894#define GL_SGIX_texture_scale_bias 1
  10895#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
  10896#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  10897#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  10898#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  10899#endif /* GL_SGIX_texture_scale_bias */
  10900
  10901#ifndef GL_SGIX_vertex_preclip
  10902#define GL_SGIX_vertex_preclip 1
  10903#define GL_VERTEX_PRECLIP_SGIX            0x83EE
  10904#define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
  10905#endif /* GL_SGIX_vertex_preclip */
  10906
  10907#ifndef GL_SGIX_ycrcb
  10908#define GL_SGIX_ycrcb 1
  10909#define GL_YCRCB_422_SGIX                 0x81BB
  10910#define GL_YCRCB_444_SGIX                 0x81BC
  10911#endif /* GL_SGIX_ycrcb */
  10912
  10913#ifndef GL_SGIX_ycrcb_subsample
  10914#define GL_SGIX_ycrcb_subsample 1
  10915#endif /* GL_SGIX_ycrcb_subsample */
  10916
  10917#ifndef GL_SGIX_ycrcba
  10918#define GL_SGIX_ycrcba 1
  10919#define GL_YCRCB_SGIX                     0x8318
  10920#define GL_YCRCBA_SGIX                    0x8319
  10921#endif /* GL_SGIX_ycrcba */
  10922
  10923#ifndef GL_SGI_color_matrix
  10924#define GL_SGI_color_matrix 1
  10925#define GL_COLOR_MATRIX_SGI               0x80B1
  10926#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
  10927#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  10928#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  10929#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  10930#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  10931#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  10932#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  10933#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  10934#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  10935#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  10936#endif /* GL_SGI_color_matrix */
  10937
  10938#ifndef GL_SGI_color_table
  10939#define GL_SGI_color_table 1
  10940#define GL_COLOR_TABLE_SGI                0x80D0
  10941#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  10942#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  10943#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
  10944#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  10945#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  10946#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
  10947#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
  10948#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
  10949#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
  10950#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
  10951#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
  10952#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
  10953#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
  10954#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  10955#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  10956typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  10957typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  10958typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  10959typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  10960typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
  10961typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  10962typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  10963#ifdef GL_GLEXT_PROTOTYPES
  10964GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  10965GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  10966GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  10967GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  10968GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
  10969GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  10970GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  10971#endif
  10972#endif /* GL_SGI_color_table */
  10973
  10974#ifndef GL_SGI_texture_color_table
  10975#define GL_SGI_texture_color_table 1
  10976#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
  10977#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
  10978#endif /* GL_SGI_texture_color_table */
  10979
  10980#ifndef GL_SUNX_constant_data
  10981#define GL_SUNX_constant_data 1
  10982#define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
  10983#define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
  10984typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  10985#ifdef GL_GLEXT_PROTOTYPES
  10986GLAPI void APIENTRY glFinishTextureSUNX (void);
  10987#endif
  10988#endif /* GL_SUNX_constant_data */
  10989
  10990#ifndef GL_SUN_convolution_border_modes
  10991#define GL_SUN_convolution_border_modes 1
  10992#define GL_WRAP_BORDER_SUN                0x81D4
  10993#endif /* GL_SUN_convolution_border_modes */
  10994
  10995#ifndef GL_SUN_global_alpha
  10996#define GL_SUN_global_alpha 1
  10997#define GL_GLOBAL_ALPHA_SUN               0x81D9
  10998#define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
  10999typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  11000typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  11001typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  11002typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  11003typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  11004typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  11005typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  11006typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  11007#ifdef GL_GLEXT_PROTOTYPES
  11008GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  11009GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  11010GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  11011GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  11012GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  11013GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  11014GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  11015GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  11016#endif
  11017#endif /* GL_SUN_global_alpha */
  11018
  11019#ifndef GL_SUN_mesh_array
  11020#define GL_SUN_mesh_array 1
  11021#define GL_QUAD_MESH_SUN                  0x8614
  11022#define GL_TRIANGLE_MESH_SUN              0x8615
  11023typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  11024#ifdef GL_GLEXT_PROTOTYPES
  11025GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  11026#endif
  11027#endif /* GL_SUN_mesh_array */
  11028
  11029#ifndef GL_SUN_slice_accum
  11030#define GL_SUN_slice_accum 1
  11031#define GL_SLICE_ACCUM_SUN                0x85CC
  11032#endif /* GL_SUN_slice_accum */
  11033
  11034#ifndef GL_SUN_triangle_list
  11035#define GL_SUN_triangle_list 1
  11036#define GL_RESTART_SUN                    0x0001
  11037#define GL_REPLACE_MIDDLE_SUN             0x0002
  11038#define GL_REPLACE_OLDEST_SUN             0x0003
  11039#define GL_TRIANGLE_LIST_SUN              0x81D7
  11040#define GL_REPLACEMENT_CODE_SUN           0x81D8
  11041#define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
  11042#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  11043#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  11044#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  11045#define GL_R1UI_V3F_SUN                   0x85C4
  11046#define GL_R1UI_C4UB_V3F_SUN              0x85C5
  11047#define GL_R1UI_C3F_V3F_SUN               0x85C6
  11048#define GL_R1UI_N3F_V3F_SUN               0x85C7
  11049#define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
  11050#define GL_R1UI_T2F_V3F_SUN               0x85C9
  11051#define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
  11052#define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
  11053typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  11054typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  11055typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  11056typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  11057typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  11058typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  11059typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
  11060#ifdef GL_GLEXT_PROTOTYPES
  11061GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  11062GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  11063GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  11064GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  11065GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  11066GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  11067GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
  11068#endif
  11069#endif /* GL_SUN_triangle_list */
  11070
  11071#ifndef GL_SUN_vertex
  11072#define GL_SUN_vertex 1
  11073typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  11074typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  11075typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11076typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  11077typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11078typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  11079typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11080typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  11081typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11082typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11083typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  11084typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  11085typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11086typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  11087typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11088typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  11089typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11090typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  11091typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11092typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  11093typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11094typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11095typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11096typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11097typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  11098typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  11099typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11100typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  11101typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11102typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  11103typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11104typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  11105typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11106typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11107typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  11108typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  11109typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11110typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  11111typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11112typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11113#ifdef GL_GLEXT_PROTOTYPES
  11114GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  11115GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  11116GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11117GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  11118GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11119GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  11120GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11121GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  11122GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11123GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11124GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  11125GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  11126GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11127GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  11128GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11129GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  11130GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11131GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  11132GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11133GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  11134GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11135GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11136GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11137GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11138GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  11139GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  11140GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11141GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  11142GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11143GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  11144GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11145GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  11146GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11147GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11148GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  11149GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  11150GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11151GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  11152GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11153GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11154#endif
  11155#endif /* GL_SUN_vertex */
  11156
  11157#ifndef GL_WIN_phong_shading
  11158#define GL_WIN_phong_shading 1
  11159#define GL_PHONG_WIN                      0x80EA
  11160#define GL_PHONG_HINT_WIN                 0x80EB
  11161#endif /* GL_WIN_phong_shading */
  11162
  11163#ifndef GL_WIN_specular_fog
  11164#define GL_WIN_specular_fog 1
  11165#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
  11166#endif /* GL_WIN_specular_fog */
  11167
  11168#ifdef __cplusplus
  11169}
  11170#endif
  11171
  11172#endif