-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgl.pxd
More file actions
9470 lines (8003 loc) · 383 KB
/
Copy pathgl.pxd
File metadata and controls
9470 lines (8003 loc) · 383 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# pyGLEW - Cython GLEW Wrapper for Python
#
# Copyright (C) 2012, Matthew Sitton
# 2012, Alex Marinescu
#
# LICENSED UNDER THE BSD LICENSE
#
# YOU SHOULD HAVE RECIEVED A COPY ALONG WITH THIS PROGRAM,
# SEE "LICENSE" FOR MORE INFORMATION.
cdef extern from "GL\glew.h":
#GL_VERSION_1_1
cdef int GL_VERSION_1_1
ctypedef unsigned int GLenum
ctypedef unsigned int GLbitfield
ctypedef unsigned int GLuint
ctypedef int GLint
ctypedef int GLsizei
ctypedef bint GLboolean
ctypedef signed char GLbyte
ctypedef short GLshort
ctypedef unsigned char GLubyte
ctypedef unsigned short GLushort
ctypedef unsigned long GLulong
ctypedef float GLfloat
ctypedef float GLclampf
ctypedef double GLdouble
ctypedef double GLclampd
ctypedef void GLvoid
ctypedef signed long long GLint64EXT
ctypedef unsigned long long GLuint64EXT
ctypedef GLint64EXT GLint64
ctypedef GLuint64EXT GLuint64
ctypedef __GLsync *GLsync
ctypedef struct __GLsync:
pass
ctypedef char GLchar
ctypedef void* GLDEBUGPROCARB
ctypedef void* GLDEBUGPROCAMD
#const hacks
ctypedef char *const_char_ptr "const char*"
ctypedef void *const_void_ptr "const void*"
cdef int GL_ZERO
cdef int GL_FALSE
cdef int GL_LOGIC_OP
cdef int GL_NONE
cdef int GL_TEXTURE_COMPONENTS
cdef int GL_NO_ERROR
cdef int GL_POINTS
cdef int GL_CURRENT_BIT
cdef int GL_TRUE
cdef int GL_ONE
cdef int GL_CLIENT_PIXEL_STORE_BIT
cdef int GL_LINES
cdef int GL_LINE_LOOP
cdef int GL_POINT_BIT
cdef int GL_CLIENT_VERTEX_ARRAY_BIT
cdef int GL_LINE_STRIP
cdef int GL_LINE_BIT
cdef int GL_TRIANGLES
cdef int GL_TRIANGLE_STRIP
cdef int GL_TRIANGLE_FAN
cdef int GL_QUADS
cdef int GL_QUAD_STRIP
cdef int GL_POLYGON_BIT
cdef int GL_POLYGON
cdef int GL_POLYGON_STIPPLE_BIT
cdef int GL_PIXEL_MODE_BIT
cdef int GL_LIGHTING_BIT
cdef int GL_FOG_BIT
cdef int GL_DEPTH_BUFFER_BIT
cdef int GL_ACCUM
cdef int GL_LOAD
cdef int GL_RETURN
cdef int GL_MULT
cdef int GL_ADD
cdef int GL_NEVER
cdef int GL_ACCUM_BUFFER_BIT
cdef int GL_LESS
cdef int GL_EQUAL
cdef int GL_LEQUAL
cdef int GL_GREATER
cdef int GL_NOTEQUAL
cdef int GL_GEQUAL
cdef int GL_ALWAYS
cdef int GL_SRC_COLOR
cdef int GL_ONE_MINUS_SRC_COLOR
cdef int GL_SRC_ALPHA
cdef int GL_ONE_MINUS_SRC_ALPHA
cdef int GL_DST_ALPHA
cdef int GL_ONE_MINUS_DST_ALPHA
cdef int GL_DST_COLOR
cdef int GL_ONE_MINUS_DST_COLOR
cdef int GL_SRC_ALPHA_SATURATE
cdef int GL_STENCIL_BUFFER_BIT
cdef int GL_FRONT_LEFT
cdef int GL_FRONT_RIGHT
cdef int GL_BACK_LEFT
cdef int GL_BACK_RIGHT
cdef int GL_FRONT
cdef int GL_BACK
cdef int GL_LEFT
cdef int GL_RIGHT
cdef int GL_FRONT_AND_BACK
cdef int GL_AUX0
cdef int GL_AUX1
cdef int GL_AUX2
cdef int GL_AUX3
cdef int GL_INVALID_ENUM
cdef int GL_INVALID_VALUE
cdef int GL_INVALID_OPERATION
cdef int GL_STACK_OVERFLOW
cdef int GL_STACK_UNDERFLOW
cdef int GL_OUT_OF_MEMORY
cdef int GL_2D
cdef int GL_3D
cdef int GL_3D_COLOR
cdef int GL_3D_COLOR_TEXTURE
cdef int GL_4D_COLOR_TEXTURE
cdef int GL_PASS_THROUGH_TOKEN
cdef int GL_POINT_TOKEN
cdef int GL_LINE_TOKEN
cdef int GL_POLYGON_TOKEN
cdef int GL_BITMAP_TOKEN
cdef int GL_DRAW_PIXEL_TOKEN
cdef int GL_COPY_PIXEL_TOKEN
cdef int GL_LINE_RESET_TOKEN
cdef int GL_EXP
cdef int GL_VIEWPORT_BIT
cdef int GL_EXP2
cdef int GL_CW
cdef int GL_CCW
cdef int GL_COEFF
cdef int GL_ORDER
cdef int GL_DOMAIN
cdef int GL_CURRENT_COLOR
cdef int GL_CURRENT_INDEX
cdef int GL_CURRENT_NORMAL
cdef int GL_CURRENT_TEXTURE_COORDS
cdef int GL_CURRENT_RASTER_COLOR
cdef int GL_CURRENT_RASTER_INDEX
cdef int GL_CURRENT_RASTER_TEXTURE_COORDS
cdef int GL_CURRENT_RASTER_POSITION
cdef int GL_CURRENT_RASTER_POSITION_VALID
cdef int GL_CURRENT_RASTER_DISTANCE
cdef int GL_POINT_SMOOTH
cdef int GL_POINT_SIZE
cdef int GL_POINT_SIZE_RANGE
cdef int GL_POINT_SIZE_GRANULARITY
cdef int GL_LINE_SMOOTH
cdef int GL_LINE_WIDTH
cdef int GL_LINE_WIDTH_RANGE
cdef int GL_LINE_WIDTH_GRANULARITY
cdef int GL_LINE_STIPPLE
cdef int GL_LINE_STIPPLE_PATTERN
cdef int GL_LINE_STIPPLE_REPEAT
cdef int GL_LIST_MODE
cdef int GL_MAX_LIST_NESTING
cdef int GL_LIST_BASE
cdef int GL_LIST_INDEX
cdef int GL_POLYGON_MODE
cdef int GL_POLYGON_SMOOTH
cdef int GL_POLYGON_STIPPLE
cdef int GL_EDGE_FLAG
cdef int GL_CULL_FACE
cdef int GL_CULL_FACE_MODE
cdef int GL_FRONT_FACE
cdef int GL_LIGHTING
cdef int GL_LIGHT_MODEL_LOCAL_VIEWER
cdef int GL_LIGHT_MODEL_TWO_SIDE
cdef int GL_LIGHT_MODEL_AMBIENT
cdef int GL_SHADE_MODEL
cdef int GL_COLOR_MATERIAL_FACE
cdef int GL_COLOR_MATERIAL_PARAMETER
cdef int GL_COLOR_MATERIAL
cdef int GL_FOG
cdef int GL_FOG_INDEX
cdef int GL_FOG_DENSITY
cdef int GL_FOG_START
cdef int GL_FOG_END
cdef int GL_FOG_MODE
cdef int GL_FOG_COLOR
cdef int GL_DEPTH_RANGE
cdef int GL_DEPTH_TEST
cdef int GL_DEPTH_WRITEMASK
cdef int GL_DEPTH_CLEAR_VALUE
cdef int GL_DEPTH_FUNC
cdef int GL_ACCUM_CLEAR_VALUE
cdef int GL_STENCIL_TEST
cdef int GL_STENCIL_CLEAR_VALUE
cdef int GL_STENCIL_FUNC
cdef int GL_STENCIL_VALUE_MASK
cdef int GL_STENCIL_FAIL
cdef int GL_STENCIL_PASS_DEPTH_FAIL
cdef int GL_STENCIL_PASS_DEPTH_PASS
cdef int GL_STENCIL_REF
cdef int GL_STENCIL_WRITEMASK
cdef int GL_MATRIX_MODE
cdef int GL_NORMALIZE
cdef int GL_VIEWPORT
cdef int GL_MODELVIEW_STACK_DEPTH
cdef int GL_PROJECTION_STACK_DEPTH
cdef int GL_TEXTURE_STACK_DEPTH
cdef int GL_MODELVIEW_MATRIX
cdef int GL_PROJECTION_MATRIX
cdef int GL_TEXTURE_MATRIX
cdef int GL_ATTRIB_STACK_DEPTH
cdef int GL_CLIENT_ATTRIB_STACK_DEPTH
cdef int GL_ALPHA_TEST
cdef int GL_ALPHA_TEST_FUNC
cdef int GL_ALPHA_TEST_REF
cdef int GL_DITHER
cdef int GL_BLEND_DST
cdef int GL_BLEND_SRC
cdef int GL_BLEND
cdef int GL_LOGIC_OP_MODE
cdef int GL_INDEX_LOGIC_OP
cdef int GL_COLOR_LOGIC_OP
cdef int GL_AUX_BUFFERS
cdef int GL_DRAW_BUFFER
cdef int GL_READ_BUFFER
cdef int GL_SCISSOR_BOX
cdef int GL_SCISSOR_TEST
cdef int GL_INDEX_CLEAR_VALUE
cdef int GL_INDEX_WRITEMASK
cdef int GL_COLOR_CLEAR_VALUE
cdef int GL_COLOR_WRITEMASK
cdef int GL_INDEX_MODE
cdef int GL_RGBA_MODE
cdef int GL_DOUBLEBUFFER
cdef int GL_STEREO
cdef int GL_RENDER_MODE
cdef int GL_PERSPECTIVE_CORRECTION_HINT
cdef int GL_POINT_SMOOTH_HINT
cdef int GL_LINE_SMOOTH_HINT
cdef int GL_POLYGON_SMOOTH_HINT
cdef int GL_FOG_HINT
cdef int GL_TEXTURE_GEN_S
cdef int GL_TEXTURE_GEN_T
cdef int GL_TEXTURE_GEN_R
cdef int GL_TEXTURE_GEN_Q
cdef int GL_PIXEL_MAP_I_TO_I
cdef int GL_PIXEL_MAP_S_TO_S
cdef int GL_PIXEL_MAP_I_TO_R
cdef int GL_PIXEL_MAP_I_TO_G
cdef int GL_PIXEL_MAP_I_TO_B
cdef int GL_PIXEL_MAP_I_TO_A
cdef int GL_PIXEL_MAP_R_TO_R
cdef int GL_PIXEL_MAP_G_TO_G
cdef int GL_PIXEL_MAP_B_TO_B
cdef int GL_PIXEL_MAP_A_TO_A
cdef int GL_PIXEL_MAP_I_TO_I_SIZE
cdef int GL_PIXEL_MAP_S_TO_S_SIZE
cdef int GL_PIXEL_MAP_I_TO_R_SIZE
cdef int GL_PIXEL_MAP_I_TO_G_SIZE
cdef int GL_PIXEL_MAP_I_TO_B_SIZE
cdef int GL_PIXEL_MAP_I_TO_A_SIZE
cdef int GL_PIXEL_MAP_R_TO_R_SIZE
cdef int GL_PIXEL_MAP_G_TO_G_SIZE
cdef int GL_PIXEL_MAP_B_TO_B_SIZE
cdef int GL_PIXEL_MAP_A_TO_A_SIZE
cdef int GL_UNPACK_SWAP_BYTES
cdef int GL_UNPACK_LSB_FIRST
cdef int GL_UNPACK_ROW_LENGTH
cdef int GL_UNPACK_SKIP_ROWS
cdef int GL_UNPACK_SKIP_PIXELS
cdef int GL_UNPACK_ALIGNMENT
cdef int GL_PACK_SWAP_BYTES
cdef int GL_PACK_LSB_FIRST
cdef int GL_PACK_ROW_LENGTH
cdef int GL_PACK_SKIP_ROWS
cdef int GL_PACK_SKIP_PIXELS
cdef int GL_PACK_ALIGNMENT
cdef int GL_MAP_COLOR
cdef int GL_MAP_STENCIL
cdef int GL_INDEX_SHIFT
cdef int GL_INDEX_OFFSET
cdef int GL_RED_SCALE
cdef int GL_RED_BIAS
cdef int GL_ZOOM_X
cdef int GL_ZOOM_Y
cdef int GL_GREEN_SCALE
cdef int GL_GREEN_BIAS
cdef int GL_BLUE_SCALE
cdef int GL_BLUE_BIAS
cdef int GL_ALPHA_SCALE
cdef int GL_ALPHA_BIAS
cdef int GL_DEPTH_SCALE
cdef int GL_DEPTH_BIAS
cdef int GL_MAX_EVAL_ORDER
cdef int GL_MAX_LIGHTS
cdef int GL_MAX_CLIP_PLANES
cdef int GL_MAX_TEXTURE_SIZE
cdef int GL_MAX_PIXEL_MAP_TABLE
cdef int GL_MAX_ATTRIB_STACK_DEPTH
cdef int GL_MAX_MODELVIEW_STACK_DEPTH
cdef int GL_MAX_NAME_STACK_DEPTH
cdef int GL_MAX_PROJECTION_STACK_DEPTH
cdef int GL_MAX_TEXTURE_STACK_DEPTH
cdef int GL_MAX_VIEWPORT_DIMS
cdef int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
cdef int GL_SUBPIXEL_BITS
cdef int GL_INDEX_BITS
cdef int GL_RED_BITS
cdef int GL_GREEN_BITS
cdef int GL_BLUE_BITS
cdef int GL_ALPHA_BITS
cdef int GL_DEPTH_BITS
cdef int GL_STENCIL_BITS
cdef int GL_ACCUM_RED_BITS
cdef int GL_ACCUM_GREEN_BITS
cdef int GL_ACCUM_BLUE_BITS
cdef int GL_ACCUM_ALPHA_BITS
cdef int GL_NAME_STACK_DEPTH
cdef int GL_AUTO_NORMAL
cdef int GL_MAP1_COLOR_4
cdef int GL_MAP1_INDEX
cdef int GL_MAP1_NORMAL
cdef int GL_MAP1_TEXTURE_COORD_1
cdef int GL_MAP1_TEXTURE_COORD_2
cdef int GL_MAP1_TEXTURE_COORD_3
cdef int GL_MAP1_TEXTURE_COORD_4
cdef int GL_MAP1_VERTEX_3
cdef int GL_MAP1_VERTEX_4
cdef int GL_MAP2_COLOR_4
cdef int GL_MAP2_INDEX
cdef int GL_MAP2_NORMAL
cdef int GL_MAP2_TEXTURE_COORD_1
cdef int GL_MAP2_TEXTURE_COORD_2
cdef int GL_MAP2_TEXTURE_COORD_3
cdef int GL_MAP2_TEXTURE_COORD_4
cdef int GL_MAP2_VERTEX_3
cdef int GL_MAP2_VERTEX_4
cdef int GL_MAP1_GRID_DOMAIN
cdef int GL_MAP1_GRID_SEGMENTS
cdef int GL_MAP2_GRID_DOMAIN
cdef int GL_MAP2_GRID_SEGMENTS
cdef int GL_TEXTURE_1D
cdef int GL_TEXTURE_2D
cdef int GL_FEEDBACK_BUFFER_POINTER
cdef int GL_FEEDBACK_BUFFER_SIZE
cdef int GL_FEEDBACK_BUFFER_TYPE
cdef int GL_SELECTION_BUFFER_POINTER
cdef int GL_SELECTION_BUFFER_SIZE
cdef int GL_TEXTURE_WIDTH
cdef int GL_TRANSFORM_BIT
cdef int GL_TEXTURE_HEIGHT
cdef int GL_TEXTURE_INTERNAL_FORMAT
cdef int GL_TEXTURE_BORDER_COLOR
cdef int GL_TEXTURE_BORDER
cdef int GL_DONT_CARE
cdef int GL_FASTEST
cdef int GL_NICEST
cdef int GL_AMBIENT
cdef int GL_DIFFUSE
cdef int GL_SPECULAR
cdef int GL_POSITION
cdef int GL_SPOT_DIRECTION
cdef int GL_SPOT_EXPONENT
cdef int GL_SPOT_CUTOFF
cdef int GL_CONSTANT_ATTENUATION
cdef int GL_LINEAR_ATTENUATION
cdef int GL_QUADRATIC_ATTENUATION
cdef int GL_COMPILE
cdef int GL_COMPILE_AND_EXECUTE
cdef int GL_BYTE
cdef int GL_UNSIGNED_BYTE
cdef int GL_SHORT
cdef int GL_UNSIGNED_SHORT
cdef int GL_INT
cdef int GL_UNSIGNED_INT
cdef int GL_FLOAT
cdef int GL_2_BYTES
cdef int GL_3_BYTES
cdef int GL_4_BYTES
cdef int GL_DOUBLE
cdef int GL_CLEAR
cdef int GL_AND
cdef int GL_AND_REVERSE
cdef int GL_COPY
cdef int GL_AND_INVERTED
cdef int GL_NOOP
cdef int GL_XOR
cdef int GL_OR
cdef int GL_NOR
cdef int GL_EQUIV
cdef int GL_INVERT
cdef int GL_OR_REVERSE
cdef int GL_COPY_INVERTED
cdef int GL_OR_INVERTED
cdef int GL_NAND
cdef int GL_SET
cdef int GL_EMISSION
cdef int GL_SHININESS
cdef int GL_AMBIENT_AND_DIFFUSE
cdef int GL_COLOR_INDEXES
cdef int GL_MODELVIEW
cdef int GL_PROJECTION
cdef int GL_TEXTURE
cdef int GL_COLOR
cdef int GL_DEPTH
cdef int GL_STENCIL
cdef int GL_COLOR_INDEX
cdef int GL_STENCIL_INDEX
cdef int GL_DEPTH_COMPONENT
cdef int GL_RED
cdef int GL_GREEN
cdef int GL_BLUE
cdef int GL_ALPHA
cdef int GL_RGB
cdef int GL_RGBA
cdef int GL_LUMINANCE
cdef int GL_LUMINANCE_ALPHA
cdef int GL_BITMAP
cdef int GL_POINT
cdef int GL_LINE
cdef int GL_FILL
cdef int GL_RENDER
cdef int GL_FEEDBACK
cdef int GL_SELECT
cdef int GL_FLAT
cdef int GL_SMOOTH
cdef int GL_KEEP
cdef int GL_REPLACE
cdef int GL_INCR
cdef int GL_DECR
cdef int GL_VENDOR
cdef int GL_RENDERER
cdef int GL_VERSION
cdef int GL_EXTENSIONS
cdef int GL_S
cdef int GL_ENABLE_BIT
cdef int GL_T
cdef int GL_R
cdef int GL_Q
cdef int GL_MODULATE
cdef int GL_DECAL
cdef int GL_TEXTURE_ENV_MODE
cdef int GL_TEXTURE_ENV_COLOR
cdef int GL_TEXTURE_ENV
cdef int GL_EYE_LINEAR
cdef int GL_OBJECT_LINEAR
cdef int GL_SPHERE_MAP
cdef int GL_TEXTURE_GEN_MODE
cdef int GL_OBJECT_PLANE
cdef int GL_EYE_PLANE
cdef int GL_NEAREST
cdef int GL_LINEAR
cdef int GL_NEAREST_MIPMAP_NEAREST
cdef int GL_LINEAR_MIPMAP_NEAREST
cdef int GL_NEAREST_MIPMAP_LINEAR
cdef int GL_LINEAR_MIPMAP_LINEAR
cdef int GL_TEXTURE_MAG_FILTER
cdef int GL_TEXTURE_MIN_FILTER
cdef int GL_TEXTURE_WRAP_S
cdef int GL_TEXTURE_WRAP_T
cdef int GL_CLAMP
cdef int GL_REPEAT
cdef int GL_POLYGON_OFFSET_UNITS
cdef int GL_POLYGON_OFFSET_POINT
cdef int GL_POLYGON_OFFSET_LINE
cdef int GL_R3_G3_B2
cdef int GL_V2F
cdef int GL_V3F
cdef int GL_C4UB_V2F
cdef int GL_C4UB_V3F
cdef int GL_C3F_V3F
cdef int GL_N3F_V3F
cdef int GL_C4F_N3F_V3F
cdef int GL_T2F_V3F
cdef int GL_T4F_V4F
cdef int GL_T2F_C4UB_V3F
cdef int GL_T2F_C3F_V3F
cdef int GL_T2F_N3F_V3F
cdef int GL_T2F_C4F_N3F_V3F
cdef int GL_T4F_C4F_N3F_V4F
cdef int GL_CLIP_PLANE0
cdef int GL_CLIP_PLANE1
cdef int GL_CLIP_PLANE2
cdef int GL_CLIP_PLANE3
cdef int GL_CLIP_PLANE4
cdef int GL_CLIP_PLANE5
cdef int GL_LIGHT0
cdef int GL_COLOR_BUFFER_BIT
cdef int GL_LIGHT1
cdef int GL_LIGHT2
cdef int GL_LIGHT3
cdef int GL_LIGHT4
cdef int GL_LIGHT5
cdef int GL_LIGHT6
cdef int GL_LIGHT7
cdef int GL_HINT_BIT
cdef int GL_POLYGON_OFFSET_FILL
cdef int GL_POLYGON_OFFSET_FACTOR
cdef int GL_ALPHA4
cdef int GL_ALPHA8
cdef int GL_ALPHA12
cdef int GL_ALPHA16
cdef int GL_LUMINANCE4
cdef int GL_LUMINANCE8
cdef int GL_LUMINANCE12
cdef int GL_LUMINANCE16
cdef int GL_LUMINANCE4_ALPHA4
cdef int GL_LUMINANCE6_ALPHA2
cdef int GL_LUMINANCE8_ALPHA8
cdef int GL_LUMINANCE12_ALPHA4
cdef int GL_LUMINANCE12_ALPHA12
cdef int GL_LUMINANCE16_ALPHA16
cdef int GL_INTENSITY
cdef int GL_INTENSITY4
cdef int GL_INTENSITY8
cdef int GL_INTENSITY12
cdef int GL_INTENSITY16
cdef int GL_RGB4
cdef int GL_RGB5
cdef int GL_RGB8
cdef int GL_RGB10
cdef int GL_RGB12
cdef int GL_RGB16
cdef int GL_RGBA2
cdef int GL_RGBA4
cdef int GL_RGB5_A1
cdef int GL_RGBA8
cdef int GL_RGB10_A2
cdef int GL_RGBA12
cdef int GL_RGBA16
cdef int GL_TEXTURE_RED_SIZE
cdef int GL_TEXTURE_GREEN_SIZE
cdef int GL_TEXTURE_BLUE_SIZE
cdef int GL_TEXTURE_ALPHA_SIZE
cdef int GL_TEXTURE_LUMINANCE_SIZE
cdef int GL_TEXTURE_INTENSITY_SIZE
cdef int GL_PROXY_TEXTURE_1D
cdef int GL_PROXY_TEXTURE_2D
cdef int GL_TEXTURE_PRIORITY
cdef int GL_TEXTURE_RESIDENT
cdef int GL_TEXTURE_BINDING_1D
cdef int GL_TEXTURE_BINDING_2D
cdef int GL_VERTEX_ARRAY
cdef int GL_NORMAL_ARRAY
cdef int GL_COLOR_ARRAY
cdef int GL_INDEX_ARRAY
cdef int GL_TEXTURE_COORD_ARRAY
cdef int GL_EDGE_FLAG_ARRAY
cdef int GL_VERTEX_ARRAY_SIZE
cdef int GL_VERTEX_ARRAY_TYPE
cdef int GL_VERTEX_ARRAY_STRIDE
cdef int GL_NORMAL_ARRAY_TYPE
cdef int GL_NORMAL_ARRAY_STRIDE
cdef int GL_COLOR_ARRAY_SIZE
cdef int GL_COLOR_ARRAY_TYPE
cdef int GL_COLOR_ARRAY_STRIDE
cdef int GL_INDEX_ARRAY_TYPE
cdef int GL_INDEX_ARRAY_STRIDE
cdef int GL_TEXTURE_COORD_ARRAY_SIZE
cdef int GL_TEXTURE_COORD_ARRAY_TYPE
cdef int GL_TEXTURE_COORD_ARRAY_STRIDE
cdef int GL_EDGE_FLAG_ARRAY_STRIDE
cdef int GL_VERTEX_ARRAY_POINTER
cdef int GL_NORMAL_ARRAY_POINTER
cdef int GL_COLOR_ARRAY_POINTER
cdef int GL_INDEX_ARRAY_POINTER
cdef int GL_TEXTURE_COORD_ARRAY_POINTER
cdef int GL_EDGE_FLAG_ARRAY_POINTER
cdef int GL_COLOR_INDEX1_EXT
cdef int GL_COLOR_INDEX2_EXT
cdef int GL_COLOR_INDEX4_EXT
cdef int GL_COLOR_INDEX8_EXT
cdef int GL_COLOR_INDEX12_EXT
cdef int GL_COLOR_INDEX16_EXT
cdef int GL_EVAL_BIT
cdef int GL_LIST_BIT
cdef int GL_TEXTURE_BIT
cdef int GL_SCISSOR_BIT
cdef int GL_ALL_ATTRIB_BITS
cdef int GL_CLIENT_ALL_ATTRIB_BITS
void glAccum (GLenum op, GLfloat value)
void glAlphaFunc (GLenum func, GLclampf ref)
GLboolean glAreTexturesResident (GLsizei n, GLuint* textures, GLboolean *residences)
void glArrayElement (GLint i)
void glBegin (GLenum mode)
void glBindTexture (GLenum target, GLuint texture)
void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte* bitmap)
void glBlendFunc (GLenum sfactor, GLenum dfactor)
void glCallList (GLuint list)
void glCallLists (GLsizei n, GLenum type, GLvoid *lists)
void glClear (GLbitfield mask)
void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
void glClearDepth (GLclampd depth)
void glClearIndex (GLfloat c)
void glClearStencil (GLint s)
void glClipPlane (GLenum plane, GLdouble* equation)
void glColor3b (GLbyte red, GLbyte green, GLbyte blue)
void glColor3bv (GLbyte* v)
void glColor3d (GLdouble red, GLdouble green, GLdouble blue)
void glColor3dv (GLdouble* v)
void glColor3f (GLfloat red, GLfloat green, GLfloat blue)
void glColor3fv (GLfloat* v)
void glColor3i (GLint red, GLint green, GLint blue)
void glColor3iv (GLint* v)
void glColor3s (GLshort red, GLshort green, GLshort blue)
void glColor3sv (GLshort* v)
void glColor3ub (GLubyte red, GLubyte green, GLubyte blue)
void glColor3ubv (GLubyte* v)
void glColor3ui (GLuint red, GLuint green, GLuint blue)
void glColor3uiv (GLuint* v)
void glColor3us (GLushort red, GLushort green, GLushort blue)
void glColor3usv (GLushort* v)
void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
void glColor4bv (GLbyte* v)
void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
void glColor4dv (GLdouble* v)
void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
void glColor4fv (GLfloat* v)
void glColor4i (GLint red, GLint green, GLint blue, GLint alpha)
void glColor4iv (GLint* v)
void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha)
void glColor4sv (GLshort* v)
void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
void glColor4ubv (GLubyte* v)
void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha)
void glColor4uiv (GLuint* v)
void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha)
void glColor4usv (GLushort* v)
void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
void glColorMaterial (GLenum face, GLenum mode)
void glColorPointer (GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
void glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
void glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
void glCullFace (GLenum mode)
void glDeleteLists (GLuint list, GLsizei range)
void glDeleteTextures (GLsizei n, GLuint* textures)
void glDepthFunc (GLenum func)
void glDepthMask (GLboolean flag)
void glDepthRange (GLclampd zNear, GLclampd zFar)
void glDisable (GLenum cap)
void glDisableClientState (GLenum array)
void glDrawArrays (GLenum mode, GLint first, GLsizei count)
void glDrawBuffer (GLenum mode)
void glDrawElements (GLenum mode, GLsizei count, GLenum type, GLvoid *indices)
void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
void glEdgeFlag (GLboolean flag)
void glEdgeFlagPointer (GLsizei stride, GLvoid *pointer)
void glEdgeFlagv (GLboolean* flag)
void glEnable (GLenum cap)
void glEnableClientState (GLenum array)
void glEnd ()
void glEndList ()
void glEvalCoord1d (GLdouble u)
void glEvalCoord1dv (GLdouble* u)
void glEvalCoord1f (GLfloat u)
void glEvalCoord1fv (GLfloat* u)
void glEvalCoord2d (GLdouble u, GLdouble v)
void glEvalCoord2dv (GLdouble* u)
void glEvalCoord2f (GLfloat u, GLfloat v)
void glEvalCoord2fv (GLfloat* u)
void glEvalMesh1 (GLenum mode, GLint i1, GLint i2)
void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
void glEvalPoint1 (GLint i)
void glEvalPoint2 (GLint i, GLint j)
void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer)
void glFinish ()
void glFlush ()
void glFogf (GLenum pname, GLfloat param)
void glFogfv (GLenum pname, GLfloat *params)
void glFogiv (GLenum pname, GLint* params)
void glFogi (GLenum pname, GLint param)
void glFrontFace (GLenum mode)
void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
GLuint glGenLists (GLsizei range)
void glGenTextures (GLsizei n, GLuint *textures)
void glGetBooleanv (GLenum pname, GLboolean *params)
void glGetClipPlane (GLenum plane, GLdouble *equation)
void glGetDoublev (GLenum pname, GLdouble *params)
GLenum glGetError ()
void glGetFloatv (GLenum pname, GLfloat *params)
void glGetIntegerv (GLenum pname, GLint *params)
void glGetLightfv (GLenum light, GLenum pname, GLfloat *params)
void glGetLightiv (GLenum light, GLenum pname, GLint *params)
void glGetMapdv (GLenum target, GLenum query, GLdouble *v)
void glGetMapfv (GLenum target, GLenum query, GLfloat *v)
void glGetMapiv (GLenum target, GLenum query, GLint *v)
void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params)
void glGetMaterialiv (GLenum face, GLenum pname, GLint *params)
void glGetPixelMapfv (GLenum map, GLfloat *values)
void glGetPixelMapuiv (GLenum map, GLuint *values)
void glGetPixelMapusv (GLenum map, GLushort *values)
void glGetPointerv (GLenum pname, GLvoid* *params)
void glGetPolygonStipple (GLubyte *mask)
GLubyte glGetString (GLenum name)
void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params)
void glGetTexEnviv (GLenum target, GLenum pname, GLint *params)
void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params)
void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params)
void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params)
void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params)
void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params)
void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params)
void glHint (GLenum target, GLenum mode)
void glIndexMask (GLuint mask)
void glIndexPointer (GLenum type, GLsizei stride, GLvoid *pointer)
void glIndexd (GLdouble c)
void glIndexdv (GLdouble* c)
void glIndexf (GLfloat c)
void glIndexfv (GLfloat* c)
void glIndexi (GLint c)
void glIndexiv (GLint* c)
void glIndexs (GLshort c)
void glIndexsv (GLshort* c)
void glIndexub (GLubyte c)
void glIndexubv (GLubyte* c)
void glInitNames ()
void glInterleavedArrays (GLenum format, GLsizei stride, GLvoid *pointer)
GLboolean glIsEnabled (GLenum cap)
GLboolean glIsList (GLuint list)
GLboolean glIsTexture (GLuint texture)
void glLightModelf (GLenum pname, GLfloat param)
void glLightModelfv (GLenum pname, GLfloat* params)
void glLightModeli (GLenum pname, GLint param)
void glLightModeliv (GLenum pname, GLint* params)
void glLightf (GLenum light, GLenum pname, GLfloat param)
void glLightfv (GLenum light, GLenum pname, GLfloat* params)
void glLighti (GLenum light, GLenum pname, GLint param)
void glLightiv (GLenum light, GLenum pname, GLint* params)
void glLineStipple (GLint factor, GLushort pattern)
void glLineWidth (GLfloat width)
void glListBase (GLuint base)
void glLoadIdentity ()
void glLoadMatrixd (GLdouble* m)
void glLoadMatrixf (GLfloat* m)
void glLoadName (GLuint name)
void glLogicOp (GLenum opcode)
void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points)
void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points)
void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points)
void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points)
void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2)
void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2)
void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
void glMaterialf (GLenum face, GLenum pname, GLfloat param)
void glMaterialfv (GLenum face, GLenum pname, GLfloat* params)
void glMateriali (GLenum face, GLenum pname, GLint param)
void glMaterialiv (GLenum face, GLenum pname, GLint* params)
void glMatrixMode (GLenum mode)
void glMultMatrixd (GLdouble* m)
void glMultMatrixf (GLfloat* m)
void glNewList (GLuint list, GLenum mode)
void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz)
void glNormal3bv (GLbyte* v)
void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
void glNormal3dv (GLdouble* v)
void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz)
void glNormal3fv (GLfloat* v)
void glNormal3i (GLint nx, GLint ny, GLint nz)
void glNormal3iv (GLint* v)
void glNormal3s (GLshort nx, GLshort ny, GLshort nz)
void glNormal3sv (GLshort* v)
void glNormalPointer (GLenum type, GLsizei stride, GLvoid *pointer)
void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
void glPassThrough (GLfloat token)
void glPixelMapfv (GLenum map, GLsizei mapsize, GLfloat* values)
void glPixelMapuiv (GLenum map, GLsizei mapsize, GLuint* values)
void glPixelMapusv (GLenum map, GLsizei mapsize, GLushort* values)
void glPixelStoref (GLenum pname, GLfloat param)
void glPixelStorei (GLenum pname, GLint param)
void glPixelTransferf (GLenum pname, GLfloat param)
void glPixelTransferi (GLenum pname, GLint param)
void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
void glPointSize (GLfloat size)
void glPolygonMode (GLenum face, GLenum mode)
void glPolygonOffset (GLfloat factor, GLfloat units)
void glPolygonStipple (GLubyte* mask)
void glPopAttrib ()
void glPopClientAttrib ()
void glPopMatrix ()
void glPopName ()
void glPrioritizeTextures (GLsizei n, GLuint* textures, GLclampf* priorities)
void glPushAttrib (GLbitfield mask)
void glPushClientAttrib (GLbitfield mask)
void glPushMatrix ()
void glPushName (GLuint name)
void glRasterPos2d (GLdouble x, GLdouble y)
void glRasterPos2dv (GLdouble* v)
void glRasterPos2f (GLfloat x, GLfloat y)
void glRasterPos2fv (GLfloat* v)
void glRasterPos2i (GLint x, GLint y)
void glRasterPos2iv (GLint* v)
void glRasterPos2s (GLshort x, GLshort y)
void glRasterPos2sv (GLshort* v)
void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
void glRasterPos3dv (GLdouble* v)
void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z)
void glRasterPos3fv (GLfloat* v)
void glRasterPos3i (GLint x, GLint y, GLint z)
void glRasterPos3iv (GLint* v)
void glRasterPos3s (GLshort x, GLshort y, GLshort z)
void glRasterPos3sv (GLshort* v)
void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glRasterPos4dv (GLdouble* v)
void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void glRasterPos4fv (GLfloat* v)
void glRasterPos4i (GLint x, GLint y, GLint z, GLint w)
void glRasterPos4iv (GLint* v)
void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
void glRasterPos4sv (GLshort* v)
void glReadBuffer (GLenum mode)
void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
void glRectdv (GLdouble* v1, GLdouble* v2)
void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
void glRectfv (GLfloat* v1, GLfloat* v2)
void glRecti (GLint x1, GLint y1, GLint x2, GLint y2)
void glRectiv (GLint* v1, GLint* v2)
void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
void glRectsv (GLshort* v1, GLshort* v2)
GLint glRenderMode (GLenum mode)
void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
void glScaled (GLdouble x, GLdouble y, GLdouble z)
void glScalef (GLfloat x, GLfloat y, GLfloat z)
void glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
void glSelectBuffer (GLsizei size, GLuint *buffer)
void glShadeModel (GLenum mode)
void glStencilFunc (GLenum func, GLint ref, GLuint mask)
void glStencilMask (GLuint mask)
void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
void glTexCoord1d (GLdouble s)
void glTexCoord1dv (GLdouble* v)
void glTexCoord1f (GLfloat s)
void glTexCoord1fv (GLfloat* v)
void glTexCoord1i (GLint s)
void glTexCoord1iv (GLint* v)
void glTexCoord1s (GLshort s)
void glTexCoord1sv (GLshort* v)
void glTexCoord2d (GLdouble s, GLdouble t)
void glTexCoord2dv (GLdouble* v)
void glTexCoord2f (GLfloat s, GLfloat t)
void glTexCoord2fv (GLfloat* v)
void glTexCoord2i (GLint s, GLint t)
void glTexCoord2iv (GLint* v)
void glTexCoord2s (GLshort s, GLshort t)
void glTexCoord2sv (GLshort* v)
void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r)
void glTexCoord3dv (GLdouble* v)
void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r)
void glTexCoord3fv (GLfloat* v)
void glTexCoord3i (GLint s, GLint t, GLint r)
void glTexCoord3iv (GLint* v)
void glTexCoord3s (GLshort s, GLshort t, GLshort r)
void glTexCoord3sv (GLshort* v)
void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
void glTexCoord4dv (GLdouble* v)
void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
void glTexCoord4fv (GLfloat* v)
void glTexCoord4i (GLint s, GLint t, GLint r, GLint q)
void glTexCoord4iv (GLint* v)
void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
void glTexCoord4sv (GLshort* v)
void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
void glTexEnvf (GLenum target, GLenum pname, GLfloat param)
void glTexEnvfv (GLenum target, GLenum pname, GLfloat* params)
void glTexEnvi (GLenum target, GLenum pname, GLint param)
void glTexEnviv (GLenum target, GLenum pname, GLint* params)
void glTexGend (GLenum coord, GLenum pname, GLdouble param)
void glTexGendv (GLenum coord, GLenum pname, GLdouble* params)
void glTexGenf (GLenum coord, GLenum pname, GLfloat param)
void glTexGenfv (GLenum coord, GLenum pname, GLfloat* params)
void glTexGeni (GLenum coord, GLenum pname, GLint param)
void glTexGeniv (GLenum coord, GLenum pname, GLint* params)
void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid *pixels)
void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid *pixels)
void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
void glTexParameterfv (GLenum target, GLenum pname, GLfloat* params)
void glTexParameteri (GLenum target, GLenum pname, GLint param)
void glTexParameteriv (GLenum target, GLenum pname, GLint* params)
void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid *pixels)
void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
void glTranslated (GLdouble x, GLdouble y, GLdouble z)
void glTranslatef (GLfloat x, GLfloat y, GLfloat z)
void glVertex2d (GLdouble x, GLdouble y)
void glVertex2dv (GLdouble* v)
void glVertex2f (GLfloat x, GLfloat y)
void glVertex2fv (GLfloat* v)
void glVertex2i (GLint x, GLint y)
void glVertex2iv (GLint* v)
void glVertex2s (GLshort x, GLshort y)
void glVertex2sv (GLshort* v)
void glVertex3d (GLdouble x, GLdouble y, GLdouble z)
void glVertex3dv (GLdouble* v)
void glVertex3f (GLfloat x, GLfloat y, GLfloat z)
void glVertex3fv (GLfloat* v)
void glVertex3i (GLint x, GLint y, GLint z)
void glVertex3iv (GLint* v)
void glVertex3s (GLshort x, GLshort y, GLshort z)
void glVertex3sv (GLshort* v)
void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glVertex4dv (GLdouble* v)
void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void glVertex4fv (GLfloat* v)
void glVertex4i (GLint x, GLint y, GLint z, GLint w)
void glVertex4iv (GLint* v)
void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w)
void glVertex4sv (GLshort* v)
void glVertexPointer (GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
#GLU
#*************************************************************#
# Boolean
cdef int GLU_FALSE
cdef int GLU_TRUE
# Version
cdef int GLU_VERSION_1_1
cdef int GLU_VERSION_1_2
# StringName
cdef int GLU_VERSION
cdef int GLU_EXTENSIONS
# ErrorCode
cdef int GLU_INVALID_ENUM
cdef int GLU_INVALID_VALUE
cdef int GLU_OUT_OF_MEMORY
cdef int GLU_INVALID_OPERATION
# NurbsDisplay
# GLU_FILL
cdef int GLU_OUTLINE_POLYGON
cdef int GLU_OUTLINE_PATCH
# NurbsError
cdef int GLU_NURBS_ERROR1
cdef int GLU_NURBS_ERROR2
cdef int GLU_NURBS_ERROR3
cdef int GLU_NURBS_ERROR4
cdef int GLU_NURBS_ERROR5
cdef int GLU_NURBS_ERROR6
cdef int GLU_NURBS_ERROR7
cdef int GLU_NURBS_ERROR8
cdef int GLU_NURBS_ERROR9
cdef int GLU_NURBS_ERROR10
cdef int GLU_NURBS_ERROR11
cdef int GLU_NURBS_ERROR12
cdef int GLU_NURBS_ERROR13
cdef int GLU_NURBS_ERROR14
cdef int GLU_NURBS_ERROR15
cdef int GLU_NURBS_ERROR16
cdef int GLU_NURBS_ERROR17
cdef int GLU_NURBS_ERROR18
cdef int GLU_NURBS_ERROR19
cdef int GLU_NURBS_ERROR20
cdef int GLU_NURBS_ERROR21
cdef int GLU_NURBS_ERROR22
cdef int GLU_NURBS_ERROR23
cdef int GLU_NURBS_ERROR24
cdef int GLU_NURBS_ERROR25
cdef int GLU_NURBS_ERROR26
cdef int GLU_NURBS_ERROR27
cdef int GLU_NURBS_ERROR28
cdef int GLU_NURBS_ERROR29
cdef int GLU_NURBS_ERROR30
cdef int GLU_NURBS_ERROR31
cdef int GLU_NURBS_ERROR32
cdef int GLU_NURBS_ERROR33
cdef int GLU_NURBS_ERROR34
cdef int GLU_NURBS_ERROR35
cdef int GLU_NURBS_ERROR36
cdef int GLU_NURBS_ERROR37
# NurbsProperty
cdef int GLU_AUTO_LOAD_MATRIX
cdef int GLU_CULLING
cdef int GLU_SAMPLING_TOLERANCE
cdef int GLU_DISPLAY_MODE
cdef int GLU_PARAMETRIC_TOLERANCE
cdef int GLU_SAMPLING_METHOD
cdef int GLU_U_STEP
cdef int GLU_V_STEP
# NurbsSampling
cdef int GLU_PATH_LENGTH
cdef int GLU_PARAMETRIC_ERROR
cdef int GLU_DOMAIN_DISTANCE