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** License Applicability. Except to the extent portions of this file are 105bd8deadSopenharmony_ci** made subject to an alternative license as permitted in the SGI Free 115bd8deadSopenharmony_ci** Software License B, Version 1.0 (the "License"), the contents of this 125bd8deadSopenharmony_ci** file are subject only to the provisions of the License. You may not use 135bd8deadSopenharmony_ci** this file except in compliance with the License. You may obtain a copy 145bd8deadSopenharmony_ci** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 155bd8deadSopenharmony_ci** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: 165bd8deadSopenharmony_ci** 175bd8deadSopenharmony_ci** http://oss.sgi.com/projects/FreeB 185bd8deadSopenharmony_ci** 195bd8deadSopenharmony_ci** Note that, as provided in the License, the Software is distributed on an 205bd8deadSopenharmony_ci** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS 215bd8deadSopenharmony_ci** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND 225bd8deadSopenharmony_ci** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A 235bd8deadSopenharmony_ci** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 245bd8deadSopenharmony_ci** 255bd8deadSopenharmony_ci** Original Code. The Original Code is: OpenGL Sample Implementation, 265bd8deadSopenharmony_ci** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, 275bd8deadSopenharmony_ci** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. 285bd8deadSopenharmony_ci** Copyright in any portions created by third parties is as indicated 295bd8deadSopenharmony_ci** elsewhere herein. All Rights Reserved. 305bd8deadSopenharmony_ci** 315bd8deadSopenharmony_ci** Additional Notice Provisions: The application programming interfaces 325bd8deadSopenharmony_ci** established by SGI in conjunction with the Original Code are The 335bd8deadSopenharmony_ci** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released 345bd8deadSopenharmony_ci** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version 355bd8deadSopenharmony_ci** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X 365bd8deadSopenharmony_ci** Window System(R) (Version 1.3), released October 19, 1998. This software 375bd8deadSopenharmony_ci** was created using the OpenGL(R) version 1.2.1 Sample Implementation 385bd8deadSopenharmony_ci** published by SGI, but has not been independently verified as being 395bd8deadSopenharmony_ci** compliant with the OpenGL(R) version 1.2.1 Specification. 405bd8deadSopenharmony_ci*/ 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ci#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) 435bd8deadSopenharmony_ci#define WIN32_LEAN_AND_MEAN 1 445bd8deadSopenharmony_ci#include <windows.h> 455bd8deadSopenharmony_ci#endif 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ci#ifndef APIENTRY 485bd8deadSopenharmony_ci#define APIENTRY 495bd8deadSopenharmony_ci#endif 505bd8deadSopenharmony_ci#ifndef GLAPI 515bd8deadSopenharmony_ci#define GLAPI extern 525bd8deadSopenharmony_ci#endif 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_citypedef unsigned int GLenum; 555bd8deadSopenharmony_citypedef unsigned char GLboolean; 565bd8deadSopenharmony_citypedef unsigned int GLbitfield; 575bd8deadSopenharmony_citypedef signed char GLbyte; 585bd8deadSopenharmony_citypedef short GLshort; 595bd8deadSopenharmony_citypedef int GLint; 605bd8deadSopenharmony_citypedef int GLsizei; 615bd8deadSopenharmony_citypedef unsigned char GLubyte; 625bd8deadSopenharmony_citypedef unsigned short GLushort; 635bd8deadSopenharmony_citypedef unsigned int GLuint; 645bd8deadSopenharmony_citypedef float GLfloat; 655bd8deadSopenharmony_citypedef float GLclampf; 665bd8deadSopenharmony_citypedef void GLvoid; 675bd8deadSopenharmony_citypedef int GLintptrARB; 685bd8deadSopenharmony_citypedef int GLsizeiptrARB; 695bd8deadSopenharmony_citypedef int GLfixed; 705bd8deadSopenharmony_citypedef int GLclampx; 715bd8deadSopenharmony_ci/* Internal convenience typedefs */ 725bd8deadSopenharmony_citypedef void (*_GLfuncptr)(); 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci/*************************************************************/ 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci/* Extensions */ 775bd8deadSopenharmony_ci#define GL_OES_VERSION_1_0 1 785bd8deadSopenharmony_ci#define GL_OES_read_format 1 795bd8deadSopenharmony_ci#define GL_OES_compressed_paletted_texture 1 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ci/* ClearBufferMask */ 825bd8deadSopenharmony_ci#define GL_DEPTH_BUFFER_BIT 0x00000100 835bd8deadSopenharmony_ci#define GL_STENCIL_BUFFER_BIT 0x00000400 845bd8deadSopenharmony_ci#define GL_COLOR_BUFFER_BIT 0x00004000 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci/* Boolean */ 875bd8deadSopenharmony_ci#define GL_FALSE 0 885bd8deadSopenharmony_ci#define GL_TRUE 1 895bd8deadSopenharmony_ci 905bd8deadSopenharmony_ci/* BeginMode */ 915bd8deadSopenharmony_ci#define GL_POINTS 0x0000 925bd8deadSopenharmony_ci#define GL_LINES 0x0001 935bd8deadSopenharmony_ci#define GL_LINE_LOOP 0x0002 945bd8deadSopenharmony_ci#define GL_LINE_STRIP 0x0003 955bd8deadSopenharmony_ci#define GL_TRIANGLES 0x0004 965bd8deadSopenharmony_ci#define GL_TRIANGLE_STRIP 0x0005 975bd8deadSopenharmony_ci#define GL_TRIANGLE_FAN 0x0006 985bd8deadSopenharmony_ci 995bd8deadSopenharmony_ci/* AlphaFunction */ 1005bd8deadSopenharmony_ci#define GL_NEVER 0x0200 1015bd8deadSopenharmony_ci#define GL_LESS 0x0201 1025bd8deadSopenharmony_ci#define GL_EQUAL 0x0202 1035bd8deadSopenharmony_ci#define GL_LEQUAL 0x0203 1045bd8deadSopenharmony_ci#define GL_GREATER 0x0204 1055bd8deadSopenharmony_ci#define GL_NOTEQUAL 0x0205 1065bd8deadSopenharmony_ci#define GL_GEQUAL 0x0206 1075bd8deadSopenharmony_ci#define GL_ALWAYS 0x0207 1085bd8deadSopenharmony_ci 1095bd8deadSopenharmony_ci/* BlendingFactorDest */ 1105bd8deadSopenharmony_ci#define GL_ZERO 0 1115bd8deadSopenharmony_ci#define GL_ONE 1 1125bd8deadSopenharmony_ci#define GL_SRC_COLOR 0x0300 1135bd8deadSopenharmony_ci#define GL_ONE_MINUS_SRC_COLOR 0x0301 1145bd8deadSopenharmony_ci#define GL_SRC_ALPHA 0x0302 1155bd8deadSopenharmony_ci#define GL_ONE_MINUS_SRC_ALPHA 0x0303 1165bd8deadSopenharmony_ci#define GL_DST_ALPHA 0x0304 1175bd8deadSopenharmony_ci#define GL_ONE_MINUS_DST_ALPHA 0x0305 1185bd8deadSopenharmony_ci 1195bd8deadSopenharmony_ci/* BlendingFactorSrc */ 1205bd8deadSopenharmony_ci/* GL_ZERO */ 1215bd8deadSopenharmony_ci/* GL_ONE */ 1225bd8deadSopenharmony_ci#define GL_DST_COLOR 0x0306 1235bd8deadSopenharmony_ci#define GL_ONE_MINUS_DST_COLOR 0x0307 1245bd8deadSopenharmony_ci#define GL_SRC_ALPHA_SATURATE 0x0308 1255bd8deadSopenharmony_ci/* GL_SRC_ALPHA */ 1265bd8deadSopenharmony_ci/* GL_ONE_MINUS_SRC_ALPHA */ 1275bd8deadSopenharmony_ci/* GL_DST_ALPHA */ 1285bd8deadSopenharmony_ci/* GL_ONE_MINUS_DST_ALPHA */ 1295bd8deadSopenharmony_ci 1305bd8deadSopenharmony_ci/* ColorMaterialFace */ 1315bd8deadSopenharmony_ci/* GL_FRONT_AND_BACK */ 1325bd8deadSopenharmony_ci 1335bd8deadSopenharmony_ci/* ColorMaterialParameter */ 1345bd8deadSopenharmony_ci/* GL_AMBIENT_AND_DIFFUSE */ 1355bd8deadSopenharmony_ci 1365bd8deadSopenharmony_ci/* ColorPointerType */ 1375bd8deadSopenharmony_ci/* GL_UNSIGNED_BYTE */ 1385bd8deadSopenharmony_ci/* GL_FLOAT */ 1395bd8deadSopenharmony_ci/* GL_FIXED */ 1405bd8deadSopenharmony_ci 1415bd8deadSopenharmony_ci/* CullFaceMode */ 1425bd8deadSopenharmony_ci#define GL_FRONT 0x0404 1435bd8deadSopenharmony_ci#define GL_BACK 0x0405 1445bd8deadSopenharmony_ci#define GL_FRONT_AND_BACK 0x0408 1455bd8deadSopenharmony_ci 1465bd8deadSopenharmony_ci/* DepthFunction */ 1475bd8deadSopenharmony_ci/* GL_NEVER */ 1485bd8deadSopenharmony_ci/* GL_LESS */ 1495bd8deadSopenharmony_ci/* GL_EQUAL */ 1505bd8deadSopenharmony_ci/* GL_LEQUAL */ 1515bd8deadSopenharmony_ci/* GL_GREATER */ 1525bd8deadSopenharmony_ci/* GL_NOTEQUAL */ 1535bd8deadSopenharmony_ci/* GL_GEQUAL */ 1545bd8deadSopenharmony_ci/* GL_ALWAYS */ 1555bd8deadSopenharmony_ci 1565bd8deadSopenharmony_ci/* EnableCap */ 1575bd8deadSopenharmony_ci#define GL_FOG 0x0B60 1585bd8deadSopenharmony_ci#define GL_LIGHTING 0x0B50 1595bd8deadSopenharmony_ci#define GL_TEXTURE_2D 0x0DE1 1605bd8deadSopenharmony_ci#define GL_CULL_FACE 0x0B44 1615bd8deadSopenharmony_ci#define GL_ALPHA_TEST 0x0BC0 1625bd8deadSopenharmony_ci#define GL_BLEND 0x0BE2 1635bd8deadSopenharmony_ci#define GL_COLOR_LOGIC_OP 0x0BF2 1645bd8deadSopenharmony_ci#define GL_DITHER 0x0BD0 1655bd8deadSopenharmony_ci#define GL_STENCIL_TEST 0x0B90 1665bd8deadSopenharmony_ci#define GL_DEPTH_TEST 0x0B71 1675bd8deadSopenharmony_ci/* GL_LIGHT0 */ 1685bd8deadSopenharmony_ci/* GL_LIGHT1 */ 1695bd8deadSopenharmony_ci/* GL_LIGHT2 */ 1705bd8deadSopenharmony_ci/* GL_LIGHT3 */ 1715bd8deadSopenharmony_ci/* GL_LIGHT4 */ 1725bd8deadSopenharmony_ci/* GL_LIGHT5 */ 1735bd8deadSopenharmony_ci/* GL_LIGHT6 */ 1745bd8deadSopenharmony_ci/* GL_LIGHT7 */ 1755bd8deadSopenharmony_ci#define GL_POINT_SMOOTH 0x0B10 1765bd8deadSopenharmony_ci#define GL_LINE_SMOOTH 0x0B20 1775bd8deadSopenharmony_ci#define GL_SCISSOR_TEST 0x0C11 1785bd8deadSopenharmony_ci#define GL_COLOR_MATERIAL 0x0B57 1795bd8deadSopenharmony_ci#define GL_NORMALIZE 0x0BA1 1805bd8deadSopenharmony_ci#define GL_RESCALE_NORMAL 0x803A 1815bd8deadSopenharmony_ci#define GL_POLYGON_OFFSET_FILL 0x8037 1825bd8deadSopenharmony_ci#define GL_VERTEX_ARRAY 0x8074 1835bd8deadSopenharmony_ci#define GL_NORMAL_ARRAY 0x8075 1845bd8deadSopenharmony_ci#define GL_COLOR_ARRAY 0x8076 1855bd8deadSopenharmony_ci#define GL_TEXTURE_COORD_ARRAY 0x8078 1865bd8deadSopenharmony_ci#define GL_MULTISAMPLE 0x809D 1875bd8deadSopenharmony_ci#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 1885bd8deadSopenharmony_ci#define GL_SAMPLE_ALPHA_TO_ONE 0x809F 1895bd8deadSopenharmony_ci#define GL_SAMPLE_COVERAGE 0x80A0 1905bd8deadSopenharmony_ci 1915bd8deadSopenharmony_ci/* ErrorCode */ 1925bd8deadSopenharmony_ci#define GL_NO_ERROR 0 1935bd8deadSopenharmony_ci#define GL_INVALID_ENUM 0x0500 1945bd8deadSopenharmony_ci#define GL_INVALID_VALUE 0x0501 1955bd8deadSopenharmony_ci#define GL_INVALID_OPERATION 0x0502 1965bd8deadSopenharmony_ci#define GL_STACK_OVERFLOW 0x0503 1975bd8deadSopenharmony_ci#define GL_STACK_UNDERFLOW 0x0504 1985bd8deadSopenharmony_ci#define GL_OUT_OF_MEMORY 0x0505 1995bd8deadSopenharmony_ci 2005bd8deadSopenharmony_ci/* FogMode */ 2015bd8deadSopenharmony_ci/* GL_LINEAR */ 2025bd8deadSopenharmony_ci#define GL_EXP 0x0800 2035bd8deadSopenharmony_ci#define GL_EXP2 0x0801 2045bd8deadSopenharmony_ci 2055bd8deadSopenharmony_ci/* FogParameter */ 2065bd8deadSopenharmony_ci#define GL_FOG_DENSITY 0x0B62 2075bd8deadSopenharmony_ci#define GL_FOG_START 0x0B63 2085bd8deadSopenharmony_ci#define GL_FOG_END 0x0B64 2095bd8deadSopenharmony_ci#define GL_FOG_MODE 0x0B65 2105bd8deadSopenharmony_ci#define GL_FOG_COLOR 0x0B66 2115bd8deadSopenharmony_ci 2125bd8deadSopenharmony_ci/* FrontFaceDirection */ 2135bd8deadSopenharmony_ci#define GL_CW 0x0900 2145bd8deadSopenharmony_ci#define GL_CCW 0x0901 2155bd8deadSopenharmony_ci 2165bd8deadSopenharmony_ci/* GetPName */ 2175bd8deadSopenharmony_ci#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 2185bd8deadSopenharmony_ci#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 2195bd8deadSopenharmony_ci#define GL_ALIASED_POINT_SIZE_RANGE 0x846D 2205bd8deadSopenharmony_ci#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 2215bd8deadSopenharmony_ci#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A 2225bd8deadSopenharmony_ci#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B 2235bd8deadSopenharmony_ci#define GL_MAX_LIGHTS 0x0D31 2245bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_SIZE 0x0D33 2255bd8deadSopenharmony_ci#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 2265bd8deadSopenharmony_ci#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 2275bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 2285bd8deadSopenharmony_ci#define GL_MAX_VIEWPORT_DIMS 0x0D3A 2295bd8deadSopenharmony_ci#define GL_MAX_ELEMENTS_VERTICES 0x80E8 2305bd8deadSopenharmony_ci#define GL_MAX_ELEMENTS_INDICES 0x80E9 2315bd8deadSopenharmony_ci#define GL_MAX_TEXTURE_UNITS 0x84E2 2325bd8deadSopenharmony_ci#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 2335bd8deadSopenharmony_ci#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 2345bd8deadSopenharmony_ci#define GL_SUBPIXEL_BITS 0x0D50 2355bd8deadSopenharmony_ci#define GL_RED_BITS 0x0D52 2365bd8deadSopenharmony_ci#define GL_GREEN_BITS 0x0D53 2375bd8deadSopenharmony_ci#define GL_BLUE_BITS 0x0D54 2385bd8deadSopenharmony_ci#define GL_ALPHA_BITS 0x0D55 2395bd8deadSopenharmony_ci#define GL_DEPTH_BITS 0x0D56 2405bd8deadSopenharmony_ci#define GL_STENCIL_BITS 0x0D57 2415bd8deadSopenharmony_ci 2425bd8deadSopenharmony_ci/* HintMode */ 2435bd8deadSopenharmony_ci#define GL_DONT_CARE 0x1100 2445bd8deadSopenharmony_ci#define GL_FASTEST 0x1101 2455bd8deadSopenharmony_ci#define GL_NICEST 0x1102 2465bd8deadSopenharmony_ci 2475bd8deadSopenharmony_ci/* HintTarget */ 2485bd8deadSopenharmony_ci#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 2495bd8deadSopenharmony_ci#define GL_POINT_SMOOTH_HINT 0x0C51 2505bd8deadSopenharmony_ci#define GL_LINE_SMOOTH_HINT 0x0C52 2515bd8deadSopenharmony_ci#define GL_POLYGON_SMOOTH_HINT 0x0C53 2525bd8deadSopenharmony_ci#define GL_FOG_HINT 0x0C54 2535bd8deadSopenharmony_ci 2545bd8deadSopenharmony_ci/* LightModelParameter */ 2555bd8deadSopenharmony_ci#define GL_LIGHT_MODEL_AMBIENT 0x0B53 2565bd8deadSopenharmony_ci#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 2575bd8deadSopenharmony_ci 2585bd8deadSopenharmony_ci/* LightParameter */ 2595bd8deadSopenharmony_ci#define GL_AMBIENT 0x1200 2605bd8deadSopenharmony_ci#define GL_DIFFUSE 0x1201 2615bd8deadSopenharmony_ci#define GL_SPECULAR 0x1202 2625bd8deadSopenharmony_ci#define GL_POSITION 0x1203 2635bd8deadSopenharmony_ci#define GL_SPOT_DIRECTION 0x1204 2645bd8deadSopenharmony_ci#define GL_SPOT_EXPONENT 0x1205 2655bd8deadSopenharmony_ci#define GL_SPOT_CUTOFF 0x1206 2665bd8deadSopenharmony_ci#define GL_CONSTANT_ATTENUATION 0x1207 2675bd8deadSopenharmony_ci#define GL_LINEAR_ATTENUATION 0x1208 2685bd8deadSopenharmony_ci#define GL_QUADRATIC_ATTENUATION 0x1209 2695bd8deadSopenharmony_ci 2705bd8deadSopenharmony_ci/* DataType */ 2715bd8deadSopenharmony_ci#define GL_BYTE 0x1400 2725bd8deadSopenharmony_ci#define GL_UNSIGNED_BYTE 0x1401 2735bd8deadSopenharmony_ci#define GL_SHORT 0x1402 2745bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT 0x1403 2755bd8deadSopenharmony_ci#define GL_FLOAT 0x1406 2765bd8deadSopenharmony_ci#define GL_FIXED 0x140C 2775bd8deadSopenharmony_ci 2785bd8deadSopenharmony_ci/* LogicOp */ 2795bd8deadSopenharmony_ci#define GL_CLEAR 0x1500 2805bd8deadSopenharmony_ci#define GL_AND 0x1501 2815bd8deadSopenharmony_ci#define GL_AND_REVERSE 0x1502 2825bd8deadSopenharmony_ci#define GL_COPY 0x1503 2835bd8deadSopenharmony_ci#define GL_AND_INVERTED 0x1504 2845bd8deadSopenharmony_ci#define GL_NOOP 0x1505 2855bd8deadSopenharmony_ci#define GL_XOR 0x1506 2865bd8deadSopenharmony_ci#define GL_OR 0x1507 2875bd8deadSopenharmony_ci#define GL_NOR 0x1508 2885bd8deadSopenharmony_ci#define GL_EQUIV 0x1509 2895bd8deadSopenharmony_ci#define GL_INVERT 0x150A 2905bd8deadSopenharmony_ci#define GL_OR_REVERSE 0x150B 2915bd8deadSopenharmony_ci#define GL_COPY_INVERTED 0x150C 2925bd8deadSopenharmony_ci#define GL_OR_INVERTED 0x150D 2935bd8deadSopenharmony_ci#define GL_NAND 0x150E 2945bd8deadSopenharmony_ci#define GL_SET 0x150F 2955bd8deadSopenharmony_ci 2965bd8deadSopenharmony_ci/* MaterialFace */ 2975bd8deadSopenharmony_ci/* GL_FRONT_AND_BACK */ 2985bd8deadSopenharmony_ci 2995bd8deadSopenharmony_ci/* MaterialParameter */ 3005bd8deadSopenharmony_ci#define GL_EMISSION 0x1600 3015bd8deadSopenharmony_ci#define GL_SHININESS 0x1601 3025bd8deadSopenharmony_ci#define GL_AMBIENT_AND_DIFFUSE 0x1602 3035bd8deadSopenharmony_ci/* GL_AMBIENT */ 3045bd8deadSopenharmony_ci/* GL_DIFFUSE */ 3055bd8deadSopenharmony_ci/* GL_SPECULAR */ 3065bd8deadSopenharmony_ci 3075bd8deadSopenharmony_ci/* MatrixMode */ 3085bd8deadSopenharmony_ci#define GL_MODELVIEW 0x1700 3095bd8deadSopenharmony_ci#define GL_PROJECTION 0x1701 3105bd8deadSopenharmony_ci#define GL_TEXTURE 0x1702 3115bd8deadSopenharmony_ci 3125bd8deadSopenharmony_ci/* NormalPointerType */ 3135bd8deadSopenharmony_ci/* GL_BYTE */ 3145bd8deadSopenharmony_ci/* GL_SHORT */ 3155bd8deadSopenharmony_ci/* GL_FLOAT */ 3165bd8deadSopenharmony_ci/* GL_FIXED */ 3175bd8deadSopenharmony_ci 3185bd8deadSopenharmony_ci/* PixelFormat */ 3195bd8deadSopenharmony_ci#define GL_ALPHA 0x1906 3205bd8deadSopenharmony_ci#define GL_RGB 0x1907 3215bd8deadSopenharmony_ci#define GL_RGBA 0x1908 3225bd8deadSopenharmony_ci#define GL_LUMINANCE 0x1909 3235bd8deadSopenharmony_ci#define GL_LUMINANCE_ALPHA 0x190A 3245bd8deadSopenharmony_ci 3255bd8deadSopenharmony_ci/* PixelStoreParameter */ 3265bd8deadSopenharmony_ci#define GL_UNPACK_ALIGNMENT 0x0CF5 3275bd8deadSopenharmony_ci#define GL_PACK_ALIGNMENT 0x0D05 3285bd8deadSopenharmony_ci 3295bd8deadSopenharmony_ci/* PixelType */ 3305bd8deadSopenharmony_ci/* GL_UNSIGNED_BYTE */ 3315bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 3325bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 3335bd8deadSopenharmony_ci#define GL_UNSIGNED_SHORT_5_6_5 0x8363 3345bd8deadSopenharmony_ci 3355bd8deadSopenharmony_ci/* ShadingModel */ 3365bd8deadSopenharmony_ci#define GL_FLAT 0x1D00 3375bd8deadSopenharmony_ci#define GL_SMOOTH 0x1D01 3385bd8deadSopenharmony_ci 3395bd8deadSopenharmony_ci/* StencilFunction */ 3405bd8deadSopenharmony_ci/* GL_NEVER */ 3415bd8deadSopenharmony_ci/* GL_LESS */ 3425bd8deadSopenharmony_ci/* GL_EQUAL */ 3435bd8deadSopenharmony_ci/* GL_LEQUAL */ 3445bd8deadSopenharmony_ci/* GL_GREATER */ 3455bd8deadSopenharmony_ci/* GL_NOTEQUAL */ 3465bd8deadSopenharmony_ci/* GL_GEQUAL */ 3475bd8deadSopenharmony_ci/* GL_ALWAYS */ 3485bd8deadSopenharmony_ci 3495bd8deadSopenharmony_ci/* StencilOp */ 3505bd8deadSopenharmony_ci/* GL_ZERO */ 3515bd8deadSopenharmony_ci#define GL_KEEP 0x1E00 3525bd8deadSopenharmony_ci#define GL_REPLACE 0x1E01 3535bd8deadSopenharmony_ci#define GL_INCR 0x1E02 3545bd8deadSopenharmony_ci#define GL_DECR 0x1E03 3555bd8deadSopenharmony_ci/* GL_INVERT */ 3565bd8deadSopenharmony_ci 3575bd8deadSopenharmony_ci/* StringName */ 3585bd8deadSopenharmony_ci#define GL_VENDOR 0x1F00 3595bd8deadSopenharmony_ci#define GL_RENDERER 0x1F01 3605bd8deadSopenharmony_ci#define GL_VERSION 0x1F02 3615bd8deadSopenharmony_ci#define GL_EXTENSIONS 0x1F03 3625bd8deadSopenharmony_ci 3635bd8deadSopenharmony_ci/* TexCoordPointerType */ 3645bd8deadSopenharmony_ci/* GL_SHORT */ 3655bd8deadSopenharmony_ci/* GL_FLOAT */ 3665bd8deadSopenharmony_ci/* GL_FIXED */ 3675bd8deadSopenharmony_ci/* GL_BYTE */ 3685bd8deadSopenharmony_ci 3695bd8deadSopenharmony_ci/* TextureEnvMode */ 3705bd8deadSopenharmony_ci#define GL_MODULATE 0x2100 3715bd8deadSopenharmony_ci#define GL_DECAL 0x2101 3725bd8deadSopenharmony_ci/* GL_BLEND */ 3735bd8deadSopenharmony_ci#define GL_ADD 0x0104 3745bd8deadSopenharmony_ci/* GL_REPLACE */ 3755bd8deadSopenharmony_ci 3765bd8deadSopenharmony_ci/* TextureEnvParameter */ 3775bd8deadSopenharmony_ci#define GL_TEXTURE_ENV_MODE 0x2200 3785bd8deadSopenharmony_ci#define GL_TEXTURE_ENV_COLOR 0x2201 3795bd8deadSopenharmony_ci 3805bd8deadSopenharmony_ci/* TextureEnvTarget */ 3815bd8deadSopenharmony_ci#define GL_TEXTURE_ENV 0x2300 3825bd8deadSopenharmony_ci 3835bd8deadSopenharmony_ci/* TextureMagFilter */ 3845bd8deadSopenharmony_ci#define GL_NEAREST 0x2600 3855bd8deadSopenharmony_ci#define GL_LINEAR 0x2601 3865bd8deadSopenharmony_ci 3875bd8deadSopenharmony_ci/* TextureMinFilter */ 3885bd8deadSopenharmony_ci/* GL_NEAREST */ 3895bd8deadSopenharmony_ci/* GL_LINEAR */ 3905bd8deadSopenharmony_ci#define GL_NEAREST_MIPMAP_NEAREST 0x2700 3915bd8deadSopenharmony_ci#define GL_LINEAR_MIPMAP_NEAREST 0x2701 3925bd8deadSopenharmony_ci#define GL_NEAREST_MIPMAP_LINEAR 0x2702 3935bd8deadSopenharmony_ci#define GL_LINEAR_MIPMAP_LINEAR 0x2703 3945bd8deadSopenharmony_ci 3955bd8deadSopenharmony_ci/* TextureParameterName */ 3965bd8deadSopenharmony_ci#define GL_TEXTURE_MAG_FILTER 0x2800 3975bd8deadSopenharmony_ci#define GL_TEXTURE_MIN_FILTER 0x2801 3985bd8deadSopenharmony_ci#define GL_TEXTURE_WRAP_S 0x2802 3995bd8deadSopenharmony_ci#define GL_TEXTURE_WRAP_T 0x2803 4005bd8deadSopenharmony_ci 4015bd8deadSopenharmony_ci/* TextureTarget */ 4025bd8deadSopenharmony_ci/* GL_TEXTURE_2D */ 4035bd8deadSopenharmony_ci 4045bd8deadSopenharmony_ci/* TextureUnit */ 4055bd8deadSopenharmony_ci#define GL_TEXTURE0 0x84C0 4065bd8deadSopenharmony_ci#define GL_TEXTURE1 0x84C1 4075bd8deadSopenharmony_ci#define GL_TEXTURE2 0x84C2 4085bd8deadSopenharmony_ci#define GL_TEXTURE3 0x84C3 4095bd8deadSopenharmony_ci#define GL_TEXTURE4 0x84C4 4105bd8deadSopenharmony_ci#define GL_TEXTURE5 0x84C5 4115bd8deadSopenharmony_ci#define GL_TEXTURE6 0x84C6 4125bd8deadSopenharmony_ci#define GL_TEXTURE7 0x84C7 4135bd8deadSopenharmony_ci#define GL_TEXTURE8 0x84C8 4145bd8deadSopenharmony_ci#define GL_TEXTURE9 0x84C9 4155bd8deadSopenharmony_ci#define GL_TEXTURE10 0x84CA 4165bd8deadSopenharmony_ci#define GL_TEXTURE11 0x84CB 4175bd8deadSopenharmony_ci#define GL_TEXTURE12 0x84CC 4185bd8deadSopenharmony_ci#define GL_TEXTURE13 0x84CD 4195bd8deadSopenharmony_ci#define GL_TEXTURE14 0x84CE 4205bd8deadSopenharmony_ci#define GL_TEXTURE15 0x84CF 4215bd8deadSopenharmony_ci#define GL_TEXTURE16 0x84D0 4225bd8deadSopenharmony_ci#define GL_TEXTURE17 0x84D1 4235bd8deadSopenharmony_ci#define GL_TEXTURE18 0x84D2 4245bd8deadSopenharmony_ci#define GL_TEXTURE19 0x84D3 4255bd8deadSopenharmony_ci#define GL_TEXTURE20 0x84D4 4265bd8deadSopenharmony_ci#define GL_TEXTURE21 0x84D5 4275bd8deadSopenharmony_ci#define GL_TEXTURE22 0x84D6 4285bd8deadSopenharmony_ci#define GL_TEXTURE23 0x84D7 4295bd8deadSopenharmony_ci#define GL_TEXTURE24 0x84D8 4305bd8deadSopenharmony_ci#define GL_TEXTURE25 0x84D9 4315bd8deadSopenharmony_ci#define GL_TEXTURE26 0x84DA 4325bd8deadSopenharmony_ci#define GL_TEXTURE27 0x84DB 4335bd8deadSopenharmony_ci#define GL_TEXTURE28 0x84DC 4345bd8deadSopenharmony_ci#define GL_TEXTURE29 0x84DD 4355bd8deadSopenharmony_ci#define GL_TEXTURE30 0x84DE 4365bd8deadSopenharmony_ci#define GL_TEXTURE31 0x84DF 4375bd8deadSopenharmony_ci 4385bd8deadSopenharmony_ci/* TextureWrapMode */ 4395bd8deadSopenharmony_ci#define GL_REPEAT 0x2901 4405bd8deadSopenharmony_ci#define GL_CLAMP_TO_EDGE 0x812F 4415bd8deadSopenharmony_ci 4425bd8deadSopenharmony_ci/* PixelInternalFormat */ 4435bd8deadSopenharmony_ci#define GL_PALETTE4_RGB8_OES 0x8B90 4445bd8deadSopenharmony_ci#define GL_PALETTE4_RGBA8_OES 0x8B91 4455bd8deadSopenharmony_ci#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 4465bd8deadSopenharmony_ci#define GL_PALETTE4_RGBA4_OES 0x8B93 4475bd8deadSopenharmony_ci#define GL_PALETTE4_RGB5_A1_OES 0x8B94 4485bd8deadSopenharmony_ci#define GL_PALETTE8_RGB8_OES 0x8B95 4495bd8deadSopenharmony_ci#define GL_PALETTE8_RGBA8_OES 0x8B96 4505bd8deadSopenharmony_ci#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 4515bd8deadSopenharmony_ci#define GL_PALETTE8_RGBA4_OES 0x8B98 4525bd8deadSopenharmony_ci#define GL_PALETTE8_RGB5_A1_OES 0x8B99 4535bd8deadSopenharmony_ci 4545bd8deadSopenharmony_ci/* VertexPointerType */ 4555bd8deadSopenharmony_ci/* GL_SHORT */ 4565bd8deadSopenharmony_ci/* GL_FLOAT */ 4575bd8deadSopenharmony_ci/* GL_FIXED */ 4585bd8deadSopenharmony_ci/* GL_BYTE */ 4595bd8deadSopenharmony_ci 4605bd8deadSopenharmony_ci/* LightName */ 4615bd8deadSopenharmony_ci#define GL_LIGHT0 0x4000 4625bd8deadSopenharmony_ci#define GL_LIGHT1 0x4001 4635bd8deadSopenharmony_ci#define GL_LIGHT2 0x4002 4645bd8deadSopenharmony_ci#define GL_LIGHT3 0x4003 4655bd8deadSopenharmony_ci#define GL_LIGHT4 0x4004 4665bd8deadSopenharmony_ci#define GL_LIGHT5 0x4005 4675bd8deadSopenharmony_ci#define GL_LIGHT6 0x4006 4685bd8deadSopenharmony_ci#define GL_LIGHT7 0x4007 4695bd8deadSopenharmony_ci 4705bd8deadSopenharmony_ci 4715bd8deadSopenharmony_ci/*************************************************************/ 4725bd8deadSopenharmony_ci 4735bd8deadSopenharmony_ciGLAPI void APIENTRY glActiveTexture (GLenum texture); 4745bd8deadSopenharmony_ciGLAPI void APIENTRY glAlphaFunc (GLenum func, GLclampf ref); 4755bd8deadSopenharmony_ciGLAPI void APIENTRY glAlphaFuncx (GLenum func, GLclampx ref); 4765bd8deadSopenharmony_ciGLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture); 4775bd8deadSopenharmony_ciGLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); 4785bd8deadSopenharmony_ciGLAPI void APIENTRY glClear (GLbitfield mask); 4795bd8deadSopenharmony_ciGLAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 4805bd8deadSopenharmony_ciGLAPI void APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 4815bd8deadSopenharmony_ciGLAPI void APIENTRY glClearDepthf (GLclampf depth); 4825bd8deadSopenharmony_ciGLAPI void APIENTRY glClearDepthx (GLclampx depth); 4835bd8deadSopenharmony_ciGLAPI void APIENTRY glClearStencil (GLint s); 4845bd8deadSopenharmony_ciGLAPI void APIENTRY glClientActiveTexture (GLenum texture); 4855bd8deadSopenharmony_ciGLAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 4865bd8deadSopenharmony_ciGLAPI void APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 4875bd8deadSopenharmony_ciGLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 4885bd8deadSopenharmony_ciGLAPI void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 4895bd8deadSopenharmony_ciGLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 4905bd8deadSopenharmony_ciGLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 4915bd8deadSopenharmony_ciGLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 4925bd8deadSopenharmony_ciGLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 4935bd8deadSopenharmony_ciGLAPI void APIENTRY glCullFace (GLenum mode); 4945bd8deadSopenharmony_ciGLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); 4955bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthFunc (GLenum func); 4965bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthMask (GLboolean flag); 4975bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); 4985bd8deadSopenharmony_ciGLAPI void APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar); 4995bd8deadSopenharmony_ciGLAPI void APIENTRY glDisable (GLenum cap); 5005bd8deadSopenharmony_ciGLAPI void APIENTRY glDisableClientState (GLenum array); 5015bd8deadSopenharmony_ciGLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 5025bd8deadSopenharmony_ciGLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 5035bd8deadSopenharmony_ciGLAPI void APIENTRY glEnable (GLenum cap); 5045bd8deadSopenharmony_ciGLAPI void APIENTRY glEnableClientState (GLenum array); 5055bd8deadSopenharmony_ciGLAPI void APIENTRY glFinish (void); 5065bd8deadSopenharmony_ciGLAPI void APIENTRY glFlush (void); 5075bd8deadSopenharmony_ciGLAPI void APIENTRY glFogf (GLenum pname, GLfloat param); 5085bd8deadSopenharmony_ciGLAPI void APIENTRY glFogfv (GLenum pname, const GLfloat *params); 5095bd8deadSopenharmony_ciGLAPI void APIENTRY glFogx (GLenum pname, GLfixed param); 5105bd8deadSopenharmony_ciGLAPI void APIENTRY glFogxv (GLenum pname, const GLfixed *params); 5115bd8deadSopenharmony_ciGLAPI void APIENTRY glFrontFace (GLenum mode); 5125bd8deadSopenharmony_ciGLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 5135bd8deadSopenharmony_ciGLAPI void APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 5145bd8deadSopenharmony_ciGLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures); 5155bd8deadSopenharmony_ciGLAPI GLenum APIENTRY glGetError (void); 5165bd8deadSopenharmony_ciGLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params); 5175bd8deadSopenharmony_ciGLAPI const GLubyte * APIENTRY glGetString (GLenum name); 5185bd8deadSopenharmony_ciGLAPI void APIENTRY glHint (GLenum target, GLenum mode); 5195bd8deadSopenharmony_ciGLAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param); 5205bd8deadSopenharmony_ciGLAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); 5215bd8deadSopenharmony_ciGLAPI void APIENTRY glLightModelx (GLenum pname, GLfixed param); 5225bd8deadSopenharmony_ciGLAPI void APIENTRY glLightModelxv (GLenum pname, const GLfixed *params); 5235bd8deadSopenharmony_ciGLAPI void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); 5245bd8deadSopenharmony_ciGLAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); 5255bd8deadSopenharmony_ciGLAPI void APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); 5265bd8deadSopenharmony_ciGLAPI void APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); 5275bd8deadSopenharmony_ciGLAPI void APIENTRY glLineWidth (GLfloat width); 5285bd8deadSopenharmony_ciGLAPI void APIENTRY glLineWidthx (GLfixed width); 5295bd8deadSopenharmony_ciGLAPI void APIENTRY glLoadIdentity (void); 5305bd8deadSopenharmony_ciGLAPI void APIENTRY glLoadMatrixf (const GLfloat *m); 5315bd8deadSopenharmony_ciGLAPI void APIENTRY glLoadMatrixx (const GLfixed *m); 5325bd8deadSopenharmony_ciGLAPI void APIENTRY glLogicOp (GLenum opcode); 5335bd8deadSopenharmony_ciGLAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); 5345bd8deadSopenharmony_ciGLAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); 5355bd8deadSopenharmony_ciGLAPI void APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); 5365bd8deadSopenharmony_ciGLAPI void APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params); 5375bd8deadSopenharmony_ciGLAPI void APIENTRY glMatrixMode (GLenum mode); 5385bd8deadSopenharmony_ciGLAPI void APIENTRY glMultMatrixf (const GLfloat *m); 5395bd8deadSopenharmony_ciGLAPI void APIENTRY glMultMatrixx (const GLfixed *m); 5405bd8deadSopenharmony_ciGLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 5415bd8deadSopenharmony_ciGLAPI void APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); 5425bd8deadSopenharmony_ciGLAPI void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); 5435bd8deadSopenharmony_ciGLAPI void APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); 5445bd8deadSopenharmony_ciGLAPI void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); 5455bd8deadSopenharmony_ciGLAPI void APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 5465bd8deadSopenharmony_ciGLAPI void APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 5475bd8deadSopenharmony_ciGLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); 5485bd8deadSopenharmony_ciGLAPI void APIENTRY glPointSize (GLfloat size); 5495bd8deadSopenharmony_ciGLAPI void APIENTRY glPointSizex (GLfixed size); 5505bd8deadSopenharmony_ciGLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 5515bd8deadSopenharmony_ciGLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); 5525bd8deadSopenharmony_ciGLAPI void APIENTRY glPopMatrix (void); 5535bd8deadSopenharmony_ciGLAPI void APIENTRY glPushMatrix (void); 5545bd8deadSopenharmony_ciGLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); 5555bd8deadSopenharmony_ciGLAPI void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 5565bd8deadSopenharmony_ciGLAPI void APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); 5575bd8deadSopenharmony_ciGLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); 5585bd8deadSopenharmony_ciGLAPI void APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); 5595bd8deadSopenharmony_ciGLAPI void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); 5605bd8deadSopenharmony_ciGLAPI void APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); 5615bd8deadSopenharmony_ciGLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 5625bd8deadSopenharmony_ciGLAPI void APIENTRY glShadeModel (GLenum mode); 5635bd8deadSopenharmony_ciGLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); 5645bd8deadSopenharmony_ciGLAPI void APIENTRY glStencilMask (GLuint mask); 5655bd8deadSopenharmony_ciGLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); 5665bd8deadSopenharmony_ciGLAPI void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 5675bd8deadSopenharmony_ciGLAPI void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); 5685bd8deadSopenharmony_ciGLAPI void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); 5695bd8deadSopenharmony_ciGLAPI void APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); 5705bd8deadSopenharmony_ciGLAPI void APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); 5715bd8deadSopenharmony_ciGLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 5725bd8deadSopenharmony_ciGLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); 5735bd8deadSopenharmony_ciGLAPI void APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); 5745bd8deadSopenharmony_ciGLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 5755bd8deadSopenharmony_ciGLAPI void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); 5765bd8deadSopenharmony_ciGLAPI void APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); 5775bd8deadSopenharmony_ciGLAPI void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 5785bd8deadSopenharmony_ciGLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 5795bd8deadSopenharmony_ci 5805bd8deadSopenharmony_ci#ifdef __cplusplus 5815bd8deadSopenharmony_ci} 5825bd8deadSopenharmony_ci#endif 5835bd8deadSopenharmony_ci 5845bd8deadSopenharmony_ci#endif /* __gl_h_ */ 585