gl32.h revision 7ec681f3
17ec681f3Smrg#ifndef __gles2_gl32_h_
27ec681f3Smrg#define __gles2_gl32_h_ 1
301e04c3fSmrg
401e04c3fSmrg#ifdef __cplusplus
501e04c3fSmrgextern "C" {
601e04c3fSmrg#endif
701e04c3fSmrg
801e04c3fSmrg/*
97ec681f3Smrg** Copyright (c) 2013-2018 The Khronos Group Inc.
1001e04c3fSmrg**
1101e04c3fSmrg** Permission is hereby granted, free of charge, to any person obtaining a
1201e04c3fSmrg** copy of this software and/or associated documentation files (the
1301e04c3fSmrg** "Materials"), to deal in the Materials without restriction, including
1401e04c3fSmrg** without limitation the rights to use, copy, modify, merge, publish,
1501e04c3fSmrg** distribute, sublicense, and/or sell copies of the Materials, and to
1601e04c3fSmrg** permit persons to whom the Materials are furnished to do so, subject to
1701e04c3fSmrg** the following conditions:
1801e04c3fSmrg**
1901e04c3fSmrg** The above copyright notice and this permission notice shall be included
2001e04c3fSmrg** in all copies or substantial portions of the Materials.
2101e04c3fSmrg**
2201e04c3fSmrg** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2301e04c3fSmrg** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2401e04c3fSmrg** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
2501e04c3fSmrg** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
2601e04c3fSmrg** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
2701e04c3fSmrg** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2801e04c3fSmrg** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
2901e04c3fSmrg*/
3001e04c3fSmrg/*
3101e04c3fSmrg** This header is generated from the Khronos OpenGL / OpenGL ES XML
3201e04c3fSmrg** API Registry. The current version of the Registry, generator scripts
3301e04c3fSmrg** used to make the header, and the header can be found at
347ec681f3Smrg**   https://github.com/KhronosGroup/OpenGL-Registry
3501e04c3fSmrg*/
3601e04c3fSmrg
3701e04c3fSmrg#include <GLES3/gl3platform.h>
3801e04c3fSmrg
3901e04c3fSmrg#ifndef GL_APIENTRYP
4001e04c3fSmrg#define GL_APIENTRYP GL_APIENTRY*
4101e04c3fSmrg#endif
4201e04c3fSmrg
4301e04c3fSmrg#ifndef GL_GLES_PROTOTYPES
4401e04c3fSmrg#define GL_GLES_PROTOTYPES 1
4501e04c3fSmrg#endif
4601e04c3fSmrg
477ec681f3Smrg/* Generated on date 20190611 */
4801e04c3fSmrg
4901e04c3fSmrg/* Generated C header for:
5001e04c3fSmrg * API: gles2
5101e04c3fSmrg * Profile: common
5201e04c3fSmrg * Versions considered: 2\.[0-9]|3\.[012]
5301e04c3fSmrg * Versions emitted: .*
5401e04c3fSmrg * Default extensions included: None
5501e04c3fSmrg * Additional extensions included: _nomatch_^
5601e04c3fSmrg * Extensions removed: _nomatch_^
5701e04c3fSmrg */
5801e04c3fSmrg
5901e04c3fSmrg#ifndef GL_ES_VERSION_2_0
6001e04c3fSmrg#define GL_ES_VERSION_2_0 1
6101e04c3fSmrg#include <KHR/khrplatform.h>
6201e04c3fSmrgtypedef khronos_int8_t GLbyte;
6301e04c3fSmrgtypedef khronos_float_t GLclampf;
6401e04c3fSmrgtypedef khronos_int32_t GLfixed;
657ec681f3Smrgtypedef khronos_int16_t GLshort;
667ec681f3Smrgtypedef khronos_uint16_t GLushort;
6701e04c3fSmrgtypedef void GLvoid;
6801e04c3fSmrgtypedef struct __GLsync *GLsync;
6901e04c3fSmrgtypedef khronos_int64_t GLint64;
7001e04c3fSmrgtypedef khronos_uint64_t GLuint64;
7101e04c3fSmrgtypedef unsigned int GLenum;
7201e04c3fSmrgtypedef unsigned int GLuint;
7301e04c3fSmrgtypedef char GLchar;
7401e04c3fSmrgtypedef khronos_float_t GLfloat;
7501e04c3fSmrgtypedef khronos_ssize_t GLsizeiptr;
7601e04c3fSmrgtypedef khronos_intptr_t GLintptr;
7701e04c3fSmrgtypedef unsigned int GLbitfield;
7801e04c3fSmrgtypedef int GLint;
7901e04c3fSmrgtypedef unsigned char GLboolean;
8001e04c3fSmrgtypedef int GLsizei;
8101e04c3fSmrgtypedef khronos_uint8_t GLubyte;
8201e04c3fSmrg#define GL_DEPTH_BUFFER_BIT               0x00000100
8301e04c3fSmrg#define GL_STENCIL_BUFFER_BIT             0x00000400
8401e04c3fSmrg#define GL_COLOR_BUFFER_BIT               0x00004000
8501e04c3fSmrg#define GL_FALSE                          0
8601e04c3fSmrg#define GL_TRUE                           1
8701e04c3fSmrg#define GL_POINTS                         0x0000
8801e04c3fSmrg#define GL_LINES                          0x0001
8901e04c3fSmrg#define GL_LINE_LOOP                      0x0002
9001e04c3fSmrg#define GL_LINE_STRIP                     0x0003
9101e04c3fSmrg#define GL_TRIANGLES                      0x0004
9201e04c3fSmrg#define GL_TRIANGLE_STRIP                 0x0005
9301e04c3fSmrg#define GL_TRIANGLE_FAN                   0x0006
9401e04c3fSmrg#define GL_ZERO                           0
9501e04c3fSmrg#define GL_ONE                            1
9601e04c3fSmrg#define GL_SRC_COLOR                      0x0300
9701e04c3fSmrg#define GL_ONE_MINUS_SRC_COLOR            0x0301
9801e04c3fSmrg#define GL_SRC_ALPHA                      0x0302
9901e04c3fSmrg#define GL_ONE_MINUS_SRC_ALPHA            0x0303
10001e04c3fSmrg#define GL_DST_ALPHA                      0x0304
10101e04c3fSmrg#define GL_ONE_MINUS_DST_ALPHA            0x0305
10201e04c3fSmrg#define GL_DST_COLOR                      0x0306
10301e04c3fSmrg#define GL_ONE_MINUS_DST_COLOR            0x0307
10401e04c3fSmrg#define GL_SRC_ALPHA_SATURATE             0x0308
10501e04c3fSmrg#define GL_FUNC_ADD                       0x8006
10601e04c3fSmrg#define GL_BLEND_EQUATION                 0x8009
10701e04c3fSmrg#define GL_BLEND_EQUATION_RGB             0x8009
10801e04c3fSmrg#define GL_BLEND_EQUATION_ALPHA           0x883D
10901e04c3fSmrg#define GL_FUNC_SUBTRACT                  0x800A
11001e04c3fSmrg#define GL_FUNC_REVERSE_SUBTRACT          0x800B
11101e04c3fSmrg#define GL_BLEND_DST_RGB                  0x80C8
11201e04c3fSmrg#define GL_BLEND_SRC_RGB                  0x80C9
11301e04c3fSmrg#define GL_BLEND_DST_ALPHA                0x80CA
11401e04c3fSmrg#define GL_BLEND_SRC_ALPHA                0x80CB
11501e04c3fSmrg#define GL_CONSTANT_COLOR                 0x8001
11601e04c3fSmrg#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
11701e04c3fSmrg#define GL_CONSTANT_ALPHA                 0x8003
11801e04c3fSmrg#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
11901e04c3fSmrg#define GL_BLEND_COLOR                    0x8005
12001e04c3fSmrg#define GL_ARRAY_BUFFER                   0x8892
12101e04c3fSmrg#define GL_ELEMENT_ARRAY_BUFFER           0x8893
12201e04c3fSmrg#define GL_ARRAY_BUFFER_BINDING           0x8894
12301e04c3fSmrg#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
12401e04c3fSmrg#define GL_STREAM_DRAW                    0x88E0
12501e04c3fSmrg#define GL_STATIC_DRAW                    0x88E4
12601e04c3fSmrg#define GL_DYNAMIC_DRAW                   0x88E8
12701e04c3fSmrg#define GL_BUFFER_SIZE                    0x8764
12801e04c3fSmrg#define GL_BUFFER_USAGE                   0x8765
12901e04c3fSmrg#define GL_CURRENT_VERTEX_ATTRIB          0x8626
13001e04c3fSmrg#define GL_FRONT                          0x0404
13101e04c3fSmrg#define GL_BACK                           0x0405
13201e04c3fSmrg#define GL_FRONT_AND_BACK                 0x0408
13301e04c3fSmrg#define GL_TEXTURE_2D                     0x0DE1
13401e04c3fSmrg#define GL_CULL_FACE                      0x0B44
13501e04c3fSmrg#define GL_BLEND                          0x0BE2
13601e04c3fSmrg#define GL_DITHER                         0x0BD0
13701e04c3fSmrg#define GL_STENCIL_TEST                   0x0B90
13801e04c3fSmrg#define GL_DEPTH_TEST                     0x0B71
13901e04c3fSmrg#define GL_SCISSOR_TEST                   0x0C11
14001e04c3fSmrg#define GL_POLYGON_OFFSET_FILL            0x8037
14101e04c3fSmrg#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
14201e04c3fSmrg#define GL_SAMPLE_COVERAGE                0x80A0
14301e04c3fSmrg#define GL_NO_ERROR                       0
14401e04c3fSmrg#define GL_INVALID_ENUM                   0x0500
14501e04c3fSmrg#define GL_INVALID_VALUE                  0x0501
14601e04c3fSmrg#define GL_INVALID_OPERATION              0x0502
14701e04c3fSmrg#define GL_OUT_OF_MEMORY                  0x0505
14801e04c3fSmrg#define GL_CW                             0x0900
14901e04c3fSmrg#define GL_CCW                            0x0901
15001e04c3fSmrg#define GL_LINE_WIDTH                     0x0B21
15101e04c3fSmrg#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
15201e04c3fSmrg#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
15301e04c3fSmrg#define GL_CULL_FACE_MODE                 0x0B45
15401e04c3fSmrg#define GL_FRONT_FACE                     0x0B46
15501e04c3fSmrg#define GL_DEPTH_RANGE                    0x0B70
15601e04c3fSmrg#define GL_DEPTH_WRITEMASK                0x0B72
15701e04c3fSmrg#define GL_DEPTH_CLEAR_VALUE              0x0B73
15801e04c3fSmrg#define GL_DEPTH_FUNC                     0x0B74
15901e04c3fSmrg#define GL_STENCIL_CLEAR_VALUE            0x0B91
16001e04c3fSmrg#define GL_STENCIL_FUNC                   0x0B92
16101e04c3fSmrg#define GL_STENCIL_FAIL                   0x0B94
16201e04c3fSmrg#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
16301e04c3fSmrg#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
16401e04c3fSmrg#define GL_STENCIL_REF                    0x0B97
16501e04c3fSmrg#define GL_STENCIL_VALUE_MASK             0x0B93
16601e04c3fSmrg#define GL_STENCIL_WRITEMASK              0x0B98
16701e04c3fSmrg#define GL_STENCIL_BACK_FUNC              0x8800
16801e04c3fSmrg#define GL_STENCIL_BACK_FAIL              0x8801
16901e04c3fSmrg#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
17001e04c3fSmrg#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
17101e04c3fSmrg#define GL_STENCIL_BACK_REF               0x8CA3
17201e04c3fSmrg#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
17301e04c3fSmrg#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
17401e04c3fSmrg#define GL_VIEWPORT                       0x0BA2
17501e04c3fSmrg#define GL_SCISSOR_BOX                    0x0C10
17601e04c3fSmrg#define GL_COLOR_CLEAR_VALUE              0x0C22
17701e04c3fSmrg#define GL_COLOR_WRITEMASK                0x0C23
17801e04c3fSmrg#define GL_UNPACK_ALIGNMENT               0x0CF5
17901e04c3fSmrg#define GL_PACK_ALIGNMENT                 0x0D05
18001e04c3fSmrg#define GL_MAX_TEXTURE_SIZE               0x0D33
18101e04c3fSmrg#define GL_MAX_VIEWPORT_DIMS              0x0D3A
18201e04c3fSmrg#define GL_SUBPIXEL_BITS                  0x0D50
18301e04c3fSmrg#define GL_RED_BITS                       0x0D52
18401e04c3fSmrg#define GL_GREEN_BITS                     0x0D53
18501e04c3fSmrg#define GL_BLUE_BITS                      0x0D54
18601e04c3fSmrg#define GL_ALPHA_BITS                     0x0D55
18701e04c3fSmrg#define GL_DEPTH_BITS                     0x0D56
18801e04c3fSmrg#define GL_STENCIL_BITS                   0x0D57
18901e04c3fSmrg#define GL_POLYGON_OFFSET_UNITS           0x2A00
19001e04c3fSmrg#define GL_POLYGON_OFFSET_FACTOR          0x8038
19101e04c3fSmrg#define GL_TEXTURE_BINDING_2D             0x8069
19201e04c3fSmrg#define GL_SAMPLE_BUFFERS                 0x80A8
19301e04c3fSmrg#define GL_SAMPLES                        0x80A9
19401e04c3fSmrg#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
19501e04c3fSmrg#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
19601e04c3fSmrg#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
19701e04c3fSmrg#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
19801e04c3fSmrg#define GL_DONT_CARE                      0x1100
19901e04c3fSmrg#define GL_FASTEST                        0x1101
20001e04c3fSmrg#define GL_NICEST                         0x1102
20101e04c3fSmrg#define GL_GENERATE_MIPMAP_HINT           0x8192
20201e04c3fSmrg#define GL_BYTE                           0x1400
20301e04c3fSmrg#define GL_UNSIGNED_BYTE                  0x1401
20401e04c3fSmrg#define GL_SHORT                          0x1402
20501e04c3fSmrg#define GL_UNSIGNED_SHORT                 0x1403
20601e04c3fSmrg#define GL_INT                            0x1404
20701e04c3fSmrg#define GL_UNSIGNED_INT                   0x1405
20801e04c3fSmrg#define GL_FLOAT                          0x1406
20901e04c3fSmrg#define GL_FIXED                          0x140C
21001e04c3fSmrg#define GL_DEPTH_COMPONENT                0x1902
21101e04c3fSmrg#define GL_ALPHA                          0x1906
21201e04c3fSmrg#define GL_RGB                            0x1907
21301e04c3fSmrg#define GL_RGBA                           0x1908
21401e04c3fSmrg#define GL_LUMINANCE                      0x1909
21501e04c3fSmrg#define GL_LUMINANCE_ALPHA                0x190A
21601e04c3fSmrg#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
21701e04c3fSmrg#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
21801e04c3fSmrg#define GL_UNSIGNED_SHORT_5_6_5           0x8363
21901e04c3fSmrg#define GL_FRAGMENT_SHADER                0x8B30
22001e04c3fSmrg#define GL_VERTEX_SHADER                  0x8B31
22101e04c3fSmrg#define GL_MAX_VERTEX_ATTRIBS             0x8869
22201e04c3fSmrg#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
22301e04c3fSmrg#define GL_MAX_VARYING_VECTORS            0x8DFC
22401e04c3fSmrg#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
22501e04c3fSmrg#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
22601e04c3fSmrg#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
22701e04c3fSmrg#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
22801e04c3fSmrg#define GL_SHADER_TYPE                    0x8B4F
22901e04c3fSmrg#define GL_DELETE_STATUS                  0x8B80
23001e04c3fSmrg#define GL_LINK_STATUS                    0x8B82
23101e04c3fSmrg#define GL_VALIDATE_STATUS                0x8B83
23201e04c3fSmrg#define GL_ATTACHED_SHADERS               0x8B85
23301e04c3fSmrg#define GL_ACTIVE_UNIFORMS                0x8B86
23401e04c3fSmrg#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
23501e04c3fSmrg#define GL_ACTIVE_ATTRIBUTES              0x8B89
23601e04c3fSmrg#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
23701e04c3fSmrg#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
23801e04c3fSmrg#define GL_CURRENT_PROGRAM                0x8B8D
23901e04c3fSmrg#define GL_NEVER                          0x0200
24001e04c3fSmrg#define GL_LESS                           0x0201
24101e04c3fSmrg#define GL_EQUAL                          0x0202
24201e04c3fSmrg#define GL_LEQUAL                         0x0203
24301e04c3fSmrg#define GL_GREATER                        0x0204
24401e04c3fSmrg#define GL_NOTEQUAL                       0x0205
24501e04c3fSmrg#define GL_GEQUAL                         0x0206
24601e04c3fSmrg#define GL_ALWAYS                         0x0207
24701e04c3fSmrg#define GL_KEEP                           0x1E00
24801e04c3fSmrg#define GL_REPLACE                        0x1E01
24901e04c3fSmrg#define GL_INCR                           0x1E02
25001e04c3fSmrg#define GL_DECR                           0x1E03
25101e04c3fSmrg#define GL_INVERT                         0x150A
25201e04c3fSmrg#define GL_INCR_WRAP                      0x8507
25301e04c3fSmrg#define GL_DECR_WRAP                      0x8508
25401e04c3fSmrg#define GL_VENDOR                         0x1F00
25501e04c3fSmrg#define GL_RENDERER                       0x1F01
25601e04c3fSmrg#define GL_VERSION                        0x1F02
25701e04c3fSmrg#define GL_EXTENSIONS                     0x1F03
25801e04c3fSmrg#define GL_NEAREST                        0x2600
25901e04c3fSmrg#define GL_LINEAR                         0x2601
26001e04c3fSmrg#define GL_NEAREST_MIPMAP_NEAREST         0x2700
26101e04c3fSmrg#define GL_LINEAR_MIPMAP_NEAREST          0x2701
26201e04c3fSmrg#define GL_NEAREST_MIPMAP_LINEAR          0x2702
26301e04c3fSmrg#define GL_LINEAR_MIPMAP_LINEAR           0x2703
26401e04c3fSmrg#define GL_TEXTURE_MAG_FILTER             0x2800
26501e04c3fSmrg#define GL_TEXTURE_MIN_FILTER             0x2801
26601e04c3fSmrg#define GL_TEXTURE_WRAP_S                 0x2802
26701e04c3fSmrg#define GL_TEXTURE_WRAP_T                 0x2803
26801e04c3fSmrg#define GL_TEXTURE                        0x1702
26901e04c3fSmrg#define GL_TEXTURE_CUBE_MAP               0x8513
27001e04c3fSmrg#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
27101e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
27201e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
27301e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
27401e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
27501e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
27601e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
27701e04c3fSmrg#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
27801e04c3fSmrg#define GL_TEXTURE0                       0x84C0
27901e04c3fSmrg#define GL_TEXTURE1                       0x84C1
28001e04c3fSmrg#define GL_TEXTURE2                       0x84C2
28101e04c3fSmrg#define GL_TEXTURE3                       0x84C3
28201e04c3fSmrg#define GL_TEXTURE4                       0x84C4
28301e04c3fSmrg#define GL_TEXTURE5                       0x84C5
28401e04c3fSmrg#define GL_TEXTURE6                       0x84C6
28501e04c3fSmrg#define GL_TEXTURE7                       0x84C7
28601e04c3fSmrg#define GL_TEXTURE8                       0x84C8
28701e04c3fSmrg#define GL_TEXTURE9                       0x84C9
28801e04c3fSmrg#define GL_TEXTURE10                      0x84CA
28901e04c3fSmrg#define GL_TEXTURE11                      0x84CB
29001e04c3fSmrg#define GL_TEXTURE12                      0x84CC
29101e04c3fSmrg#define GL_TEXTURE13                      0x84CD
29201e04c3fSmrg#define GL_TEXTURE14                      0x84CE
29301e04c3fSmrg#define GL_TEXTURE15                      0x84CF
29401e04c3fSmrg#define GL_TEXTURE16                      0x84D0
29501e04c3fSmrg#define GL_TEXTURE17                      0x84D1
29601e04c3fSmrg#define GL_TEXTURE18                      0x84D2
29701e04c3fSmrg#define GL_TEXTURE19                      0x84D3
29801e04c3fSmrg#define GL_TEXTURE20                      0x84D4
29901e04c3fSmrg#define GL_TEXTURE21                      0x84D5
30001e04c3fSmrg#define GL_TEXTURE22                      0x84D6
30101e04c3fSmrg#define GL_TEXTURE23                      0x84D7
30201e04c3fSmrg#define GL_TEXTURE24                      0x84D8
30301e04c3fSmrg#define GL_TEXTURE25                      0x84D9
30401e04c3fSmrg#define GL_TEXTURE26                      0x84DA
30501e04c3fSmrg#define GL_TEXTURE27                      0x84DB
30601e04c3fSmrg#define GL_TEXTURE28                      0x84DC
30701e04c3fSmrg#define GL_TEXTURE29                      0x84DD
30801e04c3fSmrg#define GL_TEXTURE30                      0x84DE
30901e04c3fSmrg#define GL_TEXTURE31                      0x84DF
31001e04c3fSmrg#define GL_ACTIVE_TEXTURE                 0x84E0
31101e04c3fSmrg#define GL_REPEAT                         0x2901
31201e04c3fSmrg#define GL_CLAMP_TO_EDGE                  0x812F
31301e04c3fSmrg#define GL_MIRRORED_REPEAT                0x8370
31401e04c3fSmrg#define GL_FLOAT_VEC2                     0x8B50
31501e04c3fSmrg#define GL_FLOAT_VEC3                     0x8B51
31601e04c3fSmrg#define GL_FLOAT_VEC4                     0x8B52
31701e04c3fSmrg#define GL_INT_VEC2                       0x8B53
31801e04c3fSmrg#define GL_INT_VEC3                       0x8B54
31901e04c3fSmrg#define GL_INT_VEC4                       0x8B55
32001e04c3fSmrg#define GL_BOOL                           0x8B56
32101e04c3fSmrg#define GL_BOOL_VEC2                      0x8B57
32201e04c3fSmrg#define GL_BOOL_VEC3                      0x8B58
32301e04c3fSmrg#define GL_BOOL_VEC4                      0x8B59
32401e04c3fSmrg#define GL_FLOAT_MAT2                     0x8B5A
32501e04c3fSmrg#define GL_FLOAT_MAT3                     0x8B5B
32601e04c3fSmrg#define GL_FLOAT_MAT4                     0x8B5C
32701e04c3fSmrg#define GL_SAMPLER_2D                     0x8B5E
32801e04c3fSmrg#define GL_SAMPLER_CUBE                   0x8B60
32901e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
33001e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
33101e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
33201e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
33301e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
33401e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
33501e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
33601e04c3fSmrg#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
33701e04c3fSmrg#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
33801e04c3fSmrg#define GL_COMPILE_STATUS                 0x8B81
33901e04c3fSmrg#define GL_INFO_LOG_LENGTH                0x8B84
34001e04c3fSmrg#define GL_SHADER_SOURCE_LENGTH           0x8B88
34101e04c3fSmrg#define GL_SHADER_COMPILER                0x8DFA
34201e04c3fSmrg#define GL_SHADER_BINARY_FORMATS          0x8DF8
34301e04c3fSmrg#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
34401e04c3fSmrg#define GL_LOW_FLOAT                      0x8DF0
34501e04c3fSmrg#define GL_MEDIUM_FLOAT                   0x8DF1
34601e04c3fSmrg#define GL_HIGH_FLOAT                     0x8DF2
34701e04c3fSmrg#define GL_LOW_INT                        0x8DF3
34801e04c3fSmrg#define GL_MEDIUM_INT                     0x8DF4
34901e04c3fSmrg#define GL_HIGH_INT                       0x8DF5
35001e04c3fSmrg#define GL_FRAMEBUFFER                    0x8D40
35101e04c3fSmrg#define GL_RENDERBUFFER                   0x8D41
35201e04c3fSmrg#define GL_RGBA4                          0x8056
35301e04c3fSmrg#define GL_RGB5_A1                        0x8057
35401e04c3fSmrg#define GL_RGB565                         0x8D62
35501e04c3fSmrg#define GL_DEPTH_COMPONENT16              0x81A5
35601e04c3fSmrg#define GL_STENCIL_INDEX8                 0x8D48
35701e04c3fSmrg#define GL_RENDERBUFFER_WIDTH             0x8D42
35801e04c3fSmrg#define GL_RENDERBUFFER_HEIGHT            0x8D43
35901e04c3fSmrg#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
36001e04c3fSmrg#define GL_RENDERBUFFER_RED_SIZE          0x8D50
36101e04c3fSmrg#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
36201e04c3fSmrg#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
36301e04c3fSmrg#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
36401e04c3fSmrg#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
36501e04c3fSmrg#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
36601e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
36701e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
36801e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
36901e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
37001e04c3fSmrg#define GL_COLOR_ATTACHMENT0              0x8CE0
37101e04c3fSmrg#define GL_DEPTH_ATTACHMENT               0x8D00
37201e04c3fSmrg#define GL_STENCIL_ATTACHMENT             0x8D20
37301e04c3fSmrg#define GL_NONE                           0
37401e04c3fSmrg#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
37501e04c3fSmrg#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
37601e04c3fSmrg#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
37701e04c3fSmrg#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
37801e04c3fSmrg#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
37901e04c3fSmrg#define GL_FRAMEBUFFER_BINDING            0x8CA6
38001e04c3fSmrg#define GL_RENDERBUFFER_BINDING           0x8CA7
38101e04c3fSmrg#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
38201e04c3fSmrg#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
38301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
38401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
38501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
38601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
38701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
38801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
38901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
39001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
39101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
39201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
39301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor);
39401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
39501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
39601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
39701e04c3fSmrgtypedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
39801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask);
39901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
40001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
40101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s);
40201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
40301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
40401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
40501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
40601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
40701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
40801e04c3fSmrgtypedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
40901e04c3fSmrgtypedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
41001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode);
41101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
41201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
41301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
41401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
41501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
41601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures);
41701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func);
41801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag);
41901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
42001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
42101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
42201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
42301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
42401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
42501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap);
42601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
42701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFINISHPROC) (void);
42801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void);
42901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
43001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
43101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode);
43201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
43301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
43401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
43501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
43601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures);
43701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
43801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
43901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
44001e04c3fSmrgtypedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
44101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data);
44201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
44301e04c3fSmrgtypedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void);
44401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data);
44501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
44601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data);
44701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
44801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
44901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
45001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
45101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
45201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
45301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
45401e04c3fSmrgtypedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
45501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
45601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
45701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
45801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
45901e04c3fSmrgtypedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
46001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
46101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
46201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
46301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode);
46401e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
46501e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
46601e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
46701e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
46801e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
46901e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
47001e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
47101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width);
47201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
47301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param);
47401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
47501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
47601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
47701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
47801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
47901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
48001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
48101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
48201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
48301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
48401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask);
48501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
48601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass);
48701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
48801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
48901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param);
49001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
49101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
49201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
49301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
49401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
49501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
49601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
49701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
49801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
49901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
50001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
50101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
50201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
50301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
50401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
50501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
50601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
50701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
50801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
50901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
51001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
51101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
51201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
51301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
51401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
51501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
51601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
51701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
51801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
51901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
52001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
52101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
52201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
52301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
52401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
52501e04c3fSmrg#if GL_GLES_PROTOTYPES
52601e04c3fSmrgGL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
52701e04c3fSmrgGL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
52801e04c3fSmrgGL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
52901e04c3fSmrgGL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
53001e04c3fSmrgGL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
53101e04c3fSmrgGL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
53201e04c3fSmrgGL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
53301e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
53401e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode);
53501e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
53601e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
53701e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
53801e04c3fSmrgGL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
53901e04c3fSmrgGL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
54001e04c3fSmrgGL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target);
54101e04c3fSmrgGL_APICALL void GL_APIENTRY glClear (GLbitfield mask);
54201e04c3fSmrgGL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
54301e04c3fSmrgGL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d);
54401e04c3fSmrgGL_APICALL void GL_APIENTRY glClearStencil (GLint s);
54501e04c3fSmrgGL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
54601e04c3fSmrgGL_APICALL void GL_APIENTRY glCompileShader (GLuint shader);
54701e04c3fSmrgGL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
54801e04c3fSmrgGL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
54901e04c3fSmrgGL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
55001e04c3fSmrgGL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
55101e04c3fSmrgGL_APICALL GLuint GL_APIENTRY glCreateProgram (void);
55201e04c3fSmrgGL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type);
55301e04c3fSmrgGL_APICALL void GL_APIENTRY glCullFace (GLenum mode);
55401e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
55501e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
55601e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program);
55701e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
55801e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader);
55901e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
56001e04c3fSmrgGL_APICALL void GL_APIENTRY glDepthFunc (GLenum func);
56101e04c3fSmrgGL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag);
56201e04c3fSmrgGL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f);
56301e04c3fSmrgGL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
56401e04c3fSmrgGL_APICALL void GL_APIENTRY glDisable (GLenum cap);
56501e04c3fSmrgGL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index);
56601e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
56701e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
56801e04c3fSmrgGL_APICALL void GL_APIENTRY glEnable (GLenum cap);
56901e04c3fSmrgGL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index);
57001e04c3fSmrgGL_APICALL void GL_APIENTRY glFinish (void);
57101e04c3fSmrgGL_APICALL void GL_APIENTRY glFlush (void);
57201e04c3fSmrgGL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
57301e04c3fSmrgGL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
57401e04c3fSmrgGL_APICALL void GL_APIENTRY glFrontFace (GLenum mode);
57501e04c3fSmrgGL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
57601e04c3fSmrgGL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target);
57701e04c3fSmrgGL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
57801e04c3fSmrgGL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
57901e04c3fSmrgGL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
58001e04c3fSmrgGL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
58101e04c3fSmrgGL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
58201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
58301e04c3fSmrgGL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
58401e04c3fSmrgGL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
58501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
58601e04c3fSmrgGL_APICALL GLenum GL_APIENTRY glGetError (void);
58701e04c3fSmrgGL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
58801e04c3fSmrgGL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
58901e04c3fSmrgGL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data);
59001e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
59101e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
59201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
59301e04c3fSmrgGL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
59401e04c3fSmrgGL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
59501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
59601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
59701e04c3fSmrgGL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name);
59801e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
59901e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
60001e04c3fSmrgGL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
60101e04c3fSmrgGL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
60201e04c3fSmrgGL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
60301e04c3fSmrgGL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
60401e04c3fSmrgGL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
60501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
60601e04c3fSmrgGL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode);
60701e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);
60801e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
60901e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer);
61001e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program);
61101e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer);
61201e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader);
61301e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture);
61401e04c3fSmrgGL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
61501e04c3fSmrgGL_APICALL void GL_APIENTRY glLinkProgram (GLuint program);
61601e04c3fSmrgGL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
61701e04c3fSmrgGL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
61801e04c3fSmrgGL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
61901e04c3fSmrgGL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void);
62001e04c3fSmrgGL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
62101e04c3fSmrgGL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
62201e04c3fSmrgGL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
62301e04c3fSmrgGL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
62401e04c3fSmrgGL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
62501e04c3fSmrgGL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
62601e04c3fSmrgGL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
62701e04c3fSmrgGL_APICALL void GL_APIENTRY glStencilMask (GLuint mask);
62801e04c3fSmrgGL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
62901e04c3fSmrgGL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
63001e04c3fSmrgGL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
63101e04c3fSmrgGL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
63201e04c3fSmrgGL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
63301e04c3fSmrgGL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
63401e04c3fSmrgGL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
63501e04c3fSmrgGL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
63601e04c3fSmrgGL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
63701e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
63801e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
63901e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
64001e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
64101e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
64201e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
64301e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
64401e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
64501e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
64601e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
64701e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
64801e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
64901e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
65001e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
65101e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
65201e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
65301e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
65401e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
65501e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
65601e04c3fSmrgGL_APICALL void GL_APIENTRY glUseProgram (GLuint program);
65701e04c3fSmrgGL_APICALL void GL_APIENTRY glValidateProgram (GLuint program);
65801e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
65901e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
66001e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
66101e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
66201e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
66301e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
66401e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
66501e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
66601e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
66701e04c3fSmrgGL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
66801e04c3fSmrg#endif
66901e04c3fSmrg#endif /* GL_ES_VERSION_2_0 */
67001e04c3fSmrg
67101e04c3fSmrg#ifndef GL_ES_VERSION_3_0
67201e04c3fSmrg#define GL_ES_VERSION_3_0 1
6737ec681f3Smrgtypedef khronos_uint16_t GLhalf;
67401e04c3fSmrg#define GL_READ_BUFFER                    0x0C02
67501e04c3fSmrg#define GL_UNPACK_ROW_LENGTH              0x0CF2
67601e04c3fSmrg#define GL_UNPACK_SKIP_ROWS               0x0CF3
67701e04c3fSmrg#define GL_UNPACK_SKIP_PIXELS             0x0CF4
67801e04c3fSmrg#define GL_PACK_ROW_LENGTH                0x0D02
67901e04c3fSmrg#define GL_PACK_SKIP_ROWS                 0x0D03
68001e04c3fSmrg#define GL_PACK_SKIP_PIXELS               0x0D04
68101e04c3fSmrg#define GL_COLOR                          0x1800
68201e04c3fSmrg#define GL_DEPTH                          0x1801
68301e04c3fSmrg#define GL_STENCIL                        0x1802
68401e04c3fSmrg#define GL_RED                            0x1903
68501e04c3fSmrg#define GL_RGB8                           0x8051
68601e04c3fSmrg#define GL_RGBA8                          0x8058
68701e04c3fSmrg#define GL_RGB10_A2                       0x8059
68801e04c3fSmrg#define GL_TEXTURE_BINDING_3D             0x806A
68901e04c3fSmrg#define GL_UNPACK_SKIP_IMAGES             0x806D
69001e04c3fSmrg#define GL_UNPACK_IMAGE_HEIGHT            0x806E
69101e04c3fSmrg#define GL_TEXTURE_3D                     0x806F
69201e04c3fSmrg#define GL_TEXTURE_WRAP_R                 0x8072
69301e04c3fSmrg#define GL_MAX_3D_TEXTURE_SIZE            0x8073
69401e04c3fSmrg#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
69501e04c3fSmrg#define GL_MAX_ELEMENTS_VERTICES          0x80E8
69601e04c3fSmrg#define GL_MAX_ELEMENTS_INDICES           0x80E9
69701e04c3fSmrg#define GL_TEXTURE_MIN_LOD                0x813A
69801e04c3fSmrg#define GL_TEXTURE_MAX_LOD                0x813B
69901e04c3fSmrg#define GL_TEXTURE_BASE_LEVEL             0x813C
70001e04c3fSmrg#define GL_TEXTURE_MAX_LEVEL              0x813D
70101e04c3fSmrg#define GL_MIN                            0x8007
70201e04c3fSmrg#define GL_MAX                            0x8008
70301e04c3fSmrg#define GL_DEPTH_COMPONENT24              0x81A6
70401e04c3fSmrg#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
70501e04c3fSmrg#define GL_TEXTURE_COMPARE_MODE           0x884C
70601e04c3fSmrg#define GL_TEXTURE_COMPARE_FUNC           0x884D
70701e04c3fSmrg#define GL_CURRENT_QUERY                  0x8865
70801e04c3fSmrg#define GL_QUERY_RESULT                   0x8866
70901e04c3fSmrg#define GL_QUERY_RESULT_AVAILABLE         0x8867
71001e04c3fSmrg#define GL_BUFFER_MAPPED                  0x88BC
71101e04c3fSmrg#define GL_BUFFER_MAP_POINTER             0x88BD
71201e04c3fSmrg#define GL_STREAM_READ                    0x88E1
71301e04c3fSmrg#define GL_STREAM_COPY                    0x88E2
71401e04c3fSmrg#define GL_STATIC_READ                    0x88E5
71501e04c3fSmrg#define GL_STATIC_COPY                    0x88E6
71601e04c3fSmrg#define GL_DYNAMIC_READ                   0x88E9
71701e04c3fSmrg#define GL_DYNAMIC_COPY                   0x88EA
71801e04c3fSmrg#define GL_MAX_DRAW_BUFFERS               0x8824
71901e04c3fSmrg#define GL_DRAW_BUFFER0                   0x8825
72001e04c3fSmrg#define GL_DRAW_BUFFER1                   0x8826
72101e04c3fSmrg#define GL_DRAW_BUFFER2                   0x8827
72201e04c3fSmrg#define GL_DRAW_BUFFER3                   0x8828
72301e04c3fSmrg#define GL_DRAW_BUFFER4                   0x8829
72401e04c3fSmrg#define GL_DRAW_BUFFER5                   0x882A
72501e04c3fSmrg#define GL_DRAW_BUFFER6                   0x882B
72601e04c3fSmrg#define GL_DRAW_BUFFER7                   0x882C
72701e04c3fSmrg#define GL_DRAW_BUFFER8                   0x882D
72801e04c3fSmrg#define GL_DRAW_BUFFER9                   0x882E
72901e04c3fSmrg#define GL_DRAW_BUFFER10                  0x882F
73001e04c3fSmrg#define GL_DRAW_BUFFER11                  0x8830
73101e04c3fSmrg#define GL_DRAW_BUFFER12                  0x8831
73201e04c3fSmrg#define GL_DRAW_BUFFER13                  0x8832
73301e04c3fSmrg#define GL_DRAW_BUFFER14                  0x8833
73401e04c3fSmrg#define GL_DRAW_BUFFER15                  0x8834
73501e04c3fSmrg#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
73601e04c3fSmrg#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
73701e04c3fSmrg#define GL_SAMPLER_3D                     0x8B5F
73801e04c3fSmrg#define GL_SAMPLER_2D_SHADOW              0x8B62
73901e04c3fSmrg#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
74001e04c3fSmrg#define GL_PIXEL_PACK_BUFFER              0x88EB
74101e04c3fSmrg#define GL_PIXEL_UNPACK_BUFFER            0x88EC
74201e04c3fSmrg#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
74301e04c3fSmrg#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
74401e04c3fSmrg#define GL_FLOAT_MAT2x3                   0x8B65
74501e04c3fSmrg#define GL_FLOAT_MAT2x4                   0x8B66
74601e04c3fSmrg#define GL_FLOAT_MAT3x2                   0x8B67
74701e04c3fSmrg#define GL_FLOAT_MAT3x4                   0x8B68
74801e04c3fSmrg#define GL_FLOAT_MAT4x2                   0x8B69
74901e04c3fSmrg#define GL_FLOAT_MAT4x3                   0x8B6A
75001e04c3fSmrg#define GL_SRGB                           0x8C40
75101e04c3fSmrg#define GL_SRGB8                          0x8C41
75201e04c3fSmrg#define GL_SRGB8_ALPHA8                   0x8C43
75301e04c3fSmrg#define GL_COMPARE_REF_TO_TEXTURE         0x884E
75401e04c3fSmrg#define GL_MAJOR_VERSION                  0x821B
75501e04c3fSmrg#define GL_MINOR_VERSION                  0x821C
75601e04c3fSmrg#define GL_NUM_EXTENSIONS                 0x821D
75701e04c3fSmrg#define GL_RGBA32F                        0x8814
75801e04c3fSmrg#define GL_RGB32F                         0x8815
75901e04c3fSmrg#define GL_RGBA16F                        0x881A
76001e04c3fSmrg#define GL_RGB16F                         0x881B
76101e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
76201e04c3fSmrg#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
76301e04c3fSmrg#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
76401e04c3fSmrg#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
76501e04c3fSmrg#define GL_MAX_VARYING_COMPONENTS         0x8B4B
76601e04c3fSmrg#define GL_TEXTURE_2D_ARRAY               0x8C1A
76701e04c3fSmrg#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
76801e04c3fSmrg#define GL_R11F_G11F_B10F                 0x8C3A
76901e04c3fSmrg#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
77001e04c3fSmrg#define GL_RGB9_E5                        0x8C3D
77101e04c3fSmrg#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
77201e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
77301e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
77401e04c3fSmrg#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
77501e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
77601e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
77701e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
77801e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
77901e04c3fSmrg#define GL_RASTERIZER_DISCARD             0x8C89
78001e04c3fSmrg#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
78101e04c3fSmrg#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
78201e04c3fSmrg#define GL_INTERLEAVED_ATTRIBS            0x8C8C
78301e04c3fSmrg#define GL_SEPARATE_ATTRIBS               0x8C8D
78401e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
78501e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
78601e04c3fSmrg#define GL_RGBA32UI                       0x8D70
78701e04c3fSmrg#define GL_RGB32UI                        0x8D71
78801e04c3fSmrg#define GL_RGBA16UI                       0x8D76
78901e04c3fSmrg#define GL_RGB16UI                        0x8D77
79001e04c3fSmrg#define GL_RGBA8UI                        0x8D7C
79101e04c3fSmrg#define GL_RGB8UI                         0x8D7D
79201e04c3fSmrg#define GL_RGBA32I                        0x8D82
79301e04c3fSmrg#define GL_RGB32I                         0x8D83
79401e04c3fSmrg#define GL_RGBA16I                        0x8D88
79501e04c3fSmrg#define GL_RGB16I                         0x8D89
79601e04c3fSmrg#define GL_RGBA8I                         0x8D8E
79701e04c3fSmrg#define GL_RGB8I                          0x8D8F
79801e04c3fSmrg#define GL_RED_INTEGER                    0x8D94
79901e04c3fSmrg#define GL_RGB_INTEGER                    0x8D98
80001e04c3fSmrg#define GL_RGBA_INTEGER                   0x8D99
80101e04c3fSmrg#define GL_SAMPLER_2D_ARRAY               0x8DC1
80201e04c3fSmrg#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
80301e04c3fSmrg#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
80401e04c3fSmrg#define GL_UNSIGNED_INT_VEC2              0x8DC6
80501e04c3fSmrg#define GL_UNSIGNED_INT_VEC3              0x8DC7
80601e04c3fSmrg#define GL_UNSIGNED_INT_VEC4              0x8DC8
80701e04c3fSmrg#define GL_INT_SAMPLER_2D                 0x8DCA
80801e04c3fSmrg#define GL_INT_SAMPLER_3D                 0x8DCB
80901e04c3fSmrg#define GL_INT_SAMPLER_CUBE               0x8DCC
81001e04c3fSmrg#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
81101e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
81201e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
81301e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
81401e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
81501e04c3fSmrg#define GL_BUFFER_ACCESS_FLAGS            0x911F
81601e04c3fSmrg#define GL_BUFFER_MAP_LENGTH              0x9120
81701e04c3fSmrg#define GL_BUFFER_MAP_OFFSET              0x9121
81801e04c3fSmrg#define GL_DEPTH_COMPONENT32F             0x8CAC
81901e04c3fSmrg#define GL_DEPTH32F_STENCIL8              0x8CAD
82001e04c3fSmrg#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
82101e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
82201e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
82301e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
82401e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
82501e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
82601e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
82701e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
82801e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
82901e04c3fSmrg#define GL_FRAMEBUFFER_DEFAULT            0x8218
83001e04c3fSmrg#define GL_FRAMEBUFFER_UNDEFINED          0x8219
83101e04c3fSmrg#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
83201e04c3fSmrg#define GL_DEPTH_STENCIL                  0x84F9
83301e04c3fSmrg#define GL_UNSIGNED_INT_24_8              0x84FA
83401e04c3fSmrg#define GL_DEPTH24_STENCIL8               0x88F0
83501e04c3fSmrg#define GL_UNSIGNED_NORMALIZED            0x8C17
83601e04c3fSmrg#define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
83701e04c3fSmrg#define GL_READ_FRAMEBUFFER               0x8CA8
83801e04c3fSmrg#define GL_DRAW_FRAMEBUFFER               0x8CA9
83901e04c3fSmrg#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
84001e04c3fSmrg#define GL_RENDERBUFFER_SAMPLES           0x8CAB
84101e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
84201e04c3fSmrg#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
84301e04c3fSmrg#define GL_COLOR_ATTACHMENT1              0x8CE1
84401e04c3fSmrg#define GL_COLOR_ATTACHMENT2              0x8CE2
84501e04c3fSmrg#define GL_COLOR_ATTACHMENT3              0x8CE3
84601e04c3fSmrg#define GL_COLOR_ATTACHMENT4              0x8CE4
84701e04c3fSmrg#define GL_COLOR_ATTACHMENT5              0x8CE5
84801e04c3fSmrg#define GL_COLOR_ATTACHMENT6              0x8CE6
84901e04c3fSmrg#define GL_COLOR_ATTACHMENT7              0x8CE7
85001e04c3fSmrg#define GL_COLOR_ATTACHMENT8              0x8CE8
85101e04c3fSmrg#define GL_COLOR_ATTACHMENT9              0x8CE9
85201e04c3fSmrg#define GL_COLOR_ATTACHMENT10             0x8CEA
85301e04c3fSmrg#define GL_COLOR_ATTACHMENT11             0x8CEB
85401e04c3fSmrg#define GL_COLOR_ATTACHMENT12             0x8CEC
85501e04c3fSmrg#define GL_COLOR_ATTACHMENT13             0x8CED
85601e04c3fSmrg#define GL_COLOR_ATTACHMENT14             0x8CEE
85701e04c3fSmrg#define GL_COLOR_ATTACHMENT15             0x8CEF
85801e04c3fSmrg#define GL_COLOR_ATTACHMENT16             0x8CF0
85901e04c3fSmrg#define GL_COLOR_ATTACHMENT17             0x8CF1
86001e04c3fSmrg#define GL_COLOR_ATTACHMENT18             0x8CF2
86101e04c3fSmrg#define GL_COLOR_ATTACHMENT19             0x8CF3
86201e04c3fSmrg#define GL_COLOR_ATTACHMENT20             0x8CF4
86301e04c3fSmrg#define GL_COLOR_ATTACHMENT21             0x8CF5
86401e04c3fSmrg#define GL_COLOR_ATTACHMENT22             0x8CF6
86501e04c3fSmrg#define GL_COLOR_ATTACHMENT23             0x8CF7
86601e04c3fSmrg#define GL_COLOR_ATTACHMENT24             0x8CF8
86701e04c3fSmrg#define GL_COLOR_ATTACHMENT25             0x8CF9
86801e04c3fSmrg#define GL_COLOR_ATTACHMENT26             0x8CFA
86901e04c3fSmrg#define GL_COLOR_ATTACHMENT27             0x8CFB
87001e04c3fSmrg#define GL_COLOR_ATTACHMENT28             0x8CFC
87101e04c3fSmrg#define GL_COLOR_ATTACHMENT29             0x8CFD
87201e04c3fSmrg#define GL_COLOR_ATTACHMENT30             0x8CFE
87301e04c3fSmrg#define GL_COLOR_ATTACHMENT31             0x8CFF
87401e04c3fSmrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
87501e04c3fSmrg#define GL_MAX_SAMPLES                    0x8D57
87601e04c3fSmrg#define GL_HALF_FLOAT                     0x140B
87701e04c3fSmrg#define GL_MAP_READ_BIT                   0x0001
87801e04c3fSmrg#define GL_MAP_WRITE_BIT                  0x0002
87901e04c3fSmrg#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
88001e04c3fSmrg#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
88101e04c3fSmrg#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
88201e04c3fSmrg#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
88301e04c3fSmrg#define GL_RG                             0x8227
88401e04c3fSmrg#define GL_RG_INTEGER                     0x8228
88501e04c3fSmrg#define GL_R8                             0x8229
88601e04c3fSmrg#define GL_RG8                            0x822B
88701e04c3fSmrg#define GL_R16F                           0x822D
88801e04c3fSmrg#define GL_R32F                           0x822E
88901e04c3fSmrg#define GL_RG16F                          0x822F
89001e04c3fSmrg#define GL_RG32F                          0x8230
89101e04c3fSmrg#define GL_R8I                            0x8231
89201e04c3fSmrg#define GL_R8UI                           0x8232
89301e04c3fSmrg#define GL_R16I                           0x8233
89401e04c3fSmrg#define GL_R16UI                          0x8234
89501e04c3fSmrg#define GL_R32I                           0x8235
89601e04c3fSmrg#define GL_R32UI                          0x8236
89701e04c3fSmrg#define GL_RG8I                           0x8237
89801e04c3fSmrg#define GL_RG8UI                          0x8238
89901e04c3fSmrg#define GL_RG16I                          0x8239
90001e04c3fSmrg#define GL_RG16UI                         0x823A
90101e04c3fSmrg#define GL_RG32I                          0x823B
90201e04c3fSmrg#define GL_RG32UI                         0x823C
90301e04c3fSmrg#define GL_VERTEX_ARRAY_BINDING           0x85B5
90401e04c3fSmrg#define GL_R8_SNORM                       0x8F94
90501e04c3fSmrg#define GL_RG8_SNORM                      0x8F95
90601e04c3fSmrg#define GL_RGB8_SNORM                     0x8F96
90701e04c3fSmrg#define GL_RGBA8_SNORM                    0x8F97
90801e04c3fSmrg#define GL_SIGNED_NORMALIZED              0x8F9C
90901e04c3fSmrg#define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
91001e04c3fSmrg#define GL_COPY_READ_BUFFER               0x8F36
91101e04c3fSmrg#define GL_COPY_WRITE_BUFFER              0x8F37
91201e04c3fSmrg#define GL_COPY_READ_BUFFER_BINDING       0x8F36
91301e04c3fSmrg#define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
91401e04c3fSmrg#define GL_UNIFORM_BUFFER                 0x8A11
91501e04c3fSmrg#define GL_UNIFORM_BUFFER_BINDING         0x8A28
91601e04c3fSmrg#define GL_UNIFORM_BUFFER_START           0x8A29
91701e04c3fSmrg#define GL_UNIFORM_BUFFER_SIZE            0x8A2A
91801e04c3fSmrg#define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
91901e04c3fSmrg#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
92001e04c3fSmrg#define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
92101e04c3fSmrg#define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
92201e04c3fSmrg#define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
92301e04c3fSmrg#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
92401e04c3fSmrg#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
92501e04c3fSmrg#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
92601e04c3fSmrg#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
92701e04c3fSmrg#define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
92801e04c3fSmrg#define GL_UNIFORM_TYPE                   0x8A37
92901e04c3fSmrg#define GL_UNIFORM_SIZE                   0x8A38
93001e04c3fSmrg#define GL_UNIFORM_NAME_LENGTH            0x8A39
93101e04c3fSmrg#define GL_UNIFORM_BLOCK_INDEX            0x8A3A
93201e04c3fSmrg#define GL_UNIFORM_OFFSET                 0x8A3B
93301e04c3fSmrg#define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
93401e04c3fSmrg#define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
93501e04c3fSmrg#define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
93601e04c3fSmrg#define GL_UNIFORM_BLOCK_BINDING          0x8A3F
93701e04c3fSmrg#define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
93801e04c3fSmrg#define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
93901e04c3fSmrg#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
94001e04c3fSmrg#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
94101e04c3fSmrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
94201e04c3fSmrg#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
94301e04c3fSmrg#define GL_INVALID_INDEX                  0xFFFFFFFFu
94401e04c3fSmrg#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
94501e04c3fSmrg#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
94601e04c3fSmrg#define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
94701e04c3fSmrg#define GL_OBJECT_TYPE                    0x9112
94801e04c3fSmrg#define GL_SYNC_CONDITION                 0x9113
94901e04c3fSmrg#define GL_SYNC_STATUS                    0x9114
95001e04c3fSmrg#define GL_SYNC_FLAGS                     0x9115
95101e04c3fSmrg#define GL_SYNC_FENCE                     0x9116
95201e04c3fSmrg#define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
95301e04c3fSmrg#define GL_UNSIGNALED                     0x9118
95401e04c3fSmrg#define GL_SIGNALED                       0x9119
95501e04c3fSmrg#define GL_ALREADY_SIGNALED               0x911A
95601e04c3fSmrg#define GL_TIMEOUT_EXPIRED                0x911B
95701e04c3fSmrg#define GL_CONDITION_SATISFIED            0x911C
95801e04c3fSmrg#define GL_WAIT_FAILED                    0x911D
95901e04c3fSmrg#define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
96001e04c3fSmrg#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
96101e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
96201e04c3fSmrg#define GL_ANY_SAMPLES_PASSED             0x8C2F
96301e04c3fSmrg#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
96401e04c3fSmrg#define GL_SAMPLER_BINDING                0x8919
96501e04c3fSmrg#define GL_RGB10_A2UI                     0x906F
96601e04c3fSmrg#define GL_TEXTURE_SWIZZLE_R              0x8E42
96701e04c3fSmrg#define GL_TEXTURE_SWIZZLE_G              0x8E43
96801e04c3fSmrg#define GL_TEXTURE_SWIZZLE_B              0x8E44
96901e04c3fSmrg#define GL_TEXTURE_SWIZZLE_A              0x8E45
97001e04c3fSmrg#define GL_GREEN                          0x1904
97101e04c3fSmrg#define GL_BLUE                           0x1905
97201e04c3fSmrg#define GL_INT_2_10_10_10_REV             0x8D9F
97301e04c3fSmrg#define GL_TRANSFORM_FEEDBACK             0x8E22
97401e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
97501e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
97601e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
97701e04c3fSmrg#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
97801e04c3fSmrg#define GL_PROGRAM_BINARY_LENGTH          0x8741
97901e04c3fSmrg#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
98001e04c3fSmrg#define GL_PROGRAM_BINARY_FORMATS         0x87FF
98101e04c3fSmrg#define GL_COMPRESSED_R11_EAC             0x9270
98201e04c3fSmrg#define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
98301e04c3fSmrg#define GL_COMPRESSED_RG11_EAC            0x9272
98401e04c3fSmrg#define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
98501e04c3fSmrg#define GL_COMPRESSED_RGB8_ETC2           0x9274
98601e04c3fSmrg#define GL_COMPRESSED_SRGB8_ETC2          0x9275
98701e04c3fSmrg#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
98801e04c3fSmrg#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
98901e04c3fSmrg#define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
99001e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
99101e04c3fSmrg#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
99201e04c3fSmrg#define GL_MAX_ELEMENT_INDEX              0x8D6B
99301e04c3fSmrg#define GL_NUM_SAMPLE_COUNTS              0x9380
99401e04c3fSmrg#define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
99501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLenum src);
99601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
99701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
99801e04c3fSmrgtypedef void (GL_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);
99901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
100001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
100101e04c3fSmrgtypedef void (GL_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);
100201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
100301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
100401e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC) (GLuint id);
100501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
100601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
100701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
100801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
100901e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
101001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
101101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
101201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
101301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
101401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
101501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
101601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
101701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
101801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
101901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
102001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
102101e04c3fSmrgtypedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
102201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
102301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
102401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
102501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
102601e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
102701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
102801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
102901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
103001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
103101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
103201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
103301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
103401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
103501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
103601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
103701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
103801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
103901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
104001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
104101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
104201e04c3fSmrgtypedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
104301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
104401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
104501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
104601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
104701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
104801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
104901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
105001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
105101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
105201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
105301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
105401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
105501e04c3fSmrgtypedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
105601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
105701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
105801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
105901e04c3fSmrgtypedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
106001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
106101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
106201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
106301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
106401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
106501e04c3fSmrgtypedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
106601e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
106701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
106801e04c3fSmrgtypedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
106901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
107001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
107101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
107201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
107301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
107401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
107501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
107601e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
107701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
107801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
107901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
108001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
108101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
108201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
108301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
108401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
108501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
108601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
108701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
108801e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
108901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
109001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
109101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
109201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
109301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
109401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
109501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
109601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
109701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
109801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
109901e04c3fSmrg#if GL_GLES_PROTOTYPES
110001e04c3fSmrgGL_APICALL void GL_APIENTRY glReadBuffer (GLenum src);
110101e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
110201e04c3fSmrgGL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
110301e04c3fSmrgGL_APICALL void GL_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);
110401e04c3fSmrgGL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
110501e04c3fSmrgGL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
110601e04c3fSmrgGL_APICALL void GL_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);
110701e04c3fSmrgGL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids);
110801e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
110901e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id);
111001e04c3fSmrgGL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id);
111101e04c3fSmrgGL_APICALL void GL_APIENTRY glEndQuery (GLenum target);
111201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
111301e04c3fSmrgGL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
111401e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target);
111501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
111601e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
111701e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
111801e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
111901e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
112001e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
112101e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
112201e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
112301e04c3fSmrgGL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
112401e04c3fSmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
112501e04c3fSmrgGL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
112601e04c3fSmrgGL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
112701e04c3fSmrgGL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
112801e04c3fSmrgGL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array);
112901e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
113001e04c3fSmrgGL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
113101e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array);
113201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
113301e04c3fSmrgGL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
113401e04c3fSmrgGL_APICALL void GL_APIENTRY glEndTransformFeedback (void);
113501e04c3fSmrgGL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
113601e04c3fSmrgGL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
113701e04c3fSmrgGL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
113801e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
113901e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
114001e04c3fSmrgGL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
114101e04c3fSmrgGL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
114201e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
114301e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
114401e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
114501e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
114601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
114701e04c3fSmrgGL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
114801e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0);
114901e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
115001e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
115101e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
115201e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
115301e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
115401e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
115501e04c3fSmrgGL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
115601e04c3fSmrgGL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
115701e04c3fSmrgGL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
115801e04c3fSmrgGL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
115901e04c3fSmrgGL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
116001e04c3fSmrgGL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index);
116101e04c3fSmrgGL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
116201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
116301e04c3fSmrgGL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
116401e04c3fSmrgGL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
116501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
116601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
116701e04c3fSmrgGL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
116801e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
116901e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
117001e04c3fSmrgGL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
117101e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync);
117201e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync);
117301e04c3fSmrgGL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
117401e04c3fSmrgGL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
117501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
117601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
117701e04c3fSmrgGL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
117801e04c3fSmrgGL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
117901e04c3fSmrgGL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
118001e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
118101e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler);
118201e04c3fSmrgGL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler);
118301e04c3fSmrgGL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
118401e04c3fSmrgGL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
118501e04c3fSmrgGL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
118601e04c3fSmrgGL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
118701e04c3fSmrgGL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
118801e04c3fSmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
118901e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
119001e04c3fSmrgGL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
119101e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
119201e04c3fSmrgGL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
119301e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id);
119401e04c3fSmrgGL_APICALL void GL_APIENTRY glPauseTransformFeedback (void);
119501e04c3fSmrgGL_APICALL void GL_APIENTRY glResumeTransformFeedback (void);
119601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
119701e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
119801e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
119901e04c3fSmrgGL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
120001e04c3fSmrgGL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
120101e04c3fSmrgGL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
120201e04c3fSmrgGL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
120301e04c3fSmrgGL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
120401e04c3fSmrg#endif
120501e04c3fSmrg#endif /* GL_ES_VERSION_3_0 */
120601e04c3fSmrg
120701e04c3fSmrg#ifndef GL_ES_VERSION_3_1
120801e04c3fSmrg#define GL_ES_VERSION_3_1 1
120901e04c3fSmrg#define GL_COMPUTE_SHADER                 0x91B9
121001e04c3fSmrg#define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
121101e04c3fSmrg#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
121201e04c3fSmrg#define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
121301e04c3fSmrg#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
121401e04c3fSmrg#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
121501e04c3fSmrg#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
121601e04c3fSmrg#define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
121701e04c3fSmrg#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
121801e04c3fSmrg#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
121901e04c3fSmrg#define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
122001e04c3fSmrg#define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
122101e04c3fSmrg#define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
122201e04c3fSmrg#define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
122301e04c3fSmrg#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
122401e04c3fSmrg#define GL_COMPUTE_SHADER_BIT             0x00000020
122501e04c3fSmrg#define GL_DRAW_INDIRECT_BUFFER           0x8F3F
122601e04c3fSmrg#define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
122701e04c3fSmrg#define GL_MAX_UNIFORM_LOCATIONS          0x826E
122801e04c3fSmrg#define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
122901e04c3fSmrg#define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
123001e04c3fSmrg#define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
123101e04c3fSmrg#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
123201e04c3fSmrg#define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
123301e04c3fSmrg#define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
123401e04c3fSmrg#define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
123501e04c3fSmrg#define GL_UNIFORM                        0x92E1
123601e04c3fSmrg#define GL_UNIFORM_BLOCK                  0x92E2
123701e04c3fSmrg#define GL_PROGRAM_INPUT                  0x92E3
123801e04c3fSmrg#define GL_PROGRAM_OUTPUT                 0x92E4
123901e04c3fSmrg#define GL_BUFFER_VARIABLE                0x92E5
124001e04c3fSmrg#define GL_SHADER_STORAGE_BLOCK           0x92E6
124101e04c3fSmrg#define GL_ATOMIC_COUNTER_BUFFER          0x92C0
124201e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
124301e04c3fSmrg#define GL_ACTIVE_RESOURCES               0x92F5
124401e04c3fSmrg#define GL_MAX_NAME_LENGTH                0x92F6
124501e04c3fSmrg#define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
124601e04c3fSmrg#define GL_NAME_LENGTH                    0x92F9
124701e04c3fSmrg#define GL_TYPE                           0x92FA
124801e04c3fSmrg#define GL_ARRAY_SIZE                     0x92FB
124901e04c3fSmrg#define GL_OFFSET                         0x92FC
125001e04c3fSmrg#define GL_BLOCK_INDEX                    0x92FD
125101e04c3fSmrg#define GL_ARRAY_STRIDE                   0x92FE
125201e04c3fSmrg#define GL_MATRIX_STRIDE                  0x92FF
125301e04c3fSmrg#define GL_IS_ROW_MAJOR                   0x9300
125401e04c3fSmrg#define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
125501e04c3fSmrg#define GL_BUFFER_BINDING                 0x9302
125601e04c3fSmrg#define GL_BUFFER_DATA_SIZE               0x9303
125701e04c3fSmrg#define GL_NUM_ACTIVE_VARIABLES           0x9304
125801e04c3fSmrg#define GL_ACTIVE_VARIABLES               0x9305
125901e04c3fSmrg#define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
126001e04c3fSmrg#define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
126101e04c3fSmrg#define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
126201e04c3fSmrg#define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
126301e04c3fSmrg#define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
126401e04c3fSmrg#define GL_LOCATION                       0x930E
126501e04c3fSmrg#define GL_VERTEX_SHADER_BIT              0x00000001
126601e04c3fSmrg#define GL_FRAGMENT_SHADER_BIT            0x00000002
126701e04c3fSmrg#define GL_ALL_SHADER_BITS                0xFFFFFFFF
126801e04c3fSmrg#define GL_PROGRAM_SEPARABLE              0x8258
126901e04c3fSmrg#define GL_ACTIVE_PROGRAM                 0x8259
127001e04c3fSmrg#define GL_PROGRAM_PIPELINE_BINDING       0x825A
127101e04c3fSmrg#define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
127201e04c3fSmrg#define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
127301e04c3fSmrg#define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
127401e04c3fSmrg#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
127501e04c3fSmrg#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
127601e04c3fSmrg#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
127701e04c3fSmrg#define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
127801e04c3fSmrg#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
127901e04c3fSmrg#define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
128001e04c3fSmrg#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
128101e04c3fSmrg#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
128201e04c3fSmrg#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
128301e04c3fSmrg#define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
128401e04c3fSmrg#define GL_MAX_IMAGE_UNITS                0x8F38
128501e04c3fSmrg#define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
128601e04c3fSmrg#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
128701e04c3fSmrg#define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
128801e04c3fSmrg#define GL_IMAGE_BINDING_NAME             0x8F3A
128901e04c3fSmrg#define GL_IMAGE_BINDING_LEVEL            0x8F3B
129001e04c3fSmrg#define GL_IMAGE_BINDING_LAYERED          0x8F3C
129101e04c3fSmrg#define GL_IMAGE_BINDING_LAYER            0x8F3D
129201e04c3fSmrg#define GL_IMAGE_BINDING_ACCESS           0x8F3E
129301e04c3fSmrg#define GL_IMAGE_BINDING_FORMAT           0x906E
129401e04c3fSmrg#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
129501e04c3fSmrg#define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
129601e04c3fSmrg#define GL_UNIFORM_BARRIER_BIT            0x00000004
129701e04c3fSmrg#define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
129801e04c3fSmrg#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
129901e04c3fSmrg#define GL_COMMAND_BARRIER_BIT            0x00000040
130001e04c3fSmrg#define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
130101e04c3fSmrg#define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
130201e04c3fSmrg#define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
130301e04c3fSmrg#define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
130401e04c3fSmrg#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
130501e04c3fSmrg#define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
130601e04c3fSmrg#define GL_ALL_BARRIER_BITS               0xFFFFFFFF
130701e04c3fSmrg#define GL_IMAGE_2D                       0x904D
130801e04c3fSmrg#define GL_IMAGE_3D                       0x904E
130901e04c3fSmrg#define GL_IMAGE_CUBE                     0x9050
131001e04c3fSmrg#define GL_IMAGE_2D_ARRAY                 0x9053
131101e04c3fSmrg#define GL_INT_IMAGE_2D                   0x9058
131201e04c3fSmrg#define GL_INT_IMAGE_3D                   0x9059
131301e04c3fSmrg#define GL_INT_IMAGE_CUBE                 0x905B
131401e04c3fSmrg#define GL_INT_IMAGE_2D_ARRAY             0x905E
131501e04c3fSmrg#define GL_UNSIGNED_INT_IMAGE_2D          0x9063
131601e04c3fSmrg#define GL_UNSIGNED_INT_IMAGE_3D          0x9064
131701e04c3fSmrg#define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
131801e04c3fSmrg#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
131901e04c3fSmrg#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
132001e04c3fSmrg#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
132101e04c3fSmrg#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
132201e04c3fSmrg#define GL_READ_ONLY                      0x88B8
132301e04c3fSmrg#define GL_WRITE_ONLY                     0x88B9
132401e04c3fSmrg#define GL_READ_WRITE                     0x88BA
132501e04c3fSmrg#define GL_SHADER_STORAGE_BUFFER          0x90D2
132601e04c3fSmrg#define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
132701e04c3fSmrg#define GL_SHADER_STORAGE_BUFFER_START    0x90D4
132801e04c3fSmrg#define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
132901e04c3fSmrg#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
133001e04c3fSmrg#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
133101e04c3fSmrg#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
133201e04c3fSmrg#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
133301e04c3fSmrg#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
133401e04c3fSmrg#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
133501e04c3fSmrg#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
133601e04c3fSmrg#define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
133701e04c3fSmrg#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
133801e04c3fSmrg#define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
133901e04c3fSmrg#define GL_STENCIL_INDEX                  0x1901
134001e04c3fSmrg#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
134101e04c3fSmrg#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
134201e04c3fSmrg#define GL_SAMPLE_POSITION                0x8E50
134301e04c3fSmrg#define GL_SAMPLE_MASK                    0x8E51
134401e04c3fSmrg#define GL_SAMPLE_MASK_VALUE              0x8E52
134501e04c3fSmrg#define GL_TEXTURE_2D_MULTISAMPLE         0x9100
134601e04c3fSmrg#define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
134701e04c3fSmrg#define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
134801e04c3fSmrg#define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
134901e04c3fSmrg#define GL_MAX_INTEGER_SAMPLES            0x9110
135001e04c3fSmrg#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
135101e04c3fSmrg#define GL_TEXTURE_SAMPLES                0x9106
135201e04c3fSmrg#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
135301e04c3fSmrg#define GL_TEXTURE_WIDTH                  0x1000
135401e04c3fSmrg#define GL_TEXTURE_HEIGHT                 0x1001
135501e04c3fSmrg#define GL_TEXTURE_DEPTH                  0x8071
135601e04c3fSmrg#define GL_TEXTURE_INTERNAL_FORMAT        0x1003
135701e04c3fSmrg#define GL_TEXTURE_RED_SIZE               0x805C
135801e04c3fSmrg#define GL_TEXTURE_GREEN_SIZE             0x805D
135901e04c3fSmrg#define GL_TEXTURE_BLUE_SIZE              0x805E
136001e04c3fSmrg#define GL_TEXTURE_ALPHA_SIZE             0x805F
136101e04c3fSmrg#define GL_TEXTURE_DEPTH_SIZE             0x884A
136201e04c3fSmrg#define GL_TEXTURE_STENCIL_SIZE           0x88F1
136301e04c3fSmrg#define GL_TEXTURE_SHARED_SIZE            0x8C3F
136401e04c3fSmrg#define GL_TEXTURE_RED_TYPE               0x8C10
136501e04c3fSmrg#define GL_TEXTURE_GREEN_TYPE             0x8C11
136601e04c3fSmrg#define GL_TEXTURE_BLUE_TYPE              0x8C12
136701e04c3fSmrg#define GL_TEXTURE_ALPHA_TYPE             0x8C13
136801e04c3fSmrg#define GL_TEXTURE_DEPTH_TYPE             0x8C16
136901e04c3fSmrg#define GL_TEXTURE_COMPRESSED             0x86A1
137001e04c3fSmrg#define GL_SAMPLER_2D_MULTISAMPLE         0x9108
137101e04c3fSmrg#define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
137201e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
137301e04c3fSmrg#define GL_VERTEX_ATTRIB_BINDING          0x82D4
137401e04c3fSmrg#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
137501e04c3fSmrg#define GL_VERTEX_BINDING_DIVISOR         0x82D6
137601e04c3fSmrg#define GL_VERTEX_BINDING_OFFSET          0x82D7
137701e04c3fSmrg#define GL_VERTEX_BINDING_STRIDE          0x82D8
137801e04c3fSmrg#define GL_VERTEX_BINDING_BUFFER          0x8F4F
137901e04c3fSmrg#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
138001e04c3fSmrg#define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
138101e04c3fSmrg#define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
138201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
138301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
138401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
138501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
138601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
138701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
138801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
138901e04c3fSmrgtypedef GLuint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
139001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
139101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
139201e04c3fSmrgtypedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
139301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
139401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
139501e04c3fSmrgtypedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
139601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
139701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
139801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
139901e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
140001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
140101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
140201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
140301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
140401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
140501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
140601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
140701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
140801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
140901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
141001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
141101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
141201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
141301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
141401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
141501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
141601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
141701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
141801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
141901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
142001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
142101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
142201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
142301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
142401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
142501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
142601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
142701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
142801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
142901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
143001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
143101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
143201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
143301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
143401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
143501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
143601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
143701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
143801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
143901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
144001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
144101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
144201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
144301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params);
144401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params);
144501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
144601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
144701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
144801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
144901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
145001e04c3fSmrg#if GL_GLES_PROTOTYPES
145101e04c3fSmrgGL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
145201e04c3fSmrgGL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect);
145301e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
145401e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
145501e04c3fSmrgGL_APICALL void GL_APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
145601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
145701e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
145801e04c3fSmrgGL_APICALL GLuint GL_APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
145901e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
146001e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
146101e04c3fSmrgGL_APICALL GLint GL_APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
146201e04c3fSmrgGL_APICALL void GL_APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
146301e04c3fSmrgGL_APICALL void GL_APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
146401e04c3fSmrgGL_APICALL GLuint GL_APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
146501e04c3fSmrgGL_APICALL void GL_APIENTRY glBindProgramPipeline (GLuint pipeline);
146601e04c3fSmrgGL_APICALL void GL_APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
146701e04c3fSmrgGL_APICALL void GL_APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
146801e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsProgramPipeline (GLuint pipeline);
146901e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
147001e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
147101e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
147201e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
147301e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
147401e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
147501e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
147601e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
147701e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
147801e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
147901e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
148001e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
148101e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
148201e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
148301e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
148401e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
148501e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
148601e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
148701e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
148801e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
148901e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
149001e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
149101e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
149201e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
149301e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
149401e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
149501e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
149601e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
149701e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
149801e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
149901e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
150001e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
150101e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
150201e04c3fSmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
150301e04c3fSmrgGL_APICALL void GL_APIENTRY glValidateProgramPipeline (GLuint pipeline);
150401e04c3fSmrgGL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
150501e04c3fSmrgGL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
150601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
150701e04c3fSmrgGL_APICALL void GL_APIENTRY glMemoryBarrier (GLbitfield barriers);
150801e04c3fSmrgGL_APICALL void GL_APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
150901e04c3fSmrgGL_APICALL void GL_APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
151001e04c3fSmrgGL_APICALL void GL_APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
151101e04c3fSmrgGL_APICALL void GL_APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
151201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
151301e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
151401e04c3fSmrgGL_APICALL void GL_APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
151501e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
151601e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
151701e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
151801e04c3fSmrgGL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
151901e04c3fSmrg#endif
152001e04c3fSmrg#endif /* GL_ES_VERSION_3_1 */
152101e04c3fSmrg
152201e04c3fSmrg#ifndef GL_ES_VERSION_3_2
152301e04c3fSmrg#define GL_ES_VERSION_3_2 1
152401e04c3fSmrgtypedef void (GL_APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
152501e04c3fSmrg#define GL_MULTISAMPLE_LINE_WIDTH_RANGE   0x9381
152601e04c3fSmrg#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY 0x9382
152701e04c3fSmrg#define GL_MULTIPLY                       0x9294
152801e04c3fSmrg#define GL_SCREEN                         0x9295
152901e04c3fSmrg#define GL_OVERLAY                        0x9296
153001e04c3fSmrg#define GL_DARKEN                         0x9297
153101e04c3fSmrg#define GL_LIGHTEN                        0x9298
153201e04c3fSmrg#define GL_COLORDODGE                     0x9299
153301e04c3fSmrg#define GL_COLORBURN                      0x929A
153401e04c3fSmrg#define GL_HARDLIGHT                      0x929B
153501e04c3fSmrg#define GL_SOFTLIGHT                      0x929C
153601e04c3fSmrg#define GL_DIFFERENCE                     0x929E
153701e04c3fSmrg#define GL_EXCLUSION                      0x92A0
153801e04c3fSmrg#define GL_HSL_HUE                        0x92AD
153901e04c3fSmrg#define GL_HSL_SATURATION                 0x92AE
154001e04c3fSmrg#define GL_HSL_COLOR                      0x92AF
154101e04c3fSmrg#define GL_HSL_LUMINOSITY                 0x92B0
154201e04c3fSmrg#define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
154301e04c3fSmrg#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
154401e04c3fSmrg#define GL_DEBUG_CALLBACK_FUNCTION        0x8244
154501e04c3fSmrg#define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
154601e04c3fSmrg#define GL_DEBUG_SOURCE_API               0x8246
154701e04c3fSmrg#define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
154801e04c3fSmrg#define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
154901e04c3fSmrg#define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
155001e04c3fSmrg#define GL_DEBUG_SOURCE_APPLICATION       0x824A
155101e04c3fSmrg#define GL_DEBUG_SOURCE_OTHER             0x824B
155201e04c3fSmrg#define GL_DEBUG_TYPE_ERROR               0x824C
155301e04c3fSmrg#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
155401e04c3fSmrg#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
155501e04c3fSmrg#define GL_DEBUG_TYPE_PORTABILITY         0x824F
155601e04c3fSmrg#define GL_DEBUG_TYPE_PERFORMANCE         0x8250
155701e04c3fSmrg#define GL_DEBUG_TYPE_OTHER               0x8251
155801e04c3fSmrg#define GL_DEBUG_TYPE_MARKER              0x8268
155901e04c3fSmrg#define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
156001e04c3fSmrg#define GL_DEBUG_TYPE_POP_GROUP           0x826A
156101e04c3fSmrg#define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
156201e04c3fSmrg#define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
156301e04c3fSmrg#define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
156401e04c3fSmrg#define GL_BUFFER                         0x82E0
156501e04c3fSmrg#define GL_SHADER                         0x82E1
156601e04c3fSmrg#define GL_PROGRAM                        0x82E2
156701e04c3fSmrg#define GL_VERTEX_ARRAY                   0x8074
156801e04c3fSmrg#define GL_QUERY                          0x82E3
156901e04c3fSmrg#define GL_PROGRAM_PIPELINE               0x82E4
157001e04c3fSmrg#define GL_SAMPLER                        0x82E6
157101e04c3fSmrg#define GL_MAX_LABEL_LENGTH               0x82E8
157201e04c3fSmrg#define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
157301e04c3fSmrg#define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
157401e04c3fSmrg#define GL_DEBUG_LOGGED_MESSAGES          0x9145
157501e04c3fSmrg#define GL_DEBUG_SEVERITY_HIGH            0x9146
157601e04c3fSmrg#define GL_DEBUG_SEVERITY_MEDIUM          0x9147
157701e04c3fSmrg#define GL_DEBUG_SEVERITY_LOW             0x9148
157801e04c3fSmrg#define GL_DEBUG_OUTPUT                   0x92E0
157901e04c3fSmrg#define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
158001e04c3fSmrg#define GL_STACK_OVERFLOW                 0x0503
158101e04c3fSmrg#define GL_STACK_UNDERFLOW                0x0504
158201e04c3fSmrg#define GL_GEOMETRY_SHADER                0x8DD9
158301e04c3fSmrg#define GL_GEOMETRY_SHADER_BIT            0x00000004
158401e04c3fSmrg#define GL_GEOMETRY_VERTICES_OUT          0x8916
158501e04c3fSmrg#define GL_GEOMETRY_INPUT_TYPE            0x8917
158601e04c3fSmrg#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
158701e04c3fSmrg#define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
158801e04c3fSmrg#define GL_LAYER_PROVOKING_VERTEX         0x825E
158901e04c3fSmrg#define GL_LINES_ADJACENCY                0x000A
159001e04c3fSmrg#define GL_LINE_STRIP_ADJACENCY           0x000B
159101e04c3fSmrg#define GL_TRIANGLES_ADJACENCY            0x000C
159201e04c3fSmrg#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
159301e04c3fSmrg#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
159401e04c3fSmrg#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
159501e04c3fSmrg#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
159601e04c3fSmrg#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
159701e04c3fSmrg#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
159801e04c3fSmrg#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
159901e04c3fSmrg#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
160001e04c3fSmrg#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
160101e04c3fSmrg#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
160201e04c3fSmrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
160301e04c3fSmrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
160401e04c3fSmrg#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
160501e04c3fSmrg#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
160601e04c3fSmrg#define GL_FIRST_VERTEX_CONVENTION        0x8E4D
160701e04c3fSmrg#define GL_LAST_VERTEX_CONVENTION         0x8E4E
160801e04c3fSmrg#define GL_UNDEFINED_VERTEX               0x8260
160901e04c3fSmrg#define GL_PRIMITIVES_GENERATED           0x8C87
161001e04c3fSmrg#define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
161101e04c3fSmrg#define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
161201e04c3fSmrg#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
161301e04c3fSmrg#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
161401e04c3fSmrg#define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
161501e04c3fSmrg#define GL_PRIMITIVE_BOUNDING_BOX         0x92BE
161601e04c3fSmrg#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
161701e04c3fSmrg#define GL_CONTEXT_FLAGS                  0x821E
161801e04c3fSmrg#define GL_LOSE_CONTEXT_ON_RESET          0x8252
161901e04c3fSmrg#define GL_GUILTY_CONTEXT_RESET           0x8253
162001e04c3fSmrg#define GL_INNOCENT_CONTEXT_RESET         0x8254
162101e04c3fSmrg#define GL_UNKNOWN_CONTEXT_RESET          0x8255
162201e04c3fSmrg#define GL_RESET_NOTIFICATION_STRATEGY    0x8256
162301e04c3fSmrg#define GL_NO_RESET_NOTIFICATION          0x8261
162401e04c3fSmrg#define GL_CONTEXT_LOST                   0x0507
162501e04c3fSmrg#define GL_SAMPLE_SHADING                 0x8C36
162601e04c3fSmrg#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
162701e04c3fSmrg#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
162801e04c3fSmrg#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
162901e04c3fSmrg#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
163001e04c3fSmrg#define GL_PATCHES                        0x000E
163101e04c3fSmrg#define GL_PATCH_VERTICES                 0x8E72
163201e04c3fSmrg#define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
163301e04c3fSmrg#define GL_TESS_GEN_MODE                  0x8E76
163401e04c3fSmrg#define GL_TESS_GEN_SPACING               0x8E77
163501e04c3fSmrg#define GL_TESS_GEN_VERTEX_ORDER          0x8E78
163601e04c3fSmrg#define GL_TESS_GEN_POINT_MODE            0x8E79
163701e04c3fSmrg#define GL_ISOLINES                       0x8E7A
163801e04c3fSmrg#define GL_QUADS                          0x0007
163901e04c3fSmrg#define GL_FRACTIONAL_ODD                 0x8E7B
164001e04c3fSmrg#define GL_FRACTIONAL_EVEN                0x8E7C
164101e04c3fSmrg#define GL_MAX_PATCH_VERTICES             0x8E7D
164201e04c3fSmrg#define GL_MAX_TESS_GEN_LEVEL             0x8E7E
164301e04c3fSmrg#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
164401e04c3fSmrg#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
164501e04c3fSmrg#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
164601e04c3fSmrg#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
164701e04c3fSmrg#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
164801e04c3fSmrg#define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
164901e04c3fSmrg#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
165001e04c3fSmrg#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
165101e04c3fSmrg#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
165201e04c3fSmrg#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
165301e04c3fSmrg#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
165401e04c3fSmrg#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
165501e04c3fSmrg#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
165601e04c3fSmrg#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
165701e04c3fSmrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
165801e04c3fSmrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
165901e04c3fSmrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
166001e04c3fSmrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
166101e04c3fSmrg#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
166201e04c3fSmrg#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
166301e04c3fSmrg#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
166401e04c3fSmrg#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
166501e04c3fSmrg#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
166601e04c3fSmrg#define GL_IS_PER_PATCH                   0x92E7
166701e04c3fSmrg#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
166801e04c3fSmrg#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
166901e04c3fSmrg#define GL_TESS_CONTROL_SHADER            0x8E88
167001e04c3fSmrg#define GL_TESS_EVALUATION_SHADER         0x8E87
167101e04c3fSmrg#define GL_TESS_CONTROL_SHADER_BIT        0x00000008
167201e04c3fSmrg#define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
167301e04c3fSmrg#define GL_TEXTURE_BORDER_COLOR           0x1004
167401e04c3fSmrg#define GL_CLAMP_TO_BORDER                0x812D
167501e04c3fSmrg#define GL_TEXTURE_BUFFER                 0x8C2A
167601e04c3fSmrg#define GL_TEXTURE_BUFFER_BINDING         0x8C2A
167701e04c3fSmrg#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
167801e04c3fSmrg#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
167901e04c3fSmrg#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
168001e04c3fSmrg#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
168101e04c3fSmrg#define GL_SAMPLER_BUFFER                 0x8DC2
168201e04c3fSmrg#define GL_INT_SAMPLER_BUFFER             0x8DD0
168301e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
168401e04c3fSmrg#define GL_IMAGE_BUFFER                   0x9051
168501e04c3fSmrg#define GL_INT_IMAGE_BUFFER               0x905C
168601e04c3fSmrg#define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
168701e04c3fSmrg#define GL_TEXTURE_BUFFER_OFFSET          0x919D
168801e04c3fSmrg#define GL_TEXTURE_BUFFER_SIZE            0x919E
168901e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_4x4       0x93B0
169001e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_5x4       0x93B1
169101e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_5x5       0x93B2
169201e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_6x5       0x93B3
169301e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_6x6       0x93B4
169401e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_8x5       0x93B5
169501e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_8x6       0x93B6
169601e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_8x8       0x93B7
169701e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_10x5      0x93B8
169801e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_10x6      0x93B9
169901e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_10x8      0x93BA
170001e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_10x10     0x93BB
170101e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_12x10     0x93BC
170201e04c3fSmrg#define GL_COMPRESSED_RGBA_ASTC_12x12     0x93BD
170301e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 0x93D0
170401e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 0x93D1
170501e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 0x93D2
170601e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 0x93D3
170701e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 0x93D4
170801e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 0x93D5
170901e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 0x93D6
171001e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 0x93D7
171101e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 0x93D8
171201e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 0x93D9
171301e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 0x93DA
171401e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 0x93DB
171501e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 0x93DC
171601e04c3fSmrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 0x93DD
171701e04c3fSmrg#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
171801e04c3fSmrg#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
171901e04c3fSmrg#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
172001e04c3fSmrg#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
172101e04c3fSmrg#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
172201e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
172301e04c3fSmrg#define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
172401e04c3fSmrg#define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
172501e04c3fSmrg#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
172601e04c3fSmrg#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
172701e04c3fSmrg#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
172801e04c3fSmrg#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
172901e04c3fSmrg#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
173001e04c3fSmrg#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
173101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDBARRIERPROC) (void);
173201e04c3fSmrgtypedef void (GL_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);
173301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
173401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
173501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
173601e04c3fSmrgtypedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
173701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
173801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
173901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
174001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
174101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
174201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
174301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params);
174401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
174501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
174601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
174701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
174801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
174901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
175001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
175101e04c3fSmrgtypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
175201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
175301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
175401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
175501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
175601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
175701e04c3fSmrgtypedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
175801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
175901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
176001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
176101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
176201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
176301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
176401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
176501e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
176601e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
176701e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
176801e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
176901e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
177001e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
177101e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
177201e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
177301e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
177401e04c3fSmrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
177501e04c3fSmrg#if GL_GLES_PROTOTYPES
177601e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendBarrier (void);
177701e04c3fSmrgGL_APICALL void GL_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);
177801e04c3fSmrgGL_APICALL void GL_APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
177901e04c3fSmrgGL_APICALL void GL_APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
178001e04c3fSmrgGL_APICALL void GL_APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
178101e04c3fSmrgGL_APICALL GLuint GL_APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
178201e04c3fSmrgGL_APICALL void GL_APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
178301e04c3fSmrgGL_APICALL void GL_APIENTRY glPopDebugGroup (void);
178401e04c3fSmrgGL_APICALL void GL_APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
178501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
178601e04c3fSmrgGL_APICALL void GL_APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
178701e04c3fSmrgGL_APICALL void GL_APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
178801e04c3fSmrgGL_APICALL void GL_APIENTRY glGetPointerv (GLenum pname, void **params);
178901e04c3fSmrgGL_APICALL void GL_APIENTRY glEnablei (GLenum target, GLuint index);
179001e04c3fSmrgGL_APICALL void GL_APIENTRY glDisablei (GLenum target, GLuint index);
179101e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
179201e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
179301e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
179401e04c3fSmrgGL_APICALL void GL_APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
179501e04c3fSmrgGL_APICALL void GL_APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
179601e04c3fSmrgGL_APICALL GLboolean GL_APIENTRY glIsEnabledi (GLenum target, GLuint index);
179701e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
179801e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
179901e04c3fSmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
180001e04c3fSmrgGL_APICALL void GL_APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
180101e04c3fSmrgGL_APICALL void GL_APIENTRY glPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
180201e04c3fSmrgGL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatus (void);
180301e04c3fSmrgGL_APICALL void GL_APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
180401e04c3fSmrgGL_APICALL void GL_APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
180501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
180601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
180701e04c3fSmrgGL_APICALL void GL_APIENTRY glMinSampleShading (GLfloat value);
180801e04c3fSmrgGL_APICALL void GL_APIENTRY glPatchParameteri (GLenum pname, GLint value);
180901e04c3fSmrgGL_APICALL void GL_APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
181001e04c3fSmrgGL_APICALL void GL_APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
181101e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
181201e04c3fSmrgGL_APICALL void GL_APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
181301e04c3fSmrgGL_APICALL void GL_APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
181401e04c3fSmrgGL_APICALL void GL_APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
181501e04c3fSmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
181601e04c3fSmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
181701e04c3fSmrgGL_APICALL void GL_APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
181801e04c3fSmrgGL_APICALL void GL_APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
181901e04c3fSmrgGL_APICALL void GL_APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
182001e04c3fSmrg#endif
182101e04c3fSmrg#endif /* GL_ES_VERSION_3_2 */
182201e04c3fSmrg
182301e04c3fSmrg#ifdef __cplusplus
182401e04c3fSmrg}
182501e04c3fSmrg#endif
182601e04c3fSmrg
182701e04c3fSmrg#endif
1828