15bd8deadSopenharmony_ci#ifndef __gl_h_
25bd8deadSopenharmony_ci#define __gl_h_
35bd8deadSopenharmony_ci
45bd8deadSopenharmony_ci#ifdef __cplusplus
55bd8deadSopenharmony_ciextern "C" {
65bd8deadSopenharmony_ci#endif
75bd8deadSopenharmony_ci
85bd8deadSopenharmony_ci/*
95bd8deadSopenharmony_ci * Copyright 1991-2000 Silicon Graphics, Inc. This document is
105bd8deadSopenharmony_ci * licensed under the SGI Free Software B License. For details, see
115bd8deadSopenharmony_ci * http://oss.sgi.com/projects/FreeB/
125bd8deadSopenharmony_ci */
135bd8deadSopenharmony_ci
145bd8deadSopenharmony_ci#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SYMBIAN32__)
155bd8deadSopenharmony_ci#define WIN32_LEAN_AND_MEAN 1
165bd8deadSopenharmony_ci#include <windows.h>
175bd8deadSopenharmony_ci#endif
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci#ifndef APIENTRY
205bd8deadSopenharmony_ci#define APIENTRY
215bd8deadSopenharmony_ci#endif
225bd8deadSopenharmony_ci#ifndef GLAPI
235bd8deadSopenharmony_ci#define GLAPI extern
245bd8deadSopenharmony_ci#endif
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_citypedef unsigned int GLenum;
275bd8deadSopenharmony_citypedef unsigned char GLboolean;
285bd8deadSopenharmony_citypedef unsigned int GLbitfield;
295bd8deadSopenharmony_citypedef signed char GLbyte;
305bd8deadSopenharmony_citypedef int GLint;
315bd8deadSopenharmony_citypedef int GLsizei;
325bd8deadSopenharmony_citypedef unsigned char GLubyte;
335bd8deadSopenharmony_citypedef unsigned short GLushort;
345bd8deadSopenharmony_citypedef unsigned int GLuint;
355bd8deadSopenharmony_citypedef float GLfloat;
365bd8deadSopenharmony_citypedef float GLclampf;
375bd8deadSopenharmony_citypedef void GLvoid;
385bd8deadSopenharmony_ci/* Internal convenience typedefs */
395bd8deadSopenharmony_citypedef void (*_GLfuncptr)();
405bd8deadSopenharmony_ci
415bd8deadSopenharmony_ci/*************************************************************/
425bd8deadSopenharmony_ci
435bd8deadSopenharmony_ci/* Extensions */
445bd8deadSopenharmony_ci#define GL_OES_SC_VERSION_1_0             1
455bd8deadSopenharmony_ci#define GL_EXT_paletted_texture           1
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ci/* ClearBufferMask */
485bd8deadSopenharmony_ci#define GL_DEPTH_BUFFER_BIT               0x00000100
495bd8deadSopenharmony_ci#define GL_STENCIL_BUFFER_BIT             0x00000400
505bd8deadSopenharmony_ci#define GL_COLOR_BUFFER_BIT               0x00004000
515bd8deadSopenharmony_ci
525bd8deadSopenharmony_ci/* Boolean */
535bd8deadSopenharmony_ci#define GL_FALSE                          0
545bd8deadSopenharmony_ci#define GL_TRUE                           1
555bd8deadSopenharmony_ci
565bd8deadSopenharmony_ci/* BeginMode */
575bd8deadSopenharmony_ci#define GL_POINTS                         0x0000
585bd8deadSopenharmony_ci#define GL_LINES                          0x0001
595bd8deadSopenharmony_ci#define GL_LINE_LOOP                      0x0002
605bd8deadSopenharmony_ci#define GL_LINE_STRIP                     0x0003
615bd8deadSopenharmony_ci#define GL_TRIANGLES                      0x0004
625bd8deadSopenharmony_ci#define GL_TRIANGLE_STRIP                 0x0005
635bd8deadSopenharmony_ci#define GL_TRIANGLE_FAN                   0x0006
645bd8deadSopenharmony_ci
655bd8deadSopenharmony_ci/* AlphaFunction */
665bd8deadSopenharmony_ci/* #define GL_LEQUAL                         0x0203 */
675bd8deadSopenharmony_ci/* #define GL_ALWAYS                         0x0207 */
685bd8deadSopenharmony_ci
695bd8deadSopenharmony_ci/* BlendingFactorDest */
705bd8deadSopenharmony_ci#define GL_ZERO                           0
715bd8deadSopenharmony_ci#define GL_ONE                            1
725bd8deadSopenharmony_ci#define GL_ONE_MINUS_SRC_ALPHA            0x0303
735bd8deadSopenharmony_ci
745bd8deadSopenharmony_ci/* BlendingFactorSrc */
755bd8deadSopenharmony_ci/* #define GL_ONE                            1 */
765bd8deadSopenharmony_ci#define GL_SRC_ALPHA_SATURATE             0x0308
775bd8deadSopenharmony_ci#define GL_SRC_ALPHA                      0x0302
785bd8deadSopenharmony_ci
795bd8deadSopenharmony_ci/* ColorMaterialFace */
805bd8deadSopenharmony_ci/* #define GL_FRONT_AND_BACK                 0x0408 */
815bd8deadSopenharmony_ci
825bd8deadSopenharmony_ci/* ColorMaterialParameter */
835bd8deadSopenharmony_ci/* #define GL_AMBIENT_AND_DIFFUSE            0x1602 */
845bd8deadSopenharmony_ci
855bd8deadSopenharmony_ci/* ColorPointerType */
865bd8deadSopenharmony_ci/* #define GL_FLOAT                          0x1406 */
875bd8deadSopenharmony_ci/* #define GL_UNSIGNED_BYTE                  0x1401 */
885bd8deadSopenharmony_ci
895bd8deadSopenharmony_ci/* CullFaceMode */
905bd8deadSopenharmony_ci#define GL_FRONT                          0x0404
915bd8deadSopenharmony_ci#define GL_BACK                           0x0405
925bd8deadSopenharmony_ci#define GL_FRONT_AND_BACK                 0x0408
935bd8deadSopenharmony_ci
945bd8deadSopenharmony_ci/* DepthFunction */
955bd8deadSopenharmony_ci/* #define GL_LESS                           0x0201 */
965bd8deadSopenharmony_ci/* #define GL_LEQUAL                         0x0203 */
975bd8deadSopenharmony_ci/* #define GL_ALWAYS                         0x0207 */
985bd8deadSopenharmony_ci
995bd8deadSopenharmony_ci/* EnableCap */
1005bd8deadSopenharmony_ci#define GL_LIGHTING                       0x0B50
1015bd8deadSopenharmony_ci#define GL_TEXTURE_2D                     0x0DE1
1025bd8deadSopenharmony_ci#define GL_CULL_FACE                      0x0B44
1035bd8deadSopenharmony_ci#define GL_ALPHA_TEST                     0x0BC0
1045bd8deadSopenharmony_ci#define GL_BLEND                          0x0BE2
1055bd8deadSopenharmony_ci#define GL_STENCIL_TEST                   0x0B90
1065bd8deadSopenharmony_ci#define GL_DEPTH_TEST                     0x0B71
1075bd8deadSopenharmony_ci#define GL_LIGHT0                         0x4000
1085bd8deadSopenharmony_ci#define GL_LIGHT1                         0x4001
1095bd8deadSopenharmony_ci#define GL_POINT_SMOOTH                   0x0B10
1105bd8deadSopenharmony_ci#define GL_LINE_STIPPLE                   0x0B24
1115bd8deadSopenharmony_ci#define GL_LINE_SMOOTH                    0x0B20
1125bd8deadSopenharmony_ci#define GL_SCISSOR_TEST                   0x0C11
1135bd8deadSopenharmony_ci#define GL_COLOR_MATERIAL                 0x0B57
1145bd8deadSopenharmony_ci#define GL_NORMALIZE                      0x0BA1
1155bd8deadSopenharmony_ci#define GL_RESCALE_NORMAL                 0x803A
1165bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_FILL            0x8037
1175bd8deadSopenharmony_ci#define GL_POLYGON_STIPPLE                0x0B42
1185bd8deadSopenharmony_ci#define GL_VERTEX_ARRAY                   0x8074
1195bd8deadSopenharmony_ci#define GL_NORMAL_ARRAY                   0x8075
1205bd8deadSopenharmony_ci#define GL_COLOR_ARRAY                    0x8076
1215bd8deadSopenharmony_ci#define GL_TEXTURE_COORD_ARRAY            0x8078
1225bd8deadSopenharmony_ci
1235bd8deadSopenharmony_ci/* ErrorCode */
1245bd8deadSopenharmony_ci#define GL_NO_ERROR                       0
1255bd8deadSopenharmony_ci#define GL_INVALID_ENUM                   0x0500
1265bd8deadSopenharmony_ci#define GL_INVALID_VALUE                  0x0501
1275bd8deadSopenharmony_ci#define GL_INVALID_OPERATION              0x0502
1285bd8deadSopenharmony_ci#define GL_STACK_OVERFLOW                 0x0503
1295bd8deadSopenharmony_ci#define GL_STACK_UNDERFLOW                0x0504
1305bd8deadSopenharmony_ci#define GL_OUT_OF_MEMORY                  0x0505
1315bd8deadSopenharmony_ci
1325bd8deadSopenharmony_ci/* FogMode */
1335bd8deadSopenharmony_ci
1345bd8deadSopenharmony_ci/* FogParameter */
1355bd8deadSopenharmony_ci
1365bd8deadSopenharmony_ci/* FrontFaceDirection */
1375bd8deadSopenharmony_ci#define GL_CW                             0x0900
1385bd8deadSopenharmony_ci#define GL_CCW                            0x0901
1395bd8deadSopenharmony_ci
1405bd8deadSopenharmony_ci/* GetBooleanv */
1415bd8deadSopenharmony_ci#define GL_DEPTH_WRITEMASK                0x0B72
1425bd8deadSopenharmony_ci#define GL_COLOR_WRITEMASK                0x0C23
1435bd8deadSopenharmony_ci
1445bd8deadSopenharmony_ci/* GetFloatv */
1455bd8deadSopenharmony_ci#define GL_CURRENT_COLOR                  0x0B00
1465bd8deadSopenharmony_ci#define GL_CURRENT_NORMAL                 0x0B02
1475bd8deadSopenharmony_ci#define GL_CURRENT_TEXTURE_COORDS         0x0B03
1485bd8deadSopenharmony_ci#define GL_CURRENT_RASTER_COLOR           0x0B04
1495bd8deadSopenharmony_ci#define GL_CURRENT_RASTER_TEXTURE_COORDS  0x0B06
1505bd8deadSopenharmony_ci#define GL_POINT_SIZE                     0x0B11
1515bd8deadSopenharmony_ci#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
1525bd8deadSopenharmony_ci#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
1535bd8deadSopenharmony_ci#define GL_LINE_WIDTH                     0x0B21
1545bd8deadSopenharmony_ci#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
1555bd8deadSopenharmony_ci#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
1565bd8deadSopenharmony_ci#define GL_LIGHT_MODEL_AMBIENT            0x0B53
1575bd8deadSopenharmony_ci#define GL_DEPTH_RANGE                    0x0B70
1585bd8deadSopenharmony_ci#define GL_DEPTH_CLEAR_VALUE              0x0B73
1595bd8deadSopenharmony_ci#define GL_ALPHA_TEST_REF                 0x0BC2
1605bd8deadSopenharmony_ci#define GL_COLOR_CLEAR_VALUE              0x0C22
1615bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_UNITS           0x2A00
1625bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_FACTOR          0x8038
1635bd8deadSopenharmony_ci#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
1645bd8deadSopenharmony_ci#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
1655bd8deadSopenharmony_ci
1665bd8deadSopenharmony_ci/* GetIntegerv */
1675bd8deadSopenharmony_ci#define GL_MATRIX_MODE                    0x0BA0
1685bd8deadSopenharmony_ci#define GL_VIEWPORT                       0x0BA2
1695bd8deadSopenharmony_ci#define GL_MODELVIEW_STACK_DEPTH          0x0BA3
1705bd8deadSopenharmony_ci#define GL_PROJECTION_STACK_DEPTH         0x0BA4
1715bd8deadSopenharmony_ci#define GL_MODELVIEW_MATRIX               0x0BA6
1725bd8deadSopenharmony_ci#define GL_PROJECTION_MATRIX              0x0BA7
1735bd8deadSopenharmony_ci#define GL_LINE_STIPPLE_PATTERN           0x0B25
1745bd8deadSopenharmony_ci#define GL_LINE_STIPPLE_REPEAT            0x0B26
1755bd8deadSopenharmony_ci#define GL_MAX_LIST_NESTING               0x0B31
1765bd8deadSopenharmony_ci#define GL_LIST_BASE                      0x0B32
1775bd8deadSopenharmony_ci#define GL_CULL_FACE_MODE                 0x0B45
1785bd8deadSopenharmony_ci#define GL_FRONT_FACE                     0x0B46
1795bd8deadSopenharmony_ci#define GL_DEPTH_FUNC                     0x0B74
1805bd8deadSopenharmony_ci#define GL_STENCIL_CLEAR_VALUE            0x0B91
1815bd8deadSopenharmony_ci#define GL_STENCIL_FUNC                   0x0B92
1825bd8deadSopenharmony_ci#define GL_STENCIL_VALUE_MASK             0x0B93
1835bd8deadSopenharmony_ci#define GL_STENCIL_FAIL                   0x0B94
1845bd8deadSopenharmony_ci#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
1855bd8deadSopenharmony_ci#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
1865bd8deadSopenharmony_ci#define GL_STENCIL_REF                    0x0B97
1875bd8deadSopenharmony_ci#define GL_STENCIL_WRITEMASK              0x0B98
1885bd8deadSopenharmony_ci#define GL_ALPHA_TEST_FUNC                0x0BC1
1895bd8deadSopenharmony_ci#define GL_BLEND_DST                      0x0BE0
1905bd8deadSopenharmony_ci#define GL_BLEND_SRC                      0x0BE1
1915bd8deadSopenharmony_ci#define GL_SCISSOR_BOX                    0x0C10
1925bd8deadSopenharmony_ci#define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
1935bd8deadSopenharmony_ci#define GL_POINT_SMOOTH_HINT              0x0C51
1945bd8deadSopenharmony_ci#define GL_LINE_SMOOTH_HINT               0x0C52
1955bd8deadSopenharmony_ci#define GL_POLYGON_SMOOTH_HINT            0x0C53
1965bd8deadSopenharmony_ci#define GL_UNPACK_ALIGNMENT               0x0CF5
1975bd8deadSopenharmony_ci#define GL_PACK_ALIGNMENT                 0x0D05
1985bd8deadSopenharmony_ci#define GL_MAX_LIGHTS                     0x0D31
1995bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_SIZE               0x0D33
2005bd8deadSopenharmony_ci#define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
2015bd8deadSopenharmony_ci#define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
2025bd8deadSopenharmony_ci#define GL_MAX_VIEWPORT_DIMS              0x0D3A
2035bd8deadSopenharmony_ci#define GL_SUBPIXEL_BITS                  0x0D50
2045bd8deadSopenharmony_ci#define GL_RED_BITS                       0x0D52
2055bd8deadSopenharmony_ci#define GL_GREEN_BITS                     0x0D53
2065bd8deadSopenharmony_ci#define GL_BLUE_BITS                      0x0D54
2075bd8deadSopenharmony_ci#define GL_ALPHA_BITS                     0x0D55
2085bd8deadSopenharmony_ci#define GL_DEPTH_BITS                     0x0D56
2095bd8deadSopenharmony_ci#define GL_STENCIL_BITS                   0x0D57
2105bd8deadSopenharmony_ci#define GL_VERTEX_ARRAY_SIZE              0x807A
2115bd8deadSopenharmony_ci#define GL_VERTEX_ARRAY_TYPE              0x807B
2125bd8deadSopenharmony_ci#define GL_VERTEX_ARRAY_STRIDE            0x807C
2135bd8deadSopenharmony_ci#define GL_NORMAL_ARRAY_TYPE              0x807E
2145bd8deadSopenharmony_ci#define GL_NORMAL_ARRAY_STRIDE            0x807F
2155bd8deadSopenharmony_ci#define GL_COLOR_ARRAY_SIZE               0x8081
2165bd8deadSopenharmony_ci#define GL_COLOR_ARRAY_TYPE               0x8082
2175bd8deadSopenharmony_ci#define GL_COLOR_ARRAY_STRIDE             0x8083
2185bd8deadSopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
2195bd8deadSopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
2205bd8deadSopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
2215bd8deadSopenharmony_ci#define GL_SHADE_MODEL                    0x0B54
2225bd8deadSopenharmony_ci#define GL_TEXTURE_BINDING_2D             0x8069
2235bd8deadSopenharmony_ci#define GL_MAX_ELEMENTS_VERTICES          0x80E8
2245bd8deadSopenharmony_ci#define GL_MAX_ELEMENTS_INDICES           0x80E9
2255bd8deadSopenharmony_ci#define GL_ACTIVE_TEXTURE                 0x84E0
2265bd8deadSopenharmony_ci#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
2275bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_UNITS              0x84E2
2285bd8deadSopenharmony_ci
2295bd8deadSopenharmony_ci/* GetMaterialfv */
2305bd8deadSopenharmony_ci/* #define GL_AMBIENT                        0x1200 */
2315bd8deadSopenharmony_ci/* #define GL_DIFFUSE                        0x1201 */
2325bd8deadSopenharmony_ci/* #define GL_SPECULAR                       0x1202 */
2335bd8deadSopenharmony_ci/* #define GL_EMISSION                       0x1600 */
2345bd8deadSopenharmony_ci/* #define GL_SHININESS                      0x1601 */
2355bd8deadSopenharmony_ci
2365bd8deadSopenharmony_ci/* GetLightfv */
2375bd8deadSopenharmony_ci/* #define GL_AMBIENT                        0x1200 */
2385bd8deadSopenharmony_ci/* #define GL_DIFFUSE                        0x1201 */
2395bd8deadSopenharmony_ci/* #define GL_SPECULAR                       0x1202 */
2405bd8deadSopenharmony_ci/* #define GL_POSITION                       0x1203 */
2415bd8deadSopenharmony_ci
2425bd8deadSopenharmony_ci/* GetPointerv */
2435bd8deadSopenharmony_ci#define GL_VERTEX_ARRAY_POINTER              0x808E
2445bd8deadSopenharmony_ci#define GL_NORMAL_ARRAY_POINTER              0x808F
2455bd8deadSopenharmony_ci#define GL_COLOR_ARRAY_POINTER               0x8090
2465bd8deadSopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_POINTER       0x8092
2475bd8deadSopenharmony_ci
2485bd8deadSopenharmony_ci/* GetTexParameter */
2495bd8deadSopenharmony_ci/* #define GL_TEXTURE_MAG_FILTER             0x2800 */
2505bd8deadSopenharmony_ci/* #define GL_TEXTURE_MIN_FILTER             0x2801 */
2515bd8deadSopenharmony_ci/* #define GL_TEXTURE_WRAP_S                 0x2802 */
2525bd8deadSopenharmony_ci/* #define GL_TEXTURE_WRAP_T                 0x2803 */
2535bd8deadSopenharmony_ci
2545bd8deadSopenharmony_ci/* GetTexEnvfv */
2555bd8deadSopenharmony_ci/* #define GL_TEXTURE_ENV_MODE               0x2200 */
2565bd8deadSopenharmony_ci/* #define GL_TEXTURE_ENV_COLOR              0x2201 */
2575bd8deadSopenharmony_ci
2585bd8deadSopenharmony_ci/* HintMode */
2595bd8deadSopenharmony_ci#define GL_DONT_CARE                      0x1100
2605bd8deadSopenharmony_ci#define GL_FASTEST                        0x1101
2615bd8deadSopenharmony_ci#define GL_NICEST                         0x1102
2625bd8deadSopenharmony_ci
2635bd8deadSopenharmony_ci/* HintTarget */
2645bd8deadSopenharmony_ci#define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
2655bd8deadSopenharmony_ci#define GL_POINT_SMOOTH_HINT              0x0C51
2665bd8deadSopenharmony_ci#define GL_LINE_SMOOTH_HINT               0x0C52
2675bd8deadSopenharmony_ci
2685bd8deadSopenharmony_ci/* IsEnabled */
2695bd8deadSopenharmony_ci/* #define GL_LIGHTING                       0x0B50 */
2705bd8deadSopenharmony_ci/* #define GL_TEXTURE_2D                     0x0DE1 */
2715bd8deadSopenharmony_ci/* #define GL_CULL_FACE                      0x0B44 */
2725bd8deadSopenharmony_ci/* #define GL_ALPHA_TEST                     0x0BC0 */
2735bd8deadSopenharmony_ci/* #define GL_BLEND                          0x0BE2 */
2745bd8deadSopenharmony_ci/* #define GL_STENCIL_TEST                   0x0B90 */
2755bd8deadSopenharmony_ci/* #define GL_DEPTH_TEST                     0x0B71 */
2765bd8deadSopenharmony_ci/* #define GL_LIGHT0                         0x4000 */
2775bd8deadSopenharmony_ci/* #define GL_LIGHT1                         0x4001 */
2785bd8deadSopenharmony_ci/* #define GL_POINT_SMOOTH                   0x0B10 */
2795bd8deadSopenharmony_ci/* #define GL_LINE_STIPPLE                   0x0B24 */
2805bd8deadSopenharmony_ci/* #define GL_LINE_SMOOTH                    0x0B20 */
2815bd8deadSopenharmony_ci/* #define GL_SCISSOR_TEST                   0x0C11 */
2825bd8deadSopenharmony_ci/* #define GL_COLOR_MATERIAL                 0x0B57 */
2835bd8deadSopenharmony_ci/* #define GL_NORMALIZE                      0x0BA1 */
2845bd8deadSopenharmony_ci/* #define GL_RESCALE_NORMAL                 0x803A */
2855bd8deadSopenharmony_ci/* #define GL_POLYGON_OFFSET_FILL            0x8037 */
2865bd8deadSopenharmony_ci/* #define GL_POLYGON_STIPPLE                0x0B42 */
2875bd8deadSopenharmony_ci/* #define GL_VERTEX_ARRAY                   0x8074 */
2885bd8deadSopenharmony_ci/* #define GL_NORMAL_ARRAY                   0x8075 */
2895bd8deadSopenharmony_ci/* #define GL_COLOR_ARRAY                    0x8076 */
2905bd8deadSopenharmony_ci/* #define GL_TEXTURE_COORD_ARRAY            0x8078 */
2915bd8deadSopenharmony_ci
2925bd8deadSopenharmony_ci/* LightModelParameter */
2935bd8deadSopenharmony_ci#define GL_LIGHT_MODEL_AMBIENT            0x0B53
2945bd8deadSopenharmony_ci
2955bd8deadSopenharmony_ci/* LightParameter */
2965bd8deadSopenharmony_ci#define GL_AMBIENT                        0x1200
2975bd8deadSopenharmony_ci#define GL_DIFFUSE                        0x1201
2985bd8deadSopenharmony_ci#define GL_SPECULAR                       0x1202
2995bd8deadSopenharmony_ci#define GL_POSITION                       0x1203
3005bd8deadSopenharmony_ci
3015bd8deadSopenharmony_ci/* DataType */
3025bd8deadSopenharmony_ci#define GL_BYTE                           0x1400
3035bd8deadSopenharmony_ci#define GL_UNSIGNED_BYTE                  0x1401
3045bd8deadSopenharmony_ci#define GL_FLOAT                          0x1406
3055bd8deadSopenharmony_ci
3065bd8deadSopenharmony_ci/* LogicOp */
3075bd8deadSopenharmony_ci
3085bd8deadSopenharmony_ci/* MaterialFace */
3095bd8deadSopenharmony_ci/* #define GL_FRONT_AND_BACK                 0x0408 */
3105bd8deadSopenharmony_ci
3115bd8deadSopenharmony_ci/* MaterialParameter */
3125bd8deadSopenharmony_ci/* #define GL_AMBIENT                        0x1200 */
3135bd8deadSopenharmony_ci/* #define GL_DIFFUSE                        0x1201 */
3145bd8deadSopenharmony_ci/* #define GL_SPECULAR                       0x1202 */
3155bd8deadSopenharmony_ci#define GL_EMISSION                       0x1600
3165bd8deadSopenharmony_ci#define GL_SHININESS                      0x1601
3175bd8deadSopenharmony_ci#define GL_AMBIENT_AND_DIFFUSE            0x1602
3185bd8deadSopenharmony_ci
3195bd8deadSopenharmony_ci/* MatrixMode */
3205bd8deadSopenharmony_ci#define GL_MODELVIEW                      0x1700
3215bd8deadSopenharmony_ci#define GL_PROJECTION                     0x1701
3225bd8deadSopenharmony_ci
3235bd8deadSopenharmony_ci/* NormalPointerType */
3245bd8deadSopenharmony_ci/* #define GL_FLOAT                          0x1406 */
3255bd8deadSopenharmony_ci
3265bd8deadSopenharmony_ci/* PixelFormat */
3275bd8deadSopenharmony_ci#define GL_ALPHA                          0x1906
3285bd8deadSopenharmony_ci#define GL_RGB                            0x1907
3295bd8deadSopenharmony_ci#define GL_RGBA                           0x1908
3305bd8deadSopenharmony_ci#define GL_LUMINANCE                      0x1909
3315bd8deadSopenharmony_ci#define GL_LUMINANCE_ALPHA                0x190A
3325bd8deadSopenharmony_ci#define GL_COLOR_INDEX                    0x1900
3335bd8deadSopenharmony_ci
3345bd8deadSopenharmony_ci/* PixelStoreParameter */
3355bd8deadSopenharmony_ci#define GL_UNPACK_ALIGNMENT               0x0CF5
3365bd8deadSopenharmony_ci#define GL_PACK_ALIGNMENT                 0x0D05
3375bd8deadSopenharmony_ci
3385bd8deadSopenharmony_ci/* PixelType */
3395bd8deadSopenharmony_ci/* #define GL_UNSIGNED_BYTE                  0x1401 */
3405bd8deadSopenharmony_ci
3415bd8deadSopenharmony_ci/* ReadPixels */
3425bd8deadSopenharmony_ci#define GL_COLOR                          0x1800
3435bd8deadSopenharmony_ci
3445bd8deadSopenharmony_ci/* ShadingModel */
3455bd8deadSopenharmony_ci#define GL_FLAT                           0x1D00
3465bd8deadSopenharmony_ci#define GL_SMOOTH                         0x1D01
3475bd8deadSopenharmony_ci
3485bd8deadSopenharmony_ci/* StencilFunction */
3495bd8deadSopenharmony_ci#define GL_NEVER                          0x0200
3505bd8deadSopenharmony_ci#define GL_LESS                           0x0201
3515bd8deadSopenharmony_ci#define GL_EQUAL                          0x0202
3525bd8deadSopenharmony_ci#define GL_LEQUAL                         0x0203
3535bd8deadSopenharmony_ci#define GL_GREATER                        0x0204
3545bd8deadSopenharmony_ci#define GL_NOTEQUAL                       0x0205
3555bd8deadSopenharmony_ci#define GL_GEQUAL                         0x0206
3565bd8deadSopenharmony_ci#define GL_ALWAYS                         0x0207
3575bd8deadSopenharmony_ci
3585bd8deadSopenharmony_ci/* StencilOp */
3595bd8deadSopenharmony_ci/* #define GL_ZERO                           0 */
3605bd8deadSopenharmony_ci#define GL_KEEP                           0x1E00
3615bd8deadSopenharmony_ci#define GL_REPLACE                        0x1E01
3625bd8deadSopenharmony_ci#define GL_INCR                           0x1E02
3635bd8deadSopenharmony_ci#define GL_DECR                           0x1E03
3645bd8deadSopenharmony_ci#define GL_INVERT                         0x150A
3655bd8deadSopenharmony_ci
3665bd8deadSopenharmony_ci/* StringName */
3675bd8deadSopenharmony_ci#define GL_VENDOR                         0x1F00
3685bd8deadSopenharmony_ci#define GL_RENDERER                       0x1F01
3695bd8deadSopenharmony_ci#define GL_VERSION                        0x1F02
3705bd8deadSopenharmony_ci#define GL_EXTENSIONS                     0x1F03
3715bd8deadSopenharmony_ci
3725bd8deadSopenharmony_ci/* TexCoordPointerType */
3735bd8deadSopenharmony_ci/* #define GL_FLOAT                          0x1406 */
3745bd8deadSopenharmony_ci
3755bd8deadSopenharmony_ci/* TextureEnvMode */
3765bd8deadSopenharmony_ci#define GL_MODULATE                       0x2100
3775bd8deadSopenharmony_ci#define GL_DECAL                          0x2101
3785bd8deadSopenharmony_ci/* #define GL_BLEND                          0x0BE2 */
3795bd8deadSopenharmony_ci#define GL_ADD                            0x0104
3805bd8deadSopenharmony_ci/* #define GL_REPLACE                        0x1E01 */
3815bd8deadSopenharmony_ci
3825bd8deadSopenharmony_ci/* TextureEnvParameter */
3835bd8deadSopenharmony_ci#define GL_TEXTURE_ENV_MODE               0x2200
3845bd8deadSopenharmony_ci#define GL_TEXTURE_ENV_COLOR              0x2201
3855bd8deadSopenharmony_ci
3865bd8deadSopenharmony_ci/* TextureEnvTarget */
3875bd8deadSopenharmony_ci#define GL_TEXTURE_ENV                    0x2300
3885bd8deadSopenharmony_ci
3895bd8deadSopenharmony_ci/* TextureMagFilter */
3905bd8deadSopenharmony_ci#define GL_NEAREST                        0x2600
3915bd8deadSopenharmony_ci#define GL_LINEAR                         0x2601
3925bd8deadSopenharmony_ci
3935bd8deadSopenharmony_ci/* TextureMinFilter */
3945bd8deadSopenharmony_ci/* #define GL_NEAREST                        0x2600 */
3955bd8deadSopenharmony_ci/* #define GL_LINEAR                         0x2601 */
3965bd8deadSopenharmony_ci#define GL_NEAREST_MIPMAP_NEAREST         0x2700
3975bd8deadSopenharmony_ci#define GL_LINEAR_MIPMAP_NEAREST          0x2701
3985bd8deadSopenharmony_ci#define GL_NEAREST_MIPMAP_LINEAR          0x2702
3995bd8deadSopenharmony_ci#define GL_LINEAR_MIPMAP_LINEAR           0x2703
4005bd8deadSopenharmony_ci
4015bd8deadSopenharmony_ci/* TextureParameterName */
4025bd8deadSopenharmony_ci#define GL_TEXTURE_MAG_FILTER             0x2800
4035bd8deadSopenharmony_ci#define GL_TEXTURE_MIN_FILTER             0x2801
4045bd8deadSopenharmony_ci#define GL_TEXTURE_WRAP_S                 0x2802
4055bd8deadSopenharmony_ci#define GL_TEXTURE_WRAP_T                 0x2803
4065bd8deadSopenharmony_ci
4075bd8deadSopenharmony_ci/* TextureTarget */
4085bd8deadSopenharmony_ci/* #define GL_TEXTURE_2D                     0x0DE1 */
4095bd8deadSopenharmony_ci
4105bd8deadSopenharmony_ci/* TextureUnit */
4115bd8deadSopenharmony_ci#define GL_TEXTURE0                       0x84C0
4125bd8deadSopenharmony_ci#define GL_TEXTURE1                       0x84C1
4135bd8deadSopenharmony_ci#define GL_TEXTURE2                       0x84C2
4145bd8deadSopenharmony_ci#define GL_TEXTURE3                       0x84C3
4155bd8deadSopenharmony_ci#define GL_TEXTURE4                       0x84C4
4165bd8deadSopenharmony_ci#define GL_TEXTURE5                       0x84C5
4175bd8deadSopenharmony_ci#define GL_TEXTURE6                       0x84C6
4185bd8deadSopenharmony_ci#define GL_TEXTURE7                       0x84C7
4195bd8deadSopenharmony_ci#define GL_TEXTURE8                       0x84C8
4205bd8deadSopenharmony_ci#define GL_TEXTURE9                       0x84C9
4215bd8deadSopenharmony_ci#define GL_TEXTURE10                      0x84CA
4225bd8deadSopenharmony_ci#define GL_TEXTURE11                      0x84CB
4235bd8deadSopenharmony_ci#define GL_TEXTURE12                      0x84CC
4245bd8deadSopenharmony_ci#define GL_TEXTURE13                      0x84CD
4255bd8deadSopenharmony_ci#define GL_TEXTURE14                      0x84CE
4265bd8deadSopenharmony_ci#define GL_TEXTURE15                      0x84CF
4275bd8deadSopenharmony_ci#define GL_TEXTURE16                      0x84D0
4285bd8deadSopenharmony_ci#define GL_TEXTURE17                      0x84D1
4295bd8deadSopenharmony_ci#define GL_TEXTURE18                      0x84D2
4305bd8deadSopenharmony_ci#define GL_TEXTURE19                      0x84D3
4315bd8deadSopenharmony_ci#define GL_TEXTURE20                      0x84D4
4325bd8deadSopenharmony_ci#define GL_TEXTURE21                      0x84D5
4335bd8deadSopenharmony_ci#define GL_TEXTURE22                      0x84D6
4345bd8deadSopenharmony_ci#define GL_TEXTURE23                      0x84D7
4355bd8deadSopenharmony_ci#define GL_TEXTURE24                      0x84D8
4365bd8deadSopenharmony_ci#define GL_TEXTURE25                      0x84D9
4375bd8deadSopenharmony_ci#define GL_TEXTURE26                      0x84DA
4385bd8deadSopenharmony_ci#define GL_TEXTURE27                      0x84DB
4395bd8deadSopenharmony_ci#define GL_TEXTURE28                      0x84DC
4405bd8deadSopenharmony_ci#define GL_TEXTURE29                      0x84DD
4415bd8deadSopenharmony_ci#define GL_TEXTURE30                      0x84DE
4425bd8deadSopenharmony_ci#define GL_TEXTURE31                      0x84DF
4435bd8deadSopenharmony_ci
4445bd8deadSopenharmony_ci/* TextureWrapMode */
4455bd8deadSopenharmony_ci#define GL_REPEAT                         0x2901
4465bd8deadSopenharmony_ci#define GL_CLAMP_TO_EDGE                  0x812F
4475bd8deadSopenharmony_ci
4485bd8deadSopenharmony_ci/* PixelInternalFormat */
4495bd8deadSopenharmony_ci#define GL_COLOR_INDEX8_EXT               0x80E5
4505bd8deadSopenharmony_ci
4515bd8deadSopenharmony_ci/* VertexPointerType */
4525bd8deadSopenharmony_ci/* #define GL_FLOAT                          0x1406 */
4535bd8deadSopenharmony_ci
4545bd8deadSopenharmony_ci/* Paletted Textures Extension */
4555bd8deadSopenharmony_ci#define GL_COLOR_TABLE_FORMAT_EXT         0x80D8
4565bd8deadSopenharmony_ci#define GL_COLOR_TABLE_WIDTH_EXT          0x80D9
4575bd8deadSopenharmony_ci#define GL_COLOR_TABLE_RED_SIZE_EXT       0x80DA
4585bd8deadSopenharmony_ci#define GL_COLOR_TABLE_GREEN_SIZE_EXT     0x80DB
4595bd8deadSopenharmony_ci#define GL_COLOR_TABLE_BLUE_SIZE_EXT      0x80DC
4605bd8deadSopenharmony_ci#define GL_COLOR_TABLE_ALPHA_SIZE_EXT     0x80DD
4615bd8deadSopenharmony_ci#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE
4625bd8deadSopenharmony_ci#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF
4635bd8deadSopenharmony_ci
4645bd8deadSopenharmony_ci/*************************************************************/
4655bd8deadSopenharmony_ci
4665bd8deadSopenharmony_ciGLAPI void APIENTRY glActiveTexture (GLenum texture);
4675bd8deadSopenharmony_ciGLAPI void APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
4685bd8deadSopenharmony_ciGLAPI void APIENTRY glBegin(GLenum mode);
4695bd8deadSopenharmony_ciGLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
4705bd8deadSopenharmony_ciGLAPI void APIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
4715bd8deadSopenharmony_ciGLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
4725bd8deadSopenharmony_ciGLAPI void APIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
4735bd8deadSopenharmony_ciGLAPI void APIENTRY glClear (GLbitfield mask);
4745bd8deadSopenharmony_ciGLAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
4755bd8deadSopenharmony_ciGLAPI void APIENTRY glClearDepthf (GLclampf depth);
4765bd8deadSopenharmony_ciGLAPI void APIENTRY glClearStencil (GLint s);
4775bd8deadSopenharmony_ciGLAPI void APIENTRY glClientActiveTexture (GLenum texture);
4785bd8deadSopenharmony_ciGLAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
4795bd8deadSopenharmony_ciGLAPI void APIENTRY glColor4fv (const GLfloat *v);
4805bd8deadSopenharmony_ciGLAPI void APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
4815bd8deadSopenharmony_ciGLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
4825bd8deadSopenharmony_ciGLAPI void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
4835bd8deadSopenharmony_ciGLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *table);
4845bd8deadSopenharmony_ciGLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
4855bd8deadSopenharmony_ciGLAPI void APIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
4865bd8deadSopenharmony_ciGLAPI void APIENTRY glCullFace (GLenum mode);
4875bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthFunc (GLenum func);
4885bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthMask (GLboolean flag);
4895bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
4905bd8deadSopenharmony_ciGLAPI void APIENTRY glDisable (GLenum cap);
4915bd8deadSopenharmony_ciGLAPI void APIENTRY glDisableClientState (GLenum array);
4925bd8deadSopenharmony_ciGLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
4935bd8deadSopenharmony_ciGLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
4945bd8deadSopenharmony_ciGLAPI void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
4955bd8deadSopenharmony_ciGLAPI void APIENTRY glEnable (GLenum cap);
4965bd8deadSopenharmony_ciGLAPI void APIENTRY glEnableClientState (GLenum array);
4975bd8deadSopenharmony_ciGLAPI void APIENTRY glEnd (void);
4985bd8deadSopenharmony_ciGLAPI void APIENTRY glEndList (void);
4995bd8deadSopenharmony_ciGLAPI void APIENTRY glFinish (void);
5005bd8deadSopenharmony_ciGLAPI void APIENTRY glFlush (void);
5015bd8deadSopenharmony_ciGLAPI void APIENTRY glFrontFace (GLenum mode);
5025bd8deadSopenharmony_ciGLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
5035bd8deadSopenharmony_ciGLAPI GLuint APIENTRY glGenLists (GLsizei range);
5045bd8deadSopenharmony_ciGLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
5055bd8deadSopenharmony_ciGLAPI GLenum APIENTRY glGetError (void);
5065bd8deadSopenharmony_ciGLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
5075bd8deadSopenharmony_ciGLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *table);
5085bd8deadSopenharmony_ciGLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
5095bd8deadSopenharmony_ciGLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
5105bd8deadSopenharmony_ciGLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params);
5115bd8deadSopenharmony_ciGLAPI void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
5125bd8deadSopenharmony_ciGLAPI void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
5135bd8deadSopenharmony_ciGLAPI void APIENTRY glGetPointerv (GLenum pname, GLvoid * *params);
5145bd8deadSopenharmony_ciGLAPI void APIENTRY glGetPolygonStipple (GLubyte *mask);
5155bd8deadSopenharmony_ciGLAPI void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
5165bd8deadSopenharmony_ciGLAPI void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
5175bd8deadSopenharmony_ciGLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
5185bd8deadSopenharmony_ciGLAPI const GLubyte * APIENTRY glGetString (GLenum name);
5195bd8deadSopenharmony_ciGLAPI void APIENTRY glHint (GLenum target, GLenum mode);
5205bd8deadSopenharmony_ciGLAPI GLboolean APIENTRY glIsEnabled (GLenum cap);
5215bd8deadSopenharmony_ciGLAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
5225bd8deadSopenharmony_ciGLAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param);
5235bd8deadSopenharmony_ciGLAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
5245bd8deadSopenharmony_ciGLAPI void APIENTRY glLineStipple (GLint factor, GLushort pattern);
5255bd8deadSopenharmony_ciGLAPI void APIENTRY glLineWidth (GLfloat width);
5265bd8deadSopenharmony_ciGLAPI void APIENTRY glListBase (GLuint base);
5275bd8deadSopenharmony_ciGLAPI void APIENTRY glLoadIdentity (void);
5285bd8deadSopenharmony_ciGLAPI void APIENTRY glLoadMatrixf (const GLfloat *m);
5295bd8deadSopenharmony_ciGLAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
5305bd8deadSopenharmony_ciGLAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
5315bd8deadSopenharmony_ciGLAPI void APIENTRY glMatrixMode (GLenum mode);
5325bd8deadSopenharmony_ciGLAPI void APIENTRY glMultMatrixf (const GLfloat *m);
5335bd8deadSopenharmony_ciGLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
5345bd8deadSopenharmony_ciGLAPI void APIENTRY glNewList (GLuint list, GLenum mode);
5355bd8deadSopenharmony_ciGLAPI void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
5365bd8deadSopenharmony_ciGLAPI void APIENTRY glNormal3fv (const GLfloat *v);
5375bd8deadSopenharmony_ciGLAPI void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
5385bd8deadSopenharmony_ciGLAPI void APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
5395bd8deadSopenharmony_ciGLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param);
5405bd8deadSopenharmony_ciGLAPI void APIENTRY glPointSize (GLfloat size);
5415bd8deadSopenharmony_ciGLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
5425bd8deadSopenharmony_ciGLAPI void APIENTRY glPolygonStipple (const GLubyte *mask);
5435bd8deadSopenharmony_ciGLAPI void APIENTRY glPopMatrix (void);
5445bd8deadSopenharmony_ciGLAPI void APIENTRY glPushMatrix (void);
5455bd8deadSopenharmony_ciGLAPI void APIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
5465bd8deadSopenharmony_ciGLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
5475bd8deadSopenharmony_ciGLAPI void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
5485bd8deadSopenharmony_ciGLAPI void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
5495bd8deadSopenharmony_ciGLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
5505bd8deadSopenharmony_ciGLAPI void APIENTRY glShadeModel (GLenum mode);
5515bd8deadSopenharmony_ciGLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
5525bd8deadSopenharmony_ciGLAPI void APIENTRY glStencilMask (GLuint mask);
5535bd8deadSopenharmony_ciGLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
5545bd8deadSopenharmony_ciGLAPI void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5555bd8deadSopenharmony_ciGLAPI void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
5565bd8deadSopenharmony_ciGLAPI void APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
5575bd8deadSopenharmony_ciGLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
5585bd8deadSopenharmony_ciGLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
5595bd8deadSopenharmony_ciGLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
5605bd8deadSopenharmony_ciGLAPI void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
5615bd8deadSopenharmony_ciGLAPI void APIENTRY glVertex2f (GLfloat x, GLfloat y);
5625bd8deadSopenharmony_ciGLAPI void APIENTRY glVertex2fv (const GLfloat *v);
5635bd8deadSopenharmony_ciGLAPI void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
5645bd8deadSopenharmony_ciGLAPI void APIENTRY glVertex3fv (const GLfloat *v);
5655bd8deadSopenharmony_ciGLAPI void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
5665bd8deadSopenharmony_ciGLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
5675bd8deadSopenharmony_ci
5685bd8deadSopenharmony_ci#ifdef __cplusplus
5695bd8deadSopenharmony_ci}
5705bd8deadSopenharmony_ci#endif
5715bd8deadSopenharmony_ci
5725bd8deadSopenharmony_ci#endif /* __gl_h_ */
5735bd8deadSopenharmony_ci
574