1bf215546Sopenharmony_ci#ifndef __gles1_gl_h_
2bf215546Sopenharmony_ci#define __gles1_gl_h_ 1
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci#ifdef __cplusplus
5bf215546Sopenharmony_ciextern "C" {
6bf215546Sopenharmony_ci#endif
7bf215546Sopenharmony_ci
8bf215546Sopenharmony_ci/*
9bf215546Sopenharmony_ci** Copyright (c) 2013-2018 The Khronos Group Inc.
10bf215546Sopenharmony_ci**
11bf215546Sopenharmony_ci** Permission is hereby granted, free of charge, to any person obtaining a
12bf215546Sopenharmony_ci** copy of this software and/or associated documentation files (the
13bf215546Sopenharmony_ci** "Materials"), to deal in the Materials without restriction, including
14bf215546Sopenharmony_ci** without limitation the rights to use, copy, modify, merge, publish,
15bf215546Sopenharmony_ci** distribute, sublicense, and/or sell copies of the Materials, and to
16bf215546Sopenharmony_ci** permit persons to whom the Materials are furnished to do so, subject to
17bf215546Sopenharmony_ci** the following conditions:
18bf215546Sopenharmony_ci**
19bf215546Sopenharmony_ci** The above copyright notice and this permission notice shall be included
20bf215546Sopenharmony_ci** in all copies or substantial portions of the Materials.
21bf215546Sopenharmony_ci**
22bf215546Sopenharmony_ci** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23bf215546Sopenharmony_ci** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24bf215546Sopenharmony_ci** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25bf215546Sopenharmony_ci** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26bf215546Sopenharmony_ci** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27bf215546Sopenharmony_ci** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28bf215546Sopenharmony_ci** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29bf215546Sopenharmony_ci*/
30bf215546Sopenharmony_ci/*
31bf215546Sopenharmony_ci** This header is generated from the Khronos OpenGL / OpenGL ES XML
32bf215546Sopenharmony_ci** API Registry. The current version of the Registry, generator scripts
33bf215546Sopenharmony_ci** used to make the header, and the header can be found at
34bf215546Sopenharmony_ci**   https://github.com/KhronosGroup/OpenGL-Registry
35bf215546Sopenharmony_ci*/
36bf215546Sopenharmony_ci
37bf215546Sopenharmony_ci#include <GLES/glplatform.h>
38bf215546Sopenharmony_ci
39bf215546Sopenharmony_ci/* Generated on date 20190611 */
40bf215546Sopenharmony_ci
41bf215546Sopenharmony_ci/* Generated C header for:
42bf215546Sopenharmony_ci * API: gles1
43bf215546Sopenharmony_ci * Profile: common
44bf215546Sopenharmony_ci * Versions considered: .*
45bf215546Sopenharmony_ci * Versions emitted: .*
46bf215546Sopenharmony_ci * Default extensions included: None
47bf215546Sopenharmony_ci * Additional extensions included: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$
48bf215546Sopenharmony_ci * Extensions removed: _nomatch_^
49bf215546Sopenharmony_ci */
50bf215546Sopenharmony_ci
51bf215546Sopenharmony_ci#ifndef GL_VERSION_ES_CM_1_0
52bf215546Sopenharmony_ci#define GL_VERSION_ES_CM_1_0 1
53bf215546Sopenharmony_ci#include <KHR/khrplatform.h>
54bf215546Sopenharmony_citypedef khronos_int8_t GLbyte;
55bf215546Sopenharmony_citypedef khronos_float_t GLclampf;
56bf215546Sopenharmony_citypedef khronos_int16_t GLshort;
57bf215546Sopenharmony_citypedef khronos_uint16_t GLushort;
58bf215546Sopenharmony_citypedef void GLvoid;
59bf215546Sopenharmony_citypedef unsigned int GLenum;
60bf215546Sopenharmony_citypedef khronos_float_t GLfloat;
61bf215546Sopenharmony_citypedef khronos_int32_t GLfixed;
62bf215546Sopenharmony_citypedef unsigned int GLuint;
63bf215546Sopenharmony_citypedef khronos_ssize_t GLsizeiptr;
64bf215546Sopenharmony_citypedef khronos_intptr_t GLintptr;
65bf215546Sopenharmony_citypedef unsigned int GLbitfield;
66bf215546Sopenharmony_citypedef int GLint;
67bf215546Sopenharmony_citypedef khronos_uint8_t GLubyte;
68bf215546Sopenharmony_citypedef unsigned char GLboolean;
69bf215546Sopenharmony_citypedef int GLsizei;
70bf215546Sopenharmony_citypedef khronos_int32_t GLclampx;
71bf215546Sopenharmony_ci#define GL_VERSION_ES_CL_1_0              1
72bf215546Sopenharmony_ci#define GL_VERSION_ES_CM_1_1              1
73bf215546Sopenharmony_ci#define GL_VERSION_ES_CL_1_1              1
74bf215546Sopenharmony_ci#define GL_DEPTH_BUFFER_BIT               0x00000100
75bf215546Sopenharmony_ci#define GL_STENCIL_BUFFER_BIT             0x00000400
76bf215546Sopenharmony_ci#define GL_COLOR_BUFFER_BIT               0x00004000
77bf215546Sopenharmony_ci#define GL_FALSE                          0
78bf215546Sopenharmony_ci#define GL_TRUE                           1
79bf215546Sopenharmony_ci#define GL_POINTS                         0x0000
80bf215546Sopenharmony_ci#define GL_LINES                          0x0001
81bf215546Sopenharmony_ci#define GL_LINE_LOOP                      0x0002
82bf215546Sopenharmony_ci#define GL_LINE_STRIP                     0x0003
83bf215546Sopenharmony_ci#define GL_TRIANGLES                      0x0004
84bf215546Sopenharmony_ci#define GL_TRIANGLE_STRIP                 0x0005
85bf215546Sopenharmony_ci#define GL_TRIANGLE_FAN                   0x0006
86bf215546Sopenharmony_ci#define GL_NEVER                          0x0200
87bf215546Sopenharmony_ci#define GL_LESS                           0x0201
88bf215546Sopenharmony_ci#define GL_EQUAL                          0x0202
89bf215546Sopenharmony_ci#define GL_LEQUAL                         0x0203
90bf215546Sopenharmony_ci#define GL_GREATER                        0x0204
91bf215546Sopenharmony_ci#define GL_NOTEQUAL                       0x0205
92bf215546Sopenharmony_ci#define GL_GEQUAL                         0x0206
93bf215546Sopenharmony_ci#define GL_ALWAYS                         0x0207
94bf215546Sopenharmony_ci#define GL_ZERO                           0
95bf215546Sopenharmony_ci#define GL_ONE                            1
96bf215546Sopenharmony_ci#define GL_SRC_COLOR                      0x0300
97bf215546Sopenharmony_ci#define GL_ONE_MINUS_SRC_COLOR            0x0301
98bf215546Sopenharmony_ci#define GL_SRC_ALPHA                      0x0302
99bf215546Sopenharmony_ci#define GL_ONE_MINUS_SRC_ALPHA            0x0303
100bf215546Sopenharmony_ci#define GL_DST_ALPHA                      0x0304
101bf215546Sopenharmony_ci#define GL_ONE_MINUS_DST_ALPHA            0x0305
102bf215546Sopenharmony_ci#define GL_DST_COLOR                      0x0306
103bf215546Sopenharmony_ci#define GL_ONE_MINUS_DST_COLOR            0x0307
104bf215546Sopenharmony_ci#define GL_SRC_ALPHA_SATURATE             0x0308
105bf215546Sopenharmony_ci#define GL_CLIP_PLANE0                    0x3000
106bf215546Sopenharmony_ci#define GL_CLIP_PLANE1                    0x3001
107bf215546Sopenharmony_ci#define GL_CLIP_PLANE2                    0x3002
108bf215546Sopenharmony_ci#define GL_CLIP_PLANE3                    0x3003
109bf215546Sopenharmony_ci#define GL_CLIP_PLANE4                    0x3004
110bf215546Sopenharmony_ci#define GL_CLIP_PLANE5                    0x3005
111bf215546Sopenharmony_ci#define GL_FRONT                          0x0404
112bf215546Sopenharmony_ci#define GL_BACK                           0x0405
113bf215546Sopenharmony_ci#define GL_FRONT_AND_BACK                 0x0408
114bf215546Sopenharmony_ci#define GL_FOG                            0x0B60
115bf215546Sopenharmony_ci#define GL_LIGHTING                       0x0B50
116bf215546Sopenharmony_ci#define GL_TEXTURE_2D                     0x0DE1
117bf215546Sopenharmony_ci#define GL_CULL_FACE                      0x0B44
118bf215546Sopenharmony_ci#define GL_ALPHA_TEST                     0x0BC0
119bf215546Sopenharmony_ci#define GL_BLEND                          0x0BE2
120bf215546Sopenharmony_ci#define GL_COLOR_LOGIC_OP                 0x0BF2
121bf215546Sopenharmony_ci#define GL_DITHER                         0x0BD0
122bf215546Sopenharmony_ci#define GL_STENCIL_TEST                   0x0B90
123bf215546Sopenharmony_ci#define GL_DEPTH_TEST                     0x0B71
124bf215546Sopenharmony_ci#define GL_POINT_SMOOTH                   0x0B10
125bf215546Sopenharmony_ci#define GL_LINE_SMOOTH                    0x0B20
126bf215546Sopenharmony_ci#define GL_SCISSOR_TEST                   0x0C11
127bf215546Sopenharmony_ci#define GL_COLOR_MATERIAL                 0x0B57
128bf215546Sopenharmony_ci#define GL_NORMALIZE                      0x0BA1
129bf215546Sopenharmony_ci#define GL_RESCALE_NORMAL                 0x803A
130bf215546Sopenharmony_ci#define GL_VERTEX_ARRAY                   0x8074
131bf215546Sopenharmony_ci#define GL_NORMAL_ARRAY                   0x8075
132bf215546Sopenharmony_ci#define GL_COLOR_ARRAY                    0x8076
133bf215546Sopenharmony_ci#define GL_TEXTURE_COORD_ARRAY            0x8078
134bf215546Sopenharmony_ci#define GL_MULTISAMPLE                    0x809D
135bf215546Sopenharmony_ci#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
136bf215546Sopenharmony_ci#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
137bf215546Sopenharmony_ci#define GL_SAMPLE_COVERAGE                0x80A0
138bf215546Sopenharmony_ci#define GL_NO_ERROR                       0
139bf215546Sopenharmony_ci#define GL_INVALID_ENUM                   0x0500
140bf215546Sopenharmony_ci#define GL_INVALID_VALUE                  0x0501
141bf215546Sopenharmony_ci#define GL_INVALID_OPERATION              0x0502
142bf215546Sopenharmony_ci#define GL_STACK_OVERFLOW                 0x0503
143bf215546Sopenharmony_ci#define GL_STACK_UNDERFLOW                0x0504
144bf215546Sopenharmony_ci#define GL_OUT_OF_MEMORY                  0x0505
145bf215546Sopenharmony_ci#define GL_EXP                            0x0800
146bf215546Sopenharmony_ci#define GL_EXP2                           0x0801
147bf215546Sopenharmony_ci#define GL_FOG_DENSITY                    0x0B62
148bf215546Sopenharmony_ci#define GL_FOG_START                      0x0B63
149bf215546Sopenharmony_ci#define GL_FOG_END                        0x0B64
150bf215546Sopenharmony_ci#define GL_FOG_MODE                       0x0B65
151bf215546Sopenharmony_ci#define GL_FOG_COLOR                      0x0B66
152bf215546Sopenharmony_ci#define GL_CW                             0x0900
153bf215546Sopenharmony_ci#define GL_CCW                            0x0901
154bf215546Sopenharmony_ci#define GL_CURRENT_COLOR                  0x0B00
155bf215546Sopenharmony_ci#define GL_CURRENT_NORMAL                 0x0B02
156bf215546Sopenharmony_ci#define GL_CURRENT_TEXTURE_COORDS         0x0B03
157bf215546Sopenharmony_ci#define GL_POINT_SIZE                     0x0B11
158bf215546Sopenharmony_ci#define GL_POINT_SIZE_MIN                 0x8126
159bf215546Sopenharmony_ci#define GL_POINT_SIZE_MAX                 0x8127
160bf215546Sopenharmony_ci#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
161bf215546Sopenharmony_ci#define GL_POINT_DISTANCE_ATTENUATION     0x8129
162bf215546Sopenharmony_ci#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
163bf215546Sopenharmony_ci#define GL_LINE_WIDTH                     0x0B21
164bf215546Sopenharmony_ci#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
165bf215546Sopenharmony_ci#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
166bf215546Sopenharmony_ci#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
167bf215546Sopenharmony_ci#define GL_CULL_FACE_MODE                 0x0B45
168bf215546Sopenharmony_ci#define GL_FRONT_FACE                     0x0B46
169bf215546Sopenharmony_ci#define GL_SHADE_MODEL                    0x0B54
170bf215546Sopenharmony_ci#define GL_DEPTH_RANGE                    0x0B70
171bf215546Sopenharmony_ci#define GL_DEPTH_WRITEMASK                0x0B72
172bf215546Sopenharmony_ci#define GL_DEPTH_CLEAR_VALUE              0x0B73
173bf215546Sopenharmony_ci#define GL_DEPTH_FUNC                     0x0B74
174bf215546Sopenharmony_ci#define GL_STENCIL_CLEAR_VALUE            0x0B91
175bf215546Sopenharmony_ci#define GL_STENCIL_FUNC                   0x0B92
176bf215546Sopenharmony_ci#define GL_STENCIL_VALUE_MASK             0x0B93
177bf215546Sopenharmony_ci#define GL_STENCIL_FAIL                   0x0B94
178bf215546Sopenharmony_ci#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
179bf215546Sopenharmony_ci#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
180bf215546Sopenharmony_ci#define GL_STENCIL_REF                    0x0B97
181bf215546Sopenharmony_ci#define GL_STENCIL_WRITEMASK              0x0B98
182bf215546Sopenharmony_ci#define GL_MATRIX_MODE                    0x0BA0
183bf215546Sopenharmony_ci#define GL_VIEWPORT                       0x0BA2
184bf215546Sopenharmony_ci#define GL_MODELVIEW_STACK_DEPTH          0x0BA3
185bf215546Sopenharmony_ci#define GL_PROJECTION_STACK_DEPTH         0x0BA4
186bf215546Sopenharmony_ci#define GL_TEXTURE_STACK_DEPTH            0x0BA5
187bf215546Sopenharmony_ci#define GL_MODELVIEW_MATRIX               0x0BA6
188bf215546Sopenharmony_ci#define GL_PROJECTION_MATRIX              0x0BA7
189bf215546Sopenharmony_ci#define GL_TEXTURE_MATRIX                 0x0BA8
190bf215546Sopenharmony_ci#define GL_ALPHA_TEST_FUNC                0x0BC1
191bf215546Sopenharmony_ci#define GL_ALPHA_TEST_REF                 0x0BC2
192bf215546Sopenharmony_ci#define GL_BLEND_DST                      0x0BE0
193bf215546Sopenharmony_ci#define GL_BLEND_SRC                      0x0BE1
194bf215546Sopenharmony_ci#define GL_LOGIC_OP_MODE                  0x0BF0
195bf215546Sopenharmony_ci#define GL_SCISSOR_BOX                    0x0C10
196bf215546Sopenharmony_ci#define GL_COLOR_CLEAR_VALUE              0x0C22
197bf215546Sopenharmony_ci#define GL_COLOR_WRITEMASK                0x0C23
198bf215546Sopenharmony_ci#define GL_MAX_LIGHTS                     0x0D31
199bf215546Sopenharmony_ci#define GL_MAX_CLIP_PLANES                0x0D32
200bf215546Sopenharmony_ci#define GL_MAX_TEXTURE_SIZE               0x0D33
201bf215546Sopenharmony_ci#define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
202bf215546Sopenharmony_ci#define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
203bf215546Sopenharmony_ci#define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
204bf215546Sopenharmony_ci#define GL_MAX_VIEWPORT_DIMS              0x0D3A
205bf215546Sopenharmony_ci#define GL_MAX_TEXTURE_UNITS              0x84E2
206bf215546Sopenharmony_ci#define GL_SUBPIXEL_BITS                  0x0D50
207bf215546Sopenharmony_ci#define GL_RED_BITS                       0x0D52
208bf215546Sopenharmony_ci#define GL_GREEN_BITS                     0x0D53
209bf215546Sopenharmony_ci#define GL_BLUE_BITS                      0x0D54
210bf215546Sopenharmony_ci#define GL_ALPHA_BITS                     0x0D55
211bf215546Sopenharmony_ci#define GL_DEPTH_BITS                     0x0D56
212bf215546Sopenharmony_ci#define GL_STENCIL_BITS                   0x0D57
213bf215546Sopenharmony_ci#define GL_POLYGON_OFFSET_UNITS           0x2A00
214bf215546Sopenharmony_ci#define GL_POLYGON_OFFSET_FILL            0x8037
215bf215546Sopenharmony_ci#define GL_POLYGON_OFFSET_FACTOR          0x8038
216bf215546Sopenharmony_ci#define GL_TEXTURE_BINDING_2D             0x8069
217bf215546Sopenharmony_ci#define GL_VERTEX_ARRAY_SIZE              0x807A
218bf215546Sopenharmony_ci#define GL_VERTEX_ARRAY_TYPE              0x807B
219bf215546Sopenharmony_ci#define GL_VERTEX_ARRAY_STRIDE            0x807C
220bf215546Sopenharmony_ci#define GL_NORMAL_ARRAY_TYPE              0x807E
221bf215546Sopenharmony_ci#define GL_NORMAL_ARRAY_STRIDE            0x807F
222bf215546Sopenharmony_ci#define GL_COLOR_ARRAY_SIZE               0x8081
223bf215546Sopenharmony_ci#define GL_COLOR_ARRAY_TYPE               0x8082
224bf215546Sopenharmony_ci#define GL_COLOR_ARRAY_STRIDE             0x8083
225bf215546Sopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
226bf215546Sopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
227bf215546Sopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
228bf215546Sopenharmony_ci#define GL_VERTEX_ARRAY_POINTER           0x808E
229bf215546Sopenharmony_ci#define GL_NORMAL_ARRAY_POINTER           0x808F
230bf215546Sopenharmony_ci#define GL_COLOR_ARRAY_POINTER            0x8090
231bf215546Sopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
232bf215546Sopenharmony_ci#define GL_SAMPLE_BUFFERS                 0x80A8
233bf215546Sopenharmony_ci#define GL_SAMPLES                        0x80A9
234bf215546Sopenharmony_ci#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
235bf215546Sopenharmony_ci#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
236bf215546Sopenharmony_ci#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
237bf215546Sopenharmony_ci#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
238bf215546Sopenharmony_ci#define GL_DONT_CARE                      0x1100
239bf215546Sopenharmony_ci#define GL_FASTEST                        0x1101
240bf215546Sopenharmony_ci#define GL_NICEST                         0x1102
241bf215546Sopenharmony_ci#define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
242bf215546Sopenharmony_ci#define GL_POINT_SMOOTH_HINT              0x0C51
243bf215546Sopenharmony_ci#define GL_LINE_SMOOTH_HINT               0x0C52
244bf215546Sopenharmony_ci#define GL_FOG_HINT                       0x0C54
245bf215546Sopenharmony_ci#define GL_GENERATE_MIPMAP_HINT           0x8192
246bf215546Sopenharmony_ci#define GL_LIGHT_MODEL_AMBIENT            0x0B53
247bf215546Sopenharmony_ci#define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
248bf215546Sopenharmony_ci#define GL_AMBIENT                        0x1200
249bf215546Sopenharmony_ci#define GL_DIFFUSE                        0x1201
250bf215546Sopenharmony_ci#define GL_SPECULAR                       0x1202
251bf215546Sopenharmony_ci#define GL_POSITION                       0x1203
252bf215546Sopenharmony_ci#define GL_SPOT_DIRECTION                 0x1204
253bf215546Sopenharmony_ci#define GL_SPOT_EXPONENT                  0x1205
254bf215546Sopenharmony_ci#define GL_SPOT_CUTOFF                    0x1206
255bf215546Sopenharmony_ci#define GL_CONSTANT_ATTENUATION           0x1207
256bf215546Sopenharmony_ci#define GL_LINEAR_ATTENUATION             0x1208
257bf215546Sopenharmony_ci#define GL_QUADRATIC_ATTENUATION          0x1209
258bf215546Sopenharmony_ci#define GL_BYTE                           0x1400
259bf215546Sopenharmony_ci#define GL_UNSIGNED_BYTE                  0x1401
260bf215546Sopenharmony_ci#define GL_SHORT                          0x1402
261bf215546Sopenharmony_ci#define GL_UNSIGNED_SHORT                 0x1403
262bf215546Sopenharmony_ci#define GL_FLOAT                          0x1406
263bf215546Sopenharmony_ci#define GL_FIXED                          0x140C
264bf215546Sopenharmony_ci#define GL_CLEAR                          0x1500
265bf215546Sopenharmony_ci#define GL_AND                            0x1501
266bf215546Sopenharmony_ci#define GL_AND_REVERSE                    0x1502
267bf215546Sopenharmony_ci#define GL_COPY                           0x1503
268bf215546Sopenharmony_ci#define GL_AND_INVERTED                   0x1504
269bf215546Sopenharmony_ci#define GL_NOOP                           0x1505
270bf215546Sopenharmony_ci#define GL_XOR                            0x1506
271bf215546Sopenharmony_ci#define GL_OR                             0x1507
272bf215546Sopenharmony_ci#define GL_NOR                            0x1508
273bf215546Sopenharmony_ci#define GL_EQUIV                          0x1509
274bf215546Sopenharmony_ci#define GL_INVERT                         0x150A
275bf215546Sopenharmony_ci#define GL_OR_REVERSE                     0x150B
276bf215546Sopenharmony_ci#define GL_COPY_INVERTED                  0x150C
277bf215546Sopenharmony_ci#define GL_OR_INVERTED                    0x150D
278bf215546Sopenharmony_ci#define GL_NAND                           0x150E
279bf215546Sopenharmony_ci#define GL_SET                            0x150F
280bf215546Sopenharmony_ci#define GL_EMISSION                       0x1600
281bf215546Sopenharmony_ci#define GL_SHININESS                      0x1601
282bf215546Sopenharmony_ci#define GL_AMBIENT_AND_DIFFUSE            0x1602
283bf215546Sopenharmony_ci#define GL_MODELVIEW                      0x1700
284bf215546Sopenharmony_ci#define GL_PROJECTION                     0x1701
285bf215546Sopenharmony_ci#define GL_TEXTURE                        0x1702
286bf215546Sopenharmony_ci#define GL_ALPHA                          0x1906
287bf215546Sopenharmony_ci#define GL_RGB                            0x1907
288bf215546Sopenharmony_ci#define GL_RGBA                           0x1908
289bf215546Sopenharmony_ci#define GL_LUMINANCE                      0x1909
290bf215546Sopenharmony_ci#define GL_LUMINANCE_ALPHA                0x190A
291bf215546Sopenharmony_ci#define GL_UNPACK_ALIGNMENT               0x0CF5
292bf215546Sopenharmony_ci#define GL_PACK_ALIGNMENT                 0x0D05
293bf215546Sopenharmony_ci#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
294bf215546Sopenharmony_ci#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
295bf215546Sopenharmony_ci#define GL_UNSIGNED_SHORT_5_6_5           0x8363
296bf215546Sopenharmony_ci#define GL_FLAT                           0x1D00
297bf215546Sopenharmony_ci#define GL_SMOOTH                         0x1D01
298bf215546Sopenharmony_ci#define GL_KEEP                           0x1E00
299bf215546Sopenharmony_ci#define GL_REPLACE                        0x1E01
300bf215546Sopenharmony_ci#define GL_INCR                           0x1E02
301bf215546Sopenharmony_ci#define GL_DECR                           0x1E03
302bf215546Sopenharmony_ci#define GL_VENDOR                         0x1F00
303bf215546Sopenharmony_ci#define GL_RENDERER                       0x1F01
304bf215546Sopenharmony_ci#define GL_VERSION                        0x1F02
305bf215546Sopenharmony_ci#define GL_EXTENSIONS                     0x1F03
306bf215546Sopenharmony_ci#define GL_MODULATE                       0x2100
307bf215546Sopenharmony_ci#define GL_DECAL                          0x2101
308bf215546Sopenharmony_ci#define GL_ADD                            0x0104
309bf215546Sopenharmony_ci#define GL_TEXTURE_ENV_MODE               0x2200
310bf215546Sopenharmony_ci#define GL_TEXTURE_ENV_COLOR              0x2201
311bf215546Sopenharmony_ci#define GL_TEXTURE_ENV                    0x2300
312bf215546Sopenharmony_ci#define GL_NEAREST                        0x2600
313bf215546Sopenharmony_ci#define GL_LINEAR                         0x2601
314bf215546Sopenharmony_ci#define GL_NEAREST_MIPMAP_NEAREST         0x2700
315bf215546Sopenharmony_ci#define GL_LINEAR_MIPMAP_NEAREST          0x2701
316bf215546Sopenharmony_ci#define GL_NEAREST_MIPMAP_LINEAR          0x2702
317bf215546Sopenharmony_ci#define GL_LINEAR_MIPMAP_LINEAR           0x2703
318bf215546Sopenharmony_ci#define GL_TEXTURE_MAG_FILTER             0x2800
319bf215546Sopenharmony_ci#define GL_TEXTURE_MIN_FILTER             0x2801
320bf215546Sopenharmony_ci#define GL_TEXTURE_WRAP_S                 0x2802
321bf215546Sopenharmony_ci#define GL_TEXTURE_WRAP_T                 0x2803
322bf215546Sopenharmony_ci#define GL_GENERATE_MIPMAP                0x8191
323bf215546Sopenharmony_ci#define GL_TEXTURE0                       0x84C0
324bf215546Sopenharmony_ci#define GL_TEXTURE1                       0x84C1
325bf215546Sopenharmony_ci#define GL_TEXTURE2                       0x84C2
326bf215546Sopenharmony_ci#define GL_TEXTURE3                       0x84C3
327bf215546Sopenharmony_ci#define GL_TEXTURE4                       0x84C4
328bf215546Sopenharmony_ci#define GL_TEXTURE5                       0x84C5
329bf215546Sopenharmony_ci#define GL_TEXTURE6                       0x84C6
330bf215546Sopenharmony_ci#define GL_TEXTURE7                       0x84C7
331bf215546Sopenharmony_ci#define GL_TEXTURE8                       0x84C8
332bf215546Sopenharmony_ci#define GL_TEXTURE9                       0x84C9
333bf215546Sopenharmony_ci#define GL_TEXTURE10                      0x84CA
334bf215546Sopenharmony_ci#define GL_TEXTURE11                      0x84CB
335bf215546Sopenharmony_ci#define GL_TEXTURE12                      0x84CC
336bf215546Sopenharmony_ci#define GL_TEXTURE13                      0x84CD
337bf215546Sopenharmony_ci#define GL_TEXTURE14                      0x84CE
338bf215546Sopenharmony_ci#define GL_TEXTURE15                      0x84CF
339bf215546Sopenharmony_ci#define GL_TEXTURE16                      0x84D0
340bf215546Sopenharmony_ci#define GL_TEXTURE17                      0x84D1
341bf215546Sopenharmony_ci#define GL_TEXTURE18                      0x84D2
342bf215546Sopenharmony_ci#define GL_TEXTURE19                      0x84D3
343bf215546Sopenharmony_ci#define GL_TEXTURE20                      0x84D4
344bf215546Sopenharmony_ci#define GL_TEXTURE21                      0x84D5
345bf215546Sopenharmony_ci#define GL_TEXTURE22                      0x84D6
346bf215546Sopenharmony_ci#define GL_TEXTURE23                      0x84D7
347bf215546Sopenharmony_ci#define GL_TEXTURE24                      0x84D8
348bf215546Sopenharmony_ci#define GL_TEXTURE25                      0x84D9
349bf215546Sopenharmony_ci#define GL_TEXTURE26                      0x84DA
350bf215546Sopenharmony_ci#define GL_TEXTURE27                      0x84DB
351bf215546Sopenharmony_ci#define GL_TEXTURE28                      0x84DC
352bf215546Sopenharmony_ci#define GL_TEXTURE29                      0x84DD
353bf215546Sopenharmony_ci#define GL_TEXTURE30                      0x84DE
354bf215546Sopenharmony_ci#define GL_TEXTURE31                      0x84DF
355bf215546Sopenharmony_ci#define GL_ACTIVE_TEXTURE                 0x84E0
356bf215546Sopenharmony_ci#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
357bf215546Sopenharmony_ci#define GL_REPEAT                         0x2901
358bf215546Sopenharmony_ci#define GL_CLAMP_TO_EDGE                  0x812F
359bf215546Sopenharmony_ci#define GL_LIGHT0                         0x4000
360bf215546Sopenharmony_ci#define GL_LIGHT1                         0x4001
361bf215546Sopenharmony_ci#define GL_LIGHT2                         0x4002
362bf215546Sopenharmony_ci#define GL_LIGHT3                         0x4003
363bf215546Sopenharmony_ci#define GL_LIGHT4                         0x4004
364bf215546Sopenharmony_ci#define GL_LIGHT5                         0x4005
365bf215546Sopenharmony_ci#define GL_LIGHT6                         0x4006
366bf215546Sopenharmony_ci#define GL_LIGHT7                         0x4007
367bf215546Sopenharmony_ci#define GL_ARRAY_BUFFER                   0x8892
368bf215546Sopenharmony_ci#define GL_ELEMENT_ARRAY_BUFFER           0x8893
369bf215546Sopenharmony_ci#define GL_ARRAY_BUFFER_BINDING           0x8894
370bf215546Sopenharmony_ci#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
371bf215546Sopenharmony_ci#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
372bf215546Sopenharmony_ci#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
373bf215546Sopenharmony_ci#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
374bf215546Sopenharmony_ci#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
375bf215546Sopenharmony_ci#define GL_STATIC_DRAW                    0x88E4
376bf215546Sopenharmony_ci#define GL_DYNAMIC_DRAW                   0x88E8
377bf215546Sopenharmony_ci#define GL_BUFFER_SIZE                    0x8764
378bf215546Sopenharmony_ci#define GL_BUFFER_USAGE                   0x8765
379bf215546Sopenharmony_ci#define GL_SUBTRACT                       0x84E7
380bf215546Sopenharmony_ci#define GL_COMBINE                        0x8570
381bf215546Sopenharmony_ci#define GL_COMBINE_RGB                    0x8571
382bf215546Sopenharmony_ci#define GL_COMBINE_ALPHA                  0x8572
383bf215546Sopenharmony_ci#define GL_RGB_SCALE                      0x8573
384bf215546Sopenharmony_ci#define GL_ADD_SIGNED                     0x8574
385bf215546Sopenharmony_ci#define GL_INTERPOLATE                    0x8575
386bf215546Sopenharmony_ci#define GL_CONSTANT                       0x8576
387bf215546Sopenharmony_ci#define GL_PRIMARY_COLOR                  0x8577
388bf215546Sopenharmony_ci#define GL_PREVIOUS                       0x8578
389bf215546Sopenharmony_ci#define GL_OPERAND0_RGB                   0x8590
390bf215546Sopenharmony_ci#define GL_OPERAND1_RGB                   0x8591
391bf215546Sopenharmony_ci#define GL_OPERAND2_RGB                   0x8592
392bf215546Sopenharmony_ci#define GL_OPERAND0_ALPHA                 0x8598
393bf215546Sopenharmony_ci#define GL_OPERAND1_ALPHA                 0x8599
394bf215546Sopenharmony_ci#define GL_OPERAND2_ALPHA                 0x859A
395bf215546Sopenharmony_ci#define GL_ALPHA_SCALE                    0x0D1C
396bf215546Sopenharmony_ci#define GL_SRC0_RGB                       0x8580
397bf215546Sopenharmony_ci#define GL_SRC1_RGB                       0x8581
398bf215546Sopenharmony_ci#define GL_SRC2_RGB                       0x8582
399bf215546Sopenharmony_ci#define GL_SRC0_ALPHA                     0x8588
400bf215546Sopenharmony_ci#define GL_SRC1_ALPHA                     0x8589
401bf215546Sopenharmony_ci#define GL_SRC2_ALPHA                     0x858A
402bf215546Sopenharmony_ci#define GL_DOT3_RGB                       0x86AE
403bf215546Sopenharmony_ci#define GL_DOT3_RGBA                      0x86AF
404bf215546Sopenharmony_ciGL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLfloat ref);
405bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
406bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClearDepthf (GLfloat d);
407bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClipPlanef (GLenum p, const GLfloat *eqn);
408bf215546Sopenharmony_ciGL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
409bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f);
410bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param);
411bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params);
412bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFrustumf (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
413bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetClipPlanef (GLenum plane, GLfloat *equation);
414bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
415bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
416bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
417bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
418bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
419bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param);
420bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
421bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
422bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
423bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLineWidth (GLfloat width);
424bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m);
425bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
426bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
427bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m);
428bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
429bf215546Sopenharmony_ciGL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
430bf215546Sopenharmony_ciGL_API void GL_APIENTRY glOrthof (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
431bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param);
432bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
433bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointSize (GLfloat size);
434bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
435bf215546Sopenharmony_ciGL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
436bf215546Sopenharmony_ciGL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
437bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
438bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
439bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
440bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
441bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
442bf215546Sopenharmony_ciGL_API void GL_APIENTRY glActiveTexture (GLenum texture);
443bf215546Sopenharmony_ciGL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLfixed ref);
444bf215546Sopenharmony_ciGL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
445bf215546Sopenharmony_ciGL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
446bf215546Sopenharmony_ciGL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
447bf215546Sopenharmony_ciGL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
448bf215546Sopenharmony_ciGL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
449bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClear (GLbitfield mask);
450bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClearColorx (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
451bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClearDepthx (GLfixed depth);
452bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClearStencil (GLint s);
453bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClientActiveTexture (GLenum texture);
454bf215546Sopenharmony_ciGL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
455bf215546Sopenharmony_ciGL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
456bf215546Sopenharmony_ciGL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
457bf215546Sopenharmony_ciGL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
458bf215546Sopenharmony_ciGL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
459bf215546Sopenharmony_ciGL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
460bf215546Sopenharmony_ciGL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
461bf215546Sopenharmony_ciGL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
462bf215546Sopenharmony_ciGL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
463bf215546Sopenharmony_ciGL_API void GL_APIENTRY glCullFace (GLenum mode);
464bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
465bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
466bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDepthFunc (GLenum func);
467bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDepthMask (GLboolean flag);
468bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDepthRangex (GLfixed n, GLfixed f);
469bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDisable (GLenum cap);
470bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDisableClientState (GLenum array);
471bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
472bf215546Sopenharmony_ciGL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
473bf215546Sopenharmony_ciGL_API void GL_APIENTRY glEnable (GLenum cap);
474bf215546Sopenharmony_ciGL_API void GL_APIENTRY glEnableClientState (GLenum array);
475bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFinish (void);
476bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFlush (void);
477bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param);
478bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *param);
479bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFrontFace (GLenum mode);
480bf215546Sopenharmony_ciGL_API void GL_APIENTRY glFrustumx (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
481bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
482bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
483bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetClipPlanex (GLenum plane, GLfixed *equation);
484bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
485bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
486bf215546Sopenharmony_ciGL_API GLenum GL_APIENTRY glGetError (void);
487bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params);
488bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data);
489bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params);
490bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params);
491bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params);
492bf215546Sopenharmony_ciGL_API const GLubyte *GL_APIENTRY glGetString (GLenum name);
493bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
494bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetTexEnvxv (GLenum target, GLenum pname, GLfixed *params);
495bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
496bf215546Sopenharmony_ciGL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params);
497bf215546Sopenharmony_ciGL_API void GL_APIENTRY glHint (GLenum target, GLenum mode);
498bf215546Sopenharmony_ciGL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);
499bf215546Sopenharmony_ciGL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
500bf215546Sopenharmony_ciGL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture);
501bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param);
502bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *param);
503bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param);
504bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params);
505bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLineWidthx (GLfixed width);
506bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLoadIdentity (void);
507bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m);
508bf215546Sopenharmony_ciGL_API void GL_APIENTRY glLogicOp (GLenum opcode);
509bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param);
510bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *param);
511bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMatrixMode (GLenum mode);
512bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m);
513bf215546Sopenharmony_ciGL_API void GL_APIENTRY glMultiTexCoord4x (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
514bf215546Sopenharmony_ciGL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz);
515bf215546Sopenharmony_ciGL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer);
516bf215546Sopenharmony_ciGL_API void GL_APIENTRY glOrthox (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
517bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
518bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param);
519bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params);
520bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointSizex (GLfixed size);
521bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
522bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPopMatrix (void);
523bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPushMatrix (void);
524bf215546Sopenharmony_ciGL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
525bf215546Sopenharmony_ciGL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
526bf215546Sopenharmony_ciGL_API void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
527bf215546Sopenharmony_ciGL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert);
528bf215546Sopenharmony_ciGL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z);
529bf215546Sopenharmony_ciGL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
530bf215546Sopenharmony_ciGL_API void GL_APIENTRY glShadeModel (GLenum mode);
531bf215546Sopenharmony_ciGL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
532bf215546Sopenharmony_ciGL_API void GL_APIENTRY glStencilMask (GLuint mask);
533bf215546Sopenharmony_ciGL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
534bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
535bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
536bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param);
537bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
538bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params);
539bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
540bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
541bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param);
542bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
543bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params);
544bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
545bf215546Sopenharmony_ciGL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z);
546bf215546Sopenharmony_ciGL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
547bf215546Sopenharmony_ciGL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
548bf215546Sopenharmony_ci#endif /* GL_VERSION_ES_CM_1_0 */
549bf215546Sopenharmony_ci
550bf215546Sopenharmony_ci#ifndef GL_OES_compressed_paletted_texture
551bf215546Sopenharmony_ci#define GL_OES_compressed_paletted_texture 1
552bf215546Sopenharmony_ci#define GL_PALETTE4_RGB8_OES              0x8B90
553bf215546Sopenharmony_ci#define GL_PALETTE4_RGBA8_OES             0x8B91
554bf215546Sopenharmony_ci#define GL_PALETTE4_R5_G6_B5_OES          0x8B92
555bf215546Sopenharmony_ci#define GL_PALETTE4_RGBA4_OES             0x8B93
556bf215546Sopenharmony_ci#define GL_PALETTE4_RGB5_A1_OES           0x8B94
557bf215546Sopenharmony_ci#define GL_PALETTE8_RGB8_OES              0x8B95
558bf215546Sopenharmony_ci#define GL_PALETTE8_RGBA8_OES             0x8B96
559bf215546Sopenharmony_ci#define GL_PALETTE8_R5_G6_B5_OES          0x8B97
560bf215546Sopenharmony_ci#define GL_PALETTE8_RGBA4_OES             0x8B98
561bf215546Sopenharmony_ci#define GL_PALETTE8_RGB5_A1_OES           0x8B99
562bf215546Sopenharmony_ci#endif /* GL_OES_compressed_paletted_texture */
563bf215546Sopenharmony_ci
564bf215546Sopenharmony_ci#ifndef GL_OES_point_size_array
565bf215546Sopenharmony_ci#define GL_OES_point_size_array 1
566bf215546Sopenharmony_ci#define GL_POINT_SIZE_ARRAY_OES           0x8B9C
567bf215546Sopenharmony_ci#define GL_POINT_SIZE_ARRAY_TYPE_OES      0x898A
568bf215546Sopenharmony_ci#define GL_POINT_SIZE_ARRAY_STRIDE_OES    0x898B
569bf215546Sopenharmony_ci#define GL_POINT_SIZE_ARRAY_POINTER_OES   0x898C
570bf215546Sopenharmony_ci#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F
571bf215546Sopenharmony_ciGL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const void *pointer);
572bf215546Sopenharmony_ci#endif /* GL_OES_point_size_array */
573bf215546Sopenharmony_ci
574bf215546Sopenharmony_ci#ifndef GL_OES_point_sprite
575bf215546Sopenharmony_ci#define GL_OES_point_sprite 1
576bf215546Sopenharmony_ci#define GL_POINT_SPRITE_OES               0x8861
577bf215546Sopenharmony_ci#define GL_COORD_REPLACE_OES              0x8862
578bf215546Sopenharmony_ci#endif /* GL_OES_point_sprite */
579bf215546Sopenharmony_ci
580bf215546Sopenharmony_ci#ifndef GL_OES_read_format
581bf215546Sopenharmony_ci#define GL_OES_read_format 1
582bf215546Sopenharmony_ci#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
583bf215546Sopenharmony_ci#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
584bf215546Sopenharmony_ci#endif /* GL_OES_read_format */
585bf215546Sopenharmony_ci
586bf215546Sopenharmony_ci#ifdef __cplusplus
587bf215546Sopenharmony_ci}
588bf215546Sopenharmony_ci#endif
589bf215546Sopenharmony_ci
590bf215546Sopenharmony_ci#endif
591