18typedef unsigned int GLenum;
19typedef unsigned char GLboolean;
20typedef unsigned int GLbitfield;
25typedef unsigned char GLubyte;
26typedef unsigned short GLushort;
27typedef unsigned int GLuint;
30typedef float GLclampf;
31typedef float GLdouble;
32typedef float GLclampd;
40#define PS2GL_NOT_IMPLEMENTED 0x0011
48#define GL_UNSIGNED_BYTE 0x1401
49#define GL_SHORT 0x1402
50#define GL_UNSIGNED_SHORT 0x1403
52#define GL_UNSIGNED_INT 0x1405
53#define GL_FLOAT 0x1406
54#define GL_DOUBLE 0x140A
55#define GL_2_BYTES 0x1407
56#define GL_3_BYTES 0x1408
57#define GL_4_BYTES 0x1409
60#define GL_POINTS 0x0000
61#define GL_LINES 0x0001
62#define GL_LINE_STRIP 0x0002
63#define GL_TRIANGLES 0x0003
64#define GL_TRIANGLE_STRIP 0x0004
65#define GL_TRIANGLE_FAN 0x0005
66#define GL_QUADS (0x0008 | GL_TRIANGLE_STRIP)
67#define GL_QUAD_STRIP (0x0018 | GL_TRIANGLE_STRIP)
68#define GL_POLYGON (0x0008 | GL_TRIANGLE_FAN)
69#define GL_LINE_LOOP GL_LINE_STRIP
72#define GL_VERTEX_ARRAY 0x8074
73#define GL_NORMAL_ARRAY 0x8075
74#define GL_COLOR_ARRAY 0x8076
75#define GL_INDEX_ARRAY 0x8077
76#define GL_TEXTURE_COORD_ARRAY 0x8078
77#define GL_EDGE_FLAG_ARRAY 0x8079
78#define GL_VERTEX_ARRAY_SIZE 0x807A
79#define GL_VERTEX_ARRAY_TYPE 0x807B
80#define GL_VERTEX_ARRAY_STRIDE 0x807C
81#define GL_NORMAL_ARRAY_TYPE 0x807E
82#define GL_NORMAL_ARRAY_STRIDE 0x807F
83#define GL_COLOR_ARRAY_SIZE 0x8081
84#define GL_COLOR_ARRAY_TYPE 0x8082
85#define GL_COLOR_ARRAY_STRIDE 0x8083
86#define GL_INDEX_ARRAY_TYPE 0x8085
87#define GL_INDEX_ARRAY_STRIDE 0x8086
88#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
89#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
90#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
91#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
92#define GL_VERTEX_ARRAY_POINTER 0x808E
93#define GL_NORMAL_ARRAY_POINTER 0x808F
94#define GL_COLOR_ARRAY_POINTER 0x8090
95#define GL_INDEX_ARRAY_POINTER 0x8091
96#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
97#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
100#define GL_C4UB_V2F 0x2A22
101#define GL_C4UB_V3F 0x2A23
102#define GL_C3F_V3F 0x2A24
103#define GL_N3F_V3F 0x2A25
104#define GL_C4F_N3F_V3F 0x2A26
105#define GL_T2F_V3F 0x2A27
106#define GL_T4F_V4F 0x2A28
107#define GL_T2F_C4UB_V3F 0x2A29
108#define GL_T2F_C3F_V3F 0x2A2A
109#define GL_T2F_N3F_V3F 0x2A2B
110#define GL_T2F_C4F_N3F_V3F 0x2A2C
111#define GL_T4F_C4F_N3F_V4F 0x2A2D
114#define GL_MATRIX_MODE 0x0BA0
115#define GL_MODELVIEW 0x1700
116#define GL_PROJECTION 0x1701
117#define GL_TEXTURE 0x1702
120#define GL_POINT_SMOOTH 0x0B10
121#define GL_POINT_SIZE 0x0B11
122#define GL_POINT_SIZE_GRANULARITY 0x0B13
123#define GL_POINT_SIZE_RANGE 0x0B12
126#define GL_LINE_SMOOTH 0x0B20
127#define GL_LINE_STIPPLE 0x0B24
128#define GL_LINE_STIPPLE_PATTERN 0x0B25
129#define GL_LINE_STIPPLE_REPEAT 0x0B26
130#define GL_LINE_WIDTH 0x0B21
131#define GL_LINE_WIDTH_GRANULARITY 0x0B23
132#define GL_LINE_WIDTH_RANGE 0x0B22
135#define GL_POINT 0x1B00
136#define GL_LINE 0x1B02
137#define GL_FILL 0x1B03
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
156#define GL_COMPILE 0x1300
157#define GL_COMPILE_AND_EXECUTE 0x1301
158#define GL_LIST_BASE 0x0B32
159#define GL_LIST_INDEX 0x0B33
160#define GL_LIST_MODE 0x0B30
163#define GL_NEVER 0x0200
164#define GL_LESS 0x0201
165#define GL_EQUAL 0x0202
166#define GL_LEQUAL 0x0203
167#define GL_GREATER 0x0204
168#define GL_NOTEQUAL 0x0205
169#define GL_GEQUAL 0x0206
170#define GL_ALWAYS 0x0207
171#define GL_DEPTH_TEST 0x0B71
172#define GL_DEPTH_BITS 0x0D56
173#define GL_DEPTH_CLEAR_VALUE 0x0B73
174#define GL_DEPTH_FUNC 0x0B74
175#define GL_DEPTH_RANGE 0x0B70
176#define GL_DEPTH_WRITEMASK 0x0B72
177#define GL_DEPTH_COMPONENT 0x1902
180#define GL_LIGHTING 0x0B50
181#define GL_LIGHT0 0x0510
182#define GL_LIGHT1 0x0511
183#define GL_LIGHT2 0x0512
184#define GL_LIGHT3 0x0513
185#define GL_LIGHT4 0x0514
186#define GL_LIGHT5 0x0515
187#define GL_LIGHT6 0x0516
188#define GL_LIGHT7 0x0517
189#define GL_SPOT_EXPONENT 0x1205
190#define GL_SPOT_CUTOFF 0x1206
191#define GL_CONSTANT_ATTENUATION 0x1207
192#define GL_LINEAR_ATTENUATION 0x1208
193#define GL_QUADRATIC_ATTENUATION 0x1209
194#define GL_AMBIENT 0x1200
195#define GL_DIFFUSE 0x1201
196#define GL_SPECULAR 0x1202
197#define GL_SHININESS 0x1601
198#define GL_EMISSION 0x1600
199#define GL_POSITION 0x1203
200#define GL_SPOT_DIRECTION 0x1204
201#define GL_AMBIENT_AND_DIFFUSE 0x1602
202#define GL_COLOR_INDEXES 0x1603
203#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
204#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
205#define GL_LIGHT_MODEL_AMBIENT 0x0B53
206#define GL_FRONT_AND_BACK 0x0408
207#define GL_SHADE_MODEL 0x0B54
208#define GL_FLAT 0x1D00
209#define GL_SMOOTH 0x1D01
210#define GL_COLOR_MATERIAL 0x0B57
211#define GL_COLOR_MATERIAL_FACE 0x0B55
212#define GL_COLOR_MATERIAL_PARAMETER 0x0B56
213#define GL_NORMALIZE 0x0BA1
216#define GL_CLIP_PLANE0 0x3000
217#define GL_CLIP_PLANE1 0x3001
218#define GL_CLIP_PLANE2 0x3002
219#define GL_CLIP_PLANE3 0x3003
220#define GL_CLIP_PLANE4 0x3004
221#define GL_CLIP_PLANE5 0x3005
224#define GL_ACCUM_RED_BITS 0x0D58
225#define GL_ACCUM_GREEN_BITS 0x0D59
226#define GL_ACCUM_BLUE_BITS 0x0D5A
227#define GL_ACCUM_ALPHA_BITS 0x0D5B
228#define GL_ACCUM_CLEAR_VALUE 0x0B80
229#define GL_ACCUM 0x0100
231#define GL_LOAD 0x0101
232#define GL_MULT 0x0103
233#define GL_RETURN 0x0102
236#define GL_ALPHA_TEST 0x0BC0
237#define GL_ALPHA_TEST_REF 0x0BC2
238#define GL_ALPHA_TEST_FUNC 0x0BC1
241#define GL_BLEND 0x0BE2
242#define GL_BLEND_SRC 0x0BE1
243#define GL_BLEND_DST 0x0BE0
246#define GL_SRC_COLOR 0x0300
247#define GL_ONE_MINUS_SRC_COLOR 0x0301
248#define GL_DST_COLOR 0x0306
249#define GL_ONE_MINUS_DST_COLOR 0x0307
250#define GL_SRC_ALPHA 0x0302
251#define GL_ONE_MINUS_SRC_ALPHA 0x0303
252#define GL_DST_ALPHA 0x0304
253#define GL_ONE_MINUS_DST_ALPHA 0x0305
254#define GL_SRC_ALPHA_SATURATE 0x0308
255#define GL_CONSTANT_COLOR 0x8001
256#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
257#define GL_CONSTANT_ALPHA 0x8003
258#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
261#define GL_FEEDBACK 0x1C01
262#define GL_RENDER 0x1C00
263#define GL_SELECT 0x1C02
268#define GL_3D_COLOR 0x0602
269#define GL_3D_COLOR_TEXTURE 0x0603
270#define GL_4D_COLOR_TEXTURE 0x0604
271#define GL_POINT_TOKEN 0x0701
272#define GL_LINE_TOKEN 0x0702
273#define GL_LINE_RESET_TOKEN 0x0707
274#define GL_POLYGON_TOKEN 0x0703
275#define GL_BITMAP_TOKEN 0x0704
276#define GL_DRAW_PIXEL_TOKEN 0x0705
277#define GL_COPY_PIXEL_TOKEN 0x0706
278#define GL_PASS_THROUGH_TOKEN 0x0700
279#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
280#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
281#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
284#define GL_SELECTION_BUFFER_POINTER 0x0DF3
285#define GL_SELECTION_BUFFER_SIZE 0x0DF4
289#define GL_FOG_MODE 0x0B65
290#define GL_FOG_DENSITY 0x0B62
291#define GL_FOG_COLOR 0x0B66
292#define GL_FOG_INDEX 0x0B61
293#define GL_FOG_START 0x0B63
294#define GL_FOG_END 0x0B64
295#define GL_LINEAR 0x2601
297#define GL_EXP2 0x0801
300#define GL_LOGIC_OP 0x0BF1
301#define GL_INDEX_LOGIC_OP 0x0BF1
302#define GL_COLOR_LOGIC_OP 0x0BF2
303#define GL_LOGIC_OP_MODE 0x0BF0
304#define GL_CLEAR 0x1500
306#define GL_COPY 0x1503
307#define GL_COPY_INVERTED 0x150C
308#define GL_NOOP 0x1505
309#define GL_INVERT 0x150A
311#define GL_NAND 0x150E
315#define GL_EQUIV 0x1509
316#define GL_AND_REVERSE 0x1502
317#define GL_AND_INVERTED 0x1504
318#define GL_OR_REVERSE 0x150B
319#define GL_OR_INVERTED 0x150D
322#define GL_STENCIL_TEST 0x0B90
323#define GL_STENCIL_WRITEMASK 0x0B98
324#define GL_STENCIL_BITS 0x0D57
325#define GL_STENCIL_FUNC 0x0B92
326#define GL_STENCIL_VALUE_MASK 0x0B93
327#define GL_STENCIL_REF 0x0B97
328#define GL_STENCIL_FAIL 0x0B94
329#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
330#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
331#define GL_STENCIL_CLEAR_VALUE 0x0B91
332#define GL_STENCIL_INDEX 0x1901
333#define GL_KEEP 0x1E00
334#define GL_REPLACE 0x1E01
335#define GL_INCR 0x1E02
336#define GL_DECR 0x1E03
340#define GL_LEFT 0x0406
341#define GL_RIGHT 0x0407
345#define GL_FRONT_LEFT 0x0400
346#define GL_FRONT_RIGHT 0x0401
347#define GL_BACK_LEFT 0x0402
348#define GL_BACK_RIGHT 0x0403
349#define GL_AUX0 0x0409
350#define GL_AUX1 0x040A
351#define GL_AUX2 0x040B
352#define GL_AUX3 0x040C
353#define GL_COLOR_INDEX 0x1900
355#define GL_GREEN 0x1904
356#define GL_BLUE 0x1905
357#define GL_ALPHA 0x1906
358#define GL_LUMINANCE 0x1909
359#define GL_LUMINANCE_ALPHA 0x190A
360#define GL_ALPHA_BITS 0x0D55
361#define GL_RED_BITS 0x0D52
362#define GL_GREEN_BITS 0x0D53
363#define GL_BLUE_BITS 0x0D54
364#define GL_INDEX_BITS 0x0D51
365#define GL_SUBPIXEL_BITS 0x0D50
366#define GL_AUX_BUFFERS 0x0C00
367#define GL_READ_BUFFER 0x0C02
368#define GL_DRAW_BUFFER 0x0C01
369#define GL_DOUBLEBUFFER 0x0C32
370#define GL_STEREO 0x0C33
371#define GL_BITMAP 0x1A00
372#define GL_COLOR 0x1800
373#define GL_DEPTH 0x1801
374#define GL_STENCIL 0x1802
375#define GL_DITHER 0x0BD0
377#define GL_RGBA 0x1908
380#define GL_MAX_LIST_NESTING 0x0B31
381#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
382#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
383#define GL_MAX_NAME_STACK_DEPTH 0x0D37
384#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
385#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
386#define GL_MAX_EVAL_ORDER 0x0D30
387#define GL_MAX_LIGHTS 0x0D31
388#define GL_MAX_CLIP_PLANES 0x0D32
389#define GL_MAX_TEXTURE_SIZE 0x0D33
390#define GL_MAX_PIXEL_MAP_TABLE 0x0D34
391#define GL_MAX_VIEWPORT_DIMS 0x0D3A
392#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
395#define GL_ATTRIB_STACK_DEPTH 0x0BB0
396#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
397#define GL_COLOR_CLEAR_VALUE 0x0C22
398#define GL_COLOR_WRITEMASK 0x0C23
399#define GL_CURRENT_INDEX 0x0B01
400#define GL_CURRENT_COLOR 0x0B00
401#define GL_CURRENT_NORMAL 0x0B02
402#define GL_CURRENT_RASTER_COLOR 0x0B04
403#define GL_CURRENT_RASTER_DISTANCE 0x0B09
404#define GL_CURRENT_RASTER_INDEX 0x0B05
405#define GL_CURRENT_RASTER_POSITION 0x0B07
406#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
407#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
408#define GL_CURRENT_TEXTURE_COORDS 0x0B03
409#define GL_INDEX_CLEAR_VALUE 0x0C20
410#define GL_INDEX_MODE 0x0C30
411#define GL_INDEX_WRITEMASK 0x0C21
412#define GL_MODELVIEW_MATRIX 0x0BA6
413#define GL_MODELVIEW_STACK_DEPTH 0x0BA3
414#define GL_NAME_STACK_DEPTH 0x0D70
415#define GL_PROJECTION_MATRIX 0x0BA7
416#define GL_PROJECTION_STACK_DEPTH 0x0BA4
417#define GL_RENDER_MODE 0x0C40
418#define GL_RGBA_MODE 0x0C31
419#define GL_TEXTURE_MATRIX 0x0BA8
420#define GL_TEXTURE_STACK_DEPTH 0x0BA5
421#define GL_VIEWPORT 0x0BA2
424#define GL_AUTO_NORMAL 0x0D80
425#define GL_MAP1_COLOR_4 0x0D90
426#define GL_MAP1_GRID_DOMAIN 0x0DD0
427#define GL_MAP1_GRID_SEGMENTS 0x0DD1
428#define GL_MAP1_INDEX 0x0D91
429#define GL_MAP1_NORMAL 0x0D92
430#define GL_MAP1_TEXTURE_COORD_1 0x0D93
431#define GL_MAP1_TEXTURE_COORD_2 0x0D94
432#define GL_MAP1_TEXTURE_COORD_3 0x0D95
433#define GL_MAP1_TEXTURE_COORD_4 0x0D96
434#define GL_MAP1_VERTEX_3 0x0D97
435#define GL_MAP1_VERTEX_4 0x0D98
436#define GL_MAP2_COLOR_4 0x0DB0
437#define GL_MAP2_GRID_DOMAIN 0x0DD2
438#define GL_MAP2_GRID_SEGMENTS 0x0DD3
439#define GL_MAP2_INDEX 0x0DB1
440#define GL_MAP2_NORMAL 0x0DB2
441#define GL_MAP2_TEXTURE_COORD_1 0x0DB3
442#define GL_MAP2_TEXTURE_COORD_2 0x0DB4
443#define GL_MAP2_TEXTURE_COORD_3 0x0DB5
444#define GL_MAP2_TEXTURE_COORD_4 0x0DB6
445#define GL_MAP2_VERTEX_3 0x0DB7
446#define GL_MAP2_VERTEX_4 0x0DB8
447#define GL_COEFF 0x0A00
448#define GL_DOMAIN 0x0A02
449#define GL_ORDER 0x0A01
452#define GL_FOG_HINT 0x0C54
453#define GL_LINE_SMOOTH_HINT 0x0C52
454#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
455#define GL_POINT_SMOOTH_HINT 0x0C51
456#define GL_POLYGON_SMOOTH_HINT 0x0C53
457#define GL_DONT_CARE 0x1100
458#define GL_FASTEST 0x1101
459#define GL_NICEST 0x1102
462#define GL_SCISSOR_TEST 0x0C11
463#define GL_SCISSOR_BOX 0x0C10
466#define GL_MAP_COLOR 0x0D10
467#define GL_MAP_STENCIL 0x0D11
468#define GL_INDEX_SHIFT 0x0D12
469#define GL_INDEX_OFFSET 0x0D13
470#define GL_RED_SCALE 0x0D14
471#define GL_RED_BIAS 0x0D15
472#define GL_GREEN_SCALE 0x0D18
473#define GL_GREEN_BIAS 0x0D19
474#define GL_BLUE_SCALE 0x0D1A
475#define GL_BLUE_BIAS 0x0D1B
476#define GL_ALPHA_SCALE 0x0D1C
477#define GL_ALPHA_BIAS 0x0D1D
478#define GL_DEPTH_SCALE 0x0D1E
479#define GL_DEPTH_BIAS 0x0D1F
480#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
481#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
482#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
483#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
484#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
485#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
486#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
487#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
488#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
489#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
490#define GL_PIXEL_MAP_S_TO_S 0x0C71
491#define GL_PIXEL_MAP_I_TO_I 0x0C70
492#define GL_PIXEL_MAP_I_TO_R 0x0C72
493#define GL_PIXEL_MAP_I_TO_G 0x0C73
494#define GL_PIXEL_MAP_I_TO_B 0x0C74
495#define GL_PIXEL_MAP_I_TO_A 0x0C75
496#define GL_PIXEL_MAP_R_TO_R 0x0C76
497#define GL_PIXEL_MAP_G_TO_G 0x0C77
498#define GL_PIXEL_MAP_B_TO_B 0x0C78
499#define GL_PIXEL_MAP_A_TO_A 0x0C79
500#define GL_PACK_ALIGNMENT 0x0D05
501#define GL_PACK_LSB_FIRST 0x0D01
502#define GL_PACK_ROW_LENGTH 0x0D02
503#define GL_PACK_SKIP_PIXELS 0x0D04
504#define GL_PACK_SKIP_ROWS 0x0D03
505#define GL_PACK_SWAP_BYTES 0x0D00
506#define GL_UNPACK_ALIGNMENT 0x0CF5
507#define GL_UNPACK_LSB_FIRST 0x0CF1
508#define GL_UNPACK_ROW_LENGTH 0x0CF2
509#define GL_UNPACK_SKIP_PIXELS 0x0CF4
510#define GL_UNPACK_SKIP_ROWS 0x0CF3
511#define GL_UNPACK_SWAP_BYTES 0x0CF0
512#define GL_ZOOM_X 0x0D16
513#define GL_ZOOM_Y 0x0D17
516#define GL_TEXTURE_ENV 0x2300
517#define GL_TEXTURE_ENV_MODE 0x2200
518#define GL_TEXTURE_1D 0x0DE0
519#define GL_TEXTURE_2D 0x0DE1
520#define GL_TEXTURE_WRAP_S 0x2802
521#define GL_TEXTURE_WRAP_T 0x2803
522#define GL_TEXTURE_MAG_FILTER 0x2800
523#define GL_TEXTURE_MIN_FILTER 0x2801
524#define GL_TEXTURE_ENV_COLOR 0x2201
525#define GL_TEXTURE_GEN_S 0x0C60
526#define GL_TEXTURE_GEN_T 0x0C61
527#define GL_TEXTURE_GEN_MODE 0x2500
528#define GL_TEXTURE_BORDER_COLOR 0x1004
529#define GL_TEXTURE_WIDTH 0x1000
530#define GL_TEXTURE_HEIGHT 0x1001
531#define GL_TEXTURE_BORDER 0x1005
532#define GL_TEXTURE_COMPONENTS 0x1003
533#define GL_TEXTURE_RED_SIZE 0x805C
534#define GL_TEXTURE_GREEN_SIZE 0x805D
535#define GL_TEXTURE_BLUE_SIZE 0x805E
536#define GL_TEXTURE_ALPHA_SIZE 0x805F
537#define GL_TEXTURE_LUMINANCE_SIZE 0x8060
538#define GL_TEXTURE_INTENSITY_SIZE 0x8061
539#define GL_NEAREST_MIPMAP_NEAREST 0x2702
540#define GL_NEAREST_MIPMAP_LINEAR 0x2703
541#define GL_LINEAR_MIPMAP_NEAREST 0x2704
542#define GL_LINEAR_MIPMAP_LINEAR 0x2705
543#define GL_OBJECT_LINEAR 0x2401
544#define GL_OBJECT_PLANE 0x2501
545#define GL_EYE_LINEAR 0x2400
546#define GL_EYE_PLANE 0x2502
547#define GL_SPHERE_MAP 0x2402
548#define GL_DECAL 0x2101
549#define GL_MODULATE 0x2100
550#define GL_NEAREST 0x2600
551#define GL_REPEAT 0x2900
552#define GL_CLAMP 0x2901
557#define GL_TEXTURE_GEN_R 0x0C62
558#define GL_TEXTURE_GEN_Q 0x0C63
561#define GL_PROXY_TEXTURE_1D 0x8063
562#define GL_PROXY_TEXTURE_2D 0x8064
563#define GL_TEXTURE_PRIORITY 0x8066
564#define GL_TEXTURE_RESIDENT 0x8067
565#define GL_TEXTURE_BINDING_1D 0x8068
566#define GL_TEXTURE_BINDING_2D 0x8069
567#define GL_TEXTURE_INTERNAL_FORMAT 0x1003
570#define GL_PACK_SKIP_IMAGES 0x806B
571#define GL_PACK_IMAGE_HEIGHT 0x806C
572#define GL_UNPACK_SKIP_IMAGES 0x806D
573#define GL_UNPACK_IMAGE_HEIGHT 0x806E
574#define GL_TEXTURE_3D 0x806F
575#define GL_PROXY_TEXTURE_3D 0x8070
576#define GL_TEXTURE_DEPTH 0x8071
577#define GL_TEXTURE_WRAP_R 0x8072
578#define GL_MAX_3D_TEXTURE_SIZE 0x8073
579#define GL_TEXTURE_BINDING_3D 0x806A
582#define GL_ALPHA4 0x803B
583#define GL_ALPHA8 0x803C
584#define GL_ALPHA12 0x803D
585#define GL_ALPHA16 0x803E
586#define GL_LUMINANCE4 0x803F
587#define GL_LUMINANCE8 0x8040
588#define GL_LUMINANCE12 0x8041
589#define GL_LUMINANCE16 0x8042
590#define GL_LUMINANCE4_ALPHA4 0x8043
591#define GL_LUMINANCE6_ALPHA2 0x8044
592#define GL_LUMINANCE8_ALPHA8 0x8045
593#define GL_LUMINANCE12_ALPHA4 0x8046
594#define GL_LUMINANCE12_ALPHA12 0x8047
595#define GL_LUMINANCE16_ALPHA16 0x8048
596#define GL_INTENSITY 0x8049
597#define GL_INTENSITY4 0x804A
598#define GL_INTENSITY8 0x804B
599#define GL_INTENSITY12 0x804C
600#define GL_INTENSITY16 0x804D
601#define GL_R3_G3_B2 0x2A10
602#define GL_RGB4 0x804F
603#define GL_RGB5 0x8050
604#define GL_RGB8 0x8051
605#define GL_RGB10 0x8052
606#define GL_RGB12 0x8053
607#define GL_RGB16 0x8054
608#define GL_RGBA2 0x8055
609#define GL_RGBA4 0x8056
610#define GL_RGB5_A1 0x8057
611#define GL_RGBA8 0x8058
612#define GL_RGB10_A2 0x8059
613#define GL_RGBA12 0x805A
614#define GL_RGBA16 0x805B
617#define GL_VENDOR 0x1F00
618#define GL_RENDERER 0x1F01
619#define GL_VERSION 0x1F02
620#define GL_EXTENSIONS 0x1F03
623#define GL_NO_ERROR 0x0
624#define GL_INVALID_VALUE 0x0501
625#define GL_INVALID_ENUM 0x0500
626#define GL_INVALID_OPERATION 0x0502
627#define GL_STACK_OVERFLOW 0x0503
628#define GL_STACK_UNDERFLOW 0x0504
629#define GL_OUT_OF_MEMORY 0x0505
632#define GL_RESCALE_NORMAL 0x803A
633#define GL_CLAMP_TO_EDGE 0x812F
634#define GL_MAX_ELEMENTS_VERTICES 0x80E8
635#define GL_MAX_ELEMENTS_INDICES 0x80E9
637#define GL_BGRA 0x80E1
638#define GL_UNSIGNED_BYTE_3_3_2 0x8032
639#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
640#define GL_UNSIGNED_SHORT_5_6_5 0x8363
641#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
642#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
643#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
644#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
645#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
646#define GL_UNSIGNED_INT_8_8_8_8 0x8035
647#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
648#define GL_UNSIGNED_INT_10_10_10_2 0x8036
649#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
650#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
651#define GL_SINGLE_COLOR 0x81F9
652#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
653#define GL_TEXTURE_MIN_LOD 0x813A
654#define GL_TEXTURE_MAX_LOD 0x813B
655#define GL_TEXTURE_BASE_LEVEL 0x813C
656#define GL_TEXTURE_MAX_LEVEL 0x813D
657#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
658#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
659#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
660#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
661#define GL_ALIASED_POINT_SIZE_RANGE 0x846D
662#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
668#define GL_COLOR_TABLE 0x80D0
669#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
670#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
671#define GL_PROXY_COLOR_TABLE 0x80D3
672#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
673#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
674#define GL_COLOR_TABLE_SCALE 0x80D6
675#define GL_COLOR_TABLE_BIAS 0x80D7
676#define GL_COLOR_TABLE_FORMAT 0x80D8
677#define GL_COLOR_TABLE_WIDTH 0x80D9
678#define GL_COLOR_TABLE_RED_SIZE 0x80DA
679#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
680#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
681#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
682#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
683#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
685#define GL_CONVOLUTION_1D 0x8010
686#define GL_CONVOLUTION_2D 0x8011
687#define GL_SEPARABLE_2D 0x8012
688#define GL_CONVOLUTION_BORDER_MODE 0x8013
689#define GL_CONVOLUTION_FILTER_SCALE 0x8014
690#define GL_CONVOLUTION_FILTER_BIAS 0x8015
691#define GL_REDUCE 0x8016
692#define GL_CONVOLUTION_FORMAT 0x8017
693#define GL_CONVOLUTION_WIDTH 0x8018
694#define GL_CONVOLUTION_HEIGHT 0x8019
695#define GL_MAX_CONVOLUTION_WIDTH 0x801A
696#define GL_MAX_CONVOLUTION_HEIGHT 0x801B
697#define GL_POST_CONVOLUTION_RED_SCALE 0x801C
698#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
699#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
700#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
701#define GL_POST_CONVOLUTION_RED_BIAS 0x8020
702#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
703#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
704#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
705#define GL_CONSTANT_BORDER 0x8151
706#define GL_REPLICATE_BORDER 0x8153
707#define GL_CONVOLUTION_BORDER_COLOR 0x8154
709#define GL_COLOR_MATRIX 0x80B1
710#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
711#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
712#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
713#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
714#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
715#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
716#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
717#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
718#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
719#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
721#define GL_HISTOGRAM 0x8024
722#define GL_PROXY_HISTOGRAM 0x8025
723#define GL_HISTOGRAM_WIDTH 0x8026
724#define GL_HISTOGRAM_FORMAT 0x8027
725#define GL_HISTOGRAM_RED_SIZE 0x8028
726#define GL_HISTOGRAM_GREEN_SIZE 0x8029
727#define GL_HISTOGRAM_BLUE_SIZE 0x802A
728#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
729#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
730#define GL_HISTOGRAM_SINK 0x802D
731#define GL_MINMAX 0x802E
732#define GL_MINMAX_FORMAT 0x802F
733#define GL_MINMAX_SINK 0x8030
734#define GL_TABLE_TOO_LARGE 0x8031
736#define GL_BLEND_EQUATION 0x8009
739#define GL_FUNC_ADD 0x8006
740#define GL_FUNC_SUBTRACT 0x800A
741#define GL_FUNC_REVERSE_SUBTRACT 0x800B
742#define GL_BLEND_COLOR 0x8005
745#define GL_CURRENT_BIT 0x00000001
746#define GL_POINT_BIT 0x00000002
747#define GL_LINE_BIT 0x00000004
748#define GL_POLYGON_BIT 0x00000008
749#define GL_POLYGON_STIPPLE_BIT 0x00000010
750#define GL_PIXEL_MODE_BIT 0x00000020
751#define GL_LIGHTING_BIT 0x00000040
752#define GL_FOG_BIT 0x00000080
753#define GL_DEPTH_BUFFER_BIT 0x00000100
754#define GL_ACCUM_BUFFER_BIT 0x00000200
755#define GL_STENCIL_BUFFER_BIT 0x00000400
756#define GL_VIEWPORT_BIT 0x00000800
757#define GL_TRANSFORM_BIT 0x00001000
758#define GL_ENABLE_BIT 0x00002000
759#define GL_COLOR_BUFFER_BIT 0x00004000
760#define GL_HINT_BIT 0x00008000
761#define GL_EVAL_BIT 0x00010000
762#define GL_LIST_BIT 0x00020000
763#define GL_TEXTURE_BIT 0x00040000
764#define GL_SCISSOR_BIT 0x00080000
765#define GL_ALL_ATTRIB_BITS 0x000FFFFF
767#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
768#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
769#define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF
775void glClearIndex(GLfloat c);
777void glClearColor(GLclampf red,
782void glClear(GLbitfield mask);
784void glIndexMask(GLuint mask);
786void glColorMask(GLboolean red, GLboolean green,
787 GLboolean blue, GLboolean alpha);
789void glAlphaFunc(GLenum func, GLclampf ref);
791void glBlendFunc(GLenum sfactor, GLenum dfactor);
793void glLogicOp(GLenum opcode);
795void glCullFace(GLenum mode);
797void glFrontFace(GLenum mode);
799void glPointSize(GLfloat size);
801void glLineWidth(GLfloat width);
803void glLineStipple(GLint factor, GLushort pattern);
805void glPolygonMode(GLenum face, GLenum mode);
807void glPolygonOffset(GLfloat factor, GLfloat units);
809void glPolygonStipple(
const GLubyte* mask);
811void glGetPolygonStipple(GLubyte* mask);
813void glEdgeFlag(GLboolean flag);
815void glEdgeFlagv(
const GLboolean* flag);
817void glScissor(GLint x, GLint y,
818 GLsizei width, GLsizei height);
820void glClipPlane(GLenum plane,
const GLdouble* equation);
822void glGetClipPlane(GLenum plane, GLdouble* equation);
824void glDrawBuffer(GLenum mode);
826void glReadBuffer(GLenum mode);
828void glEnable(GLenum cap);
830void glDisable(GLenum cap);
832GLboolean glIsEnabled(GLenum cap);
834void glEnableClientState(GLenum cap);
836void glDisableClientState(GLenum cap);
838void glGetBooleanv(GLenum pname, GLboolean* params);
840void glGetDoublev(GLenum pname, GLdouble* params);
842void glGetFloatv(GLenum pname, GLfloat* params);
844void glGetIntegerv(GLenum pname, GLint* params);
846void glPushAttrib(GLbitfield mask);
848void glPopAttrib(
void);
850void glPushClientAttrib(GLbitfield mask);
852void glPopClientAttrib(
void);
854GLint glRenderMode(GLenum mode);
856GLenum glGetError(
void);
858const GLubyte* glGetString(GLenum name);
864void glHint(GLenum target, GLenum mode);
870void glClearDepth(GLclampd depth);
872void glDepthFunc(GLenum func);
874void glDepthMask(GLboolean flag);
876void glDepthRange(GLclampd near_val, GLclampd far_val);
882void glClearAccum(GLfloat red, GLfloat green,
883 GLfloat blue, GLfloat alpha);
885void glAccum(GLenum op, GLfloat value);
891void glMatrixMode(GLenum mode);
893void glOrtho(GLdouble left, GLdouble right,
894 GLdouble bottom, GLdouble top,
895 GLdouble near_val, GLdouble far_val);
897void glFrustum(GLdouble left, GLdouble right,
898 GLdouble bottom, GLdouble top,
899 GLdouble near_val, GLdouble far_val);
901void glViewport(GLint x, GLint y,
902 GLsizei width, GLsizei height);
904void glPushMatrix(
void);
906void glPopMatrix(
void);
908void glLoadIdentity(
void);
910void glLoadMatrixd(
const GLdouble* m);
911void glLoadMatrixf(
const GLfloat* m);
913void glMultMatrixd(
const GLdouble* m);
914void glMultMatrixf(
const GLfloat* m);
916void glRotated(GLdouble angle,
917 GLdouble x, GLdouble y, GLdouble z);
918void glRotatef(GLfloat angle,
919 GLfloat x, GLfloat y, GLfloat z);
921void glScaled(GLdouble x, GLdouble y, GLdouble z);
922void glScalef(GLfloat x, GLfloat y, GLfloat z);
924void glTranslated(GLdouble x, GLdouble y, GLdouble z);
925void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
931GLboolean glIsList(GLuint list);
933void glDeleteLists(GLuint list, GLsizei range);
935GLuint glGenLists(GLsizei range);
937void glNewList(GLuint list, GLenum mode);
941void glCallList(GLuint list);
943void glCallLists(GLsizei n, GLenum type,
944 const GLvoid* lists);
946void glListBase(GLuint base);
952void glBegin(GLenum mode);
956void glVertex2d(GLdouble x, GLdouble y);
957void glVertex2f(GLfloat x, GLfloat y);
958void glVertex2i(GLint x, GLint y);
959void glVertex2s(GLshort x, GLshort y);
961void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
962void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
963void glVertex3i(GLint x, GLint y, GLint z);
964void glVertex3s(GLshort x, GLshort y, GLshort z);
966void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
967void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
968void glVertex4i(GLint x, GLint y, GLint z, GLint w);
969void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
971void glVertex2dv(
const GLdouble* v);
972void glVertex2fv(
const GLfloat* v);
973void glVertex2iv(
const GLint* v);
974void glVertex2sv(
const GLshort* v);
976void glVertex3dv(
const GLdouble* v);
977void glVertex3fv(
const GLfloat* v);
978void glVertex3iv(
const GLint* v);
979void glVertex3sv(
const GLshort* v);
981void glVertex4dv(
const GLdouble* v);
982void glVertex4fv(
const GLfloat* v);
983void glVertex4iv(
const GLint* v);
984void glVertex4sv(
const GLshort* v);
986void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
987void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
988void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
989void glNormal3i(GLint nx, GLint ny, GLint nz);
990void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
992void glNormal3bv(
const GLbyte* v);
993void glNormal3dv(
const GLdouble* v);
994void glNormal3fv(
const GLfloat* v);
995void glNormal3iv(
const GLint* v);
996void glNormal3sv(
const GLshort* v);
998void glIndexd(GLdouble c);
999void glIndexf(GLfloat c);
1000void glIndexi(GLint c);
1001void glIndexs(GLshort c);
1002void glIndexub(GLubyte c);
1004void glIndexdv(
const GLdouble* c);
1005void glIndexfv(
const GLfloat* c);
1006void glIndexiv(
const GLint* c);
1007void glIndexsv(
const GLshort* c);
1008void glIndexubv(
const GLubyte* c);
1010void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
1011void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
1012void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
1013void glColor3i(GLint red, GLint green, GLint blue);
1014void glColor3s(GLshort red, GLshort green, GLshort blue);
1015void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
1016void glColor3ui(GLuint red, GLuint green, GLuint blue);
1017void glColor3us(GLushort red, GLushort green, GLushort blue);
1019void glColor4b(GLbyte red, GLbyte green,
1020 GLbyte blue, GLbyte alpha);
1021void glColor4d(GLdouble red, GLdouble green,
1022 GLdouble blue, GLdouble alpha);
1023void glColor4f(GLfloat red, GLfloat green,
1024 GLfloat blue, GLfloat alpha);
1025void glColor4i(GLint red, GLint green,
1026 GLint blue, GLint alpha);
1027void glColor4s(GLshort red, GLshort green,
1028 GLshort blue, GLshort alpha);
1029void glColor4ub(GLubyte red, GLubyte green,
1030 GLubyte blue, GLubyte alpha);
1031void glColor4ui(GLuint red, GLuint green,
1032 GLuint blue, GLuint alpha);
1033void glColor4us(GLushort red, GLushort green,
1034 GLushort blue, GLushort alpha);
1036void glColor3bv(
const GLbyte* v);
1037void glColor3dv(
const GLdouble* v);
1038void glColor3fv(
const GLfloat* v);
1039void glColor3iv(
const GLint* v);
1040void glColor3sv(
const GLshort* v);
1041void glColor3ubv(
const GLubyte* v);
1042void glColor3uiv(
const GLuint* v);
1043void glColor3usv(
const GLushort* v);
1045void glColor4bv(
const GLbyte* v);
1046void glColor4dv(
const GLdouble* v);
1047void glColor4fv(
const GLfloat* v);
1048void glColor4iv(
const GLint* v);
1049void glColor4sv(
const GLshort* v);
1050void glColor4ubv(
const GLubyte* v);
1051void glColor4uiv(
const GLuint* v);
1052void glColor4usv(
const GLushort* v);
1054void glTexCoord1d(GLdouble s);
1055void glTexCoord1f(GLfloat s);
1056void glTexCoord1i(GLint s);
1057void glTexCoord1s(GLshort s);
1059void glTexCoord2d(GLdouble s, GLdouble t);
1060void glTexCoord2f(GLfloat s, GLfloat t);
1061void glTexCoord2i(GLint s, GLint t);
1062void glTexCoord2s(GLshort s, GLshort t);
1064void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
1065void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
1066void glTexCoord3i(GLint s, GLint t, GLint r);
1067void glTexCoord3s(GLshort s, GLshort t, GLshort r);
1069void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1070void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1071void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
1072void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
1074void glTexCoord1dv(
const GLdouble* v);
1075void glTexCoord1fv(
const GLfloat* v);
1076void glTexCoord1iv(
const GLint* v);
1077void glTexCoord1sv(
const GLshort* v);
1079void glTexCoord2dv(
const GLdouble* v);
1080void glTexCoord2fv(
const GLfloat* v);
1081void glTexCoord2iv(
const GLint* v);
1082void glTexCoord2sv(
const GLshort* v);
1084void glTexCoord3dv(
const GLdouble* v);
1085void glTexCoord3fv(
const GLfloat* v);
1086void glTexCoord3iv(
const GLint* v);
1087void glTexCoord3sv(
const GLshort* v);
1089void glTexCoord4dv(
const GLdouble* v);
1090void glTexCoord4fv(
const GLfloat* v);
1091void glTexCoord4iv(
const GLint* v);
1092void glTexCoord4sv(
const GLshort* v);
1094void glRasterPos2d(GLdouble x, GLdouble y);
1095void glRasterPos2f(GLfloat x, GLfloat y);
1096void glRasterPos2i(GLint x, GLint y);
1097void glRasterPos2s(GLshort x, GLshort y);
1099void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
1100void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
1101void glRasterPos3i(GLint x, GLint y, GLint z);
1102void glRasterPos3s(GLshort x, GLshort y, GLshort z);
1104void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1105void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1106void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
1107void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
1109void glRasterPos2dv(
const GLdouble* v);
1110void glRasterPos2fv(
const GLfloat* v);
1111void glRasterPos2iv(
const GLint* v);
1112void glRasterPos2sv(
const GLshort* v);
1114void glRasterPos3dv(
const GLdouble* v);
1115void glRasterPos3fv(
const GLfloat* v);
1116void glRasterPos3iv(
const GLint* v);
1117void glRasterPos3sv(
const GLshort* v);
1119void glRasterPos4dv(
const GLdouble* v);
1120void glRasterPos4fv(
const GLfloat* v);
1121void glRasterPos4iv(
const GLint* v);
1122void glRasterPos4sv(
const GLshort* v);
1124void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1125void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1126void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
1127void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1129void glRectdv(
const GLdouble* v1,
const GLdouble* v2);
1130void glRectfv(
const GLfloat* v1,
const GLfloat* v2);
1131void glRectiv(
const GLint* v1,
const GLint* v2);
1132void glRectsv(
const GLshort* v1,
const GLshort* v2);
1139 GLsizei stride,
const GLvoid* ptr);
1145 GLsizei stride,
const GLvoid* ptr);
1147void glIndexPointer(GLenum type, GLsizei stride,
1151 GLsizei stride,
const GLvoid* ptr);
1153void glEdgeFlagPointer(GLsizei stride,
const GLvoid* ptr);
1155void glGetPointerv(GLenum pname,
void** params);
1159void glDrawArrays(GLenum mode, GLint first, GLsizei count);
1162 GLenum type,
const GLvoid* indices);
1165 const GLvoid* pointer);
1171void glShadeModel(GLenum mode);
1173void glLightf(GLenum light, GLenum pname, GLfloat param);
1174void glLighti(GLenum light, GLenum pname, GLint param);
1175void glLightfv(GLenum light, GLenum pname,
1176 const GLfloat* params);
1177void glLightiv(GLenum light, GLenum pname,
1178 const GLint* params);
1180void glGetLightfv(GLenum light, GLenum pname,
1182void glGetLightiv(GLenum light, GLenum pname,
1185void glLightModelf(GLenum pname, GLfloat param);
1186void glLightModeli(GLenum pname, GLint param);
1187void glLightModelfv(GLenum pname,
const GLfloat* params);
1188void glLightModeliv(GLenum pname,
const GLint* params);
1190void glMaterialf(GLenum face, GLenum pname, GLfloat param);
1191void glMateriali(GLenum face, GLenum pname, GLint param);
1192void glMaterialfv(GLenum face, GLenum pname,
const GLfloat* params);
1193void glMaterialiv(GLenum face, GLenum pname,
const GLint* params);
1195void glGetMaterialfv(GLenum face, GLenum pname, GLfloat* params);
1196void glGetMaterialiv(GLenum face, GLenum pname, GLint* params);
1198void glColorMaterial(GLenum face, GLenum mode);
1204void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
1206void glPixelStoref(GLenum pname, GLfloat param);
1207void glPixelStorei(GLenum pname, GLint param);
1209void glPixelTransferf(GLenum pname, GLfloat param);
1210void glPixelTransferi(GLenum pname, GLint param);
1212void glPixelMapfv(GLenum map, GLint mapsize,
1213 const GLfloat* values);
1214void glPixelMapuiv(GLenum map, GLint mapsize,
1215 const GLuint* values);
1216void glPixelMapusv(GLenum map, GLint mapsize,
1217 const GLushort* values);
1219void glGetPixelMapfv(GLenum map, GLfloat* values);
1220void glGetPixelMapuiv(GLenum map, GLuint* values);
1221void glGetPixelMapusv(GLenum map, GLushort* values);
1223void glBitmap(GLsizei width, GLsizei height,
1224 GLfloat xorig, GLfloat yorig,
1225 GLfloat xmove, GLfloat ymove,
1226 const GLubyte* bitmap);
1228void glReadPixels(GLint x, GLint y,
1229 GLsizei width, GLsizei height,
1230 GLenum format, GLenum type,
1233void glDrawPixels(GLsizei width, GLsizei height,
1234 GLenum format, GLenum type,
1235 const GLvoid* pixels);
1237void glCopyPixels(GLint x, GLint y,
1238 GLsizei width, GLsizei height,
1245void glStencilFunc(GLenum func, GLint ref, GLuint mask);
1247void glStencilMask(GLuint mask);
1249void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
1251void glClearStencil(GLint s);
1257void glTexGend(GLenum coord, GLenum pname, GLdouble param);
1258void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
1259void glTexGeni(GLenum coord, GLenum pname, GLint param);
1261void glTexGendv(GLenum coord, GLenum pname,
const GLdouble* params);
1262void glTexGenfv(GLenum coord, GLenum pname,
const GLfloat* params);
1263void glTexGeniv(GLenum coord, GLenum pname,
const GLint* params);
1265void glGetTexGendv(GLenum coord, GLenum pname, GLdouble* params);
1266void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat* params);
1267void glGetTexGeniv(GLenum coord, GLenum pname, GLint* params);
1269void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
1270void glTexEnvi(GLenum target, GLenum pname, GLint param);
1272void glTexEnvfv(GLenum target, GLenum pname,
const GLfloat* params);
1273void glTexEnviv(GLenum target, GLenum pname,
const GLint* params);
1275void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat* params);
1276void glGetTexEnviv(GLenum target, GLenum pname, GLint* params);
1278void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
1279void glTexParameteri(GLenum target, GLenum pname, GLint param);
1281void glTexParameterfv(GLenum target, GLenum pname,
1282 const GLfloat* params);
1283void glTexParameteriv(GLenum target, GLenum pname,
1284 const GLint* params);
1286void glGetTexParameterfv(GLenum target,
1287 GLenum pname, GLfloat* params);
1288void glGetTexParameteriv(GLenum target,
1289 GLenum pname, GLint* params);
1291void glGetTexLevelParameterfv(GLenum target, GLint level,
1292 GLenum pname, GLfloat* params);
1293void glGetTexLevelParameteriv(GLenum target, GLint level,
1294 GLenum pname, GLint* params);
1296void glTexImage1D(GLenum target, GLint level,
1297 GLint internalFormat,
1298 GLsizei width, GLint border,
1299 GLenum format, GLenum type,
1300 const GLvoid* pixels);
1302void glTexImage2D(GLenum target, GLint level,
1303 GLint internalFormat,
1304 GLsizei width, GLsizei height,
1305 GLint border, GLenum format, GLenum type,
1306 const GLvoid* pixels);
1308void glGetTexImage(GLenum target, GLint level,
1309 GLenum format, GLenum type,
1314void glGenTextures(GLsizei n, GLuint* textures);
1316void glDeleteTextures(GLsizei n,
const GLuint* textures);
1318void glBindTexture(GLenum target, GLuint texture);
1320void glPrioritizeTextures(GLsizei n,
1321 const GLuint* textures,
1322 const GLclampf* priorities);
1324GLboolean glAreTexturesResident(GLsizei n,
1325 const GLuint* textures,
1326 GLboolean* residences);
1328GLboolean glIsTexture(GLuint texture);
1330void glTexSubImage1D(GLenum target, GLint level,
1332 GLsizei width, GLenum format,
1333 GLenum type,
const GLvoid* pixels);
1335void glTexSubImage2D(GLenum target, GLint level,
1336 GLint xoffset, GLint yoffset,
1337 GLsizei width, GLsizei height,
1338 GLenum format, GLenum type,
1339 const GLvoid* pixels);
1341void glCopyTexImage1D(GLenum target, GLint level,
1342 GLenum internalformat,
1344 GLsizei width, GLint border);
1346void glCopyTexImage2D(GLenum target, GLint level,
1347 GLenum internalformat,
1349 GLsizei width, GLsizei height,
1352void glCopyTexSubImage1D(GLenum target, GLint level,
1353 GLint xoffset, GLint x, GLint y,
1356void glCopyTexSubImage2D(GLenum target, GLint level,
1357 GLint xoffset, GLint yoffset,
1359 GLsizei width, GLsizei height);
1365void glMap1d(GLenum target, GLdouble u1, GLdouble u2,
1367 GLint order,
const GLdouble* points);
1368void glMap1f(GLenum target, GLfloat u1, GLfloat u2,
1370 GLint order,
const GLfloat* points);
1372void glMap2d(GLenum target,
1373 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
1374 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
1375 const GLdouble* points);
1376void glMap2f(GLenum target,
1377 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
1378 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
1379 const GLfloat* points);
1381void glGetMapdv(GLenum target, GLenum query, GLdouble* v);
1382void glGetMapfv(GLenum target, GLenum query, GLfloat* v);
1383void glGetMapiv(GLenum target, GLenum query, GLint* v);
1385void glEvalCoord1d(GLdouble u);
1386void glEvalCoord1f(GLfloat u);
1388void glEvalCoord1dv(
const GLdouble* u);
1389void glEvalCoord1fv(
const GLfloat* u);
1391void glEvalCoord2d(GLdouble u, GLdouble v);
1392void glEvalCoord2f(GLfloat u, GLfloat v);
1394void glEvalCoord2dv(
const GLdouble* u);
1395void glEvalCoord2fv(
const GLfloat* u);
1397void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
1398void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
1400void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2,
1401 GLint vn, GLdouble v1, GLdouble v2);
1402void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2,
1403 GLint vn, GLfloat v1, GLfloat v2);
1405void glEvalPoint1(GLint i);
1407void glEvalPoint2(GLint i, GLint j);
1409void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
1411void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
1417void glFogf(GLenum pname, GLfloat param);
1419void glFogi(GLenum pname, GLint param);
1421void glFogfv(GLenum pname,
const GLfloat* params);
1423void glFogiv(GLenum pname,
const GLint* params);
1429void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat* buffer);
1431void glPassThrough(GLfloat token);
1433void glSelectBuffer(GLsizei size, GLuint* buffer);
1435void glInitNames(
void);
1437void glLoadName(GLuint name);
1439void glPushName(GLuint name);
1441void glPopName(
void);
1444void glDrawRangeElements(GLenum mode, GLuint start,
1445 GLuint end, GLsizei count, GLenum type,
const GLvoid* indices);
1447void glTexImage3D(GLenum target, GLint level,
1448 GLint internalFormat,
1449 GLsizei width, GLsizei height,
1450 GLsizei depth, GLint border,
1451 GLenum format, GLenum type,
1452 const GLvoid* pixels);
1454void glTexSubImage3D(GLenum target, GLint level,
1455 GLint xoffset, GLint yoffset,
1456 GLint zoffset, GLsizei width,
1457 GLsizei height, GLsizei depth,
1459 GLenum type,
const GLvoid* pixels);
1461void glCopyTexSubImage3D(GLenum target, GLint level,
1462 GLint xoffset, GLint yoffset,
1463 GLint zoffset, GLint x,
1464 GLint y, GLsizei width,
1469void glColorTable(GLenum target, GLenum internalformat,
1470 GLsizei width, GLenum format,
1471 GLenum type,
const GLvoid* table);
1473void glColorSubTable(GLenum target,
1474 GLsizei start, GLsizei count,
1475 GLenum format, GLenum type,
1476 const GLvoid* data);
1478void glColorTableParameteriv(GLenum target, GLenum pname,
1479 const GLint* params);
1481void glColorTableParameterfv(GLenum target, GLenum pname,
1482 const GLfloat* params);
1484void glCopyColorSubTable(GLenum target, GLsizei start,
1485 GLint x, GLint y, GLsizei width);
1487void glCopyColorTable(GLenum target, GLenum internalformat,
1488 GLint x, GLint y, GLsizei width);
1490void glGetColorTable(GLenum target, GLenum format,
1491 GLenum type, GLvoid* table);
1493void glGetColorTableParameterfv(GLenum target, GLenum pname,
1496void glGetColorTableParameteriv(GLenum target, GLenum pname,
1499void glBlendEquation(GLenum mode);
1501void glBlendColor(GLclampf red, GLclampf green,
1502 GLclampf blue, GLclampf alpha);
1504void glHistogram(GLenum target, GLsizei width,
1505 GLenum internalformat, GLboolean sink);
1507void glResetHistogram(GLenum target);
1509void glGetHistogram(GLenum target, GLboolean reset,
1510 GLenum format, GLenum type,
1513void glGetHistogramParameterfv(GLenum target, GLenum pname,
1516void glGetHistogramParameteriv(GLenum target, GLenum pname,
1519void glMinmax(GLenum target, GLenum internalformat,
1522void glResetMinmax(GLenum target);
1524void glGetMinmax(GLenum target, GLboolean reset,
1525 GLenum format, GLenum types,
1528void glGetMinmaxParameterfv(GLenum target, GLenum pname,
1531void glGetMinmaxParameteriv(GLenum target, GLenum pname,
1534void glConvolutionFilter1D(GLenum target,
1535 GLenum internalformat, GLsizei width, GLenum format, GLenum type,
1536 const GLvoid* image);
1538void glConvolutionFilter2D(GLenum target,
1539 GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
1540 GLenum type,
const GLvoid* image);
1542void glConvolutionParameterf(GLenum target, GLenum pname,
1545void glConvolutionParameterfv(GLenum target, GLenum pname,
1546 const GLfloat* params);
1548void glConvolutionParameteri(GLenum target, GLenum pname,
1551void glConvolutionParameteriv(GLenum target, GLenum pname,
1552 const GLint* params);
1554void glCopyConvolutionFilter1D(GLenum target,
1555 GLenum internalformat, GLint x, GLint y, GLsizei width);
1557void glCopyConvolutionFilter2D(GLenum target,
1558 GLenum internalformat, GLint x, GLint y, GLsizei width,
1561void glGetConvolutionFilter(GLenum target, GLenum format,
1562 GLenum type, GLvoid* image);
1564void glGetConvolutionParameterfv(GLenum target, GLenum pname,
1567void glGetConvolutionParameteriv(GLenum target, GLenum pname,
1570void glSeparableFilter2D(GLenum target,
1571 GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
1572 GLenum type,
const GLvoid* row,
const GLvoid* column);
1574void glGetSeparableFilter(GLenum target, GLenum format,
1575 GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
1580#ifndef GL_ARB_multitexture
1581#define GL_ARB_multitexture 1
1583#define GL_TEXTURE0_ARB 0x84C0
1584#define GL_TEXTURE1_ARB 0x84C1
1585#define GL_TEXTURE2_ARB 0x84C2
1586#define GL_TEXTURE3_ARB 0x84C3
1587#define GL_TEXTURE4_ARB 0x84C4
1588#define GL_TEXTURE5_ARB 0x84C5
1589#define GL_TEXTURE6_ARB 0x84C6
1590#define GL_TEXTURE7_ARB 0x84C7
1591#define GL_TEXTURE8_ARB 0x84C8
1592#define GL_TEXTURE9_ARB 0x84C9
1593#define GL_TEXTURE10_ARB 0x84CA
1594#define GL_TEXTURE11_ARB 0x84CB
1595#define GL_TEXTURE12_ARB 0x84CC
1596#define GL_TEXTURE13_ARB 0x84CD
1597#define GL_TEXTURE14_ARB 0x84CE
1598#define GL_TEXTURE15_ARB 0x84CF
1599#define GL_TEXTURE16_ARB 0x84D0
1600#define GL_TEXTURE17_ARB 0x84D1
1601#define GL_TEXTURE18_ARB 0x84D2
1602#define GL_TEXTURE19_ARB 0x84D3
1603#define GL_TEXTURE20_ARB 0x84D4
1604#define GL_TEXTURE21_ARB 0x84D5
1605#define GL_TEXTURE22_ARB 0x84D6
1606#define GL_TEXTURE23_ARB 0x84D7
1607#define GL_TEXTURE24_ARB 0x84D8
1608#define GL_TEXTURE25_ARB 0x84D9
1609#define GL_TEXTURE26_ARB 0x84DA
1610#define GL_TEXTURE27_ARB 0x84DB
1611#define GL_TEXTURE28_ARB 0x84DC
1612#define GL_TEXTURE29_ARB 0x84DD
1613#define GL_TEXTURE30_ARB 0x84DE
1614#define GL_TEXTURE31_ARB 0x84DF
1615#define GL_ACTIVE_TEXTURE_ARB 0x84E0
1616#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
1617#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
1619void glActiveTextureARB(GLenum texture);
1620void glClientActiveTextureARB(GLenum texture);
1621void glMultiTexCoord1dARB(GLenum target, GLdouble s);
1622void glMultiTexCoord1dvARB(GLenum target,
const GLdouble* v);
1623void glMultiTexCoord1fARB(GLenum target, GLfloat s);
1624void glMultiTexCoord1fvARB(GLenum target,
const GLfloat* v);
1625void glMultiTexCoord1iARB(GLenum target, GLint s);
1626void glMultiTexCoord1ivARB(GLenum target,
const GLint* v);
1627void glMultiTexCoord1sARB(GLenum target, GLshort s);
1628void glMultiTexCoord1svARB(GLenum target,
const GLshort* v);
1629void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
1630void glMultiTexCoord2dvARB(GLenum target,
const GLdouble* v);
1631void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
1632void glMultiTexCoord2fvARB(GLenum target,
const GLfloat* v);
1633void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
1634void glMultiTexCoord2ivARB(GLenum target,
const GLint* v);
1635void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
1636void glMultiTexCoord2svARB(GLenum target,
const GLshort* v);
1637void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
1638void glMultiTexCoord3dvARB(GLenum target,
const GLdouble* v);
1639void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
1640void glMultiTexCoord3fvARB(GLenum target,
const GLfloat* v);
1641void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
1642void glMultiTexCoord3ivARB(GLenum target,
const GLint* v);
1643void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
1644void glMultiTexCoord3svARB(GLenum target,
const GLshort* v);
1645void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1646void glMultiTexCoord4dvARB(GLenum target,
const GLdouble* v);
1647void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1648void glMultiTexCoord4fvARB(GLenum target,
const GLfloat* v);
1649void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
1650void glMultiTexCoord4ivARB(GLenum target,
const GLint* v);
1651void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
1652void glMultiTexCoord4svARB(GLenum target,
const GLshort* v);
1659#ifndef GL_EXT_blend_color
1660#define GL_EXT_blend_color 1
1662#define GL_CONSTANT_COLOR_EXT 0x8001
1663#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
1664#define GL_CONSTANT_ALPHA_EXT 0x8003
1665#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
1666#define GL_BLEND_COLOR_EXT 0x8005
void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
void glArrayElement(GLint i)
void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr)
void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
void glDrawArrays(GLenum mode, GLint first, GLsizei count)