RetroArch
nx_gl.h
Go to the documentation of this file.
1 /* Copyright (C) 2018 The RetroArch team
2  *
3  * ---------------------------------------------------------------------------------------
4  * The following license statement only applies to this libretro SDK code part (nx_gl.h).
5  * ---------------------------------------------------------------------------------------
6  *
7  * Permission is hereby granted, free of charge,
8  * to any person obtaining a copy of this software and associated documentation files (the "Software"),
9  * to deal in the Software without restriction, including without limitation the rights to
10  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
11  * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
16  * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21  */
22 
23 #ifndef __NX_GL_H__
24 #define __NX_GL_H__
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #ifndef APIENTRY
31 #define APIENTRY
32 #endif
33 
34 #ifndef APIENTRYP
35 #define APIENTRYP APIENTRY *
36 #endif
37 
38 // GL.h types
39 typedef unsigned int GLenum;
40 typedef unsigned char GLboolean;
41 typedef unsigned int GLbitfield;
42 typedef void GLvoid;
43 typedef signed char GLbyte; /* 1-byte signed */
44 typedef short GLshort; /* 2-byte signed */
45 typedef int GLint; /* 4-byte signed */
46 typedef unsigned char GLubyte; /* 1-byte unsigned */
47 typedef unsigned short GLushort; /* 2-byte unsigned */
48 typedef unsigned int GLuint; /* 4-byte unsigned */
49 typedef int GLsizei; /* 4-byte signed */
50 typedef float GLfloat; /* single precision float */
51 typedef float GLclampf; /* single precision float in [0,1] */
52 typedef double GLdouble; /* double precision float */
53 typedef double GLclampd; /* double precision float in [0,1] */
54 
55 // GL.h defines
56 #define GL_ARB_imaging 1
57 #define GL_FALSE 0
58 #define GL_TRUE 1
59 #define GL_BYTE 0x1400
60 #define GL_UNSIGNED_BYTE 0x1401
61 #define GL_SHORT 0x1402
62 #define GL_UNSIGNED_SHORT 0x1403
63 #define GL_INT 0x1404
64 #define GL_UNSIGNED_INT 0x1405
65 #define GL_FLOAT 0x1406
66 #define GL_2_BYTES 0x1407
67 #define GL_3_BYTES 0x1408
68 #define GL_4_BYTES 0x1409
69 #define GL_DOUBLE 0x140A
70 #define GL_POINTS 0x0000
71 #define GL_LINES 0x0001
72 #define GL_LINE_LOOP 0x0002
73 #define GL_LINE_STRIP 0x0003
74 #define GL_TRIANGLES 0x0004
75 #define GL_TRIANGLE_STRIP 0x0005
76 #define GL_TRIANGLE_FAN 0x0006
77 #define GL_QUADS 0x0007
78 #define GL_QUAD_STRIP 0x0008
79 #define GL_POLYGON 0x0009
80 #define GL_VERTEX_ARRAY 0x8074
81 #define GL_NORMAL_ARRAY 0x8075
82 #define GL_COLOR_ARRAY 0x8076
83 #define GL_INDEX_ARRAY 0x8077
84 #define GL_TEXTURE_COORD_ARRAY 0x8078
85 #define GL_EDGE_FLAG_ARRAY 0x8079
86 #define GL_VERTEX_ARRAY_SIZE 0x807A
87 #define GL_VERTEX_ARRAY_TYPE 0x807B
88 #define GL_VERTEX_ARRAY_STRIDE 0x807C
89 #define GL_NORMAL_ARRAY_TYPE 0x807E
90 #define GL_NORMAL_ARRAY_STRIDE 0x807F
91 #define GL_COLOR_ARRAY_SIZE 0x8081
92 #define GL_COLOR_ARRAY_TYPE 0x8082
93 #define GL_COLOR_ARRAY_STRIDE 0x8083
94 #define GL_INDEX_ARRAY_TYPE 0x8085
95 #define GL_INDEX_ARRAY_STRIDE 0x8086
96 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
97 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
98 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
99 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
100 #define GL_VERTEX_ARRAY_POINTER 0x808E
101 #define GL_NORMAL_ARRAY_POINTER 0x808F
102 #define GL_COLOR_ARRAY_POINTER 0x8090
103 #define GL_INDEX_ARRAY_POINTER 0x8091
104 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
105 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
106 #define GL_V2F 0x2A20
107 #define GL_V3F 0x2A21
108 #define GL_C4UB_V2F 0x2A22
109 #define GL_C4UB_V3F 0x2A23
110 #define GL_C3F_V3F 0x2A24
111 #define GL_N3F_V3F 0x2A25
112 #define GL_C4F_N3F_V3F 0x2A26
113 #define GL_T2F_V3F 0x2A27
114 #define GL_T4F_V4F 0x2A28
115 #define GL_T2F_C4UB_V3F 0x2A29
116 #define GL_T2F_C3F_V3F 0x2A2A
117 #define GL_T2F_N3F_V3F 0x2A2B
118 #define GL_T2F_C4F_N3F_V3F 0x2A2C
119 #define GL_T4F_C4F_N3F_V4F 0x2A2D
120 #define GL_MATRIX_MODE 0x0BA0
121 #define GL_MODELVIEW 0x1700
122 #define GL_PROJECTION 0x1701
123 #define GL_TEXTURE 0x1702
124 #define GL_POINT_SMOOTH 0x0B10
125 #define GL_POINT_SIZE 0x0B11
126 #define GL_POINT_SIZE_GRANULARITY 0x0B13
127 #define GL_POINT_SIZE_RANGE 0x0B12
128 #define GL_LINE_SMOOTH 0x0B20
129 #define GL_LINE_STIPPLE 0x0B24
130 #define GL_LINE_STIPPLE_PATTERN 0x0B25
131 #define GL_LINE_STIPPLE_REPEAT 0x0B26
132 #define GL_LINE_WIDTH 0x0B21
133 #define GL_LINE_WIDTH_GRANULARITY 0x0B23
134 #define GL_LINE_WIDTH_RANGE 0x0B22
135 #define GL_POINT 0x1B00
136 #define GL_LINE 0x1B01
137 #define GL_FILL 0x1B02
138 #define GL_CW 0x0900
139 #define GL_CCW 0x0901
140 #define GL_FRONT 0x0404
141 #define GL_BACK 0x0405
142 #define GL_POLYGON_MODE 0x0B40
143 #define GL_POLYGON_SMOOTH 0x0B41
144 #define GL_POLYGON_STIPPLE 0x0B42
145 #define GL_EDGE_FLAG 0x0B43
146 #define GL_CULL_FACE 0x0B44
147 #define GL_CULL_FACE_MODE 0x0B45
148 #define GL_FRONT_FACE 0x0B46
149 #define GL_POLYGON_OFFSET_FACTOR 0x8038
150 #define GL_POLYGON_OFFSET_UNITS 0x2A00
151 #define GL_POLYGON_OFFSET_POINT 0x2A01
152 #define GL_POLYGON_OFFSET_LINE 0x2A02
153 #define GL_POLYGON_OFFSET_FILL 0x8037
154 #define GL_COMPILE 0x1300
155 #define GL_COMPILE_AND_EXECUTE 0x1301
156 #define GL_LIST_BASE 0x0B32
157 #define GL_LIST_INDEX 0x0B33
158 #define GL_LIST_MODE 0x0B30
159 #define GL_NEVER 0x0200
160 #define GL_LESS 0x0201
161 #define GL_EQUAL 0x0202
162 #define GL_LEQUAL 0x0203
163 #define GL_GREATER 0x0204
164 #define GL_NOTEQUAL 0x0205
165 #define GL_GEQUAL 0x0206
166 #define GL_ALWAYS 0x0207
167 #define GL_DEPTH_TEST 0x0B71
168 #define GL_DEPTH_BITS 0x0D56
169 #define GL_DEPTH_CLEAR_VALUE 0x0B73
170 #define GL_DEPTH_FUNC 0x0B74
171 #define GL_DEPTH_RANGE 0x0B70
172 #define GL_DEPTH_WRITEMASK 0x0B72
173 #define GL_DEPTH_COMPONENT 0x1902
174 #define GL_LIGHTING 0x0B50
175 #define GL_LIGHT0 0x4000
176 #define GL_LIGHT1 0x4001
177 #define GL_LIGHT2 0x4002
178 #define GL_LIGHT3 0x4003
179 #define GL_LIGHT4 0x4004
180 #define GL_LIGHT5 0x4005
181 #define GL_LIGHT6 0x4006
182 #define GL_LIGHT7 0x4007
183 #define GL_SPOT_EXPONENT 0x1205
184 #define GL_SPOT_CUTOFF 0x1206
185 #define GL_CONSTANT_ATTENUATION 0x1207
186 #define GL_LINEAR_ATTENUATION 0x1208
187 #define GL_QUADRATIC_ATTENUATION 0x1209
188 #define GL_AMBIENT 0x1200
189 #define GL_DIFFUSE 0x1201
190 #define GL_SPECULAR 0x1202
191 #define GL_SHININESS 0x1601
192 #define GL_EMISSION 0x1600
193 #define GL_POSITION 0x1203
194 #define GL_SPOT_DIRECTION 0x1204
195 #define GL_AMBIENT_AND_DIFFUSE 0x1602
196 #define GL_COLOR_INDEXES 0x1603
197 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
198 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
199 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
200 #define GL_FRONT_AND_BACK 0x0408
201 #define GL_SHADE_MODEL 0x0B54
202 #define GL_FLAT 0x1D00
203 #define GL_SMOOTH 0x1D01
204 #define GL_COLOR_MATERIAL 0x0B57
205 #define GL_COLOR_MATERIAL_FACE 0x0B55
206 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
207 #define GL_NORMALIZE 0x0BA1
208 #define GL_CLIP_PLANE0 0x3000
209 #define GL_CLIP_PLANE1 0x3001
210 #define GL_CLIP_PLANE2 0x3002
211 #define GL_CLIP_PLANE3 0x3003
212 #define GL_CLIP_PLANE4 0x3004
213 #define GL_CLIP_PLANE5 0x3005
214 #define GL_ACCUM_RED_BITS 0x0D58
215 #define GL_ACCUM_GREEN_BITS 0x0D59
216 #define GL_ACCUM_BLUE_BITS 0x0D5A
217 #define GL_ACCUM_ALPHA_BITS 0x0D5B
218 #define GL_ACCUM_CLEAR_VALUE 0x0B80
219 #define GL_ACCUM 0x0100
220 #define GL_ADD 0x0104
221 #define GL_LOAD 0x0101
222 #define GL_MULT 0x0103
223 #define GL_RETURN 0x0102
224 #define GL_ALPHA_TEST 0x0BC0
225 #define GL_ALPHA_TEST_REF 0x0BC2
226 #define GL_ALPHA_TEST_FUNC 0x0BC1
227 #define GL_BLEND 0x0BE2
228 #define GL_BLEND_SRC 0x0BE1
229 #define GL_BLEND_DST 0x0BE0
230 #define GL_ZERO 0
231 #define GL_ONE 1
232 #define GL_SRC_COLOR 0x0300
233 #define GL_ONE_MINUS_SRC_COLOR 0x0301
234 #define GL_SRC_ALPHA 0x0302
235 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
236 #define GL_DST_ALPHA 0x0304
237 #define GL_ONE_MINUS_DST_ALPHA 0x0305
238 #define GL_DST_COLOR 0x0306
239 #define GL_ONE_MINUS_DST_COLOR 0x0307
240 #define GL_SRC_ALPHA_SATURATE 0x0308
241 #define GL_FEEDBACK 0x1C01
242 #define GL_RENDER 0x1C00
243 #define GL_SELECT 0x1C02
244 #define GL_2D 0x0600
245 #define GL_3D 0x0601
246 #define GL_3D_COLOR 0x0602
247 #define GL_3D_COLOR_TEXTURE 0x0603
248 #define GL_4D_COLOR_TEXTURE 0x0604
249 #define GL_POINT_TOKEN 0x0701
250 #define GL_LINE_TOKEN 0x0702
251 #define GL_LINE_RESET_TOKEN 0x0707
252 #define GL_POLYGON_TOKEN 0x0703
253 #define GL_BITMAP_TOKEN 0x0704
254 #define GL_DRAW_PIXEL_TOKEN 0x0705
255 #define GL_COPY_PIXEL_TOKEN 0x0706
256 #define GL_PASS_THROUGH_TOKEN 0x0700
257 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
258 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
259 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
260 #define GL_SELECTION_BUFFER_POINTER 0x0DF3
261 #define GL_SELECTION_BUFFER_SIZE 0x0DF4
262 #define GL_FOG 0x0B60
263 #define GL_FOG_MODE 0x0B65
264 #define GL_FOG_DENSITY 0x0B62
265 #define GL_FOG_COLOR 0x0B66
266 #define GL_FOG_INDEX 0x0B61
267 #define GL_FOG_START 0x0B63
268 #define GL_FOG_END 0x0B64
269 #define GL_LINEAR 0x2601
270 #define GL_EXP 0x0800
271 #define GL_EXP2 0x0801
272 #define GL_LOGIC_OP 0x0BF1
273 #define GL_INDEX_LOGIC_OP 0x0BF1
274 #define GL_COLOR_LOGIC_OP 0x0BF2
275 #define GL_LOGIC_OP_MODE 0x0BF0
276 #define GL_CLEAR 0x1500
277 #define GL_SET 0x150F
278 #define GL_COPY 0x1503
279 #define GL_COPY_INVERTED 0x150C
280 #define GL_NOOP 0x1505
281 #define GL_INVERT 0x150A
282 #define GL_AND 0x1501
283 #define GL_NAND 0x150E
284 #define GL_OR 0x1507
285 #define GL_NOR 0x1508
286 #define GL_XOR 0x1506
287 #define GL_EQUIV 0x1509
288 #define GL_AND_REVERSE 0x1502
289 #define GL_AND_INVERTED 0x1504
290 #define GL_OR_REVERSE 0x150B
291 #define GL_OR_INVERTED 0x150D
292 #define GL_STENCIL_BITS 0x0D57
293 #define GL_STENCIL_TEST 0x0B90
294 #define GL_STENCIL_CLEAR_VALUE 0x0B91
295 #define GL_STENCIL_FUNC 0x0B92
296 #define GL_STENCIL_VALUE_MASK 0x0B93
297 #define GL_STENCIL_FAIL 0x0B94
298 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
299 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
300 #define GL_STENCIL_REF 0x0B97
301 #define GL_STENCIL_WRITEMASK 0x0B98
302 #define GL_STENCIL_INDEX 0x1901
303 #define GL_KEEP 0x1E00
304 #define GL_REPLACE 0x1E01
305 #define GL_INCR 0x1E02
306 #define GL_DECR 0x1E03
307 #define GL_NONE 0
308 #define GL_LEFT 0x0406
309 #define GL_RIGHT 0x0407
310 #define GL_FRONT_LEFT 0x0400
311 #define GL_FRONT_RIGHT 0x0401
312 #define GL_BACK_LEFT 0x0402
313 #define GL_BACK_RIGHT 0x0403
314 #define GL_AUX0 0x0409
315 #define GL_AUX1 0x040A
316 #define GL_AUX2 0x040B
317 #define GL_AUX3 0x040C
318 #define GL_COLOR_INDEX 0x1900
319 #define GL_RED 0x1903
320 #define GL_GREEN 0x1904
321 #define GL_BLUE 0x1905
322 #define GL_ALPHA 0x1906
323 #define GL_LUMINANCE 0x1909
324 #define GL_LUMINANCE_ALPHA 0x190A
325 #define GL_ALPHA_BITS 0x0D55
326 #define GL_RED_BITS 0x0D52
327 #define GL_GREEN_BITS 0x0D53
328 #define GL_BLUE_BITS 0x0D54
329 #define GL_INDEX_BITS 0x0D51
330 #define GL_SUBPIXEL_BITS 0x0D50
331 #define GL_AUX_BUFFERS 0x0C00
332 #define GL_READ_BUFFER 0x0C02
333 #define GL_DRAW_BUFFER 0x0C01
334 #define GL_DOUBLEBUFFER 0x0C32
335 #define GL_STEREO 0x0C33
336 #define GL_BITMAP 0x1A00
337 #define GL_COLOR 0x1800
338 #define GL_DEPTH 0x1801
339 #define GL_STENCIL 0x1802
340 #define GL_DITHER 0x0BD0
341 #define GL_RGB 0x1907
342 #define GL_RGBA 0x1908
343 #define GL_MAX_LIST_NESTING 0x0B31
344 #define GL_MAX_EVAL_ORDER 0x0D30
345 #define GL_MAX_LIGHTS 0x0D31
346 #define GL_MAX_CLIP_PLANES 0x0D32
347 #define GL_MAX_TEXTURE_SIZE 0x0D33
348 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
349 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
350 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
351 #define GL_MAX_NAME_STACK_DEPTH 0x0D37
352 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
353 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
354 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
355 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
356 #define GL_ATTRIB_STACK_DEPTH 0x0BB0
357 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
358 #define GL_COLOR_CLEAR_VALUE 0x0C22
359 #define GL_COLOR_WRITEMASK 0x0C23
360 #define GL_CURRENT_INDEX 0x0B01
361 #define GL_CURRENT_COLOR 0x0B00
362 #define GL_CURRENT_NORMAL 0x0B02
363 #define GL_CURRENT_RASTER_COLOR 0x0B04
364 #define GL_CURRENT_RASTER_DISTANCE 0x0B09
365 #define GL_CURRENT_RASTER_INDEX 0x0B05
366 #define GL_CURRENT_RASTER_POSITION 0x0B07
367 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
368 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
369 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
370 #define GL_INDEX_CLEAR_VALUE 0x0C20
371 #define GL_INDEX_MODE 0x0C30
372 #define GL_INDEX_WRITEMASK 0x0C21
373 #define GL_MODELVIEW_MATRIX 0x0BA6
374 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
375 #define GL_NAME_STACK_DEPTH 0x0D70
376 #define GL_PROJECTION_MATRIX 0x0BA7
377 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
378 #define GL_RENDER_MODE 0x0C40
379 #define GL_RGBA_MODE 0x0C31
380 #define GL_TEXTURE_MATRIX 0x0BA8
381 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
382 #define GL_VIEWPORT 0x0BA2
383 #define GL_AUTO_NORMAL 0x0D80
384 #define GL_MAP1_COLOR_4 0x0D90
385 #define GL_MAP1_INDEX 0x0D91
386 #define GL_MAP1_NORMAL 0x0D92
387 #define GL_MAP1_TEXTURE_COORD_1 0x0D93
388 #define GL_MAP1_TEXTURE_COORD_2 0x0D94
389 #define GL_MAP1_TEXTURE_COORD_3 0x0D95
390 #define GL_MAP1_TEXTURE_COORD_4 0x0D96
391 #define GL_MAP1_VERTEX_3 0x0D97
392 #define GL_MAP1_VERTEX_4 0x0D98
393 #define GL_MAP2_COLOR_4 0x0DB0
394 #define GL_MAP2_INDEX 0x0DB1
395 #define GL_MAP2_NORMAL 0x0DB2
396 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
397 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
398 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
399 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
400 #define GL_MAP2_VERTEX_3 0x0DB7
401 #define GL_MAP2_VERTEX_4 0x0DB8
402 #define GL_MAP1_GRID_DOMAIN 0x0DD0
403 #define GL_MAP1_GRID_SEGMENTS 0x0DD1
404 #define GL_MAP2_GRID_DOMAIN 0x0DD2
405 #define GL_MAP2_GRID_SEGMENTS 0x0DD3
406 #define GL_COEFF 0x0A00
407 #define GL_ORDER 0x0A01
408 #define GL_DOMAIN 0x0A02
409 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
410 #define GL_POINT_SMOOTH_HINT 0x0C51
411 #define GL_LINE_SMOOTH_HINT 0x0C52
412 #define GL_POLYGON_SMOOTH_HINT 0x0C53
413 #define GL_FOG_HINT 0x0C54
414 #define GL_DONT_CARE 0x1100
415 #define GL_FASTEST 0x1101
416 #define GL_NICEST 0x1102
417 #define GL_SCISSOR_BOX 0x0C10
418 #define GL_SCISSOR_TEST 0x0C11
419 #define GL_MAP_COLOR 0x0D10
420 #define GL_MAP_STENCIL 0x0D11
421 #define GL_INDEX_SHIFT 0x0D12
422 #define GL_INDEX_OFFSET 0x0D13
423 #define GL_RED_SCALE 0x0D14
424 #define GL_RED_BIAS 0x0D15
425 #define GL_GREEN_SCALE 0x0D18
426 #define GL_GREEN_BIAS 0x0D19
427 #define GL_BLUE_SCALE 0x0D1A
428 #define GL_BLUE_BIAS 0x0D1B
429 #define GL_ALPHA_SCALE 0x0D1C
430 #define GL_ALPHA_BIAS 0x0D1D
431 #define GL_DEPTH_SCALE 0x0D1E
432 #define GL_DEPTH_BIAS 0x0D1F
433 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
434 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
435 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
436 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
437 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
438 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
439 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
440 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
441 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
442 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
443 #define GL_PIXEL_MAP_S_TO_S 0x0C71
444 #define GL_PIXEL_MAP_I_TO_I 0x0C70
445 #define GL_PIXEL_MAP_I_TO_R 0x0C72
446 #define GL_PIXEL_MAP_I_TO_G 0x0C73
447 #define GL_PIXEL_MAP_I_TO_B 0x0C74
448 #define GL_PIXEL_MAP_I_TO_A 0x0C75
449 #define GL_PIXEL_MAP_R_TO_R 0x0C76
450 #define GL_PIXEL_MAP_G_TO_G 0x0C77
451 #define GL_PIXEL_MAP_B_TO_B 0x0C78
452 #define GL_PIXEL_MAP_A_TO_A 0x0C79
453 #define GL_PACK_ALIGNMENT 0x0D05
454 #define GL_PACK_LSB_FIRST 0x0D01
455 #define GL_PACK_ROW_LENGTH 0x0D02
456 #define GL_PACK_SKIP_PIXELS 0x0D04
457 #define GL_PACK_SKIP_ROWS 0x0D03
458 #define GL_PACK_SWAP_BYTES 0x0D00
459 #define GL_UNPACK_ALIGNMENT 0x0CF5
460 #define GL_UNPACK_LSB_FIRST 0x0CF1
461 #define GL_UNPACK_ROW_LENGTH 0x0CF2
462 #define GL_UNPACK_SKIP_PIXELS 0x0CF4
463 #define GL_UNPACK_SKIP_ROWS 0x0CF3
464 #define GL_UNPACK_SWAP_BYTES 0x0CF0
465 #define GL_ZOOM_X 0x0D16
466 #define GL_ZOOM_Y 0x0D17
467 #define GL_TEXTURE_ENV 0x2300
468 #define GL_TEXTURE_ENV_MODE 0x2200
469 #define GL_TEXTURE_1D 0x0DE0
470 #define GL_TEXTURE_2D 0x0DE1
471 #define GL_TEXTURE_WRAP_S 0x2802
472 #define GL_TEXTURE_WRAP_T 0x2803
473 #define GL_TEXTURE_MAG_FILTER 0x2800
474 #define GL_TEXTURE_MIN_FILTER 0x2801
475 #define GL_TEXTURE_ENV_COLOR 0x2201
476 #define GL_TEXTURE_GEN_S 0x0C60
477 #define GL_TEXTURE_GEN_T 0x0C61
478 #define GL_TEXTURE_GEN_R 0x0C62
479 #define GL_TEXTURE_GEN_Q 0x0C63
480 #define GL_TEXTURE_GEN_MODE 0x2500
481 #define GL_TEXTURE_BORDER_COLOR 0x1004
482 #define GL_TEXTURE_WIDTH 0x1000
483 #define GL_TEXTURE_HEIGHT 0x1001
484 #define GL_TEXTURE_BORDER 0x1005
485 #define GL_TEXTURE_COMPONENTS 0x1003
486 #define GL_TEXTURE_RED_SIZE 0x805C
487 #define GL_TEXTURE_GREEN_SIZE 0x805D
488 #define GL_TEXTURE_BLUE_SIZE 0x805E
489 #define GL_TEXTURE_ALPHA_SIZE 0x805F
490 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
491 #define GL_TEXTURE_INTENSITY_SIZE 0x8061
492 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
493 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
494 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
495 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
496 #define GL_OBJECT_LINEAR 0x2401
497 #define GL_OBJECT_PLANE 0x2501
498 #define GL_EYE_LINEAR 0x2400
499 #define GL_EYE_PLANE 0x2502
500 #define GL_SPHERE_MAP 0x2402
501 #define GL_DECAL 0x2101
502 #define GL_MODULATE 0x2100
503 #define GL_NEAREST 0x2600
504 #define GL_REPEAT 0x2901
505 #define GL_CLAMP 0x2900
506 #define GL_S 0x2000
507 #define GL_T 0x2001
508 #define GL_R 0x2002
509 #define GL_Q 0x2003
510 #define GL_VENDOR 0x1F00
511 #define GL_RENDERER 0x1F01
512 #define GL_VERSION 0x1F02
513 #define GL_EXTENSIONS 0x1F03
514 #define GL_NO_ERROR 0
515 #define GL_INVALID_ENUM 0x0500
516 #define GL_INVALID_VALUE 0x0501
517 #define GL_INVALID_OPERATION 0x0502
518 #define GL_STACK_OVERFLOW 0x0503
519 #define GL_STACK_UNDERFLOW 0x0504
520 #define GL_OUT_OF_MEMORY 0x0505
521 #define GL_CURRENT_BIT 0x00000001
522 #define GL_POINT_BIT 0x00000002
523 #define GL_LINE_BIT 0x00000004
524 #define GL_POLYGON_BIT 0x00000008
525 #define GL_POLYGON_STIPPLE_BIT 0x00000010
526 #define GL_PIXEL_MODE_BIT 0x00000020
527 #define GL_LIGHTING_BIT 0x00000040
528 #define GL_FOG_BIT 0x00000080
529 #define GL_DEPTH_BUFFER_BIT 0x00000100
530 #define GL_ACCUM_BUFFER_BIT 0x00000200
531 #define GL_STENCIL_BUFFER_BIT 0x00000400
532 #define GL_VIEWPORT_BIT 0x00000800
533 #define GL_TRANSFORM_BIT 0x00001000
534 #define GL_ENABLE_BIT 0x00002000
535 #define GL_COLOR_BUFFER_BIT 0x00004000
536 #define GL_HINT_BIT 0x00008000
537 #define GL_EVAL_BIT 0x00010000
538 #define GL_LIST_BIT 0x00020000
539 #define GL_TEXTURE_BIT 0x00040000
540 #define GL_SCISSOR_BIT 0x00080000
541 #define GL_ALL_ATTRIB_BITS 0xFFFFFFFF
542 #define GL_PROXY_TEXTURE_1D 0x8063
543 #define GL_PROXY_TEXTURE_2D 0x8064
544 #define GL_TEXTURE_PRIORITY 0x8066
545 #define GL_TEXTURE_RESIDENT 0x8067
546 #define GL_TEXTURE_BINDING_1D 0x8068
547 #define GL_TEXTURE_BINDING_2D 0x8069
548 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
549 #define GL_ALPHA4 0x803B
550 #define GL_ALPHA8 0x803C
551 #define GL_ALPHA12 0x803D
552 #define GL_ALPHA16 0x803E
553 #define GL_LUMINANCE4 0x803F
554 #define GL_LUMINANCE8 0x8040
555 #define GL_LUMINANCE12 0x8041
556 #define GL_LUMINANCE16 0x8042
557 #define GL_LUMINANCE4_ALPHA4 0x8043
558 #define GL_LUMINANCE6_ALPHA2 0x8044
559 #define GL_LUMINANCE8_ALPHA8 0x8045
560 #define GL_LUMINANCE12_ALPHA4 0x8046
561 #define GL_LUMINANCE12_ALPHA12 0x8047
562 #define GL_LUMINANCE16_ALPHA16 0x8048
563 #define GL_INTENSITY 0x8049
564 #define GL_INTENSITY4 0x804A
565 #define GL_INTENSITY8 0x804B
566 #define GL_INTENSITY12 0x804C
567 #define GL_INTENSITY16 0x804D
568 #define GL_R3_G3_B2 0x2A10
569 #define GL_RGB4 0x804F
570 #define GL_RGB5 0x8050
571 #define GL_RGB8 0x8051
572 #define GL_RGB10 0x8052
573 #define GL_RGB12 0x8053
574 #define GL_RGB16 0x8054
575 #define GL_RGBA2 0x8055
576 #define GL_RGBA4 0x8056
577 #define GL_RGB5_A1 0x8057
578 #define GL_RGBA8 0x8058
579 #define GL_RGB10_A2 0x8059
580 #define GL_RGBA12 0x805A
581 #define GL_RGBA16 0x805B
582 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
583 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
584 #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF
585 #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
586 #define GL_RESCALE_NORMAL 0x803A
587 #define GL_CLAMP_TO_EDGE 0x812F
588 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
589 #define GL_MAX_ELEMENTS_INDICES 0x80E9
590 #define GL_BGR 0x80E0
591 #define GL_BGRA 0x80E1
592 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
593 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
594 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
595 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
596 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
597 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
598 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
599 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
600 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
601 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
602 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
603 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
604 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
605 #define GL_SINGLE_COLOR 0x81F9
606 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
607 #define GL_TEXTURE_MIN_LOD 0x813A
608 #define GL_TEXTURE_MAX_LOD 0x813B
609 #define GL_TEXTURE_BASE_LEVEL 0x813C
610 #define GL_TEXTURE_MAX_LEVEL 0x813D
611 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
612 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
613 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
614 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
615 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
616 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
617 #define GL_PACK_SKIP_IMAGES 0x806B
618 #define GL_PACK_IMAGE_HEIGHT 0x806C
619 #define GL_UNPACK_SKIP_IMAGES 0x806D
620 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
621 #define GL_TEXTURE_3D 0x806F
622 #define GL_PROXY_TEXTURE_3D 0x8070
623 #define GL_TEXTURE_DEPTH 0x8071
624 #define GL_TEXTURE_WRAP_R 0x8072
625 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
626 #define GL_TEXTURE_BINDING_3D 0x806A
627 #define GL_CONSTANT_COLOR 0x8001
628 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
629 #define GL_CONSTANT_ALPHA 0x8003
630 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
631 #define GL_COLOR_TABLE 0x80D0
632 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
633 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
634 #define GL_PROXY_COLOR_TABLE 0x80D3
635 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
636 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
637 #define GL_COLOR_TABLE_SCALE 0x80D6
638 #define GL_COLOR_TABLE_BIAS 0x80D7
639 #define GL_COLOR_TABLE_FORMAT 0x80D8
640 #define GL_COLOR_TABLE_WIDTH 0x80D9
641 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
642 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
643 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
644 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
645 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
646 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
647 #define GL_CONVOLUTION_1D 0x8010
648 #define GL_CONVOLUTION_2D 0x8011
649 #define GL_SEPARABLE_2D 0x8012
650 #define GL_CONVOLUTION_BORDER_MODE 0x8013
651 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
652 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
653 #define GL_REDUCE 0x8016
654 #define GL_CONVOLUTION_FORMAT 0x8017
655 #define GL_CONVOLUTION_WIDTH 0x8018
656 #define GL_CONVOLUTION_HEIGHT 0x8019
657 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
658 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
659 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
660 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
661 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
662 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
663 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
664 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
665 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
666 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
667 #define GL_CONSTANT_BORDER 0x8151
668 #define GL_REPLICATE_BORDER 0x8153
669 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
670 #define GL_COLOR_MATRIX 0x80B1
671 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
672 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
673 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
674 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
675 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
676 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
677 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
678 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
679 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
680 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
681 #define GL_HISTOGRAM 0x8024
682 #define GL_PROXY_HISTOGRAM 0x8025
683 #define GL_HISTOGRAM_WIDTH 0x8026
684 #define GL_HISTOGRAM_FORMAT 0x8027
685 #define GL_HISTOGRAM_RED_SIZE 0x8028
686 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
687 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
688 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
689 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
690 #define GL_HISTOGRAM_SINK 0x802D
691 #define GL_MINMAX 0x802E
692 #define GL_MINMAX_FORMAT 0x802F
693 #define GL_MINMAX_SINK 0x8030
694 #define GL_TABLE_TOO_LARGE 0x8031
695 #define GL_BLEND_EQUATION 0x8009
696 #define GL_MIN 0x8007
697 #define GL_MAX 0x8008
698 #define GL_FUNC_ADD 0x8006
699 #define GL_FUNC_SUBTRACT 0x800A
700 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
701 #define GL_BLEND_COLOR 0x8005
702 #define GL_TEXTURE0 0x84C0
703 #define GL_TEXTURE1 0x84C1
704 #define GL_TEXTURE2 0x84C2
705 #define GL_TEXTURE3 0x84C3
706 #define GL_TEXTURE4 0x84C4
707 #define GL_TEXTURE5 0x84C5
708 #define GL_TEXTURE6 0x84C6
709 #define GL_TEXTURE7 0x84C7
710 #define GL_TEXTURE8 0x84C8
711 #define GL_TEXTURE9 0x84C9
712 #define GL_TEXTURE10 0x84CA
713 #define GL_TEXTURE11 0x84CB
714 #define GL_TEXTURE12 0x84CC
715 #define GL_TEXTURE13 0x84CD
716 #define GL_TEXTURE14 0x84CE
717 #define GL_TEXTURE15 0x84CF
718 #define GL_TEXTURE16 0x84D0
719 #define GL_TEXTURE17 0x84D1
720 #define GL_TEXTURE18 0x84D2
721 #define GL_TEXTURE19 0x84D3
722 #define GL_TEXTURE20 0x84D4
723 #define GL_TEXTURE21 0x84D5
724 #define GL_TEXTURE22 0x84D6
725 #define GL_TEXTURE23 0x84D7
726 #define GL_TEXTURE24 0x84D8
727 #define GL_TEXTURE25 0x84D9
728 #define GL_TEXTURE26 0x84DA
729 #define GL_TEXTURE27 0x84DB
730 #define GL_TEXTURE28 0x84DC
731 #define GL_TEXTURE29 0x84DD
732 #define GL_TEXTURE30 0x84DE
733 #define GL_TEXTURE31 0x84DF
734 #define GL_ACTIVE_TEXTURE 0x84E0
735 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
736 #define GL_MAX_TEXTURE_UNITS 0x84E2
737 #define GL_NORMAL_MAP 0x8511
738 #define GL_REFLECTION_MAP 0x8512
739 #define GL_TEXTURE_CUBE_MAP 0x8513
740 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
741 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
742 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
743 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
744 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
745 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
746 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
747 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
748 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
749 #define GL_COMPRESSED_ALPHA 0x84E9
750 #define GL_COMPRESSED_LUMINANCE 0x84EA
751 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
752 #define GL_COMPRESSED_INTENSITY 0x84EC
753 #define GL_COMPRESSED_RGB 0x84ED
754 #define GL_COMPRESSED_RGBA 0x84EE
755 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
756 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
757 #define GL_TEXTURE_COMPRESSED 0x86A1
758 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
759 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
760 #define GL_MULTISAMPLE 0x809D
761 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
762 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
763 #define GL_SAMPLE_COVERAGE 0x80A0
764 #define GL_SAMPLE_BUFFERS 0x80A8
765 #define GL_SAMPLES 0x80A9
766 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
767 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
768 #define GL_MULTISAMPLE_BIT 0x20000000
769 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
770 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
771 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
772 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
773 #define GL_COMBINE 0x8570
774 #define GL_COMBINE_RGB 0x8571
775 #define GL_COMBINE_ALPHA 0x8572
776 #define GL_SOURCE0_RGB 0x8580
777 #define GL_SOURCE1_RGB 0x8581
778 #define GL_SOURCE2_RGB 0x8582
779 #define GL_SOURCE0_ALPHA 0x8588
780 #define GL_SOURCE1_ALPHA 0x8589
781 #define GL_SOURCE2_ALPHA 0x858A
782 #define GL_OPERAND0_RGB 0x8590
783 #define GL_OPERAND1_RGB 0x8591
784 #define GL_OPERAND2_RGB 0x8592
785 #define GL_OPERAND0_ALPHA 0x8598
786 #define GL_OPERAND1_ALPHA 0x8599
787 #define GL_OPERAND2_ALPHA 0x859A
788 #define GL_RGB_SCALE 0x8573
789 #define GL_ADD_SIGNED 0x8574
790 #define GL_INTERPOLATE 0x8575
791 #define GL_SUBTRACT 0x84E7
792 #define GL_CONSTANT 0x8576
793 #define GL_PRIMARY_COLOR 0x8577
794 #define GL_PREVIOUS 0x8578
795 #define GL_DOT3_RGB 0x86AE
796 #define GL_DOT3_RGBA 0x86AF
797 #define GL_CLAMP_TO_BORDER 0x812D
798 #define GL_ARB_multitexture 1
799 #define GL_TEXTURE0_ARB 0x84C0
800 #define GL_TEXTURE1_ARB 0x84C1
801 #define GL_TEXTURE2_ARB 0x84C2
802 #define GL_TEXTURE3_ARB 0x84C3
803 #define GL_TEXTURE4_ARB 0x84C4
804 #define GL_TEXTURE5_ARB 0x84C5
805 #define GL_TEXTURE6_ARB 0x84C6
806 #define GL_TEXTURE7_ARB 0x84C7
807 #define GL_TEXTURE8_ARB 0x84C8
808 #define GL_TEXTURE9_ARB 0x84C9
809 #define GL_TEXTURE10_ARB 0x84CA
810 #define GL_TEXTURE11_ARB 0x84CB
811 #define GL_TEXTURE12_ARB 0x84CC
812 #define GL_TEXTURE13_ARB 0x84CD
813 #define GL_TEXTURE14_ARB 0x84CE
814 #define GL_TEXTURE15_ARB 0x84CF
815 #define GL_TEXTURE16_ARB 0x84D0
816 #define GL_TEXTURE17_ARB 0x84D1
817 #define GL_TEXTURE18_ARB 0x84D2
818 #define GL_TEXTURE19_ARB 0x84D3
819 #define GL_TEXTURE20_ARB 0x84D4
820 #define GL_TEXTURE21_ARB 0x84D5
821 #define GL_TEXTURE22_ARB 0x84D6
822 #define GL_TEXTURE23_ARB 0x84D7
823 #define GL_TEXTURE24_ARB 0x84D8
824 #define GL_TEXTURE25_ARB 0x84D9
825 #define GL_TEXTURE26_ARB 0x84DA
826 #define GL_TEXTURE27_ARB 0x84DB
827 #define GL_TEXTURE28_ARB 0x84DC
828 #define GL_TEXTURE29_ARB 0x84DD
829 #define GL_TEXTURE30_ARB 0x84DE
830 #define GL_TEXTURE31_ARB 0x84DF
831 #define GL_ACTIVE_TEXTURE_ARB 0x84E0
832 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
833 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
834 #define GL_MESA_packed_depth_stencil 1
835 #define GL_DEPTH_STENCIL_MESA 0x8750
836 #define GL_UNSIGNED_INT_24_8_MESA 0x8751
837 #define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752
838 #define GL_UNSIGNED_SHORT_15_1_MESA 0x8753
839 #define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754
840 #define GL_ATI_blend_equation_separate 1
841 #define GL_ALPHA_BLEND_EQUATION_ATI 0x883D
842 #define GL_OES_EGL_image 1
843 
844 #ifdef __cplusplus
845 }
846 #endif
847 
848 #endif // __NX_GL_H__
unsigned char GLboolean
Definition: nx_gl.h:40
unsigned int GLbitfield
Definition: nx_gl.h:41
double GLdouble
Definition: nx_gl.h:52
unsigned char GLubyte
Definition: nx_gl.h:46
unsigned int GLuint
Definition: nx_gl.h:48
int GLsizei
Definition: nx_gl.h:49
unsigned short GLushort
Definition: nx_gl.h:47
signed char GLbyte
Definition: nx_gl.h:43
unsigned int GLenum
Definition: nx_gl.h:39
float GLclampf
Definition: nx_gl.h:51
float GLfloat
Definition: nx_gl.h:50
short GLshort
Definition: nx_gl.h:44
void GLvoid
Definition: nx_gl.h:42
double GLclampd
Definition: nx_gl.h:53
int GLint
Definition: nx_gl.h:45