forked from carp-lang/Carp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenGL.carp
1540 lines (1537 loc) · 88.5 KB
/
OpenGL.carp
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
(mac-only
(system-include "OpenGL/gl.h")
(add-lib "-framework OpenGL"))
(linux-only
(system-include "GL/gl.h")
(add-pkg "gl"))
(windows-only
(system-include "gl.h")
(add-lib "-lopengl32"))
(doc GL "is a thin wrapper around [OpenGL](https://www.opengl.org/).")
(defmodule GL
(register-type GLenum)
(register-type GLbitfield)
(register LOGIC_OP a "GL_LOGIC_OP")
(register TEXTURE_COMPONENTS a "GL_TEXTURE_COMPONENTS")
(register VERSION_1_1 a "GL_VERSION_1_1")
(register VERSION_1_2 a "GL_VERSION_1_2")
(register VERSION_1_3 a "GL_VERSION_1_3")
(register VERSION_1_4 a "GL_VERSION_1_4")
(register VERSION_1_5 a "GL_VERSION_1_5")
(register VERSION_2_0 a "GL_VERSION_2_0")
(register VERSION_2_1 a "GL_VERSION_2_1")
(register ACCUM a "GL_ACCUM")
(register LOAD a "GL_LOAD")
(register RETURN a "GL_RETURN")
(register MULT a "GL_MULT")
(register ADD a "GL_ADD")
(register NEVER a "GL_NEVER")
(register LESS a "GL_LESS")
(register EQUAL a "GL_EQUAL")
(register LEQUAL a "GL_LEQUAL")
(register GREATER a "GL_GREATER")
(register NOTEQUAL a "GL_NOTEQUAL")
(register GEQUAL a "GL_GEQUAL")
(register ALWAYS a "GL_ALWAYS")
(register CURRENT_BIT a "GL_CURRENT_BIT")
(register POINT_BIT a "GL_POINT_BIT")
(register LINE_BIT a "GL_LINE_BIT")
(register POLYGON_BIT a "GL_POLYGON_BIT")
(register POLYGON_STIPPLE_BIT a "GL_POLYGON_STIPPLE_BIT")
(register PIXEL_MODE_BIT a "GL_PIXEL_MODE_BIT")
(register LIGHTING_BIT a "GL_LIGHTING_BIT")
(register FOG_BIT a "GL_FOG_BIT")
(register DEPTH_BUFFER_BIT a "GL_DEPTH_BUFFER_BIT")
(register ACCUM_BUFFER_BIT a "GL_ACCUM_BUFFER_BIT")
(register STENCIL_BUFFER_BIT a "GL_STENCIL_BUFFER_BIT")
(register VIEWPORT_BIT a "GL_VIEWPORT_BIT")
(register TRANSFORM_BIT a "GL_TRANSFORM_BIT")
(register ENABLE_BIT a "GL_ENABLE_BIT")
(register COLOR_BUFFER_BIT a "GL_COLOR_BUFFER_BIT")
(register HINT_BIT a "GL_HINT_BIT")
(register EVAL_BIT a "GL_EVAL_BIT")
(register LIST_BIT a "GL_LIST_BIT")
(register TEXTURE_BIT a "GL_TEXTURE_BIT")
(register SCISSOR_BIT a "GL_SCISSOR_BIT")
(register ALL_ATTRIB_BITS a "GL_ALL_ATTRIB_BITS")
(register POINTS a "GL_POINTS")
(register LINES a "GL_LINES")
(register LINE_LOOP a "GL_LINE_LOOP")
(register LINE_STRIP a "GL_LINE_STRIP")
(register TRIANGLES a "GL_TRIANGLES")
(register TRIANGLE_STRIP a "GL_TRIANGLE_STRIP")
(register TRIANGLE_FAN a "GL_TRIANGLE_FAN")
(register QUADS a "GL_QUADS")
(register QUAD_STRIP a "GL_QUAD_STRIP")
(register POLYGON a "GL_POLYGON")
(register ZERO a "GL_ZERO")
(register ONE a "GL_ONE")
(register SRC_COLOR a "GL_SRC_COLOR")
(register ONE_MINUS_SRC_COLOR a "GL_ONE_MINUS_SRC_COLOR")
(register SRC_ALPHA a "GL_SRC_ALPHA")
(register ONE_MINUS_SRC_ALPHA a "GL_ONE_MINUS_SRC_ALPHA")
(register DST_ALPHA a "GL_DST_ALPHA")
(register ONE_MINUS_DST_ALPHA a "GL_ONE_MINUS_DST_ALPHA")
(register DST_COLOR a "GL_DST_COLOR")
(register ONE_MINUS_DST_COLOR a "GL_ONE_MINUS_DST_COLOR")
(register SRC_ALPHA_SATURATE a "GL_SRC_ALPHA_SATURATE")
(register TRUE a "GL_TRUE")
(register FALSE a "GL_FALSE")
(register CLIP_PLANE0 a "GL_CLIP_PLANE0")
(register CLIP_PLANE1 a "GL_CLIP_PLANE1")
(register CLIP_PLANE2 a "GL_CLIP_PLANE2")
(register CLIP_PLANE3 a "GL_CLIP_PLANE3")
(register CLIP_PLANE4 a "GL_CLIP_PLANE4")
(register CLIP_PLANE5 a "GL_CLIP_PLANE5")
(register BYTE a "GL_BYTE")
(register UNSIGNED_BYTE a "GL_UNSIGNED_BYTE")
(register SHORT a "GL_SHORT")
(register UNSIGNED_SHORT a "GL_UNSIGNED_SHORT")
(register INT a "GL_INT")
(register UNSIGNED_INT a "GL_UNSIGNED_INT")
(register FLOAT a "GL_FLOAT")
(register TWO_BYTES a "GL_2_BYTES")
(register THREE_BYTES a "GL_3_BYTES")
(register FOUR_BYTES a "GL_4_BYTES")
(register DOUBLE a "GL_DOUBLE")
(register NONE a "GL_NONE")
(register FRONT_LEFT a "GL_FRONT_LEFT")
(register FRONT_RIGHT a "GL_FRONT_RIGHT")
(register BACK_LEFT a "GL_BACK_LEFT")
(register BACK_RIGHT a "GL_BACK_RIGHT")
(register FRONT a "GL_FRONT")
(register BACK a "GL_BACK")
(register LEFT a "GL_LEFT")
(register RIGHT a "GL_RIGHT")
(register FRONT_AND_BACK a "GL_FRONT_AND_BACK")
(register AUX0 a "GL_AUX0")
(register AUX1 a "GL_AUX1")
(register AUX2 a "GL_AUX2")
(register AUX3 a "GL_AUX3")
(register NO_ERROR a "GL_NO_ERROR")
(register INVALID_ENUM a "GL_INVALID_ENUM")
(register INVALID_VALUE a "GL_INVALID_VALUE")
(register INVALID_OPERATION a "GL_INVALID_OPERATION")
(register STACK_OVERFLOW a "GL_STACK_OVERFLOW")
(register STACK_UNDERFLOW a "GL_STACK_UNDERFLOW")
(register OUT_OF_MEMORY a "GL_OUT_OF_MEMORY")
(register TWO_D a "GL_2D")
(register THREE_D a "GL_3D")
(register THREE_D_COLOR a "GL_3D_COLOR")
(register THREE_D_COLOR_TEXTURE a "GL_3D_COLOR_TEXTURE")
(register FOUR_D_COLOR_TEXTURE a "GL_4D_COLOR_TEXTURE")
(register PASS_THROUGH_TOKEN a "GL_PASS_THROUGH_TOKEN")
(register POINT_TOKEN a "GL_POINT_TOKEN")
(register LINE_TOKEN a "GL_LINE_TOKEN")
(register POLYGON_TOKEN a "GL_POLYGON_TOKEN")
(register BITMAP_TOKEN a "GL_BITMAP_TOKEN")
(register DRAW_PIXEL_TOKEN a "GL_DRAW_PIXEL_TOKEN")
(register COPY_PIXEL_TOKEN a "GL_COPY_PIXEL_TOKEN")
(register LINE_RESET_TOKEN a "GL_LINE_RESET_TOKEN")
(register EXP a "GL_EXP")
(register EXP2 a "GL_EXP2")
(register CW a "GL_CW")
(register CCW a "GL_CCW")
(register COEFF a "GL_COEFF")
(register ORDER a "GL_ORDER")
(register DOMAIN a "GL_DOMAIN")
(register CURRENT_COLOR a "GL_CURRENT_COLOR")
(register CURRENT_INDEX a "GL_CURRENT_INDEX")
(register CURRENT_NORMAL a "GL_CURRENT_NORMAL")
(register CURRENT_TEXTURE_COORDS a "GL_CURRENT_TEXTURE_COORDS")
(register CURRENT_RASTER_COLOR a "GL_CURRENT_RASTER_COLOR")
(register CURRENT_RASTER_INDEX a "GL_CURRENT_RASTER_INDEX")
(register CURRENT_RASTER_TEXTURE_COORDS a "GL_CURRENT_RASTER_TEXTURE_COORDS")
(register CURRENT_RASTER_POSITION a "GL_CURRENT_RASTER_POSITION")
(register CURRENT_RASTER_POSITION_VALID a "GL_CURRENT_RASTER_POSITION_VALID")
(register CURRENT_RASTER_DISTANCE a "GL_CURRENT_RASTER_DISTANCE")
(register POINT_SMOOTH a "GL_POINT_SMOOTH")
(register POINT_SIZE a "GL_POINT_SIZE")
(register POINT_SIZE_RANGE a "GL_POINT_SIZE_RANGE")
(register POINT_SIZE_GRANULARITY a "GL_POINT_SIZE_GRANULARITY")
(register LINE_SMOOTH a "GL_LINE_SMOOTH")
(register LINE_WIDTH a "GL_LINE_WIDTH")
(register LINE_WIDTH_RANGE a "GL_LINE_WIDTH_RANGE")
(register LINE_WIDTH_GRANULARITY a "GL_LINE_WIDTH_GRANULARITY")
(register LINE_STIPPLE a "GL_LINE_STIPPLE")
(register LINE_STIPPLE_PATTERN a "GL_LINE_STIPPLE_PATTERN")
(register LINE_STIPPLE_REPEAT a "GL_LINE_STIPPLE_REPEAT")
(register LIST_MODE a "GL_LIST_MODE")
(register MAX_LIST_NESTING a "GL_MAX_LIST_NESTING")
(register LIST_BASE a "GL_LIST_BASE")
(register LIST_INDEX a "GL_LIST_INDEX")
(register POLYGON_MODE a "GL_POLYGON_MODE")
(register POLYGON_SMOOTH a "GL_POLYGON_SMOOTH")
(register POLYGON_STIPPLE a "GL_POLYGON_STIPPLE")
(register EDGE_FLAG a "GL_EDGE_FLAG")
(register CULL_FACE a "GL_CULL_FACE")
(register CULL_FACE_MODE a "GL_CULL_FACE_MODE")
(register FRONT_FACE a "GL_FRONT_FACE")
(register LIGHTING a "GL_LIGHTING")
(register LIGHT_MODEL_LOCAL_VIEWER a "GL_LIGHT_MODEL_LOCAL_VIEWER")
(register LIGHT_MODEL_TWO_SIDE a "GL_LIGHT_MODEL_TWO_SIDE")
(register LIGHT_MODEL_AMBIENT a "GL_LIGHT_MODEL_AMBIENT")
(register SHADE_MODEL a "GL_SHADE_MODEL")
(register COLOR_MATERIAL_FACE a "GL_COLOR_MATERIAL_FACE")
(register COLOR_MATERIAL_PARAMETER a "GL_COLOR_MATERIAL_PARAMETER")
(register COLOR_MATERIAL a "GL_COLOR_MATERIAL")
(register FOG a "GL_FOG")
(register FOG_INDEX a "GL_FOG_INDEX")
(register FOG_DENSITY a "GL_FOG_DENSITY")
(register FOG_START a "GL_FOG_START")
(register FOG_END a "GL_FOG_END")
(register FOG_MODE a "GL_FOG_MODE")
(register FOG_COLOR a "GL_FOG_COLOR")
(register DEPTH_RANGE a "GL_DEPTH_RANGE")
(register DEPTH_TEST a "GL_DEPTH_TEST")
(register DEPTH_WRITEMASK a "GL_DEPTH_WRITEMASK")
(register DEPTH_CLEAR_VALUE a "GL_DEPTH_CLEAR_VALUE")
(register DEPTH_FUNC a "GL_DEPTH_FUNC")
(register ACCUM_CLEAR_VALUE a "GL_ACCUM_CLEAR_VALUE")
(register STENCIL_TEST a "GL_STENCIL_TEST")
(register STENCIL_CLEAR_VALUE a "GL_STENCIL_CLEAR_VALUE")
(register STENCIL_FUNC a "GL_STENCIL_FUNC")
(register STENCIL_VALUE_MASK a "GL_STENCIL_VALUE_MASK")
(register STENCIL_FAIL a "GL_STENCIL_FAIL")
(register STENCIL_PASS_DEPTH_FAIL a "GL_STENCIL_PASS_DEPTH_FAIL")
(register STENCIL_PASS_DEPTH_PASS a "GL_STENCIL_PASS_DEPTH_PASS")
(register STENCIL_REF a "GL_STENCIL_REF")
(register STENCIL_WRITEMASK a "GL_STENCIL_WRITEMASK")
(register MATRIX_MODE a "GL_MATRIX_MODE")
(register NORMALIZE a "GL_NORMALIZE")
(register VIEWPORT a "GL_VIEWPORT")
(register MODELVIEW_STACK_DEPTH a "GL_MODELVIEW_STACK_DEPTH")
(register PROJECTION_STACK_DEPTH a "GL_PROJECTION_STACK_DEPTH")
(register TEXTURE_STACK_DEPTH a "GL_TEXTURE_STACK_DEPTH")
(register MODELVIEW_MATRIX a "GL_MODELVIEW_MATRIX")
(register PROJECTION_MATRIX a "GL_PROJECTION_MATRIX")
(register TEXTURE_MATRIX a "GL_TEXTURE_MATRIX")
(register ATTRIB_STACK_DEPTH a "GL_ATTRIB_STACK_DEPTH")
(register CLIENT_ATTRIB_STACK_DEPTH a "GL_CLIENT_ATTRIB_STACK_DEPTH")
(register ALPHA_TEST a "GL_ALPHA_TEST")
(register ALPHA_TEST_FUNC a "GL_ALPHA_TEST_FUNC")
(register ALPHA_TEST_REF a "GL_ALPHA_TEST_REF")
(register DITHER a "GL_DITHER")
(register BLEND_DST a "GL_BLEND_DST")
(register BLEND_SRC a "GL_BLEND_SRC")
(register BLEND a "GL_BLEND")
(register LOGIC_OP_MODE a "GL_LOGIC_OP_MODE")
(register INDEX_LOGIC_OP a "GL_INDEX_LOGIC_OP")
(register COLOR_LOGIC_OP a "GL_COLOR_LOGIC_OP")
(register AUX_BUFFERS a "GL_AUX_BUFFERS")
(register DRAW_BUFFER a "GL_DRAW_BUFFER")
(register READ_BUFFER a "GL_READ_BUFFER")
(register SCISSOR_BOX a "GL_SCISSOR_BOX")
(register SCISSOR_TEST a "GL_SCISSOR_TEST")
(register INDEX_CLEAR_VALUE a "GL_INDEX_CLEAR_VALUE")
(register INDEX_WRITEMASK a "GL_INDEX_WRITEMASK")
(register COLOR_CLEAR_VALUE a "GL_COLOR_CLEAR_VALUE")
(register COLOR_WRITEMASK a "GL_COLOR_WRITEMASK")
(register INDEX_MODE a "GL_INDEX_MODE")
(register RGBA_MODE a "GL_RGBA_MODE")
(register DOUBLEBUFFER a "GL_DOUBLEBUFFER")
(register STEREO a "GL_STEREO")
(register RENDER_MODE a "GL_RENDER_MODE")
(register PERSPECTIVE_CORRECTION_HINT a "GL_PERSPECTIVE_CORRECTION_HINT")
(register POINT_SMOOTH_HINT a "GL_POINT_SMOOTH_HINT")
(register LINE_SMOOTH_HINT a "GL_LINE_SMOOTH_HINT")
(register POLYGON_SMOOTH_HINT a "GL_POLYGON_SMOOTH_HINT")
(register FOG_HINT a "GL_FOG_HINT")
(register TEXTURE_GEN_S a "GL_TEXTURE_GEN_S")
(register TEXTURE_GEN_T a "GL_TEXTURE_GEN_T")
(register TEXTURE_GEN_R a "GL_TEXTURE_GEN_R")
(register TEXTURE_GEN_Q a "GL_TEXTURE_GEN_Q")
(register PIXEL_MAP_I_TO_I a "GL_PIXEL_MAP_I_TO_I")
(register PIXEL_MAP_S_TO_S a "GL_PIXEL_MAP_S_TO_S")
(register PIXEL_MAP_I_TO_R a "GL_PIXEL_MAP_I_TO_R")
(register PIXEL_MAP_I_TO_G a "GL_PIXEL_MAP_I_TO_G")
(register PIXEL_MAP_I_TO_B a "GL_PIXEL_MAP_I_TO_B")
(register PIXEL_MAP_I_TO_A a "GL_PIXEL_MAP_I_TO_A")
(register PIXEL_MAP_R_TO_R a "GL_PIXEL_MAP_R_TO_R")
(register PIXEL_MAP_G_TO_G a "GL_PIXEL_MAP_G_TO_G")
(register PIXEL_MAP_B_TO_B a "GL_PIXEL_MAP_B_TO_B")
(register PIXEL_MAP_A_TO_A a "GL_PIXEL_MAP_A_TO_A")
(register PIXEL_MAP_I_TO_I_SIZE a "GL_PIXEL_MAP_I_TO_I_SIZE")
(register PIXEL_MAP_S_TO_S_SIZE a "GL_PIXEL_MAP_S_TO_S_SIZE")
(register PIXEL_MAP_I_TO_R_SIZE a "GL_PIXEL_MAP_I_TO_R_SIZE")
(register PIXEL_MAP_I_TO_G_SIZE a "GL_PIXEL_MAP_I_TO_G_SIZE")
(register PIXEL_MAP_I_TO_B_SIZE a "GL_PIXEL_MAP_I_TO_B_SIZE")
(register PIXEL_MAP_I_TO_A_SIZE a "GL_PIXEL_MAP_I_TO_A_SIZE")
(register PIXEL_MAP_R_TO_R_SIZE a "GL_PIXEL_MAP_R_TO_R_SIZE")
(register PIXEL_MAP_G_TO_G_SIZE a "GL_PIXEL_MAP_G_TO_G_SIZE")
(register PIXEL_MAP_B_TO_B_SIZE a "GL_PIXEL_MAP_B_TO_B_SIZE")
(register PIXEL_MAP_A_TO_A_SIZE a "GL_PIXEL_MAP_A_TO_A_SIZE")
(register UNPACK_SWAP_BYTES a "GL_UNPACK_SWAP_BYTES")
(register UNPACK_LSB_FIRST a "GL_UNPACK_LSB_FIRST")
(register UNPACK_ROW_LENGTH a "GL_UNPACK_ROW_LENGTH")
(register UNPACK_SKIP_ROWS a "GL_UNPACK_SKIP_ROWS")
(register UNPACK_SKIP_PIXELS a "GL_UNPACK_SKIP_PIXELS")
(register UNPACK_ALIGNMENT a "GL_UNPACK_ALIGNMENT")
(register PACK_SWAP_BYTES a "GL_PACK_SWAP_BYTES")
(register PACK_LSB_FIRST a "GL_PACK_LSB_FIRST")
(register PACK_ROW_LENGTH a "GL_PACK_ROW_LENGTH")
(register PACK_SKIP_ROWS a "GL_PACK_SKIP_ROWS")
(register PACK_SKIP_PIXELS a "GL_PACK_SKIP_PIXELS")
(register PACK_ALIGNMENT a "GL_PACK_ALIGNMENT")
(register MAP_COLOR a "GL_MAP_COLOR")
(register MAP_STENCIL a "GL_MAP_STENCIL")
(register INDEX_SHIFT a "GL_INDEX_SHIFT")
(register INDEX_OFFSET a "GL_INDEX_OFFSET")
(register RED_SCALE a "GL_RED_SCALE")
(register RED_BIAS a "GL_RED_BIAS")
(register ZOOM_X a "GL_ZOOM_X")
(register ZOOM_Y a "GL_ZOOM_Y")
(register GREEN_SCALE a "GL_GREEN_SCALE")
(register GREEN_BIAS a "GL_GREEN_BIAS")
(register BLUE_SCALE a "GL_BLUE_SCALE")
(register BLUE_BIAS a "GL_BLUE_BIAS")
(register ALPHA_SCALE a "GL_ALPHA_SCALE")
(register ALPHA_BIAS a "GL_ALPHA_BIAS")
(register DEPTH_SCALE a "GL_DEPTH_SCALE")
(register DEPTH_BIAS a "GL_DEPTH_BIAS")
(register MAX_EVAL_ORDER a "GL_MAX_EVAL_ORDER")
(register MAX_LIGHTS a "GL_MAX_LIGHTS")
(register MAX_CLIP_PLANES a "GL_MAX_CLIP_PLANES")
(register MAX_TEXTURE_SIZE a "GL_MAX_TEXTURE_SIZE")
(register MAX_PIXEL_MAP_TABLE a "GL_MAX_PIXEL_MAP_TABLE")
(register MAX_ATTRIB_STACK_DEPTH a "GL_MAX_ATTRIB_STACK_DEPTH")
(register MAX_MODELVIEW_STACK_DEPTH a "GL_MAX_MODELVIEW_STACK_DEPTH")
(register MAX_NAME_STACK_DEPTH a "GL_MAX_NAME_STACK_DEPTH")
(register MAX_PROJECTION_STACK_DEPTH a "GL_MAX_PROJECTION_STACK_DEPTH")
(register MAX_TEXTURE_STACK_DEPTH a "GL_MAX_TEXTURE_STACK_DEPTH")
(register MAX_VIEWPORT_DIMS a "GL_MAX_VIEWPORT_DIMS")
(register MAX_CLIENT_ATTRIB_STACK_DEPTH a "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH")
(register SUBPIXEL_BITS a "GL_SUBPIXEL_BITS")
(register INDEX_BITS a "GL_INDEX_BITS")
(register RED_BITS a "GL_RED_BITS")
(register GREEN_BITS a "GL_GREEN_BITS")
(register BLUE_BITS a "GL_BLUE_BITS")
(register ALPHA_BITS a "GL_ALPHA_BITS")
(register DEPTH_BITS a "GL_DEPTH_BITS")
(register STENCIL_BITS a "GL_STENCIL_BITS")
(register ACCUM_RED_BITS a "GL_ACCUM_RED_BITS")
(register ACCUM_GREEN_BITS a "GL_ACCUM_GREEN_BITS")
(register ACCUM_BLUE_BITS a "GL_ACCUM_BLUE_BITS")
(register ACCUM_ALPHA_BITS a "GL_ACCUM_ALPHA_BITS")
(register NAME_STACK_DEPTH a "GL_NAME_STACK_DEPTH")
(register AUTO_NORMAL a "GL_AUTO_NORMAL")
(register MAP1_COLOR_4 a "GL_MAP1_COLOR_4")
(register MAP1_INDEX a "GL_MAP1_INDEX")
(register MAP1_NORMAL a "GL_MAP1_NORMAL")
(register MAP1_TEXTURE_COORD_1 a "GL_MAP1_TEXTURE_COORD_1")
(register MAP1_TEXTURE_COORD_2 a "GL_MAP1_TEXTURE_COORD_2")
(register MAP1_TEXTURE_COORD_3 a "GL_MAP1_TEXTURE_COORD_3")
(register MAP1_TEXTURE_COORD_4 a "GL_MAP1_TEXTURE_COORD_4")
(register MAP1_VERTEX_3 a "GL_MAP1_VERTEX_3")
(register MAP1_VERTEX_4 a "GL_MAP1_VERTEX_4")
(register MAP2_COLOR_4 a "GL_MAP2_COLOR_4")
(register MAP2_INDEX a "GL_MAP2_INDEX")
(register MAP2_NORMAL a "GL_MAP2_NORMAL")
(register MAP2_TEXTURE_COORD_1 a "GL_MAP2_TEXTURE_COORD_1")
(register MAP2_TEXTURE_COORD_2 a "GL_MAP2_TEXTURE_COORD_2")
(register MAP2_TEXTURE_COORD_3 a "GL_MAP2_TEXTURE_COORD_3")
(register MAP2_TEXTURE_COORD_4 a "GL_MAP2_TEXTURE_COORD_4")
(register MAP2_VERTEX_3 a "GL_MAP2_VERTEX_3")
(register MAP2_VERTEX_4 a "GL_MAP2_VERTEX_4")
(register MAP1_GRID_DOMAIN a "GL_MAP1_GRID_DOMAIN")
(register MAP1_GRID_SEGMENTS a "GL_MAP1_GRID_SEGMENTS")
(register MAP2_GRID_DOMAIN a "GL_MAP2_GRID_DOMAIN")
(register MAP2_GRID_SEGMENTS a "GL_MAP2_GRID_SEGMENTS")
(register TEXTURE_1D a "GL_TEXTURE_1D")
(register TEXTURE_2D a "GL_TEXTURE_2D")
(register FEEDBACK_BUFFER_POINTER a "GL_FEEDBACK_BUFFER_POINTER")
(register FEEDBACK_BUFFER_SIZE a "GL_FEEDBACK_BUFFER_SIZE")
(register FEEDBACK_BUFFER_TYPE a "GL_FEEDBACK_BUFFER_TYPE")
(register SELECTION_BUFFER_POINTER a "GL_SELECTION_BUFFER_POINTER")
(register SELECTION_BUFFER_SIZE a "GL_SELECTION_BUFFER_SIZE")
(register TEXTURE_WIDTH a "GL_TEXTURE_WIDTH")
(register TEXTURE_HEIGHT a "GL_TEXTURE_HEIGHT")
(register TEXTURE_INTERNAL_FORMAT a "GL_TEXTURE_INTERNAL_FORMAT")
(register TEXTURE_BORDER_COLOR a "GL_TEXTURE_BORDER_COLOR")
(register TEXTURE_BORDER a "GL_TEXTURE_BORDER")
(register DONT_CARE a "GL_DONT_CARE")
(register FASTEST a "GL_FASTEST")
(register NICEST a "GL_NICEST")
(register LIGHT0 a "GL_LIGHT0")
(register LIGHT1 a "GL_LIGHT1")
(register LIGHT2 a "GL_LIGHT2")
(register LIGHT3 a "GL_LIGHT3")
(register LIGHT4 a "GL_LIGHT4")
(register LIGHT5 a "GL_LIGHT5")
(register LIGHT6 a "GL_LIGHT6")
(register LIGHT7 a "GL_LIGHT7")
(register AMBIENT a "GL_AMBIENT")
(register DIFFUSE a "GL_DIFFUSE")
(register SPECULAR a "GL_SPECULAR")
(register POSITION a "GL_POSITION")
(register SPOT_DIRECTION a "GL_SPOT_DIRECTION")
(register SPOT_EXPONENT a "GL_SPOT_EXPONENT")
(register SPOT_CUTOFF a "GL_SPOT_CUTOFF")
(register CONSTANT_ATTENUATION a "GL_CONSTANT_ATTENUATION")
(register LINEAR_ATTENUATION a "GL_LINEAR_ATTENUATION")
(register QUADRATIC_ATTENUATION a "GL_QUADRATIC_ATTENUATION")
(register COMPILE a "GL_COMPILE")
(register COMPILE_AND_EXECUTE a "GL_COMPILE_AND_EXECUTE")
(register CLEAR a "GL_CLEAR")
(register AND a "GL_AND")
(register AND_REVERSE a "GL_AND_REVERSE")
(register COPY a "GL_COPY")
(register AND_INVERTED a "GL_AND_INVERTED")
(register NOOP a "GL_NOOP")
(register XOR a "GL_XOR")
(register OR a "GL_OR")
(register NOR a "GL_NOR")
(register EQUIV a "GL_EQUIV")
(register INVERT a "GL_INVERT")
(register OR_REVERSE a "GL_OR_REVERSE")
(register COPY_INVERTED a "GL_COPY_INVERTED")
(register OR_INVERTED a "GL_OR_INVERTED")
(register NAND a "GL_NAND")
(register SET a "GL_SET")
(register EMISSION a "GL_EMISSION")
(register SHININESS a "GL_SHININESS")
(register AMBIENT_AND_DIFFUSE a "GL_AMBIENT_AND_DIFFUSE")
(register COLOR_INDEXES a "GL_COLOR_INDEXES")
(register MODELVIEW a "GL_MODELVIEW")
(register PROJECTION a "GL_PROJECTION")
(register TEXTURE a "GL_TEXTURE")
(register COLOR a "GL_COLOR")
(register DEPTH a "GL_DEPTH")
(register STENCIL a "GL_STENCIL")
(register COLOR_INDEX a "GL_COLOR_INDEX")
(register STENCIL_INDEX a "GL_STENCIL_INDEX")
(register DEPTH_COMPONENT a "GL_DEPTH_COMPONENT")
(register RED a "GL_RED")
(register GREEN a "GL_GREEN")
(register BLUE a "GL_BLUE")
(register ALPHA a "GL_ALPHA")
(register RGB a "GL_RGB")
(register RGBA a "GL_RGBA")
(register LUMINANCE a "GL_LUMINANCE")
(register LUMINANCE_ALPHA a "GL_LUMINANCE_ALPHA")
(register BITMAP a "GL_BITMAP")
(register POINT a "GL_POINT")
(register LINE a "GL_LINE")
(register FILL a "GL_FILL")
(register RENDER a "GL_RENDER")
(register FEEDBACK a "GL_FEEDBACK")
(register SELECT a "GL_SELECT")
(register FLAT a "GL_FLAT")
(register SMOOTH a "GL_SMOOTH")
(register KEEP a "GL_KEEP")
(register REPLACE a "GL_REPLACE")
(register INCR a "GL_INCR")
(register DECR a "GL_DECR")
(register VENDOR a "GL_VENDOR")
(register RENDERER a "GL_RENDERER")
(register VERSION a "GL_VERSION")
(register EXTENSIONS a "GL_EXTENSIONS")
(register S a "GL_S")
(register T a "GL_T")
(register R a "GL_R")
(register Q a "GL_Q")
(register MODULATE a "GL_MODULATE")
(register DECAL a "GL_DECAL")
(register TEXTURE_ENV_MODE a "GL_TEXTURE_ENV_MODE")
(register TEXTURE_ENV_COLOR a "GL_TEXTURE_ENV_COLOR")
(register TEXTURE_ENV a "GL_TEXTURE_ENV")
(register EYE_LINEAR a "GL_EYE_LINEAR")
(register OBJECT_LINEAR a "GL_OBJECT_LINEAR")
(register SPHERE_MAP a "GL_SPHERE_MAP")
(register TEXTURE_GEN_MODE a "GL_TEXTURE_GEN_MODE")
(register OBJECT_PLANE a "GL_OBJECT_PLANE")
(register EYE_PLANE a "GL_EYE_PLANE")
(register NEAREST a "GL_NEAREST")
(register LINEAR a "GL_LINEAR")
(register NEAREST_MIPMAP_NEAREST a "GL_NEAREST_MIPMAP_NEAREST")
(register LINEAR_MIPMAP_NEAREST a "GL_LINEAR_MIPMAP_NEAREST")
(register NEAREST_MIPMAP_LINEAR a "GL_NEAREST_MIPMAP_LINEAR")
(register LINEAR_MIPMAP_LINEAR a "GL_LINEAR_MIPMAP_LINEAR")
(register TEXTURE_MAG_FILTER a "GL_TEXTURE_MAG_FILTER")
(register TEXTURE_MIN_FILTER a "GL_TEXTURE_MIN_FILTER")
(register TEXTURE_WRAP_S a "GL_TEXTURE_WRAP_S")
(register TEXTURE_WRAP_T a "GL_TEXTURE_WRAP_T")
(register CLAMP a "GL_CLAMP")
(register REPEAT a "GL_REPEAT")
(register CLIENT_PIXEL_STORE_BIT a "GL_CLIENT_PIXEL_STORE_BIT")
(register CLIENT_VERTEX_ARRAY_BIT a "GL_CLIENT_VERTEX_ARRAY_BIT")
(register CLIENT_ALL_ATTRIB_BITS a "GL_CLIENT_ALL_ATTRIB_BITS")
(register POLYGON_OFFSET_FACTOR a "GL_POLYGON_OFFSET_FACTOR")
(register POLYGON_OFFSET_UNITS a "GL_POLYGON_OFFSET_UNITS")
(register POLYGON_OFFSET_POINT a "GL_POLYGON_OFFSET_POINT")
(register POLYGON_OFFSET_LINE a "GL_POLYGON_OFFSET_LINE")
(register POLYGON_OFFSET_FILL a "GL_POLYGON_OFFSET_FILL")
(register ALPHA4 a "GL_ALPHA4")
(register ALPHA8 a "GL_ALPHA8")
(register ALPHA12 a "GL_ALPHA12")
(register ALPHA16 a "GL_ALPHA16")
(register LUMINANCE4 a "GL_LUMINANCE4")
(register LUMINANCE8 a "GL_LUMINANCE8")
(register LUMINANCE12 a "GL_LUMINANCE12")
(register LUMINANCE16 a "GL_LUMINANCE16")
(register LUMINANCE4_ALPHA4 a "GL_LUMINANCE4_ALPHA4")
(register LUMINANCE6_ALPHA2 a "GL_LUMINANCE6_ALPHA2")
(register LUMINANCE8_ALPHA8 a "GL_LUMINANCE8_ALPHA8")
(register LUMINANCE12_ALPHA4 a "GL_LUMINANCE12_ALPHA4")
(register LUMINANCE12_ALPHA12 a "GL_LUMINANCE12_ALPHA12")
(register LUMINANCE16_ALPHA16 a "GL_LUMINANCE16_ALPHA16")
(register INTENSITY a "GL_INTENSITY")
(register INTENSITY4 a "GL_INTENSITY4")
(register INTENSITY8 a "GL_INTENSITY8")
(register INTENSITY12 a "GL_INTENSITY12")
(register INTENSITY16 a "GL_INTENSITY16")
(register R3_G3_B2 a "GL_R3_G3_B2")
(register RGB4 a "GL_RGB4")
(register RGB5 a "GL_RGB5")
(register RGB8 a "GL_RGB8")
(register RGB10 a "GL_RGB10")
(register RGB12 a "GL_RGB12")
(register RGB16 a "GL_RGB16")
(register RGBA2 a "GL_RGBA2")
(register RGBA4 a "GL_RGBA4")
(register RGB5_A1 a "GL_RGB5_A1")
(register RGBA8 a "GL_RGBA8")
(register RGB10_A2 a "GL_RGB10_A2")
(register RGBA12 a "GL_RGBA12")
(register RGBA16 a "GL_RGBA16")
(register TEXTURE_RED_SIZE a "GL_TEXTURE_RED_SIZE")
(register TEXTURE_GREEN_SIZE a "GL_TEXTURE_GREEN_SIZE")
(register TEXTURE_BLUE_SIZE a "GL_TEXTURE_BLUE_SIZE")
(register TEXTURE_ALPHA_SIZE a "GL_TEXTURE_ALPHA_SIZE")
(register TEXTURE_LUMINANCE_SIZE a "GL_TEXTURE_LUMINANCE_SIZE")
(register TEXTURE_INTENSITY_SIZE a "GL_TEXTURE_INTENSITY_SIZE")
(register PROXY_TEXTURE_1D a "GL_PROXY_TEXTURE_1D")
(register PROXY_TEXTURE_2D a "GL_PROXY_TEXTURE_2D")
(register TEXTURE_PRIORITY a "GL_TEXTURE_PRIORITY")
(register TEXTURE_RESIDENT a "GL_TEXTURE_RESIDENT")
(register TEXTURE_BINDING_1D a "GL_TEXTURE_BINDING_1D")
(register TEXTURE_BINDING_2D a "GL_TEXTURE_BINDING_2D")
(register TEXTURE_BINDING_3D a "GL_TEXTURE_BINDING_3D")
(register VERTEX_ARRAY a "GL_VERTEX_ARRAY")
(register NORMAL_ARRAY a "GL_NORMAL_ARRAY")
(register COLOR_ARRAY a "GL_COLOR_ARRAY")
(register INDEX_ARRAY a "GL_INDEX_ARRAY")
(register TEXTURE_COORD_ARRAY a "GL_TEXTURE_COORD_ARRAY")
(register EDGE_FLAG_ARRAY a "GL_EDGE_FLAG_ARRAY")
(register VERTEX_ARRAY_SIZE a "GL_VERTEX_ARRAY_SIZE")
(register VERTEX_ARRAY_TYPE a "GL_VERTEX_ARRAY_TYPE")
(register VERTEX_ARRAY_STRIDE a "GL_VERTEX_ARRAY_STRIDE")
(register NORMAL_ARRAY_TYPE a "GL_NORMAL_ARRAY_TYPE")
(register NORMAL_ARRAY_STRIDE a "GL_NORMAL_ARRAY_STRIDE")
(register COLOR_ARRAY_SIZE a "GL_COLOR_ARRAY_SIZE")
(register COLOR_ARRAY_TYPE a "GL_COLOR_ARRAY_TYPE")
(register COLOR_ARRAY_STRIDE a "GL_COLOR_ARRAY_STRIDE")
(register INDEX_ARRAY_TYPE a "GL_INDEX_ARRAY_TYPE")
(register INDEX_ARRAY_STRIDE a "GL_INDEX_ARRAY_STRIDE")
(register TEXTURE_COORD_ARRAY_SIZE a "GL_TEXTURE_COORD_ARRAY_SIZE")
(register TEXTURE_COORD_ARRAY_TYPE a "GL_TEXTURE_COORD_ARRAY_TYPE")
(register TEXTURE_COORD_ARRAY_STRIDE a "GL_TEXTURE_COORD_ARRAY_STRIDE")
(register EDGE_FLAG_ARRAY_STRIDE a "GL_EDGE_FLAG_ARRAY_STRIDE")
(register VERTEX_ARRAY_POINTER a "GL_VERTEX_ARRAY_POINTER")
(register NORMAL_ARRAY_POINTER a "GL_NORMAL_ARRAY_POINTER")
(register COLOR_ARRAY_POINTER a "GL_COLOR_ARRAY_POINTER")
(register INDEX_ARRAY_POINTER a "GL_INDEX_ARRAY_POINTER")
(register TEXTURE_COORD_ARRAY_POINTER a "GL_TEXTURE_COORD_ARRAY_POINTER")
(register EDGE_FLAG_ARRAY_POINTER a "GL_EDGE_FLAG_ARRAY_POINTER")
(register V2F a "GL_V2F")
(register V3F a "GL_V3F")
(register C4UB_V2F a "GL_C4UB_V2F")
(register C4UB_V3F a "GL_C4UB_V3F")
(register C3F_V3F a "GL_C3F_V3F")
(register N3F_V3F a "GL_N3F_V3F")
(register C4F_N3F_V3F a "GL_C4F_N3F_V3F")
(register T2F_V3F a "GL_T2F_V3F")
(register T4F_V4F a "GL_T4F_V4F")
(register T2F_C4UB_V3F a "GL_T2F_C4UB_V3F")
(register T2F_C3F_V3F a "GL_T2F_C3F_V3F")
(register T2F_N3F_V3F a "GL_T2F_N3F_V3F")
(register T2F_C4F_N3F_V3F a "GL_T2F_C4F_N3F_V3F")
(register T4F_C4F_N3F_V4F a "GL_T4F_C4F_N3F_V4F")
(register BGR a "GL_BGR")
(register BGRA a "GL_BGRA")
(register CONSTANT_COLOR a "GL_CONSTANT_COLOR")
(register ONE_MINUS_CONSTANT_COLOR a "GL_ONE_MINUS_CONSTANT_COLOR")
(register CONSTANT_ALPHA a "GL_CONSTANT_ALPHA")
(register ONE_MINUS_CONSTANT_ALPHA a "GL_ONE_MINUS_CONSTANT_ALPHA")
(register BLEND_COLOR a "GL_BLEND_COLOR")
(register FUNC_ADD a "GL_FUNC_ADD")
(register MIN a "GL_MIN")
(register MAX a "GL_MAX")
(register BLEND_EQUATION a "GL_BLEND_EQUATION")
(register BLEND_EQUATION_RGB a "GL_BLEND_EQUATION_RGB")
(register BLEND_EQUATION_ALPHA a "GL_BLEND_EQUATION_ALPHA")
(register FUNC_SUBTRACT a "GL_FUNC_SUBTRACT")
(register FUNC_REVERSE_SUBTRACT a "GL_FUNC_REVERSE_SUBTRACT")
(register COLOR_MATRIX a "GL_COLOR_MATRIX")
(register COLOR_MATRIX_STACK_DEPTH a "GL_COLOR_MATRIX_STACK_DEPTH")
(register MAX_COLOR_MATRIX_STACK_DEPTH a "GL_MAX_COLOR_MATRIX_STACK_DEPTH")
(register POST_COLOR_MATRIX_RED_SCALE a "GL_POST_COLOR_MATRIX_RED_SCALE")
(register POST_COLOR_MATRIX_GREEN_SCALE a "GL_POST_COLOR_MATRIX_GREEN_SCALE")
(register POST_COLOR_MATRIX_BLUE_SCALE a "GL_POST_COLOR_MATRIX_BLUE_SCALE")
(register POST_COLOR_MATRIX_ALPHA_SCALE a "GL_POST_COLOR_MATRIX_ALPHA_SCALE")
(register POST_COLOR_MATRIX_RED_BIAS a "GL_POST_COLOR_MATRIX_RED_BIAS")
(register POST_COLOR_MATRIX_GREEN_BIAS a "GL_POST_COLOR_MATRIX_GREEN_BIAS")
(register POST_COLOR_MATRIX_BLUE_BIAS a "GL_POST_COLOR_MATRIX_BLUE_BIAS")
(register POST_COLOR_MATRIX_ALPHA_BIAS a "GL_POST_COLOR_MATRIX_ALPHA_BIAS")
(register COLOR_TABLE a "GL_COLOR_TABLE")
(register POST_CONVOLUTION_COLOR_TABLE a "GL_POST_CONVOLUTION_COLOR_TABLE")
(register POST_COLOR_MATRIX_COLOR_TABLE a "GL_POST_COLOR_MATRIX_COLOR_TABLE")
(register PROXY_COLOR_TABLE a "GL_PROXY_COLOR_TABLE")
(register PROXY_POST_CONVOLUTION_COLOR_TABLE a "GL_PROXY_POST_CONVOLUTION_COLOR_TABLE")
(register PROXY_POST_COLOR_MATRIX_COLOR_TABLE a "GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE")
(register COLOR_TABLE_SCALE a "GL_COLOR_TABLE_SCALE")
(register COLOR_TABLE_BIAS a "GL_COLOR_TABLE_BIAS")
(register COLOR_TABLE_FORMAT a "GL_COLOR_TABLE_FORMAT")
(register COLOR_TABLE_WIDTH a "GL_COLOR_TABLE_WIDTH")
(register COLOR_TABLE_RED_SIZE a "GL_COLOR_TABLE_RED_SIZE")
(register COLOR_TABLE_GREEN_SIZE a "GL_COLOR_TABLE_GREEN_SIZE")
(register COLOR_TABLE_BLUE_SIZE a "GL_COLOR_TABLE_BLUE_SIZE")
(register COLOR_TABLE_ALPHA_SIZE a "GL_COLOR_TABLE_ALPHA_SIZE")
(register COLOR_TABLE_LUMINANCE_SIZE a "GL_COLOR_TABLE_LUMINANCE_SIZE")
(register COLOR_TABLE_INTENSITY_SIZE a "GL_COLOR_TABLE_INTENSITY_SIZE")
(register CONVOLUTION_1D a "GL_CONVOLUTION_1D")
(register CONVOLUTION_2D a "GL_CONVOLUTION_2D")
(register SEPARABLE_2D a "GL_SEPARABLE_2D")
(register CONVOLUTION_BORDER_MODE a "GL_CONVOLUTION_BORDER_MODE")
(register CONVOLUTION_FILTER_SCALE a "GL_CONVOLUTION_FILTER_SCALE")
(register CONVOLUTION_FILTER_BIAS a "GL_CONVOLUTION_FILTER_BIAS")
(register REDUCE a "GL_REDUCE")
(register CONVOLUTION_FORMAT a "GL_CONVOLUTION_FORMAT")
(register CONVOLUTION_WIDTH a "GL_CONVOLUTION_WIDTH")
(register CONVOLUTION_HEIGHT a "GL_CONVOLUTION_HEIGHT")
(register MAX_CONVOLUTION_WIDTH a "GL_MAX_CONVOLUTION_WIDTH")
(register MAX_CONVOLUTION_HEIGHT a "GL_MAX_CONVOLUTION_HEIGHT")
(register POST_CONVOLUTION_RED_SCALE a "GL_POST_CONVOLUTION_RED_SCALE")
(register POST_CONVOLUTION_GREEN_SCALE a "GL_POST_CONVOLUTION_GREEN_SCALE")
(register POST_CONVOLUTION_BLUE_SCALE a "GL_POST_CONVOLUTION_BLUE_SCALE")
(register POST_CONVOLUTION_ALPHA_SCALE a "GL_POST_CONVOLUTION_ALPHA_SCALE")
(register POST_CONVOLUTION_RED_BIAS a "GL_POST_CONVOLUTION_RED_BIAS")
(register POST_CONVOLUTION_GREEN_BIAS a "GL_POST_CONVOLUTION_GREEN_BIAS")
(register POST_CONVOLUTION_BLUE_BIAS a "GL_POST_CONVOLUTION_BLUE_BIAS")
(register POST_CONVOLUTION_ALPHA_BIAS a "GL_POST_CONVOLUTION_ALPHA_BIAS")
(register CONSTANT_BORDER a "GL_CONSTANT_BORDER")
(register REPLICATE_BORDER a "GL_REPLICATE_BORDER")
(register CONVOLUTION_BORDER_COLOR a "GL_CONVOLUTION_BORDER_COLOR")
(register MAX_ELEMENTS_VERTICES a "GL_MAX_ELEMENTS_VERTICES")
(register MAX_ELEMENTS_INDICES a "GL_MAX_ELEMENTS_INDICES")
(register HISTOGRAM a "GL_HISTOGRAM")
(register PROXY_HISTOGRAM a "GL_PROXY_HISTOGRAM")
(register HISTOGRAM_WIDTH a "GL_HISTOGRAM_WIDTH")
(register HISTOGRAM_FORMAT a "GL_HISTOGRAM_FORMAT")
(register HISTOGRAM_RED_SIZE a "GL_HISTOGRAM_RED_SIZE")
(register HISTOGRAM_GREEN_SIZE a "GL_HISTOGRAM_GREEN_SIZE")
(register HISTOGRAM_BLUE_SIZE a "GL_HISTOGRAM_BLUE_SIZE")
(register HISTOGRAM_ALPHA_SIZE a "GL_HISTOGRAM_ALPHA_SIZE")
(register HISTOGRAM_LUMINANCE_SIZE a "GL_HISTOGRAM_LUMINANCE_SIZE")
(register HISTOGRAM_SINK a "GL_HISTOGRAM_SINK")
(register MINMAX a "GL_MINMAX")
(register MINMAX_FORMAT a "GL_MINMAX_FORMAT")
(register MINMAX_SINK a "GL_MINMAX_SINK")
(register TABLE_TOO_LARGE a "GL_TABLE_TOO_LARGE")
(register UNSIGNED_BYTE_3_3_2 a "GL_UNSIGNED_BYTE_3_3_2")
(register UNSIGNED_SHORT_4_4_4_4 a "GL_UNSIGNED_SHORT_4_4_4_4")
(register UNSIGNED_SHORT_5_5_5_1 a "GL_UNSIGNED_SHORT_5_5_5_1")
(register UNSIGNED_INT_8_8_8_8 a "GL_UNSIGNED_INT_8_8_8_8")
(register UNSIGNED_INT_10_10_10_2 a "GL_UNSIGNED_INT_10_10_10_2")
(register UNSIGNED_BYTE_2_3_3_REV a "GL_UNSIGNED_BYTE_2_3_3_REV")
(register UNSIGNED_SHORT_5_6_5 a "GL_UNSIGNED_SHORT_5_6_5")
(register UNSIGNED_SHORT_5_6_5_REV a "GL_UNSIGNED_SHORT_5_6_5_REV")
(register UNSIGNED_SHORT_4_4_4_4_REV a "GL_UNSIGNED_SHORT_4_4_4_4_REV")
(register UNSIGNED_SHORT_1_5_5_5_REV a "GL_UNSIGNED_SHORT_1_5_5_5_REV")
(register UNSIGNED_INT_8_8_8_8_REV a "GL_UNSIGNED_INT_8_8_8_8_REV")
(register UNSIGNED_INT_2_10_10_10_REV a "GL_UNSIGNED_INT_2_10_10_10_REV")
(register RESCALE_NORMAL a "GL_RESCALE_NORMAL")
(register LIGHT_MODEL_COLOR_CONTROL a "GL_LIGHT_MODEL_COLOR_CONTROL")
(register SINGLE_COLOR a "GL_SINGLE_COLOR")
(register SEPARATE_SPECULAR_COLOR a "GL_SEPARATE_SPECULAR_COLOR")
(register PACK_SKIP_IMAGES a "GL_PACK_SKIP_IMAGES")
(register PACK_IMAGE_HEIGHT a "GL_PACK_IMAGE_HEIGHT")
(register UNPACK_SKIP_IMAGES a "GL_UNPACK_SKIP_IMAGES")
(register UNPACK_IMAGE_HEIGHT a "GL_UNPACK_IMAGE_HEIGHT")
(register TEXTURE_3D a "GL_TEXTURE_3D")
(register PROXY_TEXTURE_3D a "GL_PROXY_TEXTURE_3D")
(register TEXTURE_DEPTH a "GL_TEXTURE_DEPTH")
(register TEXTURE_WRAP_R a "GL_TEXTURE_WRAP_R")
(register MAX_3D_TEXTURE_SIZE a "GL_MAX_3D_TEXTURE_SIZE")
(register CLAMP_TO_EDGE a "GL_CLAMP_TO_EDGE")
(register CLAMP_TO_BORDER a "GL_CLAMP_TO_BORDER")
(register TEXTURE_MIN_LOD a "GL_TEXTURE_MIN_LOD")
(register TEXTURE_MAX_LOD a "GL_TEXTURE_MAX_LOD")
(register TEXTURE_BASE_LEVEL a "GL_TEXTURE_BASE_LEVEL")
(register TEXTURE_MAX_LEVEL a "GL_TEXTURE_MAX_LEVEL")
(register SMOOTH_POINT_SIZE_RANGE a "GL_SMOOTH_POINT_SIZE_RANGE")
(register SMOOTH_POINT_SIZE_GRANULARITY a "GL_SMOOTH_POINT_SIZE_GRANULARITY")
(register SMOOTH_LINE_WIDTH_RANGE a "GL_SMOOTH_LINE_WIDTH_RANGE")
(register SMOOTH_LINE_WIDTH_GRANULARITY a "GL_SMOOTH_LINE_WIDTH_GRANULARITY")
(register ALIASED_POINT_SIZE_RANGE a "GL_ALIASED_POINT_SIZE_RANGE")
(register ALIASED_LINE_WIDTH_RANGE a "GL_ALIASED_LINE_WIDTH_RANGE")
(register TEXTURE0 a "GL_TEXTURE0")
(register TEXTURE1 a "GL_TEXTURE1")
(register TEXTURE2 a "GL_TEXTURE2")
(register TEXTURE3 a "GL_TEXTURE3")
(register TEXTURE4 a "GL_TEXTURE4")
(register TEXTURE5 a "GL_TEXTURE5")
(register TEXTURE6 a "GL_TEXTURE6")
(register TEXTURE7 a "GL_TEXTURE7")
(register TEXTURE8 a "GL_TEXTURE8")
(register TEXTURE9 a "GL_TEXTURE9")
(register TEXTURE10 a "GL_TEXTURE10")
(register TEXTURE11 a "GL_TEXTURE11")
(register TEXTURE12 a "GL_TEXTURE12")
(register TEXTURE13 a "GL_TEXTURE13")
(register TEXTURE14 a "GL_TEXTURE14")
(register TEXTURE15 a "GL_TEXTURE15")
(register TEXTURE16 a "GL_TEXTURE16")
(register TEXTURE17 a "GL_TEXTURE17")
(register TEXTURE18 a "GL_TEXTURE18")
(register TEXTURE19 a "GL_TEXTURE19")
(register TEXTURE20 a "GL_TEXTURE20")
(register TEXTURE21 a "GL_TEXTURE21")
(register TEXTURE22 a "GL_TEXTURE22")
(register TEXTURE23 a "GL_TEXTURE23")
(register TEXTURE24 a "GL_TEXTURE24")
(register TEXTURE25 a "GL_TEXTURE25")
(register TEXTURE26 a "GL_TEXTURE26")
(register TEXTURE27 a "GL_TEXTURE27")
(register TEXTURE28 a "GL_TEXTURE28")
(register TEXTURE29 a "GL_TEXTURE29")
(register TEXTURE30 a "GL_TEXTURE30")
(register TEXTURE31 a "GL_TEXTURE31")
(register ACTIVE_TEXTURE a "GL_ACTIVE_TEXTURE")
(register CLIENT_ACTIVE_TEXTURE a "GL_CLIENT_ACTIVE_TEXTURE")
(register MAX_TEXTURE_UNITS a "GL_MAX_TEXTURE_UNITS")
(register COMBINE a "GL_COMBINE")
(register COMBINE_RGB a "GL_COMBINE_RGB")
(register COMBINE_ALPHA a "GL_COMBINE_ALPHA")
(register RGB_SCALE a "GL_RGB_SCALE")
(register ADD_SIGNED a "GL_ADD_SIGNED")
(register INTERPOLATE a "GL_INTERPOLATE")
(register CONSTANT a "GL_CONSTANT")
(register PRIMARY_COLOR a "GL_PRIMARY_COLOR")
(register PREVIOUS a "GL_PREVIOUS")
(register SUBTRACT a "GL_SUBTRACT")
(register SRC0_RGB a "GL_SRC0_RGB")
(register SRC1_RGB a "GL_SRC1_RGB")
(register SRC2_RGB a "GL_SRC2_RGB")
(register SRC0_ALPHA a "GL_SRC0_ALPHA")
(register SRC1_ALPHA a "GL_SRC1_ALPHA")
(register SRC2_ALPHA a "GL_SRC2_ALPHA")
(register SOURCE0_RGB a "GL_SOURCE0_RGB")
(register SOURCE1_RGB a "GL_SOURCE1_RGB")
(register SOURCE2_RGB a "GL_SOURCE2_RGB")
(register SOURCE0_ALPHA a "GL_SOURCE0_ALPHA")
(register SOURCE1_ALPHA a "GL_SOURCE1_ALPHA")
(register SOURCE2_ALPHA a "GL_SOURCE2_ALPHA")
(register OPERAND0_RGB a "GL_OPERAND0_RGB")
(register OPERAND1_RGB a "GL_OPERAND1_RGB")
(register OPERAND2_RGB a "GL_OPERAND2_RGB")
(register OPERAND0_ALPHA a "GL_OPERAND0_ALPHA")
(register OPERAND1_ALPHA a "GL_OPERAND1_ALPHA")
(register OPERAND2_ALPHA a "GL_OPERAND2_ALPHA")
(register DOT3_RGB a "GL_DOT3_RGB")
(register DOT3_RGBA a "GL_DOT3_RGBA")
(register TRANSPOSE_MODELVIEW_MATRIX a "GL_TRANSPOSE_MODELVIEW_MATRIX")
(register TRANSPOSE_PROJECTION_MATRIX a "GL_TRANSPOSE_PROJECTION_MATRIX")
(register TRANSPOSE_TEXTURE_MATRIX a "GL_TRANSPOSE_TEXTURE_MATRIX")
(register TRANSPOSE_COLOR_MATRIX a "GL_TRANSPOSE_COLOR_MATRIX")
(register NORMAL_MAP a "GL_NORMAL_MAP")
(register REFLECTION_MAP a "GL_REFLECTION_MAP")
(register TEXTURE_CUBE_MAP a "GL_TEXTURE_CUBE_MAP")
(register TEXTURE_BINDING_CUBE_MAP a "GL_TEXTURE_BINDING_CUBE_MAP")
(register TEXTURE_CUBE_MAP_POSITIVE_X a "GL_TEXTURE_CUBE_MAP_POSITIVE_X")
(register TEXTURE_CUBE_MAP_NEGATIVE_X a "GL_TEXTURE_CUBE_MAP_NEGATIVE_X")
(register TEXTURE_CUBE_MAP_POSITIVE_Y a "GL_TEXTURE_CUBE_MAP_POSITIVE_Y")
(register TEXTURE_CUBE_MAP_NEGATIVE_Y a "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y")
(register TEXTURE_CUBE_MAP_POSITIVE_Z a "GL_TEXTURE_CUBE_MAP_POSITIVE_Z")
(register TEXTURE_CUBE_MAP_NEGATIVE_Z a "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z")
(register PROXY_TEXTURE_CUBE_MAP a "GL_PROXY_TEXTURE_CUBE_MAP")
(register MAX_CUBE_MAP_TEXTURE_SIZE a "GL_MAX_CUBE_MAP_TEXTURE_SIZE")
(register COMPRESSED_ALPHA a "GL_COMPRESSED_ALPHA")
(register COMPRESSED_LUMINANCE a "GL_COMPRESSED_LUMINANCE")
(register COMPRESSED_LUMINANCE_ALPHA a "GL_COMPRESSED_LUMINANCE_ALPHA")
(register COMPRESSED_INTENSITY a "GL_COMPRESSED_INTENSITY")
(register COMPRESSED_RGB a "GL_COMPRESSED_RGB")
(register COMPRESSED_RGBA a "GL_COMPRESSED_RGBA")
(register TEXTURE_COMPRESSION_HINT a "GL_TEXTURE_COMPRESSION_HINT")
(register TEXTURE_COMPRESSED_IMAGE_SIZE a "GL_TEXTURE_COMPRESSED_IMAGE_SIZE")
(register TEXTURE_COMPRESSED a "GL_TEXTURE_COMPRESSED")
(register NUM_COMPRESSED_TEXTURE_FORMATS a "GL_NUM_COMPRESSED_TEXTURE_FORMATS")
(register COMPRESSED_TEXTURE_FORMATS a "GL_COMPRESSED_TEXTURE_FORMATS")
(register MULTISAMPLE a "GL_MULTISAMPLE")
(register SAMPLE_ALPHA_TO_COVERAGE a "GL_SAMPLE_ALPHA_TO_COVERAGE")
(register SAMPLE_ALPHA_TO_ONE a "GL_SAMPLE_ALPHA_TO_ONE")
(register SAMPLE_COVERAGE a "GL_SAMPLE_COVERAGE")
(register SAMPLE_BUFFERS a "GL_SAMPLE_BUFFERS")
(register SAMPLES a "GL_SAMPLES")
(register SAMPLE_COVERAGE_VALUE a "GL_SAMPLE_COVERAGE_VALUE")
(register SAMPLE_COVERAGE_INVERT a "GL_SAMPLE_COVERAGE_INVERT")
(register MULTISAMPLE_BIT a "GL_MULTISAMPLE_BIT")
(register DEPTH_COMPONENT16 a "GL_DEPTH_COMPONENT16")
(register DEPTH_COMPONENT24 a "GL_DEPTH_COMPONENT24")
(register DEPTH_COMPONENT32 a "GL_DEPTH_COMPONENT32")
(register TEXTURE_DEPTH_SIZE a "GL_TEXTURE_DEPTH_SIZE")
(register DEPTH_TEXTURE_MODE a "GL_DEPTH_TEXTURE_MODE")
(register TEXTURE_COMPARE_MODE a "GL_TEXTURE_COMPARE_MODE")
(register TEXTURE_COMPARE_FUNC a "GL_TEXTURE_COMPARE_FUNC")
(register COMPARE_R_TO_TEXTURE a "GL_COMPARE_R_TO_TEXTURE")
(register QUERY_COUNTER_BITS a "GL_QUERY_COUNTER_BITS")
(register CURRENT_QUERY a "GL_CURRENT_QUERY")
(register QUERY_RESULT a "GL_QUERY_RESULT")
(register QUERY_RESULT_AVAILABLE a "GL_QUERY_RESULT_AVAILABLE")
(register SAMPLES_PASSED a "GL_SAMPLES_PASSED")
(register FOG_COORD_SRC a "GL_FOG_COORD_SRC")
(register FOG_COORD a "GL_FOG_COORD")
(register FRAGMENT_DEPTH a "GL_FRAGMENT_DEPTH")
(register CURRENT_FOG_COORD a "GL_CURRENT_FOG_COORD")
(register FOG_COORD_ARRAY_TYPE a "GL_FOG_COORD_ARRAY_TYPE")
(register FOG_COORD_ARRAY_STRIDE a "GL_FOG_COORD_ARRAY_STRIDE")
(register FOG_COORD_ARRAY_POINTER a "GL_FOG_COORD_ARRAY_POINTER")
(register FOG_COORD_ARRAY a "GL_FOG_COORD_ARRAY")
(register FOG_COORDINATE_SOURCE a "GL_FOG_COORDINATE_SOURCE")
(register FOG_COORDINATE a "GL_FOG_COORDINATE")
(register CURRENT_FOG_COORDINATE a "GL_CURRENT_FOG_COORDINATE")
(register FOG_COORDINATE_ARRAY_TYPE a "GL_FOG_COORDINATE_ARRAY_TYPE")
(register FOG_COORDINATE_ARRAY_STRIDE a "GL_FOG_COORDINATE_ARRAY_STRIDE")
(register FOG_COORDINATE_ARRAY_POINTER a "GL_FOG_COORDINATE_ARRAY_POINTER")
(register FOG_COORDINATE_ARRAY a "GL_FOG_COORDINATE_ARRAY")
(register COLOR_SUM a "GL_COLOR_SUM")
(register CURRENT_SECONDARY_COLOR a "GL_CURRENT_SECONDARY_COLOR")
(register SECONDARY_COLOR_ARRAY_SIZE a "GL_SECONDARY_COLOR_ARRAY_SIZE")
(register SECONDARY_COLOR_ARRAY_TYPE a "GL_SECONDARY_COLOR_ARRAY_TYPE")
(register SECONDARY_COLOR_ARRAY_STRIDE a "GL_SECONDARY_COLOR_ARRAY_STRIDE")
(register SECONDARY_COLOR_ARRAY_POINTER a "GL_SECONDARY_COLOR_ARRAY_POINTER")
(register SECONDARY_COLOR_ARRAY a "GL_SECONDARY_COLOR_ARRAY")
(register POINT_SIZE_MIN a "GL_POINT_SIZE_MIN")
(register POINT_SIZE_MAX a "GL_POINT_SIZE_MAX")
(register POINT_FADE_THRESHOLD_SIZE a "GL_POINT_FADE_THRESHOLD_SIZE")
(register POINT_DISTANCE_ATTENUATION a "GL_POINT_DISTANCE_ATTENUATION")
(register BLEND_DST_RGB a "GL_BLEND_DST_RGB")
(register BLEND_SRC_RGB a "GL_BLEND_SRC_RGB")
(register BLEND_DST_ALPHA a "GL_BLEND_DST_ALPHA")
(register BLEND_SRC_ALPHA a "GL_BLEND_SRC_ALPHA")
(register GENERATE_MIPMAP a "GL_GENERATE_MIPMAP")
(register GENERATE_MIPMAP_HINT a "GL_GENERATE_MIPMAP_HINT")
(register INCR_WRAP a "GL_INCR_WRAP")
(register DECR_WRAP a "GL_DECR_WRAP")
(register MIRRORED_REPEAT a "GL_MIRRORED_REPEAT")
(register MAX_TEXTURE_LOD_BIAS a "GL_MAX_TEXTURE_LOD_BIAS")
(register TEXTURE_FILTER_CONTROL a "GL_TEXTURE_FILTER_CONTROL")
(register TEXTURE_LOD_BIAS a "GL_TEXTURE_LOD_BIAS")
(register ARRAY_BUFFER a "GL_ARRAY_BUFFER")
(register ELEMENT_ARRAY_BUFFER a "GL_ELEMENT_ARRAY_BUFFER")
(register ARRAY_BUFFER_BINDING a "GL_ARRAY_BUFFER_BINDING")
(register ELEMENT_ARRAY_BUFFER_BINDING a "GL_ELEMENT_ARRAY_BUFFER_BINDING")
(register VERTEX_ARRAY_BUFFER_BINDING a "GL_VERTEX_ARRAY_BUFFER_BINDING")
(register NORMAL_ARRAY_BUFFER_BINDING a "GL_NORMAL_ARRAY_BUFFER_BINDING")
(register COLOR_ARRAY_BUFFER_BINDING a "GL_COLOR_ARRAY_BUFFER_BINDING")
(register INDEX_ARRAY_BUFFER_BINDING a "GL_INDEX_ARRAY_BUFFER_BINDING")
(register TEXTURE_COORD_ARRAY_BUFFER_BINDING a "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING")
(register EDGE_FLAG_ARRAY_BUFFER_BINDING a "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING")
(register SECONDARY_COLOR_ARRAY_BUFFER_BINDING a "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING")
(register FOG_COORD_ARRAY_BUFFER_BINDING a "GL_FOG_COORD_ARRAY_BUFFER_BINDING")
(register WEIGHT_ARRAY_BUFFER_BINDING a "GL_WEIGHT_ARRAY_BUFFER_BINDING")
(register VERTEX_ATTRIB_ARRAY_BUFFER_BINDING a "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING")
(register STREAM_DRAW a "GL_STREAM_DRAW")
(register STREAM_READ a "GL_STREAM_READ")
(register STREAM_COPY a "GL_STREAM_COPY")
(register STATIC_DRAW a "GL_STATIC_DRAW")
(register STATIC_READ a "GL_STATIC_READ")
(register STATIC_COPY a "GL_STATIC_COPY")
(register DYNAMIC_DRAW a "GL_DYNAMIC_DRAW")
(register DYNAMIC_READ a "GL_DYNAMIC_READ")
(register DYNAMIC_COPY a "GL_DYNAMIC_COPY")
(register READ_ONLY a "GL_READ_ONLY")
(register WRITE_ONLY a "GL_WRITE_ONLY")
(register READ_WRITE a "GL_READ_WRITE")
(register BUFFER_SIZE a "GL_BUFFER_SIZE")
(register BUFFER_USAGE a "GL_BUFFER_USAGE")
(register BUFFER_ACCESS a "GL_BUFFER_ACCESS")
(register BUFFER_MAPPED a "GL_BUFFER_MAPPED")
(register BUFFER_MAP_POINTER a "GL_BUFFER_MAP_POINTER")
(register FOG_COORDINATE_ARRAY_BUFFER_BINDING a "GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING")
(register CURRENT_PROGRAM a "GL_CURRENT_PROGRAM")
(register SHADER_TYPE a "GL_SHADER_TYPE")
(register DELETE_STATUS a "GL_DELETE_STATUS")
(register COMPILE_STATUS a "GL_COMPILE_STATUS")
(register LINK_STATUS a "GL_LINK_STATUS")
(register VALIDATE_STATUS a "GL_VALIDATE_STATUS")
(register INFO_LOG_LENGTH a "GL_INFO_LOG_LENGTH")
(register ATTACHED_SHADERS a "GL_ATTACHED_SHADERS")
(register ACTIVE_UNIFORMS a "GL_ACTIVE_UNIFORMS")
(register ACTIVE_UNIFORM_MAX_LENGTH a "GL_ACTIVE_UNIFORM_MAX_LENGTH")
(register SHADER_SOURCE_LENGTH a "GL_SHADER_SOURCE_LENGTH")
(register FLOAT_VEC2 a "GL_FLOAT_VEC2")
(register FLOAT_VEC3 a "GL_FLOAT_VEC3")
(register FLOAT_VEC4 a "GL_FLOAT_VEC4")
(register INT_VEC2 a "GL_INT_VEC2")
(register INT_VEC3 a "GL_INT_VEC3")
(register INT_VEC4 a "GL_INT_VEC4")
(register BOOL a "GL_BOOL")
(register BOOL_VEC2 a "GL_BOOL_VEC2")
(register BOOL_VEC3 a "GL_BOOL_VEC3")
(register BOOL_VEC4 a "GL_BOOL_VEC4")
(register FLOAT_MAT2 a "GL_FLOAT_MAT2")
(register FLOAT_MAT3 a "GL_FLOAT_MAT3")
(register FLOAT_MAT4 a "GL_FLOAT_MAT4")
(register SAMPLER_1D a "GL_SAMPLER_1D")
(register SAMPLER_2D a "GL_SAMPLER_2D")
(register SAMPLER_3D a "GL_SAMPLER_3D")
(register SAMPLER_CUBE a "GL_SAMPLER_CUBE")
(register SAMPLER_1D_SHADOW a "GL_SAMPLER_1D_SHADOW")
(register SAMPLER_2D_SHADOW a "GL_SAMPLER_2D_SHADOW")
(register SHADING_LANGUAGE_VERSION a "GL_SHADING_LANGUAGE_VERSION")
(register VERTEX_SHADER a "GL_VERTEX_SHADER")
(register MAX_VERTEX_UNIFORM_COMPONENTS a "GL_MAX_VERTEX_UNIFORM_COMPONENTS")
(register MAX_VARYING_FLOATS a "GL_MAX_VARYING_FLOATS")
(register MAX_VERTEX_TEXTURE_IMAGE_UNITS a "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS")
(register MAX_COMBINED_TEXTURE_IMAGE_UNITS a "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS")
(register ACTIVE_ATTRIBUTES a "GL_ACTIVE_ATTRIBUTES")
(register ACTIVE_ATTRIBUTE_MAX_LENGTH a "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH")
(register FRAGMENT_SHADER a "GL_FRAGMENT_SHADER")
(register MAX_FRAGMENT_UNIFORM_COMPONENTS a "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS")
(register FRAGMENT_SHADER_DERIVATIVE_HINT a "GL_FRAGMENT_SHADER_DERIVATIVE_HINT")
(register MAX_VERTEX_ATTRIBS a "GL_MAX_VERTEX_ATTRIBS")
(register VERTEX_ATTRIB_ARRAY_ENABLED a "GL_VERTEX_ATTRIB_ARRAY_ENABLED")
(register VERTEX_ATTRIB_ARRAY_SIZE a "GL_VERTEX_ATTRIB_ARRAY_SIZE")
(register VERTEX_ATTRIB_ARRAY_STRIDE a "GL_VERTEX_ATTRIB_ARRAY_STRIDE")
(register VERTEX_ATTRIB_ARRAY_TYPE a "GL_VERTEX_ATTRIB_ARRAY_TYPE")
(register VERTEX_ATTRIB_ARRAY_NORMALIZED a "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED")
(register CURRENT_VERTEX_ATTRIB a "GL_CURRENT_VERTEX_ATTRIB")
(register VERTEX_ATTRIB_ARRAY_POINTER a "GL_VERTEX_ATTRIB_ARRAY_POINTER")
(register VERTEX_PROGRAM_POINT_SIZE a "GL_VERTEX_PROGRAM_POINT_SIZE")
(register VERTEX_PROGRAM_TWO_SIDE a "GL_VERTEX_PROGRAM_TWO_SIDE")
(register MAX_TEXTURE_COORDS a "GL_MAX_TEXTURE_COORDS")
(register MAX_TEXTURE_IMAGE_UNITS a "GL_MAX_TEXTURE_IMAGE_UNITS")
(register MAX_DRAW_BUFFERS a "GL_MAX_DRAW_BUFFERS")
(register DRAW_BUFFER0 a "GL_DRAW_BUFFER0")
(register DRAW_BUFFER1 a "GL_DRAW_BUFFER1")
(register DRAW_BUFFER2 a "GL_DRAW_BUFFER2")
(register DRAW_BUFFER3 a "GL_DRAW_BUFFER3")
(register DRAW_BUFFER4 a "GL_DRAW_BUFFER4")
(register DRAW_BUFFER5 a "GL_DRAW_BUFFER5")
(register DRAW_BUFFER6 a "GL_DRAW_BUFFER6")
(register DRAW_BUFFER7 a "GL_DRAW_BUFFER7")
(register DRAW_BUFFER8 a "GL_DRAW_BUFFER8")
(register DRAW_BUFFER9 a "GL_DRAW_BUFFER9")
(register DRAW_BUFFER10 a "GL_DRAW_BUFFER10")
(register DRAW_BUFFER11 a "GL_DRAW_BUFFER11")
(register DRAW_BUFFER12 a "GL_DRAW_BUFFER12")
(register DRAW_BUFFER13 a "GL_DRAW_BUFFER13")
(register DRAW_BUFFER14 a "GL_DRAW_BUFFER14")
(register DRAW_BUFFER15 a "GL_DRAW_BUFFER15")
(register POINT_SPRITE a "GL_POINT_SPRITE")
(register COORD_REPLACE a "GL_COORD_REPLACE")
(register POINT_SPRITE_COORD_ORIGIN a "GL_POINT_SPRITE_COORD_ORIGIN")
(register LOWER_LEFT a "GL_LOWER_LEFT")
(register UPPER_LEFT a "GL_UPPER_LEFT")
(register STENCIL_BACK_FUNC a "GL_STENCIL_BACK_FUNC")
(register STENCIL_BACK_VALUE_MASK a "GL_STENCIL_BACK_VALUE_MASK")
(register STENCIL_BACK_REF a "GL_STENCIL_BACK_REF")
(register STENCIL_BACK_FAIL a "GL_STENCIL_BACK_FAIL")
(register STENCIL_BACK_PASS_DEPTH_FAIL a "GL_STENCIL_BACK_PASS_DEPTH_FAIL")
(register STENCIL_BACK_PASS_DEPTH_PASS a "GL_STENCIL_BACK_PASS_DEPTH_PASS")
(register STENCIL_BACK_WRITEMASK a "GL_STENCIL_BACK_WRITEMASK")
(register CURRENT_RASTER_SECONDARY_COLOR a "GL_CURRENT_RASTER_SECONDARY_COLOR")
(register PIXEL_PACK_BUFFER a "GL_PIXEL_PACK_BUFFER")
(register PIXEL_UNPACK_BUFFER a "GL_PIXEL_UNPACK_BUFFER")
(register PIXEL_PACK_BUFFER_BINDING a "GL_PIXEL_PACK_BUFFER_BINDING")
(register PIXEL_UNPACK_BUFFER_BINDING a "GL_PIXEL_UNPACK_BUFFER_BINDING")
(register FLOAT_MAT2x3 a "GL_FLOAT_MAT2x3")
(register FLOAT_MAT2x4 a "GL_FLOAT_MAT2x4")
(register FLOAT_MAT3x2 a "GL_FLOAT_MAT3x2")
(register FLOAT_MAT3x4 a "GL_FLOAT_MAT3x4")
(register FLOAT_MAT4x2 a "GL_FLOAT_MAT4x2")
(register FLOAT_MAT4x3 a "GL_FLOAT_MAT4x3")
(register SRGB a "GL_SRGB")
(register SRGB8 a "GL_SRGB8")
(register SRGB_ALPHA a "GL_SRGB_ALPHA")
(register SRGB8_ALPHA8 a "GL_SRGB8_ALPHA8")
(register SLUMINANCE_ALPHA a "GL_SLUMINANCE_ALPHA")
(register SLUMINANCE8_ALPHA8 a "GL_SLUMINANCE8_ALPHA8")
(register SLUMINANCE a "GL_SLUMINANCE")
(register SLUMINANCE8 a "GL_SLUMINANCE8")
(register COMPRESSED_SRGB a "GL_COMPRESSED_SRGB")
(register COMPRESSED_SRGB_ALPHA a "GL_COMPRESSED_SRGB_ALPHA")
(register COMPRESSED_SLUMINANCE a "GL_COMPRESSED_SLUMINANCE")
(register COMPRESSED_SLUMINANCE_ALPHA a "GL_COMPRESSED_SLUMINANCE_ALPHA")
(register accum (λ [GLenum Float] ()) "glAccum")
(register alphaFunc (λ [GLenum Float] ()) "glAlphaFunc")
(register areTexturesResident (λ [GLsizei (Ptr GLuint) (Ptr GLboolean)] GLboolean) "glAreTexturesResident")
(register arrayElement (λ [Int] ()) "glArrayElement")
(register begin (λ [GLenum] ()) "glBegin")
(register bindTexture (λ [GLenum GLuint] ()) "glBindTexture")
(register bitmap (λ [GLsizei GLsizei Float Float Float Float (Ptr GLubyte)] ()) "glBitmap")
(register blendColor (λ [Float Float Float Float] ()) "glBlendColor")
(register blendEquation (λ [GLenum] ()) "glBlendEquation")
(register blendEquationSeparate (λ [GLenum GLenum] ()) "glBlendEquationSeparate")
(register blendFunc (λ [GLenum GLenum] ()) "glBlendFunc")
(register callList (λ [GLuint] ()) "glCallList")
(register callLists (λ [GLsizei GLenum (Ptr ())] ()) "glCallLists")
(register clear (λ [GLbitfield] ()) "glClear")
(register clearAccum (λ [Float Float Float Float] ()) "glClearAccum")
(register clearColor (λ [Float Float Float Float] ()) "glClearColor")
(register clearDepth (λ [GLclampd] ()) "glClearDepth")
(register clearIndex (λ [Float] ()) "glClearIndex")
(register clearStencil (λ [Int] ()) "glClearStencil")
(register clipPlane (λ [GLenum (Ptr Double)] ()) "glClipPlane")
(register color3b (λ [GLbyte GLbyte GLbyte] ()) "glColor3b")
(register color3bv (λ [(Ptr GLbyte)] ()) "glColor3bv")
(register color3d (λ [Double Double Double] ()) "glColor3d")
(register color3dv (λ [(Ptr Double)] ()) "glColor3dv")
(register color3f (λ [Float Float Float] ()) "glColor3f")
(register color3fv (λ [(Ptr Float)] ()) "glColor3fv")
(register color3i (λ [Int Int Int] ()) "glColor3i")
(register color3iv (λ [(Ptr Int)] ()) "glColor3iv")
(register color3s (λ [GLshort GLshort GLshort] ()) "glColor3s")
(register color3sv (λ [(Ptr GLshort)] ()) "glColor3sv")
(register color3ub (λ [GLubyte GLubyte GLubyte] ()) "glColor3ub")
(register color3ubv (λ [(Ptr GLubyte)] ()) "glColor3ubv")
(register color3ui (λ [GLuint GLuint GLuint] ()) "glColor3ui")
(register color3uiv (λ [(Ptr GLuint)] ()) "glColor3uiv")
(register color3us (λ [GLushort GLushort GLushort] ()) "glColor3us")
(register color3usv (λ [(Ptr GLushort)] ()) "glColor3usv")
(register color4b (λ [GLbyte GLbyte GLbyte GLbyte] ()) "glColor4b")
(register color4bv (λ [(Ptr GLbyte)] ()) "glColor4bv")
(register color4d (λ [Double Double Double Double] ()) "glColor4d")
(register color4dv (λ [(Ptr Double)] ()) "glColor4dv")
(register color4f (λ [Float Float Float Float] ()) "glColor4f")