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