13667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#ifndef __gl31_h_
23667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define __gl31_h_ 1
33667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall
43667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#ifdef __cplusplus
53667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hallextern "C" {
63667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#endif
73667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall
83667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall/*
94690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos** Copyright (c) 2013-2015 The Khronos Group Inc.
103667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall**
113667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** Permission is hereby granted, free of charge, to any person obtaining a
123667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** copy of this software and/or associated documentation files (the
133667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** "Materials"), to deal in the Materials without restriction, including
143667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** without limitation the rights to use, copy, modify, merge, publish,
153667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** distribute, sublicense, and/or sell copies of the Materials, and to
163667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** permit persons to whom the Materials are furnished to do so, subject to
173667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** the following conditions:
183667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall**
193667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** The above copyright notice and this permission notice shall be included
203667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** in all copies or substantial portions of the Materials.
213667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall**
223667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
233667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
243667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
253667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
263667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
273667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
283667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
293667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall*/
303667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall/*
313667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** This header is generated from the Khronos OpenGL / OpenGL ES XML
323667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** API Registry. The current version of the Registry, generator scripts
333667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** used to make the header, and the header can be found at
343667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall**   http://www.opengl.org/registry/
353667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall**
363667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall** Khronos $Revision$ on $Date$
373667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall*/
383667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall
393667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#include <GLES3/gl3platform.h>
403667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall
414690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos#ifndef GL_APIENTRYP
424690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos#define GL_APIENTRYP GL_APIENTRY*
434690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos#endif
444690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos
455b89ed60835bb369ec8d233c3c707f6147027994Pablo Ceballos#if !defined(GL_GLES_PROTOTYPES)
465b89ed60835bb369ec8d233c3c707f6147027994Pablo Ceballos#define GL_GLES_PROTOTYPES 1
475b89ed60835bb369ec8d233c3c707f6147027994Pablo Ceballos#endif
485b89ed60835bb369ec8d233c3c707f6147027994Pablo Ceballos
494690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos/* Generated on date 20151015 */
503667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall
513667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall/* Generated C header for:
523667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall * API: gles2
533667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall * Profile: common
544690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos * Versions considered: 2\.[0-9]|3\.[01]
553667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall * Versions emitted: .*
563667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall * Default extensions included: None
573667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall * Additional extensions included: _nomatch_^
583667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall * Extensions removed: _nomatch_^
593667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall */
603667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall
613667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#ifndef GL_ES_VERSION_2_0
623667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ES_VERSION_2_0 1
633667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#include <KHR/khrplatform.h>
643667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_int8_t GLbyte;
653667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_float_t GLclampf;
663667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_int32_t GLfixed;
673667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef short GLshort;
683667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef unsigned short GLushort;
693667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef void GLvoid;
703667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef struct __GLsync *GLsync;
713667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_int64_t GLint64;
723667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_uint64_t GLuint64;
733667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef unsigned int GLenum;
743667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef unsigned int GLuint;
753667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef char GLchar;
763667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_float_t GLfloat;
773667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_ssize_t GLsizeiptr;
783667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_intptr_t GLintptr;
793667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef unsigned int GLbitfield;
803667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef int GLint;
813667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef unsigned char GLboolean;
823667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef int GLsizei;
833667e338629cb51683bd7a9a184180e2131ff2c7Jesse Halltypedef khronos_uint8_t GLubyte;
843667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_BUFFER_BIT               0x00000100
853667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BUFFER_BIT             0x00000400
863667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_COLOR_BUFFER_BIT               0x00004000
873667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FALSE                          0
883667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TRUE                           1
893667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_POINTS                         0x0000
903667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINES                          0x0001
913667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINE_LOOP                      0x0002
923667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINE_STRIP                     0x0003
933667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TRIANGLES                      0x0004
943667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TRIANGLE_STRIP                 0x0005
953667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TRIANGLE_FAN                   0x0006
963667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ZERO                           0
973667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE                            1
983667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SRC_COLOR                      0x0300
993667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE_MINUS_SRC_COLOR            0x0301
1003667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SRC_ALPHA                      0x0302
1013667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE_MINUS_SRC_ALPHA            0x0303
1023667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DST_ALPHA                      0x0304
1033667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE_MINUS_DST_ALPHA            0x0305
1043667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DST_COLOR                      0x0306
1053667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE_MINUS_DST_COLOR            0x0307
1063667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SRC_ALPHA_SATURATE             0x0308
1073667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FUNC_ADD                       0x8006
1083667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_EQUATION                 0x8009
1093667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_EQUATION_RGB             0x8009
1103667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_EQUATION_ALPHA           0x883D
1113667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FUNC_SUBTRACT                  0x800A
1123667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FUNC_REVERSE_SUBTRACT          0x800B
1133667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_DST_RGB                  0x80C8
1143667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_SRC_RGB                  0x80C9
1153667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_DST_ALPHA                0x80CA
1163667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_SRC_ALPHA                0x80CB
1173667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CONSTANT_COLOR                 0x8001
1183667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
1193667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CONSTANT_ALPHA                 0x8003
1203667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
1213667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND_COLOR                    0x8005
1223667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ARRAY_BUFFER                   0x8892
1233667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ELEMENT_ARRAY_BUFFER           0x8893
1243667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ARRAY_BUFFER_BINDING           0x8894
1253667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
1263667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STREAM_DRAW                    0x88E0
1273667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STATIC_DRAW                    0x88E4
1283667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DYNAMIC_DRAW                   0x88E8
1293667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BUFFER_SIZE                    0x8764
1303667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BUFFER_USAGE                   0x8765
1313667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CURRENT_VERTEX_ATTRIB          0x8626
1323667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRONT                          0x0404
1333667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BACK                           0x0405
1343667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRONT_AND_BACK                 0x0408
1353667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_2D                     0x0DE1
1363667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CULL_FACE                      0x0B44
1373667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLEND                          0x0BE2
1383667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DITHER                         0x0BD0
1393667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_TEST                   0x0B90
1403667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_TEST                     0x0B71
1413667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SCISSOR_TEST                   0x0C11
1423667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_POLYGON_OFFSET_FILL            0x8037
1433667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
1443667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLE_COVERAGE                0x80A0
1453667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NO_ERROR                       0
1463667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INVALID_ENUM                   0x0500
1473667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INVALID_VALUE                  0x0501
1483667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INVALID_OPERATION              0x0502
1493667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_OUT_OF_MEMORY                  0x0505
1503667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CW                             0x0900
1513667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CCW                            0x0901
1523667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINE_WIDTH                     0x0B21
1533667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
1543667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
1553667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CULL_FACE_MODE                 0x0B45
1563667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRONT_FACE                     0x0B46
1573667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_RANGE                    0x0B70
1583667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_WRITEMASK                0x0B72
1593667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_CLEAR_VALUE              0x0B73
1603667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_FUNC                     0x0B74
1613667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_CLEAR_VALUE            0x0B91
1623667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_FUNC                   0x0B92
1633667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_FAIL                   0x0B94
1643667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
1653667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
1663667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_REF                    0x0B97
1673667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_VALUE_MASK             0x0B93
1683667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_WRITEMASK              0x0B98
1693667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_FUNC              0x8800
1703667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_FAIL              0x8801
1713667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
1723667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
1733667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_REF               0x8CA3
1743667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
1753667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
1763667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VIEWPORT                       0x0BA2
1773667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SCISSOR_BOX                    0x0C10
1783667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_COLOR_CLEAR_VALUE              0x0C22
1793667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_COLOR_WRITEMASK                0x0C23
1803667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNPACK_ALIGNMENT               0x0CF5
1813667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_PACK_ALIGNMENT                 0x0D05
1823667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_TEXTURE_SIZE               0x0D33
1833667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_VIEWPORT_DIMS              0x0D3A
1843667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SUBPIXEL_BITS                  0x0D50
1853667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RED_BITS                       0x0D52
1863667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_GREEN_BITS                     0x0D53
1873667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BLUE_BITS                      0x0D54
1883667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ALPHA_BITS                     0x0D55
1893667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_BITS                     0x0D56
1903667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_BITS                   0x0D57
1913667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_POLYGON_OFFSET_UNITS           0x2A00
1923667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_POLYGON_OFFSET_FACTOR          0x8038
1933667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_BINDING_2D             0x8069
1943667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLE_BUFFERS                 0x80A8
1953667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLES                        0x80A9
1963667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
1973667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
1983667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1993667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
2003667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DONT_CARE                      0x1100
2013667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FASTEST                        0x1101
2023667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NICEST                         0x1102
2033667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_GENERATE_MIPMAP_HINT           0x8192
2043667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BYTE                           0x1400
2053667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNSIGNED_BYTE                  0x1401
2063667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SHORT                          0x1402
2073667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNSIGNED_SHORT                 0x1403
2083667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INT                            0x1404
2093667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNSIGNED_INT                   0x1405
2103667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT                          0x1406
2113667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FIXED                          0x140C
2123667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_COMPONENT                0x1902
2133667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ALPHA                          0x1906
2143667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RGB                            0x1907
2153667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RGBA                           0x1908
2163667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LUMINANCE                      0x1909
2173667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LUMINANCE_ALPHA                0x190A
2183667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
2193667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
2203667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_UNSIGNED_SHORT_5_6_5           0x8363
2213667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAGMENT_SHADER                0x8B30
2223667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_SHADER                  0x8B31
2233667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_VERTEX_ATTRIBS             0x8869
2243667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
2253667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_VARYING_VECTORS            0x8DFC
2263667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
2273667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
2283667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
2293667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
2303667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SHADER_TYPE                    0x8B4F
2313667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DELETE_STATUS                  0x8B80
2323667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINK_STATUS                    0x8B82
2333667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VALIDATE_STATUS                0x8B83
2343667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ATTACHED_SHADERS               0x8B85
2353667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ACTIVE_UNIFORMS                0x8B86
2363667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
2373667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ACTIVE_ATTRIBUTES              0x8B89
2383667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
2393667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
2403667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CURRENT_PROGRAM                0x8B8D
2413667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NEVER                          0x0200
2423667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LESS                           0x0201
2433667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_EQUAL                          0x0202
2443667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LEQUAL                         0x0203
2453667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_GREATER                        0x0204
2463667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NOTEQUAL                       0x0205
2473667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_GEQUAL                         0x0206
2483667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ALWAYS                         0x0207
2493667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_KEEP                           0x1E00
2503667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_REPLACE                        0x1E01
2513667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INCR                           0x1E02
2523667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DECR                           0x1E03
2533667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INVERT                         0x150A
2543667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INCR_WRAP                      0x8507
2553667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DECR_WRAP                      0x8508
2563667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VENDOR                         0x1F00
2573667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERER                       0x1F01
2583667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERSION                        0x1F02
2593667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_EXTENSIONS                     0x1F03
2603667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NEAREST                        0x2600
2613667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINEAR                         0x2601
2623667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NEAREST_MIPMAP_NEAREST         0x2700
2633667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINEAR_MIPMAP_NEAREST          0x2701
2643667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NEAREST_MIPMAP_LINEAR          0x2702
2653667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LINEAR_MIPMAP_LINEAR           0x2703
2663667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_MAG_FILTER             0x2800
2673667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_MIN_FILTER             0x2801
2683667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_WRAP_S                 0x2802
2693667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_WRAP_T                 0x2803
2703667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE                        0x1702
2713667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP               0x8513
2723667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
2733667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
2743667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
2753667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
2763667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
2773667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
2783667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
2793667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
2803667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE0                       0x84C0
2813667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE1                       0x84C1
2823667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE2                       0x84C2
2833667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE3                       0x84C3
2843667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE4                       0x84C4
2853667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE5                       0x84C5
2863667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE6                       0x84C6
2873667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE7                       0x84C7
2883667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE8                       0x84C8
2893667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE9                       0x84C9
2903667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE10                      0x84CA
2913667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE11                      0x84CB
2923667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE12                      0x84CC
2933667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE13                      0x84CD
2943667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE14                      0x84CE
2953667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE15                      0x84CF
2963667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE16                      0x84D0
2973667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE17                      0x84D1
2983667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE18                      0x84D2
2993667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE19                      0x84D3
3003667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE20                      0x84D4
3013667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE21                      0x84D5
3023667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE22                      0x84D6
3033667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE23                      0x84D7
3043667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE24                      0x84D8
3053667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE25                      0x84D9
3063667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE26                      0x84DA
3073667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE27                      0x84DB
3083667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE28                      0x84DC
3093667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE29                      0x84DD
3103667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE30                      0x84DE
3113667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_TEXTURE31                      0x84DF
3123667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_ACTIVE_TEXTURE                 0x84E0
3133667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_REPEAT                         0x2901
3143667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_CLAMP_TO_EDGE                  0x812F
3153667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MIRRORED_REPEAT                0x8370
3163667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT_VEC2                     0x8B50
3173667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT_VEC3                     0x8B51
3183667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT_VEC4                     0x8B52
3193667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INT_VEC2                       0x8B53
3203667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INT_VEC3                       0x8B54
3213667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INT_VEC4                       0x8B55
3223667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BOOL                           0x8B56
3233667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BOOL_VEC2                      0x8B57
3243667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BOOL_VEC3                      0x8B58
3253667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_BOOL_VEC4                      0x8B59
3263667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT_MAT2                     0x8B5A
3273667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT_MAT3                     0x8B5B
3283667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FLOAT_MAT4                     0x8B5C
3293667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLER_2D                     0x8B5E
3303667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SAMPLER_CUBE                   0x8B60
3313667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
3323667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
3333667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
3343667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
3353667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
3363667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
3373667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
3383667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
3393667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
3403667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_COMPILE_STATUS                 0x8B81
3413667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INFO_LOG_LENGTH                0x8B84
3423667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SHADER_SOURCE_LENGTH           0x8B88
3433667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SHADER_COMPILER                0x8DFA
3443667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_SHADER_BINARY_FORMATS          0x8DF8
3453667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
3463667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LOW_FLOAT                      0x8DF0
3473667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MEDIUM_FLOAT                   0x8DF1
3483667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_HIGH_FLOAT                     0x8DF2
3493667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_LOW_INT                        0x8DF3
3503667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MEDIUM_INT                     0x8DF4
3513667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_HIGH_INT                       0x8DF5
3523667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER                    0x8D40
3533667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER                   0x8D41
3543667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RGBA4                          0x8056
3553667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RGB5_A1                        0x8057
3563667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RGB565                         0x8D62
3573667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_COMPONENT16              0x81A5
3583667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_INDEX8                 0x8D48
3593667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_WIDTH             0x8D42
3603667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_HEIGHT            0x8D43
3613667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
3623667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_RED_SIZE          0x8D50
3633667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
3643667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
3653667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
3663667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
3673667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
3683667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
3693667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
3703667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
3713667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
3723667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_COLOR_ATTACHMENT0              0x8CE0
3733667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_DEPTH_ATTACHMENT               0x8D00
3743667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_STENCIL_ATTACHMENT             0x8D20
3753667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_NONE                           0
3763667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
3773667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
3783667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
3793667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
3803667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
3813667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_FRAMEBUFFER_BINDING            0x8CA6
3823667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_RENDERBUFFER_BINDING           0x8CA7
3833667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
3843667e338629cb51683bd7a9a184180e2131ff2c7Jesse Hall#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
3854690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
3864690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
3874690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
3884690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
3894690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
3904690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
3914690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
3924690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
3934690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
3944690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
3954690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor);
3964690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
3974690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
3984690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
3994690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
4004690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask);
4014690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
4024690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
4034690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s);
4044690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
4054690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
4064690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4074690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4084690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
4094690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
4104690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
4114690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
4124690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode);
4134690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
4144690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
4154690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
4164690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
4174690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
4184690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures);
4194690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func);
4204690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag);
4214690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
4224690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
4234690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
4244690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
4254690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
4264690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
4274690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap);
4284690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
4294690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLFINISHPROC) (void);
4304690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void);
4314690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
4324690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
4334690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode);
4344690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
4354690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
4364690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
4374690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
4384690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures);
4394690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
4404690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
4414690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
4424690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
4434690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data);
4444690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4454690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void);
4464690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data);
4474690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
4484690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data);
4494690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
4504690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
4514690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4524690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
4534690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
4544690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
4554690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
4564690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
4574690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
4584690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
4594690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
4604690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
4614690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
4624690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
4634690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
4644690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
4654690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode);
4664690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
4674690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
4684690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
4694690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
4704690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
4714690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
4724690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
4734690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width);
4744690754ec38f77431431910ce878850e1c60ab79Pablo Ceballostypedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
475