ashton 0.0.2alpha → 0.0.3alpha

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,9 +34,12 @@ $CFLAGS << " -std=gnu99"
34
34
  # Make it possible to use a debugger.
35
35
  #$CFLAGS << " -g -O0"
36
36
 
37
- # Stop getting annoying warnings for valid C99 code.
38
- $warnflags.gsub!('-Wdeclaration-after-statement', '') if $warnflags
39
- $warnflags << ' -Wall' # Let's be good boys and girls!
37
+ if $warnflags
38
+ # Stop getting annoying warnings for valid C99 code.
39
+ $warnflags.gsub!('-Wdeclaration-after-statement', '')
40
+ # Let's be good boys and girls!
41
+ $warnflags << ' -Wall'
42
+ end
40
43
 
41
44
  create_header
42
45
  create_makefile extension_name
@@ -0,0 +1,1526 @@
1
+ /*++ BUILD Version: 0004 // Increment this if a change has global effects
2
+
3
+ Copyright (c) 1985-96, Microsoft Corporation
4
+
5
+ Module Name:
6
+
7
+ gl.h
8
+
9
+ Abstract:
10
+
11
+ Procedure declarations, constant definitions and macros for the OpenGL
12
+ component.
13
+
14
+ --*/
15
+
16
+ #ifndef __gl_h_
17
+ #ifndef __GL_H__
18
+
19
+ #define __gl_h_
20
+ #define __GL_H__
21
+
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+
26
+ /*
27
+ ** Copyright 1996 Silicon Graphics, Inc.
28
+ ** All Rights Reserved.
29
+ **
30
+ ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
31
+ ** the contents of this file may not be disclosed to third parties, copied or
32
+ ** duplicated in any form, in whole or in part, without the prior written
33
+ ** permission of Silicon Graphics, Inc.
34
+ **
35
+ ** RESTRICTED RIGHTS LEGEND:
36
+ ** Use, duplication or disclosure by the Government is subject to restrictions
37
+ ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
38
+ ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
39
+ ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
40
+ ** rights reserved under the Copyright Laws of the United States.
41
+ */
42
+
43
+ typedef unsigned int GLenum;
44
+ typedef unsigned char GLboolean;
45
+ typedef unsigned int GLbitfield;
46
+ typedef signed char GLbyte;
47
+ typedef short GLshort;
48
+ typedef int GLint;
49
+ typedef int GLsizei;
50
+ typedef unsigned char GLubyte;
51
+ typedef unsigned short GLushort;
52
+ typedef unsigned int GLuint;
53
+ typedef float GLfloat;
54
+ typedef float GLclampf;
55
+ typedef double GLdouble;
56
+ typedef double GLclampd;
57
+ typedef void GLvoid;
58
+
59
+ /*************************************************************/
60
+
61
+ /* Version */
62
+ #define GL_VERSION_1_1 1
63
+
64
+ /* AccumOp */
65
+ #define GL_ACCUM 0x0100
66
+ #define GL_LOAD 0x0101
67
+ #define GL_RETURN 0x0102
68
+ #define GL_MULT 0x0103
69
+ #define GL_ADD 0x0104
70
+
71
+ /* AlphaFunction */
72
+ #define GL_NEVER 0x0200
73
+ #define GL_LESS 0x0201
74
+ #define GL_EQUAL 0x0202
75
+ #define GL_LEQUAL 0x0203
76
+ #define GL_GREATER 0x0204
77
+ #define GL_NOTEQUAL 0x0205
78
+ #define GL_GEQUAL 0x0206
79
+ #define GL_ALWAYS 0x0207
80
+
81
+ /* AttribMask */
82
+ #define GL_CURRENT_BIT 0x00000001
83
+ #define GL_POINT_BIT 0x00000002
84
+ #define GL_LINE_BIT 0x00000004
85
+ #define GL_POLYGON_BIT 0x00000008
86
+ #define GL_POLYGON_STIPPLE_BIT 0x00000010
87
+ #define GL_PIXEL_MODE_BIT 0x00000020
88
+ #define GL_LIGHTING_BIT 0x00000040
89
+ #define GL_FOG_BIT 0x00000080
90
+ #define GL_DEPTH_BUFFER_BIT 0x00000100
91
+ #define GL_ACCUM_BUFFER_BIT 0x00000200
92
+ #define GL_STENCIL_BUFFER_BIT 0x00000400
93
+ #define GL_VIEWPORT_BIT 0x00000800
94
+ #define GL_TRANSFORM_BIT 0x00001000
95
+ #define GL_ENABLE_BIT 0x00002000
96
+ #define GL_COLOR_BUFFER_BIT 0x00004000
97
+ #define GL_HINT_BIT 0x00008000
98
+ #define GL_EVAL_BIT 0x00010000
99
+ #define GL_LIST_BIT 0x00020000
100
+ #define GL_TEXTURE_BIT 0x00040000
101
+ #define GL_SCISSOR_BIT 0x00080000
102
+ #define GL_ALL_ATTRIB_BITS 0x000fffff
103
+
104
+ /* BeginMode */
105
+ #define GL_POINTS 0x0000
106
+ #define GL_LINES 0x0001
107
+ #define GL_LINE_LOOP 0x0002
108
+ #define GL_LINE_STRIP 0x0003
109
+ #define GL_TRIANGLES 0x0004
110
+ #define GL_TRIANGLE_STRIP 0x0005
111
+ #define GL_TRIANGLE_FAN 0x0006
112
+ #define GL_QUADS 0x0007
113
+ #define GL_QUAD_STRIP 0x0008
114
+ #define GL_POLYGON 0x0009
115
+
116
+ /* BlendingFactorDest */
117
+ #define GL_ZERO 0
118
+ #define GL_ONE 1
119
+ #define GL_SRC_COLOR 0x0300
120
+ #define GL_ONE_MINUS_SRC_COLOR 0x0301
121
+ #define GL_SRC_ALPHA 0x0302
122
+ #define GL_ONE_MINUS_SRC_ALPHA 0x0303
123
+ #define GL_DST_ALPHA 0x0304
124
+ #define GL_ONE_MINUS_DST_ALPHA 0x0305
125
+
126
+ /* BlendingFactorSrc */
127
+ /* GL_ZERO */
128
+ /* GL_ONE */
129
+ #define GL_DST_COLOR 0x0306
130
+ #define GL_ONE_MINUS_DST_COLOR 0x0307
131
+ #define GL_SRC_ALPHA_SATURATE 0x0308
132
+ /* GL_SRC_ALPHA */
133
+ /* GL_ONE_MINUS_SRC_ALPHA */
134
+ /* GL_DST_ALPHA */
135
+ /* GL_ONE_MINUS_DST_ALPHA */
136
+
137
+ /* Boolean */
138
+ #define GL_TRUE 1
139
+ #define GL_FALSE 0
140
+
141
+ /* ClearBufferMask */
142
+ /* GL_COLOR_BUFFER_BIT */
143
+ /* GL_ACCUM_BUFFER_BIT */
144
+ /* GL_STENCIL_BUFFER_BIT */
145
+ /* GL_DEPTH_BUFFER_BIT */
146
+
147
+ /* ClientArrayType */
148
+ /* GL_VERTEX_ARRAY */
149
+ /* GL_NORMAL_ARRAY */
150
+ /* GL_COLOR_ARRAY */
151
+ /* GL_INDEX_ARRAY */
152
+ /* GL_TEXTURE_COORD_ARRAY */
153
+ /* GL_EDGE_FLAG_ARRAY */
154
+
155
+ /* ClipPlaneName */
156
+ #define GL_CLIP_PLANE0 0x3000
157
+ #define GL_CLIP_PLANE1 0x3001
158
+ #define GL_CLIP_PLANE2 0x3002
159
+ #define GL_CLIP_PLANE3 0x3003
160
+ #define GL_CLIP_PLANE4 0x3004
161
+ #define GL_CLIP_PLANE5 0x3005
162
+
163
+ /* ColorMaterialFace */
164
+ /* GL_FRONT */
165
+ /* GL_BACK */
166
+ /* GL_FRONT_AND_BACK */
167
+
168
+ /* ColorMaterialParameter */
169
+ /* GL_AMBIENT */
170
+ /* GL_DIFFUSE */
171
+ /* GL_SPECULAR */
172
+ /* GL_EMISSION */
173
+ /* GL_AMBIENT_AND_DIFFUSE */
174
+
175
+ /* ColorPointerType */
176
+ /* GL_BYTE */
177
+ /* GL_UNSIGNED_BYTE */
178
+ /* GL_SHORT */
179
+ /* GL_UNSIGNED_SHORT */
180
+ /* GL_INT */
181
+ /* GL_UNSIGNED_INT */
182
+ /* GL_FLOAT */
183
+ /* GL_DOUBLE */
184
+
185
+ /* CullFaceMode */
186
+ /* GL_FRONT */
187
+ /* GL_BACK */
188
+ /* GL_FRONT_AND_BACK */
189
+
190
+ /* DataType */
191
+ #define GL_BYTE 0x1400
192
+ #define GL_UNSIGNED_BYTE 0x1401
193
+ #define GL_SHORT 0x1402
194
+ #define GL_UNSIGNED_SHORT 0x1403
195
+ #define GL_INT 0x1404
196
+ #define GL_UNSIGNED_INT 0x1405
197
+ #define GL_FLOAT 0x1406
198
+ #define GL_2_BYTES 0x1407
199
+ #define GL_3_BYTES 0x1408
200
+ #define GL_4_BYTES 0x1409
201
+ #define GL_DOUBLE 0x140A
202
+
203
+ /* DepthFunction */
204
+ /* GL_NEVER */
205
+ /* GL_LESS */
206
+ /* GL_EQUAL */
207
+ /* GL_LEQUAL */
208
+ /* GL_GREATER */
209
+ /* GL_NOTEQUAL */
210
+ /* GL_GEQUAL */
211
+ /* GL_ALWAYS */
212
+
213
+ /* DrawBufferMode */
214
+ #define GL_NONE 0
215
+ #define GL_FRONT_LEFT 0x0400
216
+ #define GL_FRONT_RIGHT 0x0401
217
+ #define GL_BACK_LEFT 0x0402
218
+ #define GL_BACK_RIGHT 0x0403
219
+ #define GL_FRONT 0x0404
220
+ #define GL_BACK 0x0405
221
+ #define GL_LEFT 0x0406
222
+ #define GL_RIGHT 0x0407
223
+ #define GL_FRONT_AND_BACK 0x0408
224
+ #define GL_AUX0 0x0409
225
+ #define GL_AUX1 0x040A
226
+ #define GL_AUX2 0x040B
227
+ #define GL_AUX3 0x040C
228
+
229
+ /* Enable */
230
+ /* GL_FOG */
231
+ /* GL_LIGHTING */
232
+ /* GL_TEXTURE_1D */
233
+ /* GL_TEXTURE_2D */
234
+ /* GL_LINE_STIPPLE */
235
+ /* GL_POLYGON_STIPPLE */
236
+ /* GL_CULL_FACE */
237
+ /* GL_ALPHA_TEST */
238
+ /* GL_BLEND */
239
+ /* GL_INDEX_LOGIC_OP */
240
+ /* GL_COLOR_LOGIC_OP */
241
+ /* GL_DITHER */
242
+ /* GL_STENCIL_TEST */
243
+ /* GL_DEPTH_TEST */
244
+ /* GL_CLIP_PLANE0 */
245
+ /* GL_CLIP_PLANE1 */
246
+ /* GL_CLIP_PLANE2 */
247
+ /* GL_CLIP_PLANE3 */
248
+ /* GL_CLIP_PLANE4 */
249
+ /* GL_CLIP_PLANE5 */
250
+ /* GL_LIGHT0 */
251
+ /* GL_LIGHT1 */
252
+ /* GL_LIGHT2 */
253
+ /* GL_LIGHT3 */
254
+ /* GL_LIGHT4 */
255
+ /* GL_LIGHT5 */
256
+ /* GL_LIGHT6 */
257
+ /* GL_LIGHT7 */
258
+ /* GL_TEXTURE_GEN_S */
259
+ /* GL_TEXTURE_GEN_T */
260
+ /* GL_TEXTURE_GEN_R */
261
+ /* GL_TEXTURE_GEN_Q */
262
+ /* GL_MAP1_VERTEX_3 */
263
+ /* GL_MAP1_VERTEX_4 */
264
+ /* GL_MAP1_COLOR_4 */
265
+ /* GL_MAP1_INDEX */
266
+ /* GL_MAP1_NORMAL */
267
+ /* GL_MAP1_TEXTURE_COORD_1 */
268
+ /* GL_MAP1_TEXTURE_COORD_2 */
269
+ /* GL_MAP1_TEXTURE_COORD_3 */
270
+ /* GL_MAP1_TEXTURE_COORD_4 */
271
+ /* GL_MAP2_VERTEX_3 */
272
+ /* GL_MAP2_VERTEX_4 */
273
+ /* GL_MAP2_COLOR_4 */
274
+ /* GL_MAP2_INDEX */
275
+ /* GL_MAP2_NORMAL */
276
+ /* GL_MAP2_TEXTURE_COORD_1 */
277
+ /* GL_MAP2_TEXTURE_COORD_2 */
278
+ /* GL_MAP2_TEXTURE_COORD_3 */
279
+ /* GL_MAP2_TEXTURE_COORD_4 */
280
+ /* GL_POINT_SMOOTH */
281
+ /* GL_LINE_SMOOTH */
282
+ /* GL_POLYGON_SMOOTH */
283
+ /* GL_SCISSOR_TEST */
284
+ /* GL_COLOR_MATERIAL */
285
+ /* GL_NORMALIZE */
286
+ /* GL_AUTO_NORMAL */
287
+ /* GL_VERTEX_ARRAY */
288
+ /* GL_NORMAL_ARRAY */
289
+ /* GL_COLOR_ARRAY */
290
+ /* GL_INDEX_ARRAY */
291
+ /* GL_TEXTURE_COORD_ARRAY */
292
+ /* GL_EDGE_FLAG_ARRAY */
293
+ /* GL_POLYGON_OFFSET_POINT */
294
+ /* GL_POLYGON_OFFSET_LINE */
295
+ /* GL_POLYGON_OFFSET_FILL */
296
+
297
+ /* ErrorCode */
298
+ #define GL_NO_ERROR 0
299
+ #define GL_INVALID_ENUM 0x0500
300
+ #define GL_INVALID_VALUE 0x0501
301
+ #define GL_INVALID_OPERATION 0x0502
302
+ #define GL_STACK_OVERFLOW 0x0503
303
+ #define GL_STACK_UNDERFLOW 0x0504
304
+ #define GL_OUT_OF_MEMORY 0x0505
305
+
306
+ /* FeedBackMode */
307
+ #define GL_2D 0x0600
308
+ #define GL_3D 0x0601
309
+ #define GL_3D_COLOR 0x0602
310
+ #define GL_3D_COLOR_TEXTURE 0x0603
311
+ #define GL_4D_COLOR_TEXTURE 0x0604
312
+
313
+ /* FeedBackToken */
314
+ #define GL_PASS_THROUGH_TOKEN 0x0700
315
+ #define GL_POINT_TOKEN 0x0701
316
+ #define GL_LINE_TOKEN 0x0702
317
+ #define GL_POLYGON_TOKEN 0x0703
318
+ #define GL_BITMAP_TOKEN 0x0704
319
+ #define GL_DRAW_PIXEL_TOKEN 0x0705
320
+ #define GL_COPY_PIXEL_TOKEN 0x0706
321
+ #define GL_LINE_RESET_TOKEN 0x0707
322
+
323
+ /* FogMode */
324
+ /* GL_LINEAR */
325
+ #define GL_EXP 0x0800
326
+ #define GL_EXP2 0x0801
327
+
328
+
329
+ /* FogParameter */
330
+ /* GL_FOG_COLOR */
331
+ /* GL_FOG_DENSITY */
332
+ /* GL_FOG_END */
333
+ /* GL_FOG_INDEX */
334
+ /* GL_FOG_MODE */
335
+ /* GL_FOG_START */
336
+
337
+ /* FrontFaceDirection */
338
+ #define GL_CW 0x0900
339
+ #define GL_CCW 0x0901
340
+
341
+ /* GetMapTarget */
342
+ #define GL_COEFF 0x0A00
343
+ #define GL_ORDER 0x0A01
344
+ #define GL_DOMAIN 0x0A02
345
+
346
+ /* GetPixelMap */
347
+ /* GL_PIXEL_MAP_I_TO_I */
348
+ /* GL_PIXEL_MAP_S_TO_S */
349
+ /* GL_PIXEL_MAP_I_TO_R */
350
+ /* GL_PIXEL_MAP_I_TO_G */
351
+ /* GL_PIXEL_MAP_I_TO_B */
352
+ /* GL_PIXEL_MAP_I_TO_A */
353
+ /* GL_PIXEL_MAP_R_TO_R */
354
+ /* GL_PIXEL_MAP_G_TO_G */
355
+ /* GL_PIXEL_MAP_B_TO_B */
356
+ /* GL_PIXEL_MAP_A_TO_A */
357
+
358
+ /* GetPointerTarget */
359
+ /* GL_VERTEX_ARRAY_POINTER */
360
+ /* GL_NORMAL_ARRAY_POINTER */
361
+ /* GL_COLOR_ARRAY_POINTER */
362
+ /* GL_INDEX_ARRAY_POINTER */
363
+ /* GL_TEXTURE_COORD_ARRAY_POINTER */
364
+ /* GL_EDGE_FLAG_ARRAY_POINTER */
365
+
366
+ /* GetTarget */
367
+ #define GL_CURRENT_COLOR 0x0B00
368
+ #define GL_CURRENT_INDEX 0x0B01
369
+ #define GL_CURRENT_NORMAL 0x0B02
370
+ #define GL_CURRENT_TEXTURE_COORDS 0x0B03
371
+ #define GL_CURRENT_RASTER_COLOR 0x0B04
372
+ #define GL_CURRENT_RASTER_INDEX 0x0B05
373
+ #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
374
+ #define GL_CURRENT_RASTER_POSITION 0x0B07
375
+ #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
376
+ #define GL_CURRENT_RASTER_DISTANCE 0x0B09
377
+ #define GL_POINT_SMOOTH 0x0B10
378
+ #define GL_POINT_SIZE 0x0B11
379
+ #define GL_POINT_SIZE_RANGE 0x0B12
380
+ #define GL_POINT_SIZE_GRANULARITY 0x0B13
381
+ #define GL_LINE_SMOOTH 0x0B20
382
+ #define GL_LINE_WIDTH 0x0B21
383
+ #define GL_LINE_WIDTH_RANGE 0x0B22
384
+ #define GL_LINE_WIDTH_GRANULARITY 0x0B23
385
+ #define GL_LINE_STIPPLE 0x0B24
386
+ #define GL_LINE_STIPPLE_PATTERN 0x0B25
387
+ #define GL_LINE_STIPPLE_REPEAT 0x0B26
388
+ #define GL_LIST_MODE 0x0B30
389
+ #define GL_MAX_LIST_NESTING 0x0B31
390
+ #define GL_LIST_BASE 0x0B32
391
+ #define GL_LIST_INDEX 0x0B33
392
+ #define GL_POLYGON_MODE 0x0B40
393
+ #define GL_POLYGON_SMOOTH 0x0B41
394
+ #define GL_POLYGON_STIPPLE 0x0B42
395
+ #define GL_EDGE_FLAG 0x0B43
396
+ #define GL_CULL_FACE 0x0B44
397
+ #define GL_CULL_FACE_MODE 0x0B45
398
+ #define GL_FRONT_FACE 0x0B46
399
+ #define GL_LIGHTING 0x0B50
400
+ #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
401
+ #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
402
+ #define GL_LIGHT_MODEL_AMBIENT 0x0B53
403
+ #define GL_SHADE_MODEL 0x0B54
404
+ #define GL_COLOR_MATERIAL_FACE 0x0B55
405
+ #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
406
+ #define GL_COLOR_MATERIAL 0x0B57
407
+ #define GL_FOG 0x0B60
408
+ #define GL_FOG_INDEX 0x0B61
409
+ #define GL_FOG_DENSITY 0x0B62
410
+ #define GL_FOG_START 0x0B63
411
+ #define GL_FOG_END 0x0B64
412
+ #define GL_FOG_MODE 0x0B65
413
+ #define GL_FOG_COLOR 0x0B66
414
+ #define GL_DEPTH_RANGE 0x0B70
415
+ #define GL_DEPTH_TEST 0x0B71
416
+ #define GL_DEPTH_WRITEMASK 0x0B72
417
+ #define GL_DEPTH_CLEAR_VALUE 0x0B73
418
+ #define GL_DEPTH_FUNC 0x0B74
419
+ #define GL_ACCUM_CLEAR_VALUE 0x0B80
420
+ #define GL_STENCIL_TEST 0x0B90
421
+ #define GL_STENCIL_CLEAR_VALUE 0x0B91
422
+ #define GL_STENCIL_FUNC 0x0B92
423
+ #define GL_STENCIL_VALUE_MASK 0x0B93
424
+ #define GL_STENCIL_FAIL 0x0B94
425
+ #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
426
+ #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
427
+ #define GL_STENCIL_REF 0x0B97
428
+ #define GL_STENCIL_WRITEMASK 0x0B98
429
+ #define GL_MATRIX_MODE 0x0BA0
430
+ #define GL_NORMALIZE 0x0BA1
431
+ #define GL_VIEWPORT 0x0BA2
432
+ #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
433
+ #define GL_PROJECTION_STACK_DEPTH 0x0BA4
434
+ #define GL_TEXTURE_STACK_DEPTH 0x0BA5
435
+ #define GL_MODELVIEW_MATRIX 0x0BA6
436
+ #define GL_PROJECTION_MATRIX 0x0BA7
437
+ #define GL_TEXTURE_MATRIX 0x0BA8
438
+ #define GL_ATTRIB_STACK_DEPTH 0x0BB0
439
+ #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
440
+ #define GL_ALPHA_TEST 0x0BC0
441
+ #define GL_ALPHA_TEST_FUNC 0x0BC1
442
+ #define GL_ALPHA_TEST_REF 0x0BC2
443
+ #define GL_DITHER 0x0BD0
444
+ #define GL_BLEND_DST 0x0BE0
445
+ #define GL_BLEND_SRC 0x0BE1
446
+ #define GL_BLEND 0x0BE2
447
+ #define GL_LOGIC_OP_MODE 0x0BF0
448
+ #define GL_INDEX_LOGIC_OP 0x0BF1
449
+ #define GL_COLOR_LOGIC_OP 0x0BF2
450
+ #define GL_AUX_BUFFERS 0x0C00
451
+ #define GL_DRAW_BUFFER 0x0C01
452
+ #define GL_READ_BUFFER 0x0C02
453
+ #define GL_SCISSOR_BOX 0x0C10
454
+ #define GL_SCISSOR_TEST 0x0C11
455
+ #define GL_INDEX_CLEAR_VALUE 0x0C20
456
+ #define GL_INDEX_WRITEMASK 0x0C21
457
+ #define GL_COLOR_CLEAR_VALUE 0x0C22
458
+ #define GL_COLOR_WRITEMASK 0x0C23
459
+ #define GL_INDEX_MODE 0x0C30
460
+ #define GL_RGBA_MODE 0x0C31
461
+ #define GL_DOUBLEBUFFER 0x0C32
462
+ #define GL_STEREO 0x0C33
463
+ #define GL_RENDER_MODE 0x0C40
464
+ #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
465
+ #define GL_POINT_SMOOTH_HINT 0x0C51
466
+ #define GL_LINE_SMOOTH_HINT 0x0C52
467
+ #define GL_POLYGON_SMOOTH_HINT 0x0C53
468
+ #define GL_FOG_HINT 0x0C54
469
+ #define GL_TEXTURE_GEN_S 0x0C60
470
+ #define GL_TEXTURE_GEN_T 0x0C61
471
+ #define GL_TEXTURE_GEN_R 0x0C62
472
+ #define GL_TEXTURE_GEN_Q 0x0C63
473
+ #define GL_PIXEL_MAP_I_TO_I 0x0C70
474
+ #define GL_PIXEL_MAP_S_TO_S 0x0C71
475
+ #define GL_PIXEL_MAP_I_TO_R 0x0C72
476
+ #define GL_PIXEL_MAP_I_TO_G 0x0C73
477
+ #define GL_PIXEL_MAP_I_TO_B 0x0C74
478
+ #define GL_PIXEL_MAP_I_TO_A 0x0C75
479
+ #define GL_PIXEL_MAP_R_TO_R 0x0C76
480
+ #define GL_PIXEL_MAP_G_TO_G 0x0C77
481
+ #define GL_PIXEL_MAP_B_TO_B 0x0C78
482
+ #define GL_PIXEL_MAP_A_TO_A 0x0C79
483
+ #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
484
+ #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
485
+ #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
486
+ #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
487
+ #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
488
+ #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
489
+ #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
490
+ #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
491
+ #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
492
+ #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
493
+ #define GL_UNPACK_SWAP_BYTES 0x0CF0
494
+ #define GL_UNPACK_LSB_FIRST 0x0CF1
495
+ #define GL_UNPACK_ROW_LENGTH 0x0CF2
496
+ #define GL_UNPACK_SKIP_ROWS 0x0CF3
497
+ #define GL_UNPACK_SKIP_PIXELS 0x0CF4
498
+ #define GL_UNPACK_ALIGNMENT 0x0CF5
499
+ #define GL_PACK_SWAP_BYTES 0x0D00
500
+ #define GL_PACK_LSB_FIRST 0x0D01
501
+ #define GL_PACK_ROW_LENGTH 0x0D02
502
+ #define GL_PACK_SKIP_ROWS 0x0D03
503
+ #define GL_PACK_SKIP_PIXELS 0x0D04
504
+ #define GL_PACK_ALIGNMENT 0x0D05
505
+ #define GL_MAP_COLOR 0x0D10
506
+ #define GL_MAP_STENCIL 0x0D11
507
+ #define GL_INDEX_SHIFT 0x0D12
508
+ #define GL_INDEX_OFFSET 0x0D13
509
+ #define GL_RED_SCALE 0x0D14
510
+ #define GL_RED_BIAS 0x0D15
511
+ #define GL_ZOOM_X 0x0D16
512
+ #define GL_ZOOM_Y 0x0D17
513
+ #define GL_GREEN_SCALE 0x0D18
514
+ #define GL_GREEN_BIAS 0x0D19
515
+ #define GL_BLUE_SCALE 0x0D1A
516
+ #define GL_BLUE_BIAS 0x0D1B
517
+ #define GL_ALPHA_SCALE 0x0D1C
518
+ #define GL_ALPHA_BIAS 0x0D1D
519
+ #define GL_DEPTH_SCALE 0x0D1E
520
+ #define GL_DEPTH_BIAS 0x0D1F
521
+ #define GL_MAX_EVAL_ORDER 0x0D30
522
+ #define GL_MAX_LIGHTS 0x0D31
523
+ #define GL_MAX_CLIP_PLANES 0x0D32
524
+ #define GL_MAX_TEXTURE_SIZE 0x0D33
525
+ #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
526
+ #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
527
+ #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
528
+ #define GL_MAX_NAME_STACK_DEPTH 0x0D37
529
+ #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
530
+ #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
531
+ #define GL_MAX_VIEWPORT_DIMS 0x0D3A
532
+ #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
533
+ #define GL_SUBPIXEL_BITS 0x0D50
534
+ #define GL_INDEX_BITS 0x0D51
535
+ #define GL_RED_BITS 0x0D52
536
+ #define GL_GREEN_BITS 0x0D53
537
+ #define GL_BLUE_BITS 0x0D54
538
+ #define GL_ALPHA_BITS 0x0D55
539
+ #define GL_DEPTH_BITS 0x0D56
540
+ #define GL_STENCIL_BITS 0x0D57
541
+ #define GL_ACCUM_RED_BITS 0x0D58
542
+ #define GL_ACCUM_GREEN_BITS 0x0D59
543
+ #define GL_ACCUM_BLUE_BITS 0x0D5A
544
+ #define GL_ACCUM_ALPHA_BITS 0x0D5B
545
+ #define GL_NAME_STACK_DEPTH 0x0D70
546
+ #define GL_AUTO_NORMAL 0x0D80
547
+ #define GL_MAP1_COLOR_4 0x0D90
548
+ #define GL_MAP1_INDEX 0x0D91
549
+ #define GL_MAP1_NORMAL 0x0D92
550
+ #define GL_MAP1_TEXTURE_COORD_1 0x0D93
551
+ #define GL_MAP1_TEXTURE_COORD_2 0x0D94
552
+ #define GL_MAP1_TEXTURE_COORD_3 0x0D95
553
+ #define GL_MAP1_TEXTURE_COORD_4 0x0D96
554
+ #define GL_MAP1_VERTEX_3 0x0D97
555
+ #define GL_MAP1_VERTEX_4 0x0D98
556
+ #define GL_MAP2_COLOR_4 0x0DB0
557
+ #define GL_MAP2_INDEX 0x0DB1
558
+ #define GL_MAP2_NORMAL 0x0DB2
559
+ #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
560
+ #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
561
+ #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
562
+ #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
563
+ #define GL_MAP2_VERTEX_3 0x0DB7
564
+ #define GL_MAP2_VERTEX_4 0x0DB8
565
+ #define GL_MAP1_GRID_DOMAIN 0x0DD0
566
+ #define GL_MAP1_GRID_SEGMENTS 0x0DD1
567
+ #define GL_MAP2_GRID_DOMAIN 0x0DD2
568
+ #define GL_MAP2_GRID_SEGMENTS 0x0DD3
569
+ #define GL_TEXTURE_1D 0x0DE0
570
+ #define GL_TEXTURE_2D 0x0DE1
571
+ #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
572
+ #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
573
+ #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
574
+ #define GL_SELECTION_BUFFER_POINTER 0x0DF3
575
+ #define GL_SELECTION_BUFFER_SIZE 0x0DF4
576
+ /* GL_TEXTURE_BINDING_1D */
577
+ /* GL_TEXTURE_BINDING_2D */
578
+ /* GL_VERTEX_ARRAY */
579
+ /* GL_NORMAL_ARRAY */
580
+ /* GL_COLOR_ARRAY */
581
+ /* GL_INDEX_ARRAY */
582
+ /* GL_TEXTURE_COORD_ARRAY */
583
+ /* GL_EDGE_FLAG_ARRAY */
584
+ /* GL_VERTEX_ARRAY_SIZE */
585
+ /* GL_VERTEX_ARRAY_TYPE */
586
+ /* GL_VERTEX_ARRAY_STRIDE */
587
+ /* GL_NORMAL_ARRAY_TYPE */
588
+ /* GL_NORMAL_ARRAY_STRIDE */
589
+ /* GL_COLOR_ARRAY_SIZE */
590
+ /* GL_COLOR_ARRAY_TYPE */
591
+ /* GL_COLOR_ARRAY_STRIDE */
592
+ /* GL_INDEX_ARRAY_TYPE */
593
+ /* GL_INDEX_ARRAY_STRIDE */
594
+ /* GL_TEXTURE_COORD_ARRAY_SIZE */
595
+ /* GL_TEXTURE_COORD_ARRAY_TYPE */
596
+ /* GL_TEXTURE_COORD_ARRAY_STRIDE */
597
+ /* GL_EDGE_FLAG_ARRAY_STRIDE */
598
+ /* GL_POLYGON_OFFSET_FACTOR */
599
+ /* GL_POLYGON_OFFSET_UNITS */
600
+
601
+ /* GetTextureParameter */
602
+ /* GL_TEXTURE_MAG_FILTER */
603
+ /* GL_TEXTURE_MIN_FILTER */
604
+ /* GL_TEXTURE_WRAP_S */
605
+ /* GL_TEXTURE_WRAP_T */
606
+ #define GL_TEXTURE_WIDTH 0x1000
607
+ #define GL_TEXTURE_HEIGHT 0x1001
608
+ #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
609
+ #define GL_TEXTURE_BORDER_COLOR 0x1004
610
+ #define GL_TEXTURE_BORDER 0x1005
611
+ /* GL_TEXTURE_RED_SIZE */
612
+ /* GL_TEXTURE_GREEN_SIZE */
613
+ /* GL_TEXTURE_BLUE_SIZE */
614
+ /* GL_TEXTURE_ALPHA_SIZE */
615
+ /* GL_TEXTURE_LUMINANCE_SIZE */
616
+ /* GL_TEXTURE_INTENSITY_SIZE */
617
+ /* GL_TEXTURE_PRIORITY */
618
+ /* GL_TEXTURE_RESIDENT */
619
+
620
+ /* HintMode */
621
+ #define GL_DONT_CARE 0x1100
622
+ #define GL_FASTEST 0x1101
623
+ #define GL_NICEST 0x1102
624
+
625
+ /* HintTarget */
626
+ /* GL_PERSPECTIVE_CORRECTION_HINT */
627
+ /* GL_POINT_SMOOTH_HINT */
628
+ /* GL_LINE_SMOOTH_HINT */
629
+ /* GL_POLYGON_SMOOTH_HINT */
630
+ /* GL_FOG_HINT */
631
+ /* GL_PHONG_HINT */
632
+
633
+ /* IndexPointerType */
634
+ /* GL_SHORT */
635
+ /* GL_INT */
636
+ /* GL_FLOAT */
637
+ /* GL_DOUBLE */
638
+
639
+ /* LightModelParameter */
640
+ /* GL_LIGHT_MODEL_AMBIENT */
641
+ /* GL_LIGHT_MODEL_LOCAL_VIEWER */
642
+ /* GL_LIGHT_MODEL_TWO_SIDE */
643
+
644
+ /* LightName */
645
+ #define GL_LIGHT0 0x4000
646
+ #define GL_LIGHT1 0x4001
647
+ #define GL_LIGHT2 0x4002
648
+ #define GL_LIGHT3 0x4003
649
+ #define GL_LIGHT4 0x4004
650
+ #define GL_LIGHT5 0x4005
651
+ #define GL_LIGHT6 0x4006
652
+ #define GL_LIGHT7 0x4007
653
+
654
+ /* LightParameter */
655
+ #define GL_AMBIENT 0x1200
656
+ #define GL_DIFFUSE 0x1201
657
+ #define GL_SPECULAR 0x1202
658
+ #define GL_POSITION 0x1203
659
+ #define GL_SPOT_DIRECTION 0x1204
660
+ #define GL_SPOT_EXPONENT 0x1205
661
+ #define GL_SPOT_CUTOFF 0x1206
662
+ #define GL_CONSTANT_ATTENUATION 0x1207
663
+ #define GL_LINEAR_ATTENUATION 0x1208
664
+ #define GL_QUADRATIC_ATTENUATION 0x1209
665
+
666
+ /* InterleavedArrays */
667
+ /* GL_V2F */
668
+ /* GL_V3F */
669
+ /* GL_C4UB_V2F */
670
+ /* GL_C4UB_V3F */
671
+ /* GL_C3F_V3F */
672
+ /* GL_N3F_V3F */
673
+ /* GL_C4F_N3F_V3F */
674
+ /* GL_T2F_V3F */
675
+ /* GL_T4F_V4F */
676
+ /* GL_T2F_C4UB_V3F */
677
+ /* GL_T2F_C3F_V3F */
678
+ /* GL_T2F_N3F_V3F */
679
+ /* GL_T2F_C4F_N3F_V3F */
680
+ /* GL_T4F_C4F_N3F_V4F */
681
+
682
+ /* ListMode */
683
+ #define GL_COMPILE 0x1300
684
+ #define GL_COMPILE_AND_EXECUTE 0x1301
685
+
686
+ /* ListNameType */
687
+ /* GL_BYTE */
688
+ /* GL_UNSIGNED_BYTE */
689
+ /* GL_SHORT */
690
+ /* GL_UNSIGNED_SHORT */
691
+ /* GL_INT */
692
+ /* GL_UNSIGNED_INT */
693
+ /* GL_FLOAT */
694
+ /* GL_2_BYTES */
695
+ /* GL_3_BYTES */
696
+ /* GL_4_BYTES */
697
+
698
+ /* LogicOp */
699
+ #define GL_CLEAR 0x1500
700
+ #define GL_AND 0x1501
701
+ #define GL_AND_REVERSE 0x1502
702
+ #define GL_COPY 0x1503
703
+ #define GL_AND_INVERTED 0x1504
704
+ #define GL_NOOP 0x1505
705
+ #define GL_XOR 0x1506
706
+ #define GL_OR 0x1507
707
+ #define GL_NOR 0x1508
708
+ #define GL_EQUIV 0x1509
709
+ #define GL_INVERT 0x150A
710
+ #define GL_OR_REVERSE 0x150B
711
+ #define GL_COPY_INVERTED 0x150C
712
+ #define GL_OR_INVERTED 0x150D
713
+ #define GL_NAND 0x150E
714
+ #define GL_SET 0x150F
715
+
716
+ /* MapTarget */
717
+ /* GL_MAP1_COLOR_4 */
718
+ /* GL_MAP1_INDEX */
719
+ /* GL_MAP1_NORMAL */
720
+ /* GL_MAP1_TEXTURE_COORD_1 */
721
+ /* GL_MAP1_TEXTURE_COORD_2 */
722
+ /* GL_MAP1_TEXTURE_COORD_3 */
723
+ /* GL_MAP1_TEXTURE_COORD_4 */
724
+ /* GL_MAP1_VERTEX_3 */
725
+ /* GL_MAP1_VERTEX_4 */
726
+ /* GL_MAP2_COLOR_4 */
727
+ /* GL_MAP2_INDEX */
728
+ /* GL_MAP2_NORMAL */
729
+ /* GL_MAP2_TEXTURE_COORD_1 */
730
+ /* GL_MAP2_TEXTURE_COORD_2 */
731
+ /* GL_MAP2_TEXTURE_COORD_3 */
732
+ /* GL_MAP2_TEXTURE_COORD_4 */
733
+ /* GL_MAP2_VERTEX_3 */
734
+ /* GL_MAP2_VERTEX_4 */
735
+
736
+ /* MaterialFace */
737
+ /* GL_FRONT */
738
+ /* GL_BACK */
739
+ /* GL_FRONT_AND_BACK */
740
+
741
+ /* MaterialParameter */
742
+ #define GL_EMISSION 0x1600
743
+ #define GL_SHININESS 0x1601
744
+ #define GL_AMBIENT_AND_DIFFUSE 0x1602
745
+ #define GL_COLOR_INDEXES 0x1603
746
+ /* GL_AMBIENT */
747
+ /* GL_DIFFUSE */
748
+ /* GL_SPECULAR */
749
+
750
+ /* MatrixMode */
751
+ #define GL_MODELVIEW 0x1700
752
+ #define GL_PROJECTION 0x1701
753
+ #define GL_TEXTURE 0x1702
754
+
755
+ /* MeshMode1 */
756
+ /* GL_POINT */
757
+ /* GL_LINE */
758
+
759
+ /* MeshMode2 */
760
+ /* GL_POINT */
761
+ /* GL_LINE */
762
+ /* GL_FILL */
763
+
764
+ /* NormalPointerType */
765
+ /* GL_BYTE */
766
+ /* GL_SHORT */
767
+ /* GL_INT */
768
+ /* GL_FLOAT */
769
+ /* GL_DOUBLE */
770
+
771
+ /* PixelCopyType */
772
+ #define GL_COLOR 0x1800
773
+ #define GL_DEPTH 0x1801
774
+ #define GL_STENCIL 0x1802
775
+
776
+ /* PixelFormat */
777
+ #define GL_COLOR_INDEX 0x1900
778
+ #define GL_STENCIL_INDEX 0x1901
779
+ #define GL_DEPTH_COMPONENT 0x1902
780
+ #define GL_RED 0x1903
781
+ #define GL_GREEN 0x1904
782
+ #define GL_BLUE 0x1905
783
+ #define GL_ALPHA 0x1906
784
+ #define GL_RGB 0x1907
785
+ #define GL_RGBA 0x1908
786
+ #define GL_LUMINANCE 0x1909
787
+ #define GL_LUMINANCE_ALPHA 0x190A
788
+
789
+ /* PixelMap */
790
+ /* GL_PIXEL_MAP_I_TO_I */
791
+ /* GL_PIXEL_MAP_S_TO_S */
792
+ /* GL_PIXEL_MAP_I_TO_R */
793
+ /* GL_PIXEL_MAP_I_TO_G */
794
+ /* GL_PIXEL_MAP_I_TO_B */
795
+ /* GL_PIXEL_MAP_I_TO_A */
796
+ /* GL_PIXEL_MAP_R_TO_R */
797
+ /* GL_PIXEL_MAP_G_TO_G */
798
+ /* GL_PIXEL_MAP_B_TO_B */
799
+ /* GL_PIXEL_MAP_A_TO_A */
800
+
801
+ /* PixelStore */
802
+ /* GL_UNPACK_SWAP_BYTES */
803
+ /* GL_UNPACK_LSB_FIRST */
804
+ /* GL_UNPACK_ROW_LENGTH */
805
+ /* GL_UNPACK_SKIP_ROWS */
806
+ /* GL_UNPACK_SKIP_PIXELS */
807
+ /* GL_UNPACK_ALIGNMENT */
808
+ /* GL_PACK_SWAP_BYTES */
809
+ /* GL_PACK_LSB_FIRST */
810
+ /* GL_PACK_ROW_LENGTH */
811
+ /* GL_PACK_SKIP_ROWS */
812
+ /* GL_PACK_SKIP_PIXELS */
813
+ /* GL_PACK_ALIGNMENT */
814
+
815
+ /* PixelTransfer */
816
+ /* GL_MAP_COLOR */
817
+ /* GL_MAP_STENCIL */
818
+ /* GL_INDEX_SHIFT */
819
+ /* GL_INDEX_OFFSET */
820
+ /* GL_RED_SCALE */
821
+ /* GL_RED_BIAS */
822
+ /* GL_GREEN_SCALE */
823
+ /* GL_GREEN_BIAS */
824
+ /* GL_BLUE_SCALE */
825
+ /* GL_BLUE_BIAS */
826
+ /* GL_ALPHA_SCALE */
827
+ /* GL_ALPHA_BIAS */
828
+ /* GL_DEPTH_SCALE */
829
+ /* GL_DEPTH_BIAS */
830
+
831
+ /* PixelType */
832
+ #define GL_BITMAP 0x1A00
833
+ /* GL_BYTE */
834
+ /* GL_UNSIGNED_BYTE */
835
+ /* GL_SHORT */
836
+ /* GL_UNSIGNED_SHORT */
837
+ /* GL_INT */
838
+ /* GL_UNSIGNED_INT */
839
+ /* GL_FLOAT */
840
+
841
+ /* PolygonMode */
842
+ #define GL_POINT 0x1B00
843
+ #define GL_LINE 0x1B01
844
+ #define GL_FILL 0x1B02
845
+
846
+ /* ReadBufferMode */
847
+ /* GL_FRONT_LEFT */
848
+ /* GL_FRONT_RIGHT */
849
+ /* GL_BACK_LEFT */
850
+ /* GL_BACK_RIGHT */
851
+ /* GL_FRONT */
852
+ /* GL_BACK */
853
+ /* GL_LEFT */
854
+ /* GL_RIGHT */
855
+ /* GL_AUX0 */
856
+ /* GL_AUX1 */
857
+ /* GL_AUX2 */
858
+ /* GL_AUX3 */
859
+
860
+ /* RenderingMode */
861
+ #define GL_RENDER 0x1C00
862
+ #define GL_FEEDBACK 0x1C01
863
+ #define GL_SELECT 0x1C02
864
+
865
+ /* ShadingModel */
866
+ #define GL_FLAT 0x1D00
867
+ #define GL_SMOOTH 0x1D01
868
+
869
+
870
+ /* StencilFunction */
871
+ /* GL_NEVER */
872
+ /* GL_LESS */
873
+ /* GL_EQUAL */
874
+ /* GL_LEQUAL */
875
+ /* GL_GREATER */
876
+ /* GL_NOTEQUAL */
877
+ /* GL_GEQUAL */
878
+ /* GL_ALWAYS */
879
+
880
+ /* StencilOp */
881
+ /* GL_ZERO */
882
+ #define GL_KEEP 0x1E00
883
+ #define GL_REPLACE 0x1E01
884
+ #define GL_INCR 0x1E02
885
+ #define GL_DECR 0x1E03
886
+ /* GL_INVERT */
887
+
888
+ /* StringName */
889
+ #define GL_VENDOR 0x1F00
890
+ #define GL_RENDERER 0x1F01
891
+ #define GL_VERSION 0x1F02
892
+ #define GL_EXTENSIONS 0x1F03
893
+
894
+ /* TextureCoordName */
895
+ #define GL_S 0x2000
896
+ #define GL_T 0x2001
897
+ #define GL_R 0x2002
898
+ #define GL_Q 0x2003
899
+
900
+ /* TexCoordPointerType */
901
+ /* GL_SHORT */
902
+ /* GL_INT */
903
+ /* GL_FLOAT */
904
+ /* GL_DOUBLE */
905
+
906
+ /* TextureEnvMode */
907
+ #define GL_MODULATE 0x2100
908
+ #define GL_DECAL 0x2101
909
+ /* GL_BLEND */
910
+ /* GL_REPLACE */
911
+
912
+ /* TextureEnvParameter */
913
+ #define GL_TEXTURE_ENV_MODE 0x2200
914
+ #define GL_TEXTURE_ENV_COLOR 0x2201
915
+
916
+ /* TextureEnvTarget */
917
+ #define GL_TEXTURE_ENV 0x2300
918
+
919
+ /* TextureGenMode */
920
+ #define GL_EYE_LINEAR 0x2400
921
+ #define GL_OBJECT_LINEAR 0x2401
922
+ #define GL_SPHERE_MAP 0x2402
923
+
924
+ /* TextureGenParameter */
925
+ #define GL_TEXTURE_GEN_MODE 0x2500
926
+ #define GL_OBJECT_PLANE 0x2501
927
+ #define GL_EYE_PLANE 0x2502
928
+
929
+ /* TextureMagFilter */
930
+ #define GL_NEAREST 0x2600
931
+ #define GL_LINEAR 0x2601
932
+
933
+ /* TextureMinFilter */
934
+ /* GL_NEAREST */
935
+ /* GL_LINEAR */
936
+ #define GL_NEAREST_MIPMAP_NEAREST 0x2700
937
+ #define GL_LINEAR_MIPMAP_NEAREST 0x2701
938
+ #define GL_NEAREST_MIPMAP_LINEAR 0x2702
939
+ #define GL_LINEAR_MIPMAP_LINEAR 0x2703
940
+
941
+ /* TextureParameterName */
942
+ #define GL_TEXTURE_MAG_FILTER 0x2800
943
+ #define GL_TEXTURE_MIN_FILTER 0x2801
944
+ #define GL_TEXTURE_WRAP_S 0x2802
945
+ #define GL_TEXTURE_WRAP_T 0x2803
946
+ /* GL_TEXTURE_BORDER_COLOR */
947
+ /* GL_TEXTURE_PRIORITY */
948
+
949
+ /* TextureTarget */
950
+ /* GL_TEXTURE_1D */
951
+ /* GL_TEXTURE_2D */
952
+ /* GL_PROXY_TEXTURE_1D */
953
+ /* GL_PROXY_TEXTURE_2D */
954
+
955
+ /* TextureWrapMode */
956
+ #define GL_CLAMP 0x2900
957
+ #define GL_REPEAT 0x2901
958
+
959
+ /* VertexPointerType */
960
+ /* GL_SHORT */
961
+ /* GL_INT */
962
+ /* GL_FLOAT */
963
+ /* GL_DOUBLE */
964
+
965
+ /* ClientAttribMask */
966
+ #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
967
+ #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
968
+ #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
969
+
970
+ /* polygon_offset */
971
+ #define GL_POLYGON_OFFSET_FACTOR 0x8038
972
+ #define GL_POLYGON_OFFSET_UNITS 0x2A00
973
+ #define GL_POLYGON_OFFSET_POINT 0x2A01
974
+ #define GL_POLYGON_OFFSET_LINE 0x2A02
975
+ #define GL_POLYGON_OFFSET_FILL 0x8037
976
+
977
+ /* texture */
978
+ #define GL_ALPHA4 0x803B
979
+ #define GL_ALPHA8 0x803C
980
+ #define GL_ALPHA12 0x803D
981
+ #define GL_ALPHA16 0x803E
982
+ #define GL_LUMINANCE4 0x803F
983
+ #define GL_LUMINANCE8 0x8040
984
+ #define GL_LUMINANCE12 0x8041
985
+ #define GL_LUMINANCE16 0x8042
986
+ #define GL_LUMINANCE4_ALPHA4 0x8043
987
+ #define GL_LUMINANCE6_ALPHA2 0x8044
988
+ #define GL_LUMINANCE8_ALPHA8 0x8045
989
+ #define GL_LUMINANCE12_ALPHA4 0x8046
990
+ #define GL_LUMINANCE12_ALPHA12 0x8047
991
+ #define GL_LUMINANCE16_ALPHA16 0x8048
992
+ #define GL_INTENSITY 0x8049
993
+ #define GL_INTENSITY4 0x804A
994
+ #define GL_INTENSITY8 0x804B
995
+ #define GL_INTENSITY12 0x804C
996
+ #define GL_INTENSITY16 0x804D
997
+ #define GL_R3_G3_B2 0x2A10
998
+ #define GL_RGB4 0x804F
999
+ #define GL_RGB5 0x8050
1000
+ #define GL_RGB8 0x8051
1001
+ #define GL_RGB10 0x8052
1002
+ #define GL_RGB12 0x8053
1003
+ #define GL_RGB16 0x8054
1004
+ #define GL_RGBA2 0x8055
1005
+ #define GL_RGBA4 0x8056
1006
+ #define GL_RGB5_A1 0x8057
1007
+ #define GL_RGBA8 0x8058
1008
+ #define GL_RGB10_A2 0x8059
1009
+ #define GL_RGBA12 0x805A
1010
+ #define GL_RGBA16 0x805B
1011
+ #define GL_TEXTURE_RED_SIZE 0x805C
1012
+ #define GL_TEXTURE_GREEN_SIZE 0x805D
1013
+ #define GL_TEXTURE_BLUE_SIZE 0x805E
1014
+ #define GL_TEXTURE_ALPHA_SIZE 0x805F
1015
+ #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
1016
+ #define GL_TEXTURE_INTENSITY_SIZE 0x8061
1017
+ #define GL_PROXY_TEXTURE_1D 0x8063
1018
+ #define GL_PROXY_TEXTURE_2D 0x8064
1019
+
1020
+ /* texture_object */
1021
+ #define GL_TEXTURE_PRIORITY 0x8066
1022
+ #define GL_TEXTURE_RESIDENT 0x8067
1023
+ #define GL_TEXTURE_BINDING_1D 0x8068
1024
+ #define GL_TEXTURE_BINDING_2D 0x8069
1025
+
1026
+ /* vertex_array */
1027
+ #define GL_VERTEX_ARRAY 0x8074
1028
+ #define GL_NORMAL_ARRAY 0x8075
1029
+ #define GL_COLOR_ARRAY 0x8076
1030
+ #define GL_INDEX_ARRAY 0x8077
1031
+ #define GL_TEXTURE_COORD_ARRAY 0x8078
1032
+ #define GL_EDGE_FLAG_ARRAY 0x8079
1033
+ #define GL_VERTEX_ARRAY_SIZE 0x807A
1034
+ #define GL_VERTEX_ARRAY_TYPE 0x807B
1035
+ #define GL_VERTEX_ARRAY_STRIDE 0x807C
1036
+ #define GL_NORMAL_ARRAY_TYPE 0x807E
1037
+ #define GL_NORMAL_ARRAY_STRIDE 0x807F
1038
+ #define GL_COLOR_ARRAY_SIZE 0x8081
1039
+ #define GL_COLOR_ARRAY_TYPE 0x8082
1040
+ #define GL_COLOR_ARRAY_STRIDE 0x8083
1041
+ #define GL_INDEX_ARRAY_TYPE 0x8085
1042
+ #define GL_INDEX_ARRAY_STRIDE 0x8086
1043
+ #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
1044
+ #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
1045
+ #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
1046
+ #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
1047
+ #define GL_VERTEX_ARRAY_POINTER 0x808E
1048
+ #define GL_NORMAL_ARRAY_POINTER 0x808F
1049
+ #define GL_COLOR_ARRAY_POINTER 0x8090
1050
+ #define GL_INDEX_ARRAY_POINTER 0x8091
1051
+ #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
1052
+ #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
1053
+ #define GL_V2F 0x2A20
1054
+ #define GL_V3F 0x2A21
1055
+ #define GL_C4UB_V2F 0x2A22
1056
+ #define GL_C4UB_V3F 0x2A23
1057
+ #define GL_C3F_V3F 0x2A24
1058
+ #define GL_N3F_V3F 0x2A25
1059
+ #define GL_C4F_N3F_V3F 0x2A26
1060
+ #define GL_T2F_V3F 0x2A27
1061
+ #define GL_T4F_V4F 0x2A28
1062
+ #define GL_T2F_C4UB_V3F 0x2A29
1063
+ #define GL_T2F_C3F_V3F 0x2A2A
1064
+ #define GL_T2F_N3F_V3F 0x2A2B
1065
+ #define GL_T2F_C4F_N3F_V3F 0x2A2C
1066
+ #define GL_T4F_C4F_N3F_V4F 0x2A2D
1067
+
1068
+ /* Extensions */
1069
+ #define GL_EXT_vertex_array 1
1070
+ #define GL_EXT_bgra 1
1071
+ #define GL_EXT_paletted_texture 1
1072
+ #define GL_WIN_swap_hint 1
1073
+ #define GL_WIN_draw_range_elements 1
1074
+ // #define GL_WIN_phong_shading 1
1075
+ // #define GL_WIN_specular_fog 1
1076
+
1077
+ /* EXT_vertex_array */
1078
+ #define GL_VERTEX_ARRAY_EXT 0x8074
1079
+ #define GL_NORMAL_ARRAY_EXT 0x8075
1080
+ #define GL_COLOR_ARRAY_EXT 0x8076
1081
+ #define GL_INDEX_ARRAY_EXT 0x8077
1082
+ #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
1083
+ #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
1084
+ #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
1085
+ #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
1086
+ #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
1087
+ #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
1088
+ #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
1089
+ #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
1090
+ #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
1091
+ #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
1092
+ #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
1093
+ #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
1094
+ #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
1095
+ #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
1096
+ #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
1097
+ #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
1098
+ #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
1099
+ #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
1100
+ #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
1101
+ #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
1102
+ #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
1103
+ #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
1104
+ #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
1105
+ #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
1106
+ #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
1107
+ #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
1108
+ #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
1109
+ #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
1110
+ #define GL_DOUBLE_EXT GL_DOUBLE
1111
+
1112
+ /* EXT_bgra */
1113
+ #define GL_BGR_EXT 0x80E0
1114
+ #define GL_BGRA_EXT 0x80E1
1115
+
1116
+ /* EXT_paletted_texture */
1117
+
1118
+ /* These must match the GL_COLOR_TABLE_*_SGI enumerants */
1119
+ #define GL_COLOR_TABLE_FORMAT_EXT 0x80D8
1120
+ #define GL_COLOR_TABLE_WIDTH_EXT 0x80D9
1121
+ #define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA
1122
+ #define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB
1123
+ #define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC
1124
+ #define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD
1125
+ #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE
1126
+ #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF
1127
+
1128
+ #define GL_COLOR_INDEX1_EXT 0x80E2
1129
+ #define GL_COLOR_INDEX2_EXT 0x80E3
1130
+ #define GL_COLOR_INDEX4_EXT 0x80E4
1131
+ #define GL_COLOR_INDEX8_EXT 0x80E5
1132
+ #define GL_COLOR_INDEX12_EXT 0x80E6
1133
+ #define GL_COLOR_INDEX16_EXT 0x80E7
1134
+
1135
+ /* WIN_draw_range_elements */
1136
+ #define GL_MAX_ELEMENTS_VERTICES_WIN 0x80E8
1137
+ #define GL_MAX_ELEMENTS_INDICES_WIN 0x80E9
1138
+
1139
+ /* WIN_phong_shading */
1140
+ #define GL_PHONG_WIN 0x80EA
1141
+ #define GL_PHONG_HINT_WIN 0x80EB
1142
+
1143
+ /* WIN_specular_fog */
1144
+ #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
1145
+
1146
+ /* For compatibility with OpenGL v1.0 */
1147
+ #define GL_LOGIC_OP GL_INDEX_LOGIC_OP
1148
+ #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
1149
+
1150
+ /*************************************************************/
1151
+
1152
+ WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);
1153
+ WINGDIAPI void APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
1154
+ WINGDIAPI GLboolean APIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
1155
+ WINGDIAPI void APIENTRY glArrayElement (GLint i);
1156
+ WINGDIAPI void APIENTRY glBegin (GLenum mode);
1157
+ WINGDIAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
1158
+ WINGDIAPI void APIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
1159
+ WINGDIAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
1160
+ WINGDIAPI void APIENTRY glCallList (GLuint list);
1161
+ WINGDIAPI void APIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
1162
+ WINGDIAPI void APIENTRY glClear (GLbitfield mask);
1163
+ WINGDIAPI void APIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1164
+ WINGDIAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
1165
+ WINGDIAPI void APIENTRY glClearDepth (GLclampd depth);
1166
+ WINGDIAPI void APIENTRY glClearIndex (GLfloat c);
1167
+ WINGDIAPI void APIENTRY glClearStencil (GLint s);
1168
+ WINGDIAPI void APIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
1169
+ WINGDIAPI void APIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
1170
+ WINGDIAPI void APIENTRY glColor3bv (const GLbyte *v);
1171
+ WINGDIAPI void APIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
1172
+ WINGDIAPI void APIENTRY glColor3dv (const GLdouble *v);
1173
+ WINGDIAPI void APIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
1174
+ WINGDIAPI void APIENTRY glColor3fv (const GLfloat *v);
1175
+ WINGDIAPI void APIENTRY glColor3i (GLint red, GLint green, GLint blue);
1176
+ WINGDIAPI void APIENTRY glColor3iv (const GLint *v);
1177
+ WINGDIAPI void APIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
1178
+ WINGDIAPI void APIENTRY glColor3sv (const GLshort *v);
1179
+ WINGDIAPI void APIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
1180
+ WINGDIAPI void APIENTRY glColor3ubv (const GLubyte *v);
1181
+ WINGDIAPI void APIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
1182
+ WINGDIAPI void APIENTRY glColor3uiv (const GLuint *v);
1183
+ WINGDIAPI void APIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
1184
+ WINGDIAPI void APIENTRY glColor3usv (const GLushort *v);
1185
+ WINGDIAPI void APIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
1186
+ WINGDIAPI void APIENTRY glColor4bv (const GLbyte *v);
1187
+ WINGDIAPI void APIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
1188
+ WINGDIAPI void APIENTRY glColor4dv (const GLdouble *v);
1189
+ WINGDIAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
1190
+ WINGDIAPI void APIENTRY glColor4fv (const GLfloat *v);
1191
+ WINGDIAPI void APIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
1192
+ WINGDIAPI void APIENTRY glColor4iv (const GLint *v);
1193
+ WINGDIAPI void APIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
1194
+ WINGDIAPI void APIENTRY glColor4sv (const GLshort *v);
1195
+ WINGDIAPI void APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
1196
+ WINGDIAPI void APIENTRY glColor4ubv (const GLubyte *v);
1197
+ WINGDIAPI void APIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
1198
+ WINGDIAPI void APIENTRY glColor4uiv (const GLuint *v);
1199
+ WINGDIAPI void APIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
1200
+ WINGDIAPI void APIENTRY glColor4usv (const GLushort *v);
1201
+ WINGDIAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
1202
+ WINGDIAPI void APIENTRY glColorMaterial (GLenum face, GLenum mode);
1203
+ WINGDIAPI void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1204
+ WINGDIAPI void APIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
1205
+ WINGDIAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
1206
+ WINGDIAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
1207
+ WINGDIAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
1208
+ WINGDIAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1209
+ WINGDIAPI void APIENTRY glCullFace (GLenum mode);
1210
+ WINGDIAPI void APIENTRY glDeleteLists (GLuint list, GLsizei range);
1211
+ WINGDIAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
1212
+ WINGDIAPI void APIENTRY glDepthFunc (GLenum func);
1213
+ WINGDIAPI void APIENTRY glDepthMask (GLboolean flag);
1214
+ WINGDIAPI void APIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
1215
+ WINGDIAPI void APIENTRY glDisable (GLenum cap);
1216
+ WINGDIAPI void APIENTRY glDisableClientState (GLenum array);
1217
+ WINGDIAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
1218
+ WINGDIAPI void APIENTRY glDrawBuffer (GLenum mode);
1219
+ WINGDIAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
1220
+ WINGDIAPI void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1221
+ WINGDIAPI void APIENTRY glEdgeFlag (GLboolean flag);
1222
+ WINGDIAPI void APIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
1223
+ WINGDIAPI void APIENTRY glEdgeFlagv (const GLboolean *flag);
1224
+ WINGDIAPI void APIENTRY glEnable (GLenum cap);
1225
+ WINGDIAPI void APIENTRY glEnableClientState (GLenum array);
1226
+ WINGDIAPI void APIENTRY glEnd (void);
1227
+ WINGDIAPI void APIENTRY glEndList (void);
1228
+ WINGDIAPI void APIENTRY glEvalCoord1d (GLdouble u);
1229
+ WINGDIAPI void APIENTRY glEvalCoord1dv (const GLdouble *u);
1230
+ WINGDIAPI void APIENTRY glEvalCoord1f (GLfloat u);
1231
+ WINGDIAPI void APIENTRY glEvalCoord1fv (const GLfloat *u);
1232
+ WINGDIAPI void APIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
1233
+ WINGDIAPI void APIENTRY glEvalCoord2dv (const GLdouble *u);
1234
+ WINGDIAPI void APIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
1235
+ WINGDIAPI void APIENTRY glEvalCoord2fv (const GLfloat *u);
1236
+ WINGDIAPI void APIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
1237
+ WINGDIAPI void APIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
1238
+ WINGDIAPI void APIENTRY glEvalPoint1 (GLint i);
1239
+ WINGDIAPI void APIENTRY glEvalPoint2 (GLint i, GLint j);
1240
+ WINGDIAPI void APIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
1241
+ WINGDIAPI void APIENTRY glFinish (void);
1242
+ WINGDIAPI void APIENTRY glFlush (void);
1243
+ WINGDIAPI void APIENTRY glFogf (GLenum pname, GLfloat param);
1244
+ WINGDIAPI void APIENTRY glFogfv (GLenum pname, const GLfloat *params);
1245
+ WINGDIAPI void APIENTRY glFogi (GLenum pname, GLint param);
1246
+ WINGDIAPI void APIENTRY glFogiv (GLenum pname, const GLint *params);
1247
+ WINGDIAPI void APIENTRY glFrontFace (GLenum mode);
1248
+ WINGDIAPI void APIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1249
+ WINGDIAPI GLuint APIENTRY glGenLists (GLsizei range);
1250
+ WINGDIAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
1251
+ WINGDIAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
1252
+ WINGDIAPI void APIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
1253
+ WINGDIAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *params);
1254
+ WINGDIAPI GLenum APIENTRY glGetError (void);
1255
+ WINGDIAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
1256
+ WINGDIAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params);
1257
+ WINGDIAPI void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
1258
+ WINGDIAPI void APIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
1259
+ WINGDIAPI void APIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
1260
+ WINGDIAPI void APIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
1261
+ WINGDIAPI void APIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
1262
+ WINGDIAPI void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
1263
+ WINGDIAPI void APIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
1264
+ WINGDIAPI void APIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
1265
+ WINGDIAPI void APIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
1266
+ WINGDIAPI void APIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
1267
+ WINGDIAPI void APIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
1268
+ WINGDIAPI void APIENTRY glGetPolygonStipple (GLubyte *mask);
1269
+ WINGDIAPI const GLubyte * APIENTRY glGetString (GLenum name);
1270
+ WINGDIAPI void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
1271
+ WINGDIAPI void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
1272
+ WINGDIAPI void APIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
1273
+ WINGDIAPI void APIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
1274
+ WINGDIAPI void APIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
1275
+ WINGDIAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
1276
+ WINGDIAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
1277
+ WINGDIAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
1278
+ WINGDIAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
1279
+ WINGDIAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
1280
+ WINGDIAPI void APIENTRY glHint (GLenum target, GLenum mode);
1281
+ WINGDIAPI void APIENTRY glIndexMask (GLuint mask);
1282
+ WINGDIAPI void APIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1283
+ WINGDIAPI void APIENTRY glIndexd (GLdouble c);
1284
+ WINGDIAPI void APIENTRY glIndexdv (const GLdouble *c);
1285
+ WINGDIAPI void APIENTRY glIndexf (GLfloat c);
1286
+ WINGDIAPI void APIENTRY glIndexfv (const GLfloat *c);
1287
+ WINGDIAPI void APIENTRY glIndexi (GLint c);
1288
+ WINGDIAPI void APIENTRY glIndexiv (const GLint *c);
1289
+ WINGDIAPI void APIENTRY glIndexs (GLshort c);
1290
+ WINGDIAPI void APIENTRY glIndexsv (const GLshort *c);
1291
+ WINGDIAPI void APIENTRY glIndexub (GLubyte c);
1292
+ WINGDIAPI void APIENTRY glIndexubv (const GLubyte *c);
1293
+ WINGDIAPI void APIENTRY glInitNames (void);
1294
+ WINGDIAPI void APIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
1295
+ WINGDIAPI GLboolean APIENTRY glIsEnabled (GLenum cap);
1296
+ WINGDIAPI GLboolean APIENTRY glIsList (GLuint list);
1297
+ WINGDIAPI GLboolean APIENTRY glIsTexture (GLuint texture);
1298
+ WINGDIAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param);
1299
+ WINGDIAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
1300
+ WINGDIAPI void APIENTRY glLightModeli (GLenum pname, GLint param);
1301
+ WINGDIAPI void APIENTRY glLightModeliv (GLenum pname, const GLint *params);
1302
+ WINGDIAPI void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
1303
+ WINGDIAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
1304
+ WINGDIAPI void APIENTRY glLighti (GLenum light, GLenum pname, GLint param);
1305
+ WINGDIAPI void APIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
1306
+ WINGDIAPI void APIENTRY glLineStipple (GLint factor, GLushort pattern);
1307
+ WINGDIAPI void APIENTRY glLineWidth (GLfloat width);
1308
+ WINGDIAPI void APIENTRY glListBase (GLuint base);
1309
+ WINGDIAPI void APIENTRY glLoadIdentity (void);
1310
+ WINGDIAPI void APIENTRY glLoadMatrixd (const GLdouble *m);
1311
+ WINGDIAPI void APIENTRY glLoadMatrixf (const GLfloat *m);
1312
+ WINGDIAPI void APIENTRY glLoadName (GLuint name);
1313
+ WINGDIAPI void APIENTRY glLogicOp (GLenum opcode);
1314
+ WINGDIAPI void APIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
1315
+ WINGDIAPI void APIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
1316
+ WINGDIAPI void APIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
1317
+ WINGDIAPI void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
1318
+ WINGDIAPI void APIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
1319
+ WINGDIAPI void APIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
1320
+ WINGDIAPI void APIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
1321
+ WINGDIAPI void APIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
1322
+ WINGDIAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
1323
+ WINGDIAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
1324
+ WINGDIAPI void APIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
1325
+ WINGDIAPI void APIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
1326
+ WINGDIAPI void APIENTRY glMatrixMode (GLenum mode);
1327
+ WINGDIAPI void APIENTRY glMultMatrixd (const GLdouble *m);
1328
+ WINGDIAPI void APIENTRY glMultMatrixf (const GLfloat *m);
1329
+ WINGDIAPI void APIENTRY glNewList (GLuint list, GLenum mode);
1330
+ WINGDIAPI void APIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
1331
+ WINGDIAPI void APIENTRY glNormal3bv (const GLbyte *v);
1332
+ WINGDIAPI void APIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
1333
+ WINGDIAPI void APIENTRY glNormal3dv (const GLdouble *v);
1334
+ WINGDIAPI void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
1335
+ WINGDIAPI void APIENTRY glNormal3fv (const GLfloat *v);
1336
+ WINGDIAPI void APIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
1337
+ WINGDIAPI void APIENTRY glNormal3iv (const GLint *v);
1338
+ WINGDIAPI void APIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
1339
+ WINGDIAPI void APIENTRY glNormal3sv (const GLshort *v);
1340
+ WINGDIAPI void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
1341
+ WINGDIAPI void APIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
1342
+ WINGDIAPI void APIENTRY glPassThrough (GLfloat token);
1343
+ WINGDIAPI void APIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
1344
+ WINGDIAPI void APIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
1345
+ WINGDIAPI void APIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
1346
+ WINGDIAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param);
1347
+ WINGDIAPI void APIENTRY glPixelStorei (GLenum pname, GLint param);
1348
+ WINGDIAPI void APIENTRY glPixelTransferf (GLenum pname, GLfloat param);
1349
+ WINGDIAPI void APIENTRY glPixelTransferi (GLenum pname, GLint param);
1350
+ WINGDIAPI void APIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
1351
+ WINGDIAPI void APIENTRY glPointSize (GLfloat size);
1352
+ WINGDIAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode);
1353
+ WINGDIAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
1354
+ WINGDIAPI void APIENTRY glPolygonStipple (const GLubyte *mask);
1355
+ WINGDIAPI void APIENTRY glPopAttrib (void);
1356
+ WINGDIAPI void APIENTRY glPopClientAttrib (void);
1357
+ WINGDIAPI void APIENTRY glPopMatrix (void);
1358
+ WINGDIAPI void APIENTRY glPopName (void);
1359
+ WINGDIAPI void APIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
1360
+ WINGDIAPI void APIENTRY glPushAttrib (GLbitfield mask);
1361
+ WINGDIAPI void APIENTRY glPushClientAttrib (GLbitfield mask);
1362
+ WINGDIAPI void APIENTRY glPushMatrix (void);
1363
+ WINGDIAPI void APIENTRY glPushName (GLuint name);
1364
+ WINGDIAPI void APIENTRY glRasterPos2d (GLdouble x, GLdouble y);
1365
+ WINGDIAPI void APIENTRY glRasterPos2dv (const GLdouble *v);
1366
+ WINGDIAPI void APIENTRY glRasterPos2f (GLfloat x, GLfloat y);
1367
+ WINGDIAPI void APIENTRY glRasterPos2fv (const GLfloat *v);
1368
+ WINGDIAPI void APIENTRY glRasterPos2i (GLint x, GLint y);
1369
+ WINGDIAPI void APIENTRY glRasterPos2iv (const GLint *v);
1370
+ WINGDIAPI void APIENTRY glRasterPos2s (GLshort x, GLshort y);
1371
+ WINGDIAPI void APIENTRY glRasterPos2sv (const GLshort *v);
1372
+ WINGDIAPI void APIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
1373
+ WINGDIAPI void APIENTRY glRasterPos3dv (const GLdouble *v);
1374
+ WINGDIAPI void APIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
1375
+ WINGDIAPI void APIENTRY glRasterPos3fv (const GLfloat *v);
1376
+ WINGDIAPI void APIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
1377
+ WINGDIAPI void APIENTRY glRasterPos3iv (const GLint *v);
1378
+ WINGDIAPI void APIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
1379
+ WINGDIAPI void APIENTRY glRasterPos3sv (const GLshort *v);
1380
+ WINGDIAPI void APIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1381
+ WINGDIAPI void APIENTRY glRasterPos4dv (const GLdouble *v);
1382
+ WINGDIAPI void APIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1383
+ WINGDIAPI void APIENTRY glRasterPos4fv (const GLfloat *v);
1384
+ WINGDIAPI void APIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
1385
+ WINGDIAPI void APIENTRY glRasterPos4iv (const GLint *v);
1386
+ WINGDIAPI void APIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
1387
+ WINGDIAPI void APIENTRY glRasterPos4sv (const GLshort *v);
1388
+ WINGDIAPI void APIENTRY glReadBuffer (GLenum mode);
1389
+ WINGDIAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
1390
+ WINGDIAPI void APIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
1391
+ WINGDIAPI void APIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
1392
+ WINGDIAPI void APIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
1393
+ WINGDIAPI void APIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
1394
+ WINGDIAPI void APIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1395
+ WINGDIAPI void APIENTRY glRectiv (const GLint *v1, const GLint *v2);
1396
+ WINGDIAPI void APIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1397
+ WINGDIAPI void APIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
1398
+ WINGDIAPI GLint APIENTRY glRenderMode (GLenum mode);
1399
+ WINGDIAPI void APIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1400
+ WINGDIAPI void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1401
+ WINGDIAPI void APIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
1402
+ WINGDIAPI void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
1403
+ WINGDIAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1404
+ WINGDIAPI void APIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
1405
+ WINGDIAPI void APIENTRY glShadeModel (GLenum mode);
1406
+ WINGDIAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
1407
+ WINGDIAPI void APIENTRY glStencilMask (GLuint mask);
1408
+ WINGDIAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1409
+ WINGDIAPI void APIENTRY glTexCoord1d (GLdouble s);
1410
+ WINGDIAPI void APIENTRY glTexCoord1dv (const GLdouble *v);
1411
+ WINGDIAPI void APIENTRY glTexCoord1f (GLfloat s);
1412
+ WINGDIAPI void APIENTRY glTexCoord1fv (const GLfloat *v);
1413
+ WINGDIAPI void APIENTRY glTexCoord1i (GLint s);
1414
+ WINGDIAPI void APIENTRY glTexCoord1iv (const GLint *v);
1415
+ WINGDIAPI void APIENTRY glTexCoord1s (GLshort s);
1416
+ WINGDIAPI void APIENTRY glTexCoord1sv (const GLshort *v);
1417
+ WINGDIAPI void APIENTRY glTexCoord2d (GLdouble s, GLdouble t);
1418
+ WINGDIAPI void APIENTRY glTexCoord2dv (const GLdouble *v);
1419
+ WINGDIAPI void APIENTRY glTexCoord2f (GLfloat s, GLfloat t);
1420
+ WINGDIAPI void APIENTRY glTexCoord2fv (const GLfloat *v);
1421
+ WINGDIAPI void APIENTRY glTexCoord2i (GLint s, GLint t);
1422
+ WINGDIAPI void APIENTRY glTexCoord2iv (const GLint *v);
1423
+ WINGDIAPI void APIENTRY glTexCoord2s (GLshort s, GLshort t);
1424
+ WINGDIAPI void APIENTRY glTexCoord2sv (const GLshort *v);
1425
+ WINGDIAPI void APIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1426
+ WINGDIAPI void APIENTRY glTexCoord3dv (const GLdouble *v);
1427
+ WINGDIAPI void APIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1428
+ WINGDIAPI void APIENTRY glTexCoord3fv (const GLfloat *v);
1429
+ WINGDIAPI void APIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
1430
+ WINGDIAPI void APIENTRY glTexCoord3iv (const GLint *v);
1431
+ WINGDIAPI void APIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
1432
+ WINGDIAPI void APIENTRY glTexCoord3sv (const GLshort *v);
1433
+ WINGDIAPI void APIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1434
+ WINGDIAPI void APIENTRY glTexCoord4dv (const GLdouble *v);
1435
+ WINGDIAPI void APIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1436
+ WINGDIAPI void APIENTRY glTexCoord4fv (const GLfloat *v);
1437
+ WINGDIAPI void APIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1438
+ WINGDIAPI void APIENTRY glTexCoord4iv (const GLint *v);
1439
+ WINGDIAPI void APIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1440
+ WINGDIAPI void APIENTRY glTexCoord4sv (const GLshort *v);
1441
+ WINGDIAPI void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1442
+ WINGDIAPI void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1443
+ WINGDIAPI void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1444
+ WINGDIAPI void APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
1445
+ WINGDIAPI void APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1446
+ WINGDIAPI void APIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
1447
+ WINGDIAPI void APIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1448
+ WINGDIAPI void APIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1449
+ WINGDIAPI void APIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1450
+ WINGDIAPI void APIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
1451
+ WINGDIAPI void APIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1452
+ WINGDIAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1453
+ WINGDIAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1454
+ WINGDIAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1455
+ WINGDIAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1456
+ WINGDIAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
1457
+ WINGDIAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1458
+ WINGDIAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1459
+ WINGDIAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1460
+ WINGDIAPI void APIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
1461
+ WINGDIAPI void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1462
+ WINGDIAPI void APIENTRY glVertex2d (GLdouble x, GLdouble y);
1463
+ WINGDIAPI void APIENTRY glVertex2dv (const GLdouble *v);
1464
+ WINGDIAPI void APIENTRY glVertex2f (GLfloat x, GLfloat y);
1465
+ WINGDIAPI void APIENTRY glVertex2fv (const GLfloat *v);
1466
+ WINGDIAPI void APIENTRY glVertex2i (GLint x, GLint y);
1467
+ WINGDIAPI void APIENTRY glVertex2iv (const GLint *v);
1468
+ WINGDIAPI void APIENTRY glVertex2s (GLshort x, GLshort y);
1469
+ WINGDIAPI void APIENTRY glVertex2sv (const GLshort *v);
1470
+ WINGDIAPI void APIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1471
+ WINGDIAPI void APIENTRY glVertex3dv (const GLdouble *v);
1472
+ WINGDIAPI void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1473
+ WINGDIAPI void APIENTRY glVertex3fv (const GLfloat *v);
1474
+ WINGDIAPI void APIENTRY glVertex3i (GLint x, GLint y, GLint z);
1475
+ WINGDIAPI void APIENTRY glVertex3iv (const GLint *v);
1476
+ WINGDIAPI void APIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
1477
+ WINGDIAPI void APIENTRY glVertex3sv (const GLshort *v);
1478
+ WINGDIAPI void APIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1479
+ WINGDIAPI void APIENTRY glVertex4dv (const GLdouble *v);
1480
+ WINGDIAPI void APIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1481
+ WINGDIAPI void APIENTRY glVertex4fv (const GLfloat *v);
1482
+ WINGDIAPI void APIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
1483
+ WINGDIAPI void APIENTRY glVertex4iv (const GLint *v);
1484
+ WINGDIAPI void APIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1485
+ WINGDIAPI void APIENTRY glVertex4sv (const GLshort *v);
1486
+ WINGDIAPI void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1487
+ WINGDIAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1488
+
1489
+ /* EXT_vertex_array */
1490
+ typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
1491
+ typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
1492
+ typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1493
+ typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1494
+ typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1495
+ typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1496
+ typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
1497
+ typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
1498
+ typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
1499
+ typedef void (APIENTRY * PFNGLARRAYELEMENTARRAYEXTPROC)(GLenum mode, GLsizei count, const GLvoid* pi);
1500
+
1501
+ /* WIN_draw_range_elements */
1502
+ typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSWINPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
1503
+
1504
+ /* WIN_swap_hint */
1505
+ typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
1506
+
1507
+ /* EXT_paletted_texture */
1508
+ typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC)
1509
+ (GLenum target, GLenum internalFormat, GLsizei width, GLenum format,
1510
+ GLenum type, const GLvoid *data);
1511
+ typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC)
1512
+ (GLenum target, GLsizei start, GLsizei count, GLenum format,
1513
+ GLenum type, const GLvoid *data);
1514
+ typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC)
1515
+ (GLenum target, GLenum format, GLenum type, GLvoid *data);
1516
+ typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)
1517
+ (GLenum target, GLenum pname, GLint *params);
1518
+ typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)
1519
+ (GLenum target, GLenum pname, GLfloat *params);
1520
+
1521
+ #ifdef __cplusplus
1522
+ }
1523
+ #endif
1524
+
1525
+ #endif /* __GL_H__ */
1526
+ #endif /* __gl_h_ */