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