15bd8deadSopenharmony_ci#ifndef __glsc2_glsc2_h_
25bd8deadSopenharmony_ci#define __glsc2_glsc2_h_ 1
35bd8deadSopenharmony_ci
45bd8deadSopenharmony_ci#ifdef __cplusplus
55bd8deadSopenharmony_ciextern "C" {
65bd8deadSopenharmony_ci#endif
75bd8deadSopenharmony_ci
85bd8deadSopenharmony_ci/*
95bd8deadSopenharmony_ci** Copyright 2013-2020 The Khronos Group Inc.
105bd8deadSopenharmony_ci** SPDX-License-Identifier: MIT
115bd8deadSopenharmony_ci**
125bd8deadSopenharmony_ci** This header is generated from the Khronos OpenGL / OpenGL ES XML
135bd8deadSopenharmony_ci** API Registry. The current version of the Registry, generator scripts
145bd8deadSopenharmony_ci** used to make the header, and the header can be found at
155bd8deadSopenharmony_ci**   https://github.com/KhronosGroup/OpenGL-Registry
165bd8deadSopenharmony_ci*/
175bd8deadSopenharmony_ci
185bd8deadSopenharmony_ci#include <GLSC2/gl2platform.h>
195bd8deadSopenharmony_ci
205bd8deadSopenharmony_ci#ifndef GL_APIENTRYP
215bd8deadSopenharmony_ci#define GL_APIENTRYP GL_APIENTRY*
225bd8deadSopenharmony_ci#endif
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ci/* Generated on date 20230220 */
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_ci/* Generated C header for:
275bd8deadSopenharmony_ci * API: glsc2
285bd8deadSopenharmony_ci * Profile: common
295bd8deadSopenharmony_ci * Versions considered: 2\.[0-9]
305bd8deadSopenharmony_ci * Versions emitted: .*
315bd8deadSopenharmony_ci * Default extensions included: None
325bd8deadSopenharmony_ci * Additional extensions included: _nomatch_^
335bd8deadSopenharmony_ci * Extensions removed: _nomatch_^
345bd8deadSopenharmony_ci */
355bd8deadSopenharmony_ci
365bd8deadSopenharmony_ci#ifndef GL_SC_VERSION_2_0
375bd8deadSopenharmony_ci#define GL_SC_VERSION_2_0 1
385bd8deadSopenharmony_ci#include <KHR/khrplatform.h>
395bd8deadSopenharmony_citypedef khronos_int8_t GLbyte;
405bd8deadSopenharmony_citypedef khronos_int16_t GLshort;
415bd8deadSopenharmony_citypedef khronos_uint16_t GLushort;
425bd8deadSopenharmony_citypedef unsigned int GLenum;
435bd8deadSopenharmony_citypedef unsigned int GLuint;
445bd8deadSopenharmony_citypedef khronos_float_t GLfloat;
455bd8deadSopenharmony_citypedef khronos_ssize_t GLsizeiptr;
465bd8deadSopenharmony_citypedef khronos_intptr_t GLintptr;
475bd8deadSopenharmony_citypedef unsigned int GLbitfield;
485bd8deadSopenharmony_citypedef int GLint;
495bd8deadSopenharmony_citypedef unsigned char GLboolean;
505bd8deadSopenharmony_citypedef int GLsizei;
515bd8deadSopenharmony_citypedef char GLchar;
525bd8deadSopenharmony_citypedef khronos_uint8_t GLubyte;
535bd8deadSopenharmony_ci#define GL_DEPTH_BUFFER_BIT               0x00000100
545bd8deadSopenharmony_ci#define GL_STENCIL_BUFFER_BIT             0x00000400
555bd8deadSopenharmony_ci#define GL_COLOR_BUFFER_BIT               0x00004000
565bd8deadSopenharmony_ci#define GL_FALSE                          0
575bd8deadSopenharmony_ci#define GL_TRUE                           1
585bd8deadSopenharmony_ci#define GL_POINTS                         0x0000
595bd8deadSopenharmony_ci#define GL_LINES                          0x0001
605bd8deadSopenharmony_ci#define GL_LINE_LOOP                      0x0002
615bd8deadSopenharmony_ci#define GL_LINE_STRIP                     0x0003
625bd8deadSopenharmony_ci#define GL_TRIANGLES                      0x0004
635bd8deadSopenharmony_ci#define GL_TRIANGLE_STRIP                 0x0005
645bd8deadSopenharmony_ci#define GL_TRIANGLE_FAN                   0x0006
655bd8deadSopenharmony_ci#define GL_ZERO                           0
665bd8deadSopenharmony_ci#define GL_ONE                            1
675bd8deadSopenharmony_ci#define GL_SRC_COLOR                      0x0300
685bd8deadSopenharmony_ci#define GL_ONE_MINUS_SRC_COLOR            0x0301
695bd8deadSopenharmony_ci#define GL_SRC_ALPHA                      0x0302
705bd8deadSopenharmony_ci#define GL_ONE_MINUS_SRC_ALPHA            0x0303
715bd8deadSopenharmony_ci#define GL_DST_ALPHA                      0x0304
725bd8deadSopenharmony_ci#define GL_ONE_MINUS_DST_ALPHA            0x0305
735bd8deadSopenharmony_ci#define GL_DST_COLOR                      0x0306
745bd8deadSopenharmony_ci#define GL_ONE_MINUS_DST_COLOR            0x0307
755bd8deadSopenharmony_ci#define GL_SRC_ALPHA_SATURATE             0x0308
765bd8deadSopenharmony_ci#define GL_FUNC_ADD                       0x8006
775bd8deadSopenharmony_ci#define GL_BLEND_EQUATION                 0x8009
785bd8deadSopenharmony_ci#define GL_BLEND_EQUATION_RGB             0x8009
795bd8deadSopenharmony_ci#define GL_BLEND_EQUATION_ALPHA           0x883D
805bd8deadSopenharmony_ci#define GL_FUNC_SUBTRACT                  0x800A
815bd8deadSopenharmony_ci#define GL_FUNC_REVERSE_SUBTRACT          0x800B
825bd8deadSopenharmony_ci#define GL_BLEND_DST_RGB                  0x80C8
835bd8deadSopenharmony_ci#define GL_BLEND_SRC_RGB                  0x80C9
845bd8deadSopenharmony_ci#define GL_BLEND_DST_ALPHA                0x80CA
855bd8deadSopenharmony_ci#define GL_BLEND_SRC_ALPHA                0x80CB
865bd8deadSopenharmony_ci#define GL_CONSTANT_COLOR                 0x8001
875bd8deadSopenharmony_ci#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
885bd8deadSopenharmony_ci#define GL_CONSTANT_ALPHA                 0x8003
895bd8deadSopenharmony_ci#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
905bd8deadSopenharmony_ci#define GL_BLEND_COLOR                    0x8005
915bd8deadSopenharmony_ci#define GL_ARRAY_BUFFER                   0x8892
925bd8deadSopenharmony_ci#define GL_ELEMENT_ARRAY_BUFFER           0x8893
935bd8deadSopenharmony_ci#define GL_ARRAY_BUFFER_BINDING           0x8894
945bd8deadSopenharmony_ci#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
955bd8deadSopenharmony_ci#define GL_STREAM_DRAW                    0x88E0
965bd8deadSopenharmony_ci#define GL_STATIC_DRAW                    0x88E4
975bd8deadSopenharmony_ci#define GL_DYNAMIC_DRAW                   0x88E8
985bd8deadSopenharmony_ci#define GL_BUFFER_SIZE                    0x8764
995bd8deadSopenharmony_ci#define GL_BUFFER_USAGE                   0x8765
1005bd8deadSopenharmony_ci#define GL_CURRENT_VERTEX_ATTRIB          0x8626
1015bd8deadSopenharmony_ci#define GL_FRONT                          0x0404
1025bd8deadSopenharmony_ci#define GL_BACK                           0x0405
1035bd8deadSopenharmony_ci#define GL_FRONT_AND_BACK                 0x0408
1045bd8deadSopenharmony_ci#define GL_TEXTURE_2D                     0x0DE1
1055bd8deadSopenharmony_ci#define GL_CULL_FACE                      0x0B44
1065bd8deadSopenharmony_ci#define GL_BLEND                          0x0BE2
1075bd8deadSopenharmony_ci#define GL_DITHER                         0x0BD0
1085bd8deadSopenharmony_ci#define GL_STENCIL_TEST                   0x0B90
1095bd8deadSopenharmony_ci#define GL_DEPTH_TEST                     0x0B71
1105bd8deadSopenharmony_ci#define GL_SCISSOR_TEST                   0x0C11
1115bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_FILL            0x8037
1125bd8deadSopenharmony_ci#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
1135bd8deadSopenharmony_ci#define GL_SAMPLE_COVERAGE                0x80A0
1145bd8deadSopenharmony_ci#define GL_NO_ERROR                       0
1155bd8deadSopenharmony_ci#define GL_INVALID_ENUM                   0x0500
1165bd8deadSopenharmony_ci#define GL_INVALID_VALUE                  0x0501
1175bd8deadSopenharmony_ci#define GL_INVALID_OPERATION              0x0502
1185bd8deadSopenharmony_ci#define GL_OUT_OF_MEMORY                  0x0505
1195bd8deadSopenharmony_ci#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
1205bd8deadSopenharmony_ci#define GL_CONTEXT_LOST                   0x0507
1215bd8deadSopenharmony_ci#define GL_CW                             0x0900
1225bd8deadSopenharmony_ci#define GL_CCW                            0x0901
1235bd8deadSopenharmony_ci#define GL_LINE_WIDTH                     0x0B21
1245bd8deadSopenharmony_ci#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
1255bd8deadSopenharmony_ci#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
1265bd8deadSopenharmony_ci#define GL_CULL_FACE_MODE                 0x0B45
1275bd8deadSopenharmony_ci#define GL_FRONT_FACE                     0x0B46
1285bd8deadSopenharmony_ci#define GL_DEPTH_RANGE                    0x0B70
1295bd8deadSopenharmony_ci#define GL_DEPTH_WRITEMASK                0x0B72
1305bd8deadSopenharmony_ci#define GL_DEPTH_CLEAR_VALUE              0x0B73
1315bd8deadSopenharmony_ci#define GL_DEPTH_FUNC                     0x0B74
1325bd8deadSopenharmony_ci#define GL_STENCIL_CLEAR_VALUE            0x0B91
1335bd8deadSopenharmony_ci#define GL_STENCIL_FUNC                   0x0B92
1345bd8deadSopenharmony_ci#define GL_STENCIL_FAIL                   0x0B94
1355bd8deadSopenharmony_ci#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
1365bd8deadSopenharmony_ci#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
1375bd8deadSopenharmony_ci#define GL_STENCIL_REF                    0x0B97
1385bd8deadSopenharmony_ci#define GL_STENCIL_VALUE_MASK             0x0B93
1395bd8deadSopenharmony_ci#define GL_STENCIL_WRITEMASK              0x0B98
1405bd8deadSopenharmony_ci#define GL_STENCIL_BACK_FUNC              0x8800
1415bd8deadSopenharmony_ci#define GL_STENCIL_BACK_FAIL              0x8801
1425bd8deadSopenharmony_ci#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
1435bd8deadSopenharmony_ci#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
1445bd8deadSopenharmony_ci#define GL_STENCIL_BACK_REF               0x8CA3
1455bd8deadSopenharmony_ci#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
1465bd8deadSopenharmony_ci#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
1475bd8deadSopenharmony_ci#define GL_VIEWPORT                       0x0BA2
1485bd8deadSopenharmony_ci#define GL_SCISSOR_BOX                    0x0C10
1495bd8deadSopenharmony_ci#define GL_COLOR_CLEAR_VALUE              0x0C22
1505bd8deadSopenharmony_ci#define GL_COLOR_WRITEMASK                0x0C23
1515bd8deadSopenharmony_ci#define GL_UNPACK_ALIGNMENT               0x0CF5
1525bd8deadSopenharmony_ci#define GL_PACK_ALIGNMENT                 0x0D05
1535bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_SIZE               0x0D33
1545bd8deadSopenharmony_ci#define GL_MAX_VIEWPORT_DIMS              0x0D3A
1555bd8deadSopenharmony_ci#define GL_SUBPIXEL_BITS                  0x0D50
1565bd8deadSopenharmony_ci#define GL_RED_BITS                       0x0D52
1575bd8deadSopenharmony_ci#define GL_GREEN_BITS                     0x0D53
1585bd8deadSopenharmony_ci#define GL_BLUE_BITS                      0x0D54
1595bd8deadSopenharmony_ci#define GL_ALPHA_BITS                     0x0D55
1605bd8deadSopenharmony_ci#define GL_DEPTH_BITS                     0x0D56
1615bd8deadSopenharmony_ci#define GL_STENCIL_BITS                   0x0D57
1625bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_UNITS           0x2A00
1635bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_FACTOR          0x8038
1645bd8deadSopenharmony_ci#define GL_TEXTURE_BINDING_2D             0x8069
1655bd8deadSopenharmony_ci#define GL_SAMPLE_BUFFERS                 0x80A8
1665bd8deadSopenharmony_ci#define GL_SAMPLES                        0x80A9
1675bd8deadSopenharmony_ci#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
1685bd8deadSopenharmony_ci#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
1695bd8deadSopenharmony_ci#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
1705bd8deadSopenharmony_ci#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
1715bd8deadSopenharmony_ci#define GL_DONT_CARE                      0x1100
1725bd8deadSopenharmony_ci#define GL_FASTEST                        0x1101
1735bd8deadSopenharmony_ci#define GL_NICEST                         0x1102
1745bd8deadSopenharmony_ci#define GL_GENERATE_MIPMAP_HINT           0x8192
1755bd8deadSopenharmony_ci#define GL_BYTE                           0x1400
1765bd8deadSopenharmony_ci#define GL_UNSIGNED_BYTE                  0x1401
1775bd8deadSopenharmony_ci#define GL_SHORT                          0x1402
1785bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT                 0x1403
1795bd8deadSopenharmony_ci#define GL_INT                            0x1404
1805bd8deadSopenharmony_ci#define GL_UNSIGNED_INT                   0x1405
1815bd8deadSopenharmony_ci#define GL_FLOAT                          0x1406
1825bd8deadSopenharmony_ci#define GL_RED                            0x1903
1835bd8deadSopenharmony_ci#define GL_RG                             0x8227
1845bd8deadSopenharmony_ci#define GL_RGB                            0x1907
1855bd8deadSopenharmony_ci#define GL_RGBA                           0x1908
1865bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
1875bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
1885bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT_5_6_5           0x8363
1895bd8deadSopenharmony_ci#define GL_MAX_VERTEX_ATTRIBS             0x8869
1905bd8deadSopenharmony_ci#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
1915bd8deadSopenharmony_ci#define GL_MAX_VARYING_VECTORS            0x8DFC
1925bd8deadSopenharmony_ci#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
1935bd8deadSopenharmony_ci#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
1945bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
1955bd8deadSopenharmony_ci#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
1965bd8deadSopenharmony_ci#define GL_LINK_STATUS                    0x8B82
1975bd8deadSopenharmony_ci#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
1985bd8deadSopenharmony_ci#define GL_CURRENT_PROGRAM                0x8B8D
1995bd8deadSopenharmony_ci#define GL_NEVER                          0x0200
2005bd8deadSopenharmony_ci#define GL_LESS                           0x0201
2015bd8deadSopenharmony_ci#define GL_EQUAL                          0x0202
2025bd8deadSopenharmony_ci#define GL_LEQUAL                         0x0203
2035bd8deadSopenharmony_ci#define GL_GREATER                        0x0204
2045bd8deadSopenharmony_ci#define GL_NOTEQUAL                       0x0205
2055bd8deadSopenharmony_ci#define GL_GEQUAL                         0x0206
2065bd8deadSopenharmony_ci#define GL_ALWAYS                         0x0207
2075bd8deadSopenharmony_ci#define GL_KEEP                           0x1E00
2085bd8deadSopenharmony_ci#define GL_REPLACE                        0x1E01
2095bd8deadSopenharmony_ci#define GL_INCR                           0x1E02
2105bd8deadSopenharmony_ci#define GL_DECR                           0x1E03
2115bd8deadSopenharmony_ci#define GL_INVERT                         0x150A
2125bd8deadSopenharmony_ci#define GL_INCR_WRAP                      0x8507
2135bd8deadSopenharmony_ci#define GL_DECR_WRAP                      0x8508
2145bd8deadSopenharmony_ci#define GL_VENDOR                         0x1F00
2155bd8deadSopenharmony_ci#define GL_RENDERER                       0x1F01
2165bd8deadSopenharmony_ci#define GL_VERSION                        0x1F02
2175bd8deadSopenharmony_ci#define GL_EXTENSIONS                     0x1F03
2185bd8deadSopenharmony_ci#define GL_NEAREST                        0x2600
2195bd8deadSopenharmony_ci#define GL_LINEAR                         0x2601
2205bd8deadSopenharmony_ci#define GL_NEAREST_MIPMAP_NEAREST         0x2700
2215bd8deadSopenharmony_ci#define GL_LINEAR_MIPMAP_NEAREST          0x2701
2225bd8deadSopenharmony_ci#define GL_NEAREST_MIPMAP_LINEAR          0x2702
2235bd8deadSopenharmony_ci#define GL_LINEAR_MIPMAP_LINEAR           0x2703
2245bd8deadSopenharmony_ci#define GL_TEXTURE_MAG_FILTER             0x2800
2255bd8deadSopenharmony_ci#define GL_TEXTURE_MIN_FILTER             0x2801
2265bd8deadSopenharmony_ci#define GL_TEXTURE_WRAP_S                 0x2802
2275bd8deadSopenharmony_ci#define GL_TEXTURE_WRAP_T                 0x2803
2285bd8deadSopenharmony_ci#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
2295bd8deadSopenharmony_ci#define GL_TEXTURE                        0x1702
2305bd8deadSopenharmony_ci#define GL_TEXTURE0                       0x84C0
2315bd8deadSopenharmony_ci#define GL_TEXTURE1                       0x84C1
2325bd8deadSopenharmony_ci#define GL_TEXTURE2                       0x84C2
2335bd8deadSopenharmony_ci#define GL_TEXTURE3                       0x84C3
2345bd8deadSopenharmony_ci#define GL_TEXTURE4                       0x84C4
2355bd8deadSopenharmony_ci#define GL_TEXTURE5                       0x84C5
2365bd8deadSopenharmony_ci#define GL_TEXTURE6                       0x84C6
2375bd8deadSopenharmony_ci#define GL_TEXTURE7                       0x84C7
2385bd8deadSopenharmony_ci#define GL_TEXTURE8                       0x84C8
2395bd8deadSopenharmony_ci#define GL_TEXTURE9                       0x84C9
2405bd8deadSopenharmony_ci#define GL_TEXTURE10                      0x84CA
2415bd8deadSopenharmony_ci#define GL_TEXTURE11                      0x84CB
2425bd8deadSopenharmony_ci#define GL_TEXTURE12                      0x84CC
2435bd8deadSopenharmony_ci#define GL_TEXTURE13                      0x84CD
2445bd8deadSopenharmony_ci#define GL_TEXTURE14                      0x84CE
2455bd8deadSopenharmony_ci#define GL_TEXTURE15                      0x84CF
2465bd8deadSopenharmony_ci#define GL_TEXTURE16                      0x84D0
2475bd8deadSopenharmony_ci#define GL_TEXTURE17                      0x84D1
2485bd8deadSopenharmony_ci#define GL_TEXTURE18                      0x84D2
2495bd8deadSopenharmony_ci#define GL_TEXTURE19                      0x84D3
2505bd8deadSopenharmony_ci#define GL_TEXTURE20                      0x84D4
2515bd8deadSopenharmony_ci#define GL_TEXTURE21                      0x84D5
2525bd8deadSopenharmony_ci#define GL_TEXTURE22                      0x84D6
2535bd8deadSopenharmony_ci#define GL_TEXTURE23                      0x84D7
2545bd8deadSopenharmony_ci#define GL_TEXTURE24                      0x84D8
2555bd8deadSopenharmony_ci#define GL_TEXTURE25                      0x84D9
2565bd8deadSopenharmony_ci#define GL_TEXTURE26                      0x84DA
2575bd8deadSopenharmony_ci#define GL_TEXTURE27                      0x84DB
2585bd8deadSopenharmony_ci#define GL_TEXTURE28                      0x84DC
2595bd8deadSopenharmony_ci#define GL_TEXTURE29                      0x84DD
2605bd8deadSopenharmony_ci#define GL_TEXTURE30                      0x84DE
2615bd8deadSopenharmony_ci#define GL_TEXTURE31                      0x84DF
2625bd8deadSopenharmony_ci#define GL_ACTIVE_TEXTURE                 0x84E0
2635bd8deadSopenharmony_ci#define GL_REPEAT                         0x2901
2645bd8deadSopenharmony_ci#define GL_CLAMP_TO_EDGE                  0x812F
2655bd8deadSopenharmony_ci#define GL_MIRRORED_REPEAT                0x8370
2665bd8deadSopenharmony_ci#define GL_SAMPLER_2D                     0x8B5E
2675bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
2685bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
2695bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
2705bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
2715bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
2725bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
2735bd8deadSopenharmony_ci#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
2745bd8deadSopenharmony_ci#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
2755bd8deadSopenharmony_ci#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
2765bd8deadSopenharmony_ci#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
2775bd8deadSopenharmony_ci#define GL_PROGRAM_BINARY_FORMATS         0x87FF
2785bd8deadSopenharmony_ci#define GL_LOW_FLOAT                      0x8DF0
2795bd8deadSopenharmony_ci#define GL_MEDIUM_FLOAT                   0x8DF1
2805bd8deadSopenharmony_ci#define GL_HIGH_FLOAT                     0x8DF2
2815bd8deadSopenharmony_ci#define GL_LOW_INT                        0x8DF3
2825bd8deadSopenharmony_ci#define GL_MEDIUM_INT                     0x8DF4
2835bd8deadSopenharmony_ci#define GL_HIGH_INT                       0x8DF5
2845bd8deadSopenharmony_ci#define GL_FRAMEBUFFER                    0x8D40
2855bd8deadSopenharmony_ci#define GL_RENDERBUFFER                   0x8D41
2865bd8deadSopenharmony_ci#define GL_R8                             0x8229
2875bd8deadSopenharmony_ci#define GL_RG8                            0x822B
2885bd8deadSopenharmony_ci#define GL_RGB8                           0x8051
2895bd8deadSopenharmony_ci#define GL_RGBA8                          0x8058
2905bd8deadSopenharmony_ci#define GL_RGBA4                          0x8056
2915bd8deadSopenharmony_ci#define GL_RGB5_A1                        0x8057
2925bd8deadSopenharmony_ci#define GL_RGB565                         0x8D62
2935bd8deadSopenharmony_ci#define GL_DEPTH_COMPONENT16              0x81A5
2945bd8deadSopenharmony_ci#define GL_STENCIL_INDEX8                 0x8D48
2955bd8deadSopenharmony_ci#define GL_RENDERBUFFER_WIDTH             0x8D42
2965bd8deadSopenharmony_ci#define GL_RENDERBUFFER_HEIGHT            0x8D43
2975bd8deadSopenharmony_ci#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
2985bd8deadSopenharmony_ci#define GL_RENDERBUFFER_RED_SIZE          0x8D50
2995bd8deadSopenharmony_ci#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
3005bd8deadSopenharmony_ci#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
3015bd8deadSopenharmony_ci#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
3025bd8deadSopenharmony_ci#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
3035bd8deadSopenharmony_ci#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
3045bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
3055bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
3065bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
3075bd8deadSopenharmony_ci#define GL_COLOR_ATTACHMENT0              0x8CE0
3085bd8deadSopenharmony_ci#define GL_DEPTH_ATTACHMENT               0x8D00
3095bd8deadSopenharmony_ci#define GL_STENCIL_ATTACHMENT             0x8D20
3105bd8deadSopenharmony_ci#define GL_NONE                           0
3115bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
3125bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
3135bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
3145bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
3155bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
3165bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_UNDEFINED          0x8219
3175bd8deadSopenharmony_ci#define GL_FRAMEBUFFER_BINDING            0x8CA6
3185bd8deadSopenharmony_ci#define GL_RENDERBUFFER_BINDING           0x8CA7
3195bd8deadSopenharmony_ci#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
3205bd8deadSopenharmony_ci#define GL_GUILTY_CONTEXT_RESET           0x8253
3215bd8deadSopenharmony_ci#define GL_INNOCENT_CONTEXT_RESET         0x8254
3225bd8deadSopenharmony_ci#define GL_UNKNOWN_CONTEXT_RESET          0x8255
3235bd8deadSopenharmony_ci#define GL_CONTEXT_ROBUST_ACCESS          0x90F3
3245bd8deadSopenharmony_ci#define GL_RESET_NOTIFICATION_STRATEGY    0x8256
3255bd8deadSopenharmony_ci#define GL_LOSE_CONTEXT_ON_RESET          0x8252
3265bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
3275bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
3285bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
3295bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
3305bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
3315bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
3325bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode);
3335bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
3345bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
3355bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
3365bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
3375bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
3385bd8deadSopenharmony_ciGL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target);
3395bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glClear (GLbitfield mask);
3405bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
3415bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d);
3425bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glClearStencil (GLint s);
3435bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
3445bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
3455bd8deadSopenharmony_ciGL_APICALL GLuint GL_APIENTRY glCreateProgram (void);
3465bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glCullFace (GLenum mode);
3475bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDepthFunc (GLenum func);
3485bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag);
3495bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f);
3505bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDisable (GLenum cap);
3515bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index);
3525bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
3535bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
3545bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glEnable (GLenum cap);
3555bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index);
3565bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glFinish (void);
3575bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glFlush (void);
3585bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
3595bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
3605bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glFrontFace (GLenum mode);
3615bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
3625bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target);
3635bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
3645bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
3655bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
3665bd8deadSopenharmony_ciGL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
3675bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
3685bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
3695bd8deadSopenharmony_ciGL_APICALL GLenum GL_APIENTRY glGetError (void);
3705bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
3715bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
3725bd8deadSopenharmony_ciGL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatus (void);
3735bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data);
3745bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
3755bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
3765bd8deadSopenharmony_ciGL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name);
3775bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
3785bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
3795bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3805bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3815bd8deadSopenharmony_ciGL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
3825bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
3835bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
3845bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
3855bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode);
3865bd8deadSopenharmony_ciGL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
3875bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
3885bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
3895bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
3905bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
3915bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3925bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
3935bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
3945bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
3955bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
3965bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
3975bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glStencilMask (GLuint mask);
3985bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
3995bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
4005bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
4015bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
4025bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
4035bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
4045bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
4055bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
4065bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
4075bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
4085bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
4095bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
4105bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
4115bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
4125bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
4135bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
4145bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
4155bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4165bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
4175bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
4185bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
4195bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4205bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
4215bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4225bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
4235bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4245bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4255bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4265bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glUseProgram (GLuint program);
4275bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
4285bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
4295bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
4305bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
4315bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4325bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
4335bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4345bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
4355bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4365bd8deadSopenharmony_ciGL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
4375bd8deadSopenharmony_ci#endif /* GL_SC_VERSION_2_0 */
4385bd8deadSopenharmony_ci
4395bd8deadSopenharmony_ci#ifdef __cplusplus
4405bd8deadSopenharmony_ci}
4415bd8deadSopenharmony_ci#endif
4425bd8deadSopenharmony_ci
4435bd8deadSopenharmony_ci#endif
444