148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#ifndef __gl2_h_
23703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define __gl2_h_ 1
348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian
448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#ifdef __cplusplus
548efd950151369a5c049c8a92f36663a88206b4eMathias Agopianextern "C" {
648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#endif
748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian
848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian/*
94690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos** Copyright (c) 2013-2015 The Khronos Group Inc.
103703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall**
113703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** Permission is hereby granted, free of charge, to any person obtaining a
123703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** copy of this software and/or associated documentation files (the
133703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** "Materials"), to deal in the Materials without restriction, including
143703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** without limitation the rights to use, copy, modify, merge, publish,
153703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** distribute, sublicense, and/or sell copies of the Materials, and to
163703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** permit persons to whom the Materials are furnished to do so, subject to
173703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** the following conditions:
183703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall**
193703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** The above copyright notice and this permission notice shall be included
203703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** in all copies or substantial portions of the Materials.
213703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall**
223703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
233703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
243703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
253703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
263703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
273703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
283703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
293703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall*/
303703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/*
313703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** This header is generated from the Khronos OpenGL / OpenGL ES XML
323703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** API Registry. The current version of the Registry, generator scripts
333703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall** used to make the header, and the header can be found at
343703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall**   http://www.opengl.org/registry/
353703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall**
364690754ec38f77431431910ce878850e1c60ab79Pablo Ceballos** Khronos $Revision: 32120 $ on $Date: 2015-10-15 04:27:13 -0700 (Thu, 15 Oct 2015) $
373703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall*/
3848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian
393703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#include <GLES2/gl2platform.h>
4048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian
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 */
502b2ac210786c71bdd0ea5924d734a4b49c4a584eJesse Hall
513703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* Generated C header for:
523703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * API: gles2
533703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * Profile: common
543703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * Versions considered: 2\.[0-9]
553703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * Versions emitted: .*
563703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * Default extensions included: None
573703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * Additional extensions included: _nomatch_^
583703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * Extensions removed: _nomatch_^
593703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall */
602b2ac210786c71bdd0ea5924d734a4b49c4a584eJesse Hall
613703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#ifndef GL_ES_VERSION_2_0
623703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ES_VERSION_2_0 1
633703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#include <KHR/khrplatform.h>
643703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_int8_t GLbyte;
653703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_float_t GLclampf;
663703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_int32_t GLfixed;
673703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef short GLshort;
683703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef unsigned short GLushort;
693703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef void GLvoid;
703703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef struct __GLsync *GLsync;
713703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_int64_t GLint64;
723703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_uint64_t GLuint64;
733703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef unsigned int GLenum;
743703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef unsigned int GLuint;
753703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef char GLchar;
763703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_float_t GLfloat;
773703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_ssize_t GLsizeiptr;
783703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_intptr_t GLintptr;
793703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef unsigned int GLbitfield;
803703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef int GLint;
813703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef unsigned char GLboolean;
823703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef int GLsizei;
833703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_uint8_t GLubyte;
8448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_BUFFER_BIT               0x00000100
8548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BUFFER_BIT             0x00000400
8648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_COLOR_BUFFER_BIT               0x00004000
8748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FALSE                          0
8848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TRUE                           1
8948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_POINTS                         0x0000
9048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINES                          0x0001
9148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINE_LOOP                      0x0002
9248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINE_STRIP                     0x0003
9348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TRIANGLES                      0x0004
9448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TRIANGLE_STRIP                 0x0005
9548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TRIANGLE_FAN                   0x0006
9648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ZERO                           0
9748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE                            1
9848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SRC_COLOR                      0x0300
9948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE_MINUS_SRC_COLOR            0x0301
10048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SRC_ALPHA                      0x0302
10148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE_MINUS_SRC_ALPHA            0x0303
10248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DST_ALPHA                      0x0304
10348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE_MINUS_DST_ALPHA            0x0305
10448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DST_COLOR                      0x0306
10548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE_MINUS_DST_COLOR            0x0307
10648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SRC_ALPHA_SATURATE             0x0308
10748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FUNC_ADD                       0x8006
10848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_EQUATION                 0x8009
1093703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_BLEND_EQUATION_RGB             0x8009
11048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_EQUATION_ALPHA           0x883D
11148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FUNC_SUBTRACT                  0x800A
11248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FUNC_REVERSE_SUBTRACT          0x800B
11348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_DST_RGB                  0x80C8
11448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_SRC_RGB                  0x80C9
11548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_DST_ALPHA                0x80CA
11648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_SRC_ALPHA                0x80CB
11748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CONSTANT_COLOR                 0x8001
11848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
11948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CONSTANT_ALPHA                 0x8003
12048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
12148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND_COLOR                    0x8005
12248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ARRAY_BUFFER                   0x8892
12348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ELEMENT_ARRAY_BUFFER           0x8893
12448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ARRAY_BUFFER_BINDING           0x8894
12548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
12648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STREAM_DRAW                    0x88E0
12748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STATIC_DRAW                    0x88E4
12848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DYNAMIC_DRAW                   0x88E8
12948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BUFFER_SIZE                    0x8764
13048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BUFFER_USAGE                   0x8765
13148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CURRENT_VERTEX_ATTRIB          0x8626
13248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRONT                          0x0404
13348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BACK                           0x0405
13448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRONT_AND_BACK                 0x0408
13548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_2D                     0x0DE1
13648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CULL_FACE                      0x0B44
13748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLEND                          0x0BE2
13848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DITHER                         0x0BD0
13948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_TEST                   0x0B90
14048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_TEST                     0x0B71
14148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SCISSOR_TEST                   0x0C11
14248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_POLYGON_OFFSET_FILL            0x8037
14348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
14448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLE_COVERAGE                0x80A0
14548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NO_ERROR                       0
14648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INVALID_ENUM                   0x0500
14748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INVALID_VALUE                  0x0501
14848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INVALID_OPERATION              0x0502
14948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_OUT_OF_MEMORY                  0x0505
15048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CW                             0x0900
15148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CCW                            0x0901
15248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINE_WIDTH                     0x0B21
15348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
15448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
15548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CULL_FACE_MODE                 0x0B45
15648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRONT_FACE                     0x0B46
15748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_RANGE                    0x0B70
15848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_WRITEMASK                0x0B72
15948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_CLEAR_VALUE              0x0B73
16048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_FUNC                     0x0B74
16148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_CLEAR_VALUE            0x0B91
16248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_FUNC                   0x0B92
16348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_FAIL                   0x0B94
16448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
16548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
16648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_REF                    0x0B97
16748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_VALUE_MASK             0x0B93
16848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_WRITEMASK              0x0B98
16948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_FUNC              0x8800
17048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_FAIL              0x8801
17148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
17248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
17348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_REF               0x8CA3
17448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
17548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
17648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_VIEWPORT                       0x0BA2
17748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SCISSOR_BOX                    0x0C10
17848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_COLOR_CLEAR_VALUE              0x0C22
17948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_COLOR_WRITEMASK                0x0C23
18048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNPACK_ALIGNMENT               0x0CF5
18148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_PACK_ALIGNMENT                 0x0D05
18248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MAX_TEXTURE_SIZE               0x0D33
18348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MAX_VIEWPORT_DIMS              0x0D3A
18448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SUBPIXEL_BITS                  0x0D50
18548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RED_BITS                       0x0D52
18648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_GREEN_BITS                     0x0D53
18748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BLUE_BITS                      0x0D54
18848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ALPHA_BITS                     0x0D55
18948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_BITS                     0x0D56
19048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_BITS                   0x0D57
19148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_POLYGON_OFFSET_UNITS           0x2A00
19248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_POLYGON_OFFSET_FACTOR          0x8038
19348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_BINDING_2D             0x8069
19448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLE_BUFFERS                 0x80A8
19548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLES                        0x80A9
19648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
19748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
19848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
19948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
20048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DONT_CARE                      0x1100
20148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FASTEST                        0x1101
20248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NICEST                         0x1102
2033703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_GENERATE_MIPMAP_HINT           0x8192
20448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BYTE                           0x1400
20548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNSIGNED_BYTE                  0x1401
20648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SHORT                          0x1402
20748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNSIGNED_SHORT                 0x1403
20848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INT                            0x1404
20948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNSIGNED_INT                   0x1405
21048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT                          0x1406
21148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FIXED                          0x140C
21248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_COMPONENT                0x1902
21348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ALPHA                          0x1906
21448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RGB                            0x1907
21548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RGBA                           0x1908
21648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LUMINANCE                      0x1909
21748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LUMINANCE_ALPHA                0x190A
21848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
21948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
22048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_UNSIGNED_SHORT_5_6_5           0x8363
2213703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAGMENT_SHADER                0x8B30
2223703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_SHADER                  0x8B31
2233703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_VERTEX_ATTRIBS             0x8869
2243703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
2253703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_VARYING_VECTORS            0x8DFC
22648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
2273703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
2283703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
2293703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
2303703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SHADER_TYPE                    0x8B4F
2313703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_DELETE_STATUS                  0x8B80
2323703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_LINK_STATUS                    0x8B82
2333703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VALIDATE_STATUS                0x8B83
2343703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ATTACHED_SHADERS               0x8B85
2353703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ACTIVE_UNIFORMS                0x8B86
2363703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
2373703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ACTIVE_ATTRIBUTES              0x8B89
2383703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
2393703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
2403703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_CURRENT_PROGRAM                0x8B8D
24148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NEVER                          0x0200
24248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LESS                           0x0201
24348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_EQUAL                          0x0202
24448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LEQUAL                         0x0203
24548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_GREATER                        0x0204
24648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NOTEQUAL                       0x0205
24748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_GEQUAL                         0x0206
24848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ALWAYS                         0x0207
24948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_KEEP                           0x1E00
25048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_REPLACE                        0x1E01
25148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INCR                           0x1E02
25248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DECR                           0x1E03
25348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INVERT                         0x150A
25448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INCR_WRAP                      0x8507
25548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DECR_WRAP                      0x8508
25648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_VENDOR                         0x1F00
25748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERER                       0x1F01
25848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_VERSION                        0x1F02
25948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_EXTENSIONS                     0x1F03
26048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NEAREST                        0x2600
26148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINEAR                         0x2601
26248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NEAREST_MIPMAP_NEAREST         0x2700
26348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINEAR_MIPMAP_NEAREST          0x2701
26448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NEAREST_MIPMAP_LINEAR          0x2702
26548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LINEAR_MIPMAP_LINEAR           0x2703
26648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_MAG_FILTER             0x2800
26748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_MIN_FILTER             0x2801
26848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_WRAP_S                 0x2802
26948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_WRAP_T                 0x2803
27048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE                        0x1702
27148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP               0x8513
27248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
27348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
27448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
27548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
27648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
27748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
27848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
27948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
28048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE0                       0x84C0
28148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE1                       0x84C1
28248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE2                       0x84C2
28348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE3                       0x84C3
28448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE4                       0x84C4
28548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE5                       0x84C5
28648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE6                       0x84C6
28748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE7                       0x84C7
28848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE8                       0x84C8
28948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE9                       0x84C9
29048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE10                      0x84CA
29148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE11                      0x84CB
29248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE12                      0x84CC
29348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE13                      0x84CD
29448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE14                      0x84CE
29548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE15                      0x84CF
29648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE16                      0x84D0
29748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE17                      0x84D1
29848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE18                      0x84D2
29948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE19                      0x84D3
30048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE20                      0x84D4
30148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE21                      0x84D5
30248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE22                      0x84D6
30348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE23                      0x84D7
30448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE24                      0x84D8
30548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE25                      0x84D9
30648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE26                      0x84DA
30748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE27                      0x84DB
30848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE28                      0x84DC
30948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE29                      0x84DD
31048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE30                      0x84DE
31148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_TEXTURE31                      0x84DF
31248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_ACTIVE_TEXTURE                 0x84E0
31348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_REPEAT                         0x2901
31448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_CLAMP_TO_EDGE                  0x812F
31548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MIRRORED_REPEAT                0x8370
31648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT_VEC2                     0x8B50
31748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT_VEC3                     0x8B51
31848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT_VEC4                     0x8B52
31948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INT_VEC2                       0x8B53
32048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INT_VEC3                       0x8B54
32148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INT_VEC4                       0x8B55
32248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BOOL                           0x8B56
32348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BOOL_VEC2                      0x8B57
32448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BOOL_VEC3                      0x8B58
32548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_BOOL_VEC4                      0x8B59
32648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT_MAT2                     0x8B5A
32748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT_MAT3                     0x8B5B
32848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FLOAT_MAT4                     0x8B5C
32948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLER_2D                     0x8B5E
33048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SAMPLER_CUBE                   0x8B60
3313703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
3323703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
3333703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
3343703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
3353703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
3363703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
33748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
3383703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
33948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
34048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_COMPILE_STATUS                 0x8B81
34148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_INFO_LOG_LENGTH                0x8B84
34248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SHADER_SOURCE_LENGTH           0x8B88
34348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SHADER_COMPILER                0x8DFA
34448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_SHADER_BINARY_FORMATS          0x8DF8
34548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
34648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LOW_FLOAT                      0x8DF0
34748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MEDIUM_FLOAT                   0x8DF1
34848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_HIGH_FLOAT                     0x8DF2
34948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_LOW_INT                        0x8DF3
35048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MEDIUM_INT                     0x8DF4
35148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_HIGH_INT                       0x8DF5
35248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRAMEBUFFER                    0x8D40
35348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER                   0x8D41
35448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RGBA4                          0x8056
35548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RGB5_A1                        0x8057
35648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RGB565                         0x8D62
35748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_COMPONENT16              0x81A5
35848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_INDEX8                 0x8D48
35948efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_WIDTH             0x8D42
36048efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_HEIGHT            0x8D43
36148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
36248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_RED_SIZE          0x8D50
36348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
36448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
36548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
36648efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
36748efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
3683703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
3693703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
3703703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
37148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
37248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_COLOR_ATTACHMENT0              0x8CE0
37348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_DEPTH_ATTACHMENT               0x8D00
37448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_STENCIL_ATTACHMENT             0x8D20
37548efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_NONE                           0
3763703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
3773703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
37848efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
3793703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
3803703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
38148efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_FRAMEBUFFER_BINDING            0x8CA6
38248efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_RENDERBUFFER_BINDING           0x8CA7
38348efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
38448efd950151369a5c049c8a92f36663a88206b4eMathias Agopian#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);
423