ruby-opengl 0.60.0 → 0.60.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/Rakefile +10 -2
  2. data/doc/extensions.txt +556 -0
  3. data/examples/NeHe/nehe_lesson02.rb +0 -0
  4. data/examples/NeHe/nehe_lesson03.rb +0 -0
  5. data/examples/NeHe/nehe_lesson04.rb +0 -0
  6. data/examples/NeHe/nehe_lesson05.rb +0 -0
  7. data/examples/RedBook/aapoly.rb +0 -0
  8. data/examples/RedBook/aargb.rb +0 -0
  9. data/examples/RedBook/accanti.rb +0 -0
  10. data/examples/RedBook/accpersp.rb +0 -0
  11. data/examples/RedBook/alpha.rb +0 -0
  12. data/examples/RedBook/alpha3D.rb +0 -0
  13. data/examples/RedBook/bezcurve.rb +0 -0
  14. data/examples/RedBook/bezmesh.rb +0 -0
  15. data/examples/RedBook/checker.rb +0 -0
  16. data/examples/RedBook/clip.rb +0 -0
  17. data/examples/RedBook/colormat.rb +0 -0
  18. data/examples/RedBook/cube.rb +0 -0
  19. data/examples/RedBook/depthcue.rb +0 -0
  20. data/examples/RedBook/dof.rb +0 -0
  21. data/examples/RedBook/double.rb +0 -0
  22. data/examples/RedBook/drawf.rb +0 -0
  23. data/examples/RedBook/feedback.rb +0 -0
  24. data/examples/RedBook/fog.rb +0 -0
  25. data/examples/RedBook/font.rb +0 -0
  26. data/examples/RedBook/hello.rb +0 -0
  27. data/examples/RedBook/image.rb +0 -0
  28. data/examples/RedBook/jitter.rb +0 -0
  29. data/examples/RedBook/lines.rb +0 -0
  30. data/examples/RedBook/list.rb +0 -0
  31. data/examples/RedBook/material.rb +0 -0
  32. data/examples/RedBook/mipmap.rb +0 -0
  33. data/examples/RedBook/model.rb +0 -0
  34. data/examples/RedBook/movelight.rb +0 -0
  35. data/examples/RedBook/pickdepth.rb +0 -0
  36. data/examples/RedBook/planet.rb +0 -0
  37. data/examples/RedBook/quadric.rb +0 -0
  38. data/examples/RedBook/robot.rb +0 -0
  39. data/examples/RedBook/select.rb +0 -0
  40. data/examples/RedBook/smooth.rb +0 -0
  41. data/examples/RedBook/stencil.rb +0 -0
  42. data/examples/RedBook/stroke.rb +0 -0
  43. data/examples/RedBook/surface.rb +0 -0
  44. data/examples/RedBook/teaambient.rb +0 -0
  45. data/examples/RedBook/teapots.rb +0 -0
  46. data/examples/RedBook/tess.rb +0 -0
  47. data/examples/RedBook/texbind.rb +0 -0
  48. data/examples/RedBook/texgen.rb +0 -0
  49. data/examples/RedBook/texturesurf.rb +0 -0
  50. data/examples/RedBook/varray.rb +0 -0
  51. data/examples/RedBook/wrap.rb +0 -0
  52. data/examples/misc/font-glut.rb +0 -0
  53. data/examples/misc/readpixel.rb +0 -0
  54. data/ext/common/conv.h +3 -3
  55. data/ext/common/funcdef.h +2 -2
  56. data/ext/common/gl-enums.h +885 -9
  57. data/ext/common/glu-enums.h +1 -7
  58. data/ext/gl/gl-1.0-1.1.c +27 -27
  59. data/ext/gl/gl-1.3.c +5 -5
  60. data/ext/gl/gl-1.4.c +6 -6
  61. data/ext/gl/gl-2.0.c +1 -1
  62. data/ext/gl/gl-enums.c +295 -1
  63. data/ext/gl/gl-ext-arb.c +1 -1
  64. data/ext/gl/gl-ext-ati.c +1 -1
  65. data/ext/gl/gl-ext-ext.c +9 -9
  66. data/ext/gl/gl-ext-nv.c +4 -4
  67. data/ext/glu/glu-enums.c +2 -2
  68. data/ext/glu/glu.c +4 -4
  69. data/ext/glut/glut.c +6 -4
  70. data/test/tc_func_12.rb +5 -5
  71. metadata +148 -139
  72. data/examples/misc/md2model.rb +0 -15
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/ext/common/conv.h CHANGED
@@ -131,9 +131,9 @@ int maxlen; \
131
131
  struct RArray* ary; \
132
132
  ary = RARRAY(rb_Array(arg)); \
133
133
  if (maxlen < 1) \
134
- maxlen = ary->len; \
134
+ maxlen = RARRAY_LEN(ary); \
135
135
  else \
136
- maxlen = maxlen < ary->len ? maxlen : ary->len; \
136
+ maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \
137
137
  for (i=0; i < maxlen; i++) \
138
138
  cary[i] = (GL##_type_)_convert_(rb_ary_entry((VALUE)ary,i)); \
139
139
  return i; \
@@ -166,7 +166,7 @@ int cols,rows; \
166
166
  rary = rb_Array(rary); \
167
167
  rary = rb_funcall(rary,rb_intern("flatten"),0); \
168
168
  \
169
- if (RARRAY(rary)->len != cols*rows) \
169
+ if (RARRAY_LEN(rary) != cols*rows) \
170
170
  rb_raise(rb_eArgError, "passed array/matrix must have %i*%i elements",cols,rows); \
171
171
  \
172
172
  for (i=0; i < cols*rows; i++) \
data/ext/common/funcdef.h CHANGED
@@ -245,7 +245,7 @@ static VALUE gl_##_name_(VALUE obj,VALUE arg1) \
245
245
  LOAD_GL_FUNC(gl##_name_,_ver_) \
246
246
  if (TYPE(arg1)==T_ARRAY) { \
247
247
  GLuint *objects; \
248
- n = RARRAY(arg1)->len; \
248
+ n = RARRAY_LEN(arg1); \
249
249
  objects = ALLOC_N(GLuint,n); \
250
250
  ary2cuint(arg1,objects,n); \
251
251
  fptr_gl##_name_(n,objects); \
@@ -265,7 +265,7 @@ static VALUE gl_##_name_(VALUE obj,VALUE arg1) \
265
265
  GLsizei n; \
266
266
  if (TYPE(arg1)==T_ARRAY) { \
267
267
  GLuint *objects; \
268
- n = RARRAY(arg1)->len; \
268
+ n = RARRAY_LEN(arg1); \
269
269
  objects = ALLOC_N(GLuint,n); \
270
270
  ary2cuint(arg1,objects,n); \
271
271
  gl##_name_(n,objects); \
@@ -1,4 +1,4 @@
1
- /* This file was genereated on Mon Jul 23 13:56:17 +0200 2007
1
+ /* This file was genereated on Mon Feb 16 18:08:56 +0100 2009
2
2
  source: http://www.opengl.org/registry/api/enum.spec
3
3
  source: http://www.opengl.org/registry/api/enumext.spec
4
4
  */
@@ -246,6 +246,9 @@
246
246
  #ifndef GL_ALPHA_FLOAT32_ATI
247
247
  #define GL_ALPHA_FLOAT32_ATI 0x8816
248
248
  #endif
249
+ #ifndef GL_ALPHA_INTEGER
250
+ #define GL_ALPHA_INTEGER 0x8D97
251
+ #endif
249
252
  #ifndef GL_ALPHA_INTEGER_EXT
250
253
  #define GL_ALPHA_INTEGER_EXT 0x8D97
251
254
  #endif
@@ -411,12 +414,18 @@
411
414
  #ifndef GL_BGRA_EXT
412
415
  #define GL_BGRA_EXT 0x80E1
413
416
  #endif
417
+ #ifndef GL_BGRA_INTEGER
418
+ #define GL_BGRA_INTEGER 0x8D9B
419
+ #endif
414
420
  #ifndef GL_BGRA_INTEGER_EXT
415
421
  #define GL_BGRA_INTEGER_EXT 0x8D9B
416
422
  #endif
417
423
  #ifndef GL_BGR_EXT
418
424
  #define GL_BGR_EXT 0x80E0
419
425
  #endif
426
+ #ifndef GL_BGR_INTEGER
427
+ #define GL_BGR_INTEGER 0x8D9A
428
+ #endif
420
429
  #ifndef GL_BGR_INTEGER_EXT
421
430
  #define GL_BGR_INTEGER_EXT 0x8D9A
422
431
  #endif
@@ -513,6 +522,9 @@
513
522
  #ifndef GL_BLUE_BIT_ATI
514
523
  #define GL_BLUE_BIT_ATI 0x00000004
515
524
  #endif
525
+ #ifndef GL_BLUE_INTEGER
526
+ #define GL_BLUE_INTEGER 0x8D96
527
+ #endif
516
528
  #ifndef GL_BLUE_INTEGER_EXT
517
529
  #define GL_BLUE_INTEGER_EXT 0x8D96
518
530
  #endif
@@ -627,9 +639,15 @@
627
639
  #ifndef GL_CLAMP
628
640
  #define GL_CLAMP 0x2900
629
641
  #endif
642
+ #ifndef GL_CLAMP_FRAGMENT_COLOR
643
+ #define GL_CLAMP_FRAGMENT_COLOR 0x891B
644
+ #endif
630
645
  #ifndef GL_CLAMP_FRAGMENT_COLOR_ARB
631
646
  #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
632
647
  #endif
648
+ #ifndef GL_CLAMP_READ_COLOR
649
+ #define GL_CLAMP_READ_COLOR 0x891C
650
+ #endif
633
651
  #ifndef GL_CLAMP_READ_COLOR_ARB
634
652
  #define GL_CLAMP_READ_COLOR_ARB 0x891C
635
653
  #endif
@@ -648,6 +666,9 @@
648
666
  #ifndef GL_CLAMP_TO_EDGE_SGIS
649
667
  #define GL_CLAMP_TO_EDGE_SGIS 0x812F
650
668
  #endif
669
+ #ifndef GL_CLAMP_VERTEX_COLOR
670
+ #define GL_CLAMP_VERTEX_COLOR 0x891A
671
+ #endif
651
672
  #ifndef GL_CLAMP_VERTEX_COLOR_ARB
652
673
  #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
653
674
  #endif
@@ -672,6 +693,24 @@
672
693
  #ifndef GL_CLIENT_VERTEX_ARRAY_BIT
673
694
  #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
674
695
  #endif
696
+ #ifndef GL_CLIP_DISTANCE0
697
+ #define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
698
+ #endif
699
+ #ifndef GL_CLIP_DISTANCE1
700
+ #define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
701
+ #endif
702
+ #ifndef GL_CLIP_DISTANCE2
703
+ #define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
704
+ #endif
705
+ #ifndef GL_CLIP_DISTANCE3
706
+ #define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
707
+ #endif
708
+ #ifndef GL_CLIP_DISTANCE4
709
+ #define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
710
+ #endif
711
+ #ifndef GL_CLIP_DISTANCE5
712
+ #define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
713
+ #endif
675
714
  #ifndef GL_CLIP_DISTANCE_NV
676
715
  #define GL_CLIP_DISTANCE_NV 0x8C7A
677
716
  #endif
@@ -777,51 +816,99 @@
777
816
  #ifndef GL_COLOR_ARRAY_TYPE_EXT
778
817
  #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
779
818
  #endif
819
+ #ifndef GL_COLOR_ATTACHMENT0
820
+ #define GL_COLOR_ATTACHMENT0 0x8CE0
821
+ #endif
780
822
  #ifndef GL_COLOR_ATTACHMENT0_EXT
781
823
  #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
782
824
  #endif
825
+ #ifndef GL_COLOR_ATTACHMENT1
826
+ #define GL_COLOR_ATTACHMENT1 0x8CE1
827
+ #endif
828
+ #ifndef GL_COLOR_ATTACHMENT10
829
+ #define GL_COLOR_ATTACHMENT10 0x8CEA
830
+ #endif
783
831
  #ifndef GL_COLOR_ATTACHMENT10_EXT
784
832
  #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
785
833
  #endif
834
+ #ifndef GL_COLOR_ATTACHMENT11
835
+ #define GL_COLOR_ATTACHMENT11 0x8CEB
836
+ #endif
786
837
  #ifndef GL_COLOR_ATTACHMENT11_EXT
787
838
  #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
788
839
  #endif
840
+ #ifndef GL_COLOR_ATTACHMENT12
841
+ #define GL_COLOR_ATTACHMENT12 0x8CEC
842
+ #endif
789
843
  #ifndef GL_COLOR_ATTACHMENT12_EXT
790
844
  #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
791
845
  #endif
846
+ #ifndef GL_COLOR_ATTACHMENT13
847
+ #define GL_COLOR_ATTACHMENT13 0x8CED
848
+ #endif
792
849
  #ifndef GL_COLOR_ATTACHMENT13_EXT
793
850
  #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
794
851
  #endif
852
+ #ifndef GL_COLOR_ATTACHMENT14
853
+ #define GL_COLOR_ATTACHMENT14 0x8CEE
854
+ #endif
795
855
  #ifndef GL_COLOR_ATTACHMENT14_EXT
796
856
  #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
797
857
  #endif
858
+ #ifndef GL_COLOR_ATTACHMENT15
859
+ #define GL_COLOR_ATTACHMENT15 0x8CEF
860
+ #endif
798
861
  #ifndef GL_COLOR_ATTACHMENT15_EXT
799
862
  #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
800
863
  #endif
801
864
  #ifndef GL_COLOR_ATTACHMENT1_EXT
802
865
  #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
803
866
  #endif
867
+ #ifndef GL_COLOR_ATTACHMENT2
868
+ #define GL_COLOR_ATTACHMENT2 0x8CE2
869
+ #endif
804
870
  #ifndef GL_COLOR_ATTACHMENT2_EXT
805
871
  #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
806
872
  #endif
873
+ #ifndef GL_COLOR_ATTACHMENT3
874
+ #define GL_COLOR_ATTACHMENT3 0x8CE3
875
+ #endif
807
876
  #ifndef GL_COLOR_ATTACHMENT3_EXT
808
877
  #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
809
878
  #endif
879
+ #ifndef GL_COLOR_ATTACHMENT4
880
+ #define GL_COLOR_ATTACHMENT4 0x8CE4
881
+ #endif
810
882
  #ifndef GL_COLOR_ATTACHMENT4_EXT
811
883
  #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
812
884
  #endif
885
+ #ifndef GL_COLOR_ATTACHMENT5
886
+ #define GL_COLOR_ATTACHMENT5 0x8CE5
887
+ #endif
813
888
  #ifndef GL_COLOR_ATTACHMENT5_EXT
814
889
  #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
815
890
  #endif
891
+ #ifndef GL_COLOR_ATTACHMENT6
892
+ #define GL_COLOR_ATTACHMENT6 0x8CE6
893
+ #endif
816
894
  #ifndef GL_COLOR_ATTACHMENT6_EXT
817
895
  #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
818
896
  #endif
897
+ #ifndef GL_COLOR_ATTACHMENT7
898
+ #define GL_COLOR_ATTACHMENT7 0x8CE7
899
+ #endif
819
900
  #ifndef GL_COLOR_ATTACHMENT7_EXT
820
901
  #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
821
902
  #endif
903
+ #ifndef GL_COLOR_ATTACHMENT8
904
+ #define GL_COLOR_ATTACHMENT8 0x8CE8
905
+ #endif
822
906
  #ifndef GL_COLOR_ATTACHMENT8_EXT
823
907
  #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
824
908
  #endif
909
+ #ifndef GL_COLOR_ATTACHMENT9
910
+ #define GL_COLOR_ATTACHMENT9 0x8CE9
911
+ #endif
825
912
  #ifndef GL_COLOR_ATTACHMENT9_EXT
826
913
  #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
827
914
  #endif
@@ -1053,9 +1140,15 @@
1053
1140
  #ifndef GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT
1054
1141
  #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
1055
1142
  #endif
1143
+ #ifndef GL_COMPARE_REF_TO_TEXTURE
1144
+ #define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
1145
+ #endif
1056
1146
  #ifndef GL_COMPARE_R_TO_TEXTURE
1057
1147
  #define GL_COMPARE_R_TO_TEXTURE 0x884E
1058
1148
  #endif
1149
+ #ifndef GL_COMPARE_R_TO_TEXTURE_ARB
1150
+ #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
1151
+ #endif
1059
1152
  #ifndef GL_COMPILE
1060
1153
  #define GL_COMPILE 0x1300
1061
1154
  #endif
@@ -1095,12 +1188,21 @@
1095
1188
  #ifndef GL_COMPRESSED_LUMINANCE_LATC1_EXT
1096
1189
  #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
1097
1190
  #endif
1191
+ #ifndef GL_COMPRESSED_RED
1192
+ #define GL_COMPRESSED_RED 0x8225
1193
+ #endif
1098
1194
  #ifndef GL_COMPRESSED_RED_GREEN_RGTC2_EXT
1099
1195
  #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
1100
1196
  #endif
1197
+ #ifndef GL_COMPRESSED_RED_RGTC1
1198
+ #define GL_COMPRESSED_RED_RGTC1 0x8DBB
1199
+ #endif
1101
1200
  #ifndef GL_COMPRESSED_RED_RGTC1_EXT
1102
1201
  #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
1103
1202
  #endif
1203
+ #ifndef GL_COMPRESSED_RG
1204
+ #define GL_COMPRESSED_RG 0x8226
1205
+ #endif
1104
1206
  #ifndef GL_COMPRESSED_RGB
1105
1207
  #define GL_COMPRESSED_RGB 0x84ED
1106
1208
  #endif
@@ -1131,6 +1233,9 @@
1131
1233
  #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
1132
1234
  #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
1133
1235
  #endif
1236
+ #ifndef GL_COMPRESSED_RG_RGTC2
1237
+ #define GL_COMPRESSED_RG_RGTC2 0x8DBD
1238
+ #endif
1134
1239
  #ifndef GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT
1135
1240
  #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
1136
1241
  #endif
@@ -1140,9 +1245,15 @@
1140
1245
  #ifndef GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT
1141
1246
  #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
1142
1247
  #endif
1248
+ #ifndef GL_COMPRESSED_SIGNED_RED_RGTC1
1249
+ #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
1250
+ #endif
1143
1251
  #ifndef GL_COMPRESSED_SIGNED_RED_RGTC1_EXT
1144
1252
  #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
1145
1253
  #endif
1254
+ #ifndef GL_COMPRESSED_SIGNED_RG_RGTC2
1255
+ #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
1256
+ #endif
1146
1257
  #ifndef GL_COMPRESSED_SLUMINANCE
1147
1258
  #define GL_COMPRESSED_SLUMINANCE 0x8C4A
1148
1259
  #endif
@@ -1230,6 +1341,12 @@
1230
1341
  #ifndef GL_CONST_EYE_NV
1231
1342
  #define GL_CONST_EYE_NV 0x86E5
1232
1343
  #endif
1344
+ #ifndef GL_CONTEXT_FLAGS
1345
+ #define GL_CONTEXT_FLAGS 0x821E
1346
+ #endif
1347
+ #ifndef GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT
1348
+ #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
1349
+ #endif
1233
1350
  #ifndef GL_CONVOLUTION_1D
1234
1351
  #define GL_CONVOLUTION_1D 0x8010
1235
1352
  #endif
@@ -1524,6 +1641,9 @@
1524
1641
  #ifndef GL_CURRENT_TEXTURE_COORDS
1525
1642
  #define GL_CURRENT_TEXTURE_COORDS 0x0B03
1526
1643
  #endif
1644
+ #ifndef GL_CURRENT_TIME_NV
1645
+ #define GL_CURRENT_TIME_NV 0x8E28
1646
+ #endif
1527
1647
  #ifndef GL_CURRENT_VERTEX_ATTRIB
1528
1648
  #define GL_CURRENT_VERTEX_ATTRIB 0x8626
1529
1649
  #endif
@@ -1578,12 +1698,21 @@
1578
1698
  #ifndef GL_DEPTH
1579
1699
  #define GL_DEPTH 0x1801
1580
1700
  #endif
1701
+ #ifndef GL_DEPTH24_STENCIL8
1702
+ #define GL_DEPTH24_STENCIL8 0x88F0
1703
+ #endif
1581
1704
  #ifndef GL_DEPTH24_STENCIL8_EXT
1582
1705
  #define GL_DEPTH24_STENCIL8_EXT 0x88F0
1583
1706
  #endif
1707
+ #ifndef GL_DEPTH32F_STENCIL8
1708
+ #define GL_DEPTH32F_STENCIL8 0x8CAD
1709
+ #endif
1584
1710
  #ifndef GL_DEPTH32F_STENCIL8_NV
1585
1711
  #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
1586
1712
  #endif
1713
+ #ifndef GL_DEPTH_ATTACHMENT
1714
+ #define GL_DEPTH_ATTACHMENT 0x8D00
1715
+ #endif
1587
1716
  #ifndef GL_DEPTH_ATTACHMENT_EXT
1588
1717
  #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
1589
1718
  #endif
@@ -1599,6 +1728,9 @@
1599
1728
  #ifndef GL_DEPTH_BOUNDS_TEST_EXT
1600
1729
  #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
1601
1730
  #endif
1731
+ #ifndef GL_DEPTH_BUFFER
1732
+ #define GL_DEPTH_BUFFER 0x8223
1733
+ #endif
1602
1734
  #ifndef GL_DEPTH_BUFFER_BIT
1603
1735
  #define GL_DEPTH_BUFFER_BIT 0x00000100
1604
1736
  #endif
@@ -1635,6 +1767,9 @@
1635
1767
  #ifndef GL_DEPTH_COMPONENT32
1636
1768
  #define GL_DEPTH_COMPONENT32 0x81A7
1637
1769
  #endif
1770
+ #ifndef GL_DEPTH_COMPONENT32F
1771
+ #define GL_DEPTH_COMPONENT32F 0x8CAC
1772
+ #endif
1638
1773
  #ifndef GL_DEPTH_COMPONENT32F_NV
1639
1774
  #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
1640
1775
  #endif
@@ -1662,6 +1797,12 @@
1662
1797
  #ifndef GL_DEPTH_SCALE
1663
1798
  #define GL_DEPTH_SCALE 0x0D1E
1664
1799
  #endif
1800
+ #ifndef GL_DEPTH_STENCIL
1801
+ #define GL_DEPTH_STENCIL 0x84F9
1802
+ #endif
1803
+ #ifndef GL_DEPTH_STENCIL_ATTACHMENT
1804
+ #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1805
+ #endif
1665
1806
  #ifndef GL_DEPTH_STENCIL_EXT
1666
1807
  #define GL_DEPTH_STENCIL_EXT 0x84F9
1667
1808
  #endif
@@ -1944,8 +2085,14 @@
1944
2085
  #ifndef GL_DRAW_BUFFER9_ATI
1945
2086
  #define GL_DRAW_BUFFER9_ATI 0x882E
1946
2087
  #endif
2088
+ #ifndef GL_DRAW_FRAMEBUFFER
2089
+ #define GL_DRAW_FRAMEBUFFER 0x8CA9
2090
+ #endif
2091
+ #ifndef GL_DRAW_FRAMEBUFFER_BINDING
2092
+ #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
2093
+ #endif
1947
2094
  #ifndef GL_DRAW_FRAMEBUFFER_BINDING_EXT
1948
- #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CAA
2095
+ #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT
1949
2096
  #endif
1950
2097
  #ifndef GL_DRAW_FRAMEBUFFER_EXT
1951
2098
  #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
@@ -2319,9 +2466,6 @@
2319
2466
  #ifndef GL_E_TIMES_F_NV
2320
2467
  #define GL_E_TIMES_F_NV 0x8531
2321
2468
  #endif
2322
- #ifndef GL_FALSE
2323
- #define GL_FALSE 0
2324
- #endif
2325
2469
  #ifndef GL_FASTEST
2326
2470
  #define GL_FASTEST 0x1101
2327
2471
  #endif
@@ -2346,12 +2490,18 @@
2346
2490
  #ifndef GL_FENCE_STATUS_NV
2347
2491
  #define GL_FENCE_STATUS_NV 0x84F3
2348
2492
  #endif
2493
+ #ifndef GL_FIELDS_NV
2494
+ #define GL_FIELDS_NV 0x8E27
2495
+ #endif
2349
2496
  #ifndef GL_FILL
2350
2497
  #define GL_FILL 0x1B02
2351
2498
  #endif
2352
2499
  #ifndef GL_FILTER4_SGIS
2353
2500
  #define GL_FILTER4_SGIS 0x8146
2354
2501
  #endif
2502
+ #ifndef GL_FIXED_ONLY
2503
+ #define GL_FIXED_ONLY 0x891D
2504
+ #endif
2355
2505
  #ifndef GL_FIXED_ONLY_ARB
2356
2506
  #define GL_FIXED_ONLY_ARB 0x891D
2357
2507
  #endif
@@ -2361,6 +2511,9 @@
2361
2511
  #ifndef GL_FLOAT
2362
2512
  #define GL_FLOAT 0x1406
2363
2513
  #endif
2514
+ #ifndef GL_FLOAT_32_UNSIGNED_INT_24_8_REV
2515
+ #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
2516
+ #endif
2364
2517
  #ifndef GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV
2365
2518
  #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
2366
2519
  #endif
@@ -2682,69 +2835,153 @@
2682
2835
  #ifndef GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB
2683
2836
  #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2684
2837
  #endif
2838
+ #ifndef GL_FRAMEBUFFER
2839
+ #define GL_FRAMEBUFFER 0x8D40
2840
+ #endif
2841
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
2842
+ #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
2843
+ #endif
2844
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
2845
+ #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
2846
+ #endif
2847
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
2848
+ #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
2849
+ #endif
2850
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
2851
+ #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
2852
+ #endif
2853
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
2854
+ #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
2855
+ #endif
2856
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
2857
+ #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
2858
+ #endif
2859
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB
2860
+ #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
2861
+ #endif
2685
2862
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT
2686
2863
  #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
2687
2864
  #endif
2865
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
2866
+ #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
2867
+ #endif
2688
2868
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT
2689
2869
  #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
2690
2870
  #endif
2871
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
2872
+ #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
2873
+ #endif
2691
2874
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT
2692
2875
  #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
2693
2876
  #endif
2877
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
2878
+ #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
2879
+ #endif
2880
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
2881
+ #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
2882
+ #endif
2694
2883
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT
2695
2884
  #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
2696
2885
  #endif
2886
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
2887
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
2888
+ #endif
2697
2889
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT
2698
2890
  #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
2699
2891
  #endif
2892
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
2893
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
2894
+ #endif
2700
2895
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT
2701
2896
  #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
2702
2897
  #endif
2898
+ #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
2899
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
2900
+ #endif
2703
2901
  #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT
2704
2902
  #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
2705
2903
  #endif
2904
+ #ifndef GL_FRAMEBUFFER_BINDING
2905
+ #define GL_FRAMEBUFFER_BINDING 0x8CA6
2906
+ #endif
2706
2907
  #ifndef GL_FRAMEBUFFER_BINDING_EXT
2707
2908
  #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
2708
2909
  #endif
2910
+ #ifndef GL_FRAMEBUFFER_COMPLETE
2911
+ #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
2912
+ #endif
2709
2913
  #ifndef GL_FRAMEBUFFER_COMPLETE_EXT
2710
2914
  #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
2711
2915
  #endif
2916
+ #ifndef GL_FRAMEBUFFER_DEFAULT
2917
+ #define GL_FRAMEBUFFER_DEFAULT 0x8218
2918
+ #endif
2712
2919
  #ifndef GL_FRAMEBUFFER_EXT
2713
2920
  #define GL_FRAMEBUFFER_EXT 0x8D40
2714
2921
  #endif
2922
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
2923
+ #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
2924
+ #endif
2715
2925
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
2716
2926
  #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
2717
2927
  #endif
2718
2928
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
2719
2929
  #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
2720
2930
  #endif
2931
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
2932
+ #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
2933
+ #endif
2721
2934
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
2722
2935
  #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
2723
2936
  #endif
2724
2937
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
2725
2938
  #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
2726
2939
  #endif
2940
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB
2941
+ #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
2942
+ #endif
2727
2943
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT
2728
2944
  #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
2729
2945
  #endif
2946
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB
2947
+ #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
2948
+ #endif
2730
2949
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT
2731
2950
  #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
2732
2951
  #endif
2952
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
2953
+ #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
2954
+ #endif
2733
2955
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
2734
2956
  #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
2735
2957
  #endif
2958
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
2959
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
2960
+ #endif
2736
2961
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT
2737
2962
  #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
2738
2963
  #endif
2964
+ #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
2965
+ #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
2966
+ #endif
2739
2967
  #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
2740
2968
  #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
2741
2969
  #endif
2970
+ #ifndef GL_FRAMEBUFFER_SRGB
2971
+ #define GL_FRAMEBUFFER_SRGB 0x8DB9
2972
+ #endif
2742
2973
  #ifndef GL_FRAMEBUFFER_SRGB_CAPABLE_EXT
2743
2974
  #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
2744
2975
  #endif
2745
2976
  #ifndef GL_FRAMEBUFFER_SRGB_EXT
2746
2977
  #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
2747
2978
  #endif
2979
+ #ifndef GL_FRAMEBUFFER_UNDEFINED
2980
+ #define GL_FRAMEBUFFER_UNDEFINED 0x8219
2981
+ #endif
2982
+ #ifndef GL_FRAMEBUFFER_UNSUPPORTED
2983
+ #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
2984
+ #endif
2748
2985
  #ifndef GL_FRAMEBUFFER_UNSUPPORTED_EXT
2749
2986
  #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
2750
2987
  #endif
@@ -2754,6 +2991,9 @@
2754
2991
  #ifndef GL_FRAMEZOOM_SGIX
2755
2992
  #define GL_FRAMEZOOM_SGIX 0x818B
2756
2993
  #endif
2994
+ #ifndef GL_FRAME_NV
2995
+ #define GL_FRAME_NV 0x8E26
2996
+ #endif
2757
2997
  #ifndef GL_FRONT
2758
2998
  #define GL_FRONT 0x0404
2759
2999
  #endif
@@ -2814,9 +3054,15 @@
2814
3054
  #ifndef GL_GEOMETRY_DEFORMATION_SGIX
2815
3055
  #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
2816
3056
  #endif
3057
+ #ifndef GL_GEOMETRY_INPUT_TYPE_ARB
3058
+ #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
3059
+ #endif
2817
3060
  #ifndef GL_GEOMETRY_INPUT_TYPE_EXT
2818
3061
  #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
2819
3062
  #endif
3063
+ #ifndef GL_GEOMETRY_OUTPUT_TYPE_ARB
3064
+ #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
3065
+ #endif
2820
3066
  #ifndef GL_GEOMETRY_OUTPUT_TYPE_EXT
2821
3067
  #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
2822
3068
  #endif
@@ -2826,9 +3072,15 @@
2826
3072
  #ifndef GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV
2827
3073
  #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
2828
3074
  #endif
3075
+ #ifndef GL_GEOMETRY_SHADER_ARB
3076
+ #define GL_GEOMETRY_SHADER_ARB 0x8DD9
3077
+ #endif
2829
3078
  #ifndef GL_GEOMETRY_SHADER_EXT
2830
3079
  #define GL_GEOMETRY_SHADER_EXT 0x8DD9
2831
3080
  #endif
3081
+ #ifndef GL_GEOMETRY_VERTICES_OUT_ARB
3082
+ #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
3083
+ #endif
2832
3084
  #ifndef GL_GEOMETRY_VERTICES_OUT_EXT
2833
3085
  #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
2834
3086
  #endif
@@ -2856,6 +3108,9 @@
2856
3108
  #ifndef GL_GREEN_BIT_ATI
2857
3109
  #define GL_GREEN_BIT_ATI 0x00000002
2858
3110
  #endif
3111
+ #ifndef GL_GREEN_INTEGER
3112
+ #define GL_GREEN_INTEGER 0x8D95
3113
+ #endif
2859
3114
  #ifndef GL_GREEN_INTEGER_EXT
2860
3115
  #define GL_GREEN_INTEGER_EXT 0x8D95
2861
3116
  #endif
@@ -2877,6 +3132,9 @@
2877
3132
  #ifndef GL_HALF_BIT_ATI
2878
3133
  #define GL_HALF_BIT_ATI 0x00000008
2879
3134
  #endif
3135
+ #ifndef GL_HALF_FLOAT
3136
+ #define GL_HALF_FLOAT 0x140B
3137
+ #endif
2880
3138
  #ifndef GL_HALF_FLOAT_ARB
2881
3139
  #define GL_HALF_FLOAT_ARB 0x140B
2882
3140
  #endif
@@ -3009,6 +3267,9 @@
3009
3267
  #ifndef GL_INCR_WRAP_EXT
3010
3268
  #define GL_INCR_WRAP_EXT 0x8507
3011
3269
  #endif
3270
+ #ifndef GL_INDEX
3271
+ #define GL_INDEX 0x8222
3272
+ #endif
3012
3273
  #ifndef GL_INDEX_ARRAY
3013
3274
  #define GL_INDEX_ARRAY 0x8077
3014
3275
  #endif
@@ -3174,6 +3435,12 @@
3174
3435
  #ifndef GL_INTERLACE_SGIX
3175
3436
  #define GL_INTERLACE_SGIX 0x8094
3176
3437
  #endif
3438
+ #ifndef GL_INTERLEAVED_ATTRIBS
3439
+ #define GL_INTERLEAVED_ATTRIBS 0x8C8C
3440
+ #endif
3441
+ #ifndef GL_INTERLEAVED_ATTRIBS_EXT
3442
+ #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
3443
+ #endif
3177
3444
  #ifndef GL_INTERLEAVED_ATTRIBS_NV
3178
3445
  #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
3179
3446
  #endif
@@ -3186,12 +3453,24 @@
3186
3453
  #ifndef GL_INTERPOLATE_EXT
3187
3454
  #define GL_INTERPOLATE_EXT 0x8575
3188
3455
  #endif
3456
+ #ifndef GL_INT_SAMPLER_1D
3457
+ #define GL_INT_SAMPLER_1D 0x8DC9
3458
+ #endif
3459
+ #ifndef GL_INT_SAMPLER_1D_ARRAY
3460
+ #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
3461
+ #endif
3189
3462
  #ifndef GL_INT_SAMPLER_1D_ARRAY_EXT
3190
3463
  #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
3191
3464
  #endif
3192
3465
  #ifndef GL_INT_SAMPLER_1D_EXT
3193
3466
  #define GL_INT_SAMPLER_1D_EXT 0x8DC9
3194
3467
  #endif
3468
+ #ifndef GL_INT_SAMPLER_2D
3469
+ #define GL_INT_SAMPLER_2D 0x8DCA
3470
+ #endif
3471
+ #ifndef GL_INT_SAMPLER_2D_ARRAY
3472
+ #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
3473
+ #endif
3195
3474
  #ifndef GL_INT_SAMPLER_2D_ARRAY_EXT
3196
3475
  #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
3197
3476
  #endif
@@ -3201,15 +3480,24 @@
3201
3480
  #ifndef GL_INT_SAMPLER_2D_RECT_EXT
3202
3481
  #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
3203
3482
  #endif
3483
+ #ifndef GL_INT_SAMPLER_3D
3484
+ #define GL_INT_SAMPLER_3D 0x8DCB
3485
+ #endif
3204
3486
  #ifndef GL_INT_SAMPLER_3D_EXT
3205
3487
  #define GL_INT_SAMPLER_3D_EXT 0x8DCB
3206
3488
  #endif
3207
3489
  #ifndef GL_INT_SAMPLER_BUFFER_EXT
3208
3490
  #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
3209
3491
  #endif
3492
+ #ifndef GL_INT_SAMPLER_CUBE
3493
+ #define GL_INT_SAMPLER_CUBE 0x8DCC
3494
+ #endif
3210
3495
  #ifndef GL_INT_SAMPLER_CUBE_EXT
3211
3496
  #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
3212
3497
  #endif
3498
+ #ifndef GL_INT_SAMPLER_RENDERBUFFER_NV
3499
+ #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
3500
+ #endif
3213
3501
  #ifndef GL_INT_VEC2
3214
3502
  #define GL_INT_VEC2 0x8B53
3215
3503
  #endif
@@ -3231,6 +3519,9 @@
3231
3519
  #ifndef GL_INVALID_ENUM
3232
3520
  #define GL_INVALID_ENUM 0x0500
3233
3521
  #endif
3522
+ #ifndef GL_INVALID_FRAMEBUFFER_OPERATION
3523
+ #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
3524
+ #endif
3234
3525
  #ifndef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
3235
3526
  #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
3236
3527
  #endif
@@ -3384,6 +3675,9 @@
3384
3675
  #ifndef GL_LINES
3385
3676
  #define GL_LINES 0x0001
3386
3677
  #endif
3678
+ #ifndef GL_LINES_ADJACENCY_ARB
3679
+ #define GL_LINES_ADJACENCY_ARB 0x000A
3680
+ #endif
3387
3681
  #ifndef GL_LINES_ADJACENCY_EXT
3388
3682
  #define GL_LINES_ADJACENCY_EXT 0x000A
3389
3683
  #endif
@@ -3414,6 +3708,9 @@
3414
3708
  #ifndef GL_LINE_STRIP
3415
3709
  #define GL_LINE_STRIP 0x0003
3416
3710
  #endif
3711
+ #ifndef GL_LINE_STRIP_ADJACENCY_ARB
3712
+ #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
3713
+ #endif
3417
3714
  #ifndef GL_LINE_STRIP_ADJACENCY_EXT
3418
3715
  #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
3419
3716
  #endif
@@ -3618,6 +3915,9 @@
3618
3915
  #ifndef GL_MAGNITUDE_SCALE_NV
3619
3916
  #define GL_MAGNITUDE_SCALE_NV 0x8712
3620
3917
  #endif
3918
+ #ifndef GL_MAJOR_VERSION
3919
+ #define GL_MAJOR_VERSION 0x821B
3920
+ #endif
3621
3921
  #ifndef GL_MAP1_BINORMAL_EXT
3622
3922
  #define GL_MAP1_BINORMAL_EXT 0x8446
3623
3923
  #endif
@@ -3801,12 +4101,30 @@
3801
4101
  #ifndef GL_MAP_COLOR
3802
4102
  #define GL_MAP_COLOR 0x0D10
3803
4103
  #endif
4104
+ #ifndef GL_MAP_FLUSH_EXPLICIT_BIT
4105
+ #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
4106
+ #endif
4107
+ #ifndef GL_MAP_INVALIDATE_BUFFER_BIT
4108
+ #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
4109
+ #endif
4110
+ #ifndef GL_MAP_INVALIDATE_RANGE_BIT
4111
+ #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
4112
+ #endif
4113
+ #ifndef GL_MAP_READ_BIT
4114
+ #define GL_MAP_READ_BIT 0x0001
4115
+ #endif
3804
4116
  #ifndef GL_MAP_STENCIL
3805
4117
  #define GL_MAP_STENCIL 0x0D11
3806
4118
  #endif
3807
4119
  #ifndef GL_MAP_TESSELLATION_NV
3808
4120
  #define GL_MAP_TESSELLATION_NV 0x86C2
3809
4121
  #endif
4122
+ #ifndef GL_MAP_UNSYNCHRONIZED_BIT
4123
+ #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
4124
+ #endif
4125
+ #ifndef GL_MAP_WRITE_BIT
4126
+ #define GL_MAP_WRITE_BIT 0x0002
4127
+ #endif
3810
4128
  #ifndef GL_MATERIAL_SIDE_HINT_PGI
3811
4129
  #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
3812
4130
  #endif
@@ -3990,6 +4308,9 @@
3990
4308
  #ifndef GL_MAX_ACTIVE_LIGHTS_SGIX
3991
4309
  #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
3992
4310
  #endif
4311
+ #ifndef GL_MAX_ARRAY_TEXTURE_LAYERS
4312
+ #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
4313
+ #endif
3993
4314
  #ifndef GL_MAX_ARRAY_TEXTURE_LAYERS_EXT
3994
4315
  #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
3995
4316
  #endif
@@ -4020,9 +4341,15 @@
4020
4341
  #ifndef GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX
4021
4342
  #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
4022
4343
  #endif
4344
+ #ifndef GL_MAX_CLIP_DISTANCES
4345
+ #define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
4346
+ #endif
4023
4347
  #ifndef GL_MAX_CLIP_PLANES
4024
4348
  #define GL_MAX_CLIP_PLANES 0x0D32
4025
4349
  #endif
4350
+ #ifndef GL_MAX_COLOR_ATTACHMENTS
4351
+ #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
4352
+ #endif
4026
4353
  #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
4027
4354
  #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
4028
4355
  #endif
@@ -4116,18 +4443,33 @@
4116
4443
  #ifndef GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT
4117
4444
  #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
4118
4445
  #endif
4446
+ #ifndef GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB
4447
+ #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
4448
+ #endif
4119
4449
  #ifndef GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT
4120
4450
  #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
4121
4451
  #endif
4452
+ #ifndef GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB
4453
+ #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
4454
+ #endif
4122
4455
  #ifndef GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT
4123
4456
  #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
4124
4457
  #endif
4458
+ #ifndef GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB
4459
+ #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
4460
+ #endif
4125
4461
  #ifndef GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT
4126
4462
  #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
4127
4463
  #endif
4464
+ #ifndef GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB
4465
+ #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
4466
+ #endif
4128
4467
  #ifndef GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT
4129
4468
  #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
4130
4469
  #endif
4470
+ #ifndef GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB
4471
+ #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
4472
+ #endif
4131
4473
  #ifndef GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT
4132
4474
  #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
4133
4475
  #endif
@@ -4269,6 +4611,9 @@
4269
4611
  #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
4270
4612
  #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
4271
4613
  #endif
4614
+ #ifndef GL_MAX_PROGRAM_TEXEL_OFFSET
4615
+ #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
4616
+ #endif
4272
4617
  #ifndef GL_MAX_PROGRAM_TEXEL_OFFSET_NV
4273
4618
  #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
4274
4619
  #endif
@@ -4293,18 +4638,30 @@
4293
4638
  #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_NV
4294
4639
  #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
4295
4640
  #endif
4641
+ #ifndef GL_MAX_RENDERBUFFER_SIZE
4642
+ #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
4643
+ #endif
4296
4644
  #ifndef GL_MAX_RENDERBUFFER_SIZE_EXT
4297
4645
  #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
4298
4646
  #endif
4647
+ #ifndef GL_MAX_SAMPLES
4648
+ #define GL_MAX_SAMPLES 0x8D57
4649
+ #endif
4299
4650
  #ifndef GL_MAX_SAMPLES_EXT
4300
4651
  #define GL_MAX_SAMPLES_EXT 0x8D57
4301
4652
  #endif
4653
+ #ifndef GL_MAX_SAMPLE_MASK_WORDS_NV
4654
+ #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
4655
+ #endif
4302
4656
  #ifndef GL_MAX_SHININESS_NV
4303
4657
  #define GL_MAX_SHININESS_NV 0x8504
4304
4658
  #endif
4305
4659
  #ifndef GL_MAX_SPOT_EXPONENT_NV
4306
4660
  #define GL_MAX_SPOT_EXPONENT_NV 0x8505
4307
4661
  #endif
4662
+ #ifndef GL_MAX_TEXTURE_BUFFER_SIZE_ARB
4663
+ #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
4664
+ #endif
4308
4665
  #ifndef GL_MAX_TEXTURE_BUFFER_SIZE_EXT
4309
4666
  #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
4310
4667
  #endif
@@ -4356,12 +4713,33 @@
4356
4713
  #ifndef GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV
4357
4714
  #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A
4358
4715
  #endif
4716
+ #ifndef GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
4717
+ #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
4718
+ #endif
4719
+ #ifndef GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT
4720
+ #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
4721
+ #endif
4722
+ #ifndef GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
4723
+ #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
4724
+ #endif
4725
+ #ifndef GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT
4726
+ #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
4727
+ #endif
4359
4728
  #ifndef GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV
4360
4729
  #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
4361
4730
  #endif
4731
+ #ifndef GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
4732
+ #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
4733
+ #endif
4734
+ #ifndef GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT
4735
+ #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
4736
+ #endif
4362
4737
  #ifndef GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV
4363
4738
  #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
4364
4739
  #endif
4740
+ #ifndef GL_MAX_VARYING_COMPONENTS
4741
+ #define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
4742
+ #endif
4365
4743
  #ifndef GL_MAX_VARYING_COMPONENTS_EXT
4366
4744
  #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
4367
4745
  #endif
@@ -4419,6 +4797,9 @@
4419
4797
  #ifndef GL_MAX_VERTEX_UNITS_ARB
4420
4798
  #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
4421
4799
  #endif
4800
+ #ifndef GL_MAX_VERTEX_VARYING_COMPONENTS_ARB
4801
+ #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
4802
+ #endif
4422
4803
  #ifndef GL_MAX_VERTEX_VARYING_COMPONENTS_EXT
4423
4804
  #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
4424
4805
  #endif
@@ -4446,9 +4827,15 @@
4446
4827
  #ifndef GL_MINMAX_SINK_EXT
4447
4828
  #define GL_MINMAX_SINK_EXT 0x8030
4448
4829
  #endif
4830
+ #ifndef GL_MINOR_VERSION
4831
+ #define GL_MINOR_VERSION 0x821C
4832
+ #endif
4449
4833
  #ifndef GL_MIN_EXT
4450
4834
  #define GL_MIN_EXT 0x8007
4451
4835
  #endif
4836
+ #ifndef GL_MIN_PROGRAM_TEXEL_OFFSET
4837
+ #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
4838
+ #endif
4452
4839
  #ifndef GL_MIN_PROGRAM_TEXEL_OFFSET_NV
4453
4840
  #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
4454
4841
  #endif
@@ -4800,6 +5187,12 @@
4800
5187
  #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
4801
5188
  #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4802
5189
  #endif
5190
+ #ifndef GL_NUM_EXTENSIONS
5191
+ #define GL_NUM_EXTENSIONS 0x821D
5192
+ #endif
5193
+ #ifndef GL_NUM_FILL_STREAMS_NV
5194
+ #define GL_NUM_FILL_STREAMS_NV 0x8E29
5195
+ #endif
4803
5196
  #ifndef GL_NUM_FRAGMENT_CONSTANTS_ATI
4804
5197
  #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
4805
5198
  #endif
@@ -5787,6 +6180,12 @@
5787
6180
  #ifndef GL_PREFER_DOUBLEBUFFER_HINT_PGI
5788
6181
  #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
5789
6182
  #endif
6183
+ #ifndef GL_PRESENT_DURATION_NV
6184
+ #define GL_PRESENT_DURATION_NV 0x8E2B
6185
+ #endif
6186
+ #ifndef GL_PRESENT_TIME_NV
6187
+ #define GL_PRESENT_TIME_NV 0x8E2A
6188
+ #endif
5790
6189
  #ifndef GL_PRESERVE_ATI
5791
6190
  #define GL_PRESERVE_ATI 0x8762
5792
6191
  #endif
@@ -5814,6 +6213,12 @@
5814
6213
  #ifndef GL_PRIMARY_COLOR_NV
5815
6214
  #define GL_PRIMARY_COLOR_NV 0x852C
5816
6215
  #endif
6216
+ #ifndef GL_PRIMITIVES_GENERATED
6217
+ #define GL_PRIMITIVES_GENERATED 0x8C87
6218
+ #endif
6219
+ #ifndef GL_PRIMITIVES_GENERATED_EXT
6220
+ #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
6221
+ #endif
5817
6222
  #ifndef GL_PRIMITIVES_GENERATED_NV
5818
6223
  #define GL_PRIMITIVES_GENERATED_NV 0x8C87
5819
6224
  #endif
@@ -5868,6 +6273,12 @@
5868
6273
  #ifndef GL_PROGRAM_LENGTH_NV
5869
6274
  #define GL_PROGRAM_LENGTH_NV 0x8627
5870
6275
  #endif
6276
+ #ifndef GL_PROGRAM_MATRIX_EXT
6277
+ #define GL_PROGRAM_MATRIX_EXT 0x8E2D
6278
+ #endif
6279
+ #ifndef GL_PROGRAM_MATRIX_STACK_DEPTH_EXT
6280
+ #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
6281
+ #endif
5871
6282
  #ifndef GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
5872
6283
  #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
5873
6284
  #endif
@@ -5901,6 +6312,9 @@
5901
6312
  #ifndef GL_PROGRAM_PARAMETER_NV
5902
6313
  #define GL_PROGRAM_PARAMETER_NV 0x8644
5903
6314
  #endif
6315
+ #ifndef GL_PROGRAM_POINT_SIZE_ARB
6316
+ #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
6317
+ #endif
5904
6318
  #ifndef GL_PROGRAM_POINT_SIZE_EXT
5905
6319
  #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
5906
6320
  #endif
@@ -5970,6 +6384,9 @@
5970
6384
  #ifndef GL_PROXY_TEXTURE_1D
5971
6385
  #define GL_PROXY_TEXTURE_1D 0x8063
5972
6386
  #endif
6387
+ #ifndef GL_PROXY_TEXTURE_1D_ARRAY
6388
+ #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
6389
+ #endif
5973
6390
  #ifndef GL_PROXY_TEXTURE_1D_ARRAY_EXT
5974
6391
  #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
5975
6392
  #endif
@@ -5982,6 +6399,9 @@
5982
6399
  #ifndef GL_PROXY_TEXTURE_2D
5983
6400
  #define GL_PROXY_TEXTURE_2D 0x8064
5984
6401
  #endif
6402
+ #ifndef GL_PROXY_TEXTURE_2D_ARRAY
6403
+ #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
6404
+ #endif
5985
6405
  #ifndef GL_PROXY_TEXTURE_2D_ARRAY_EXT
5986
6406
  #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
5987
6407
  #endif
@@ -6057,12 +6477,30 @@
6057
6477
  #ifndef GL_QUARTER_BIT_ATI
6058
6478
  #define GL_QUARTER_BIT_ATI 0x00000010
6059
6479
  #endif
6480
+ #ifndef GL_QUERY_BY_REGION_NO_WAIT
6481
+ #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
6482
+ #endif
6483
+ #ifndef GL_QUERY_BY_REGION_NO_WAIT_NV
6484
+ #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
6485
+ #endif
6486
+ #ifndef GL_QUERY_BY_REGION_WAIT
6487
+ #define GL_QUERY_BY_REGION_WAIT 0x8E15
6488
+ #endif
6489
+ #ifndef GL_QUERY_BY_REGION_WAIT_NV
6490
+ #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
6491
+ #endif
6060
6492
  #ifndef GL_QUERY_COUNTER_BITS
6061
6493
  #define GL_QUERY_COUNTER_BITS 0x8864
6062
6494
  #endif
6063
6495
  #ifndef GL_QUERY_COUNTER_BITS_ARB
6064
6496
  #define GL_QUERY_COUNTER_BITS_ARB 0x8864
6065
6497
  #endif
6498
+ #ifndef GL_QUERY_NO_WAIT
6499
+ #define GL_QUERY_NO_WAIT 0x8E14
6500
+ #endif
6501
+ #ifndef GL_QUERY_NO_WAIT_NV
6502
+ #define GL_QUERY_NO_WAIT_NV 0x8E14
6503
+ #endif
6066
6504
  #ifndef GL_QUERY_RESULT
6067
6505
  #define GL_QUERY_RESULT 0x8866
6068
6506
  #endif
@@ -6075,12 +6513,33 @@
6075
6513
  #ifndef GL_QUERY_RESULT_AVAILABLE_ARB
6076
6514
  #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
6077
6515
  #endif
6516
+ #ifndef GL_QUERY_WAIT
6517
+ #define GL_QUERY_WAIT 0x8E13
6518
+ #endif
6519
+ #ifndef GL_QUERY_WAIT_NV
6520
+ #define GL_QUERY_WAIT_NV 0x8E13
6521
+ #endif
6078
6522
  #ifndef GL_R
6079
6523
  #define GL_R 0x2002
6080
6524
  #endif
6525
+ #ifndef GL_R11F_G11F_B10F
6526
+ #define GL_R11F_G11F_B10F 0x8C3A
6527
+ #endif
6081
6528
  #ifndef GL_R11F_G11F_B10F_EXT
6082
6529
  #define GL_R11F_G11F_B10F_EXT 0x8C3A
6083
6530
  #endif
6531
+ #ifndef GL_R16
6532
+ #define GL_R16 0x822A
6533
+ #endif
6534
+ #ifndef GL_R16F
6535
+ #define GL_R16F 0x822D
6536
+ #endif
6537
+ #ifndef GL_R16I
6538
+ #define GL_R16I 0x8233
6539
+ #endif
6540
+ #ifndef GL_R16UI
6541
+ #define GL_R16UI 0x8234
6542
+ #endif
6084
6543
  #ifndef GL_R1UI_C3F_V3F_SUN
6085
6544
  #define GL_R1UI_C3F_V3F_SUN 0x85C6
6086
6545
  #endif
@@ -6105,9 +6564,33 @@
6105
6564
  #ifndef GL_R1UI_V3F_SUN
6106
6565
  #define GL_R1UI_V3F_SUN 0x85C4
6107
6566
  #endif
6567
+ #ifndef GL_R32F
6568
+ #define GL_R32F 0x822E
6569
+ #endif
6570
+ #ifndef GL_R32I
6571
+ #define GL_R32I 0x8235
6572
+ #endif
6573
+ #ifndef GL_R32UI
6574
+ #define GL_R32UI 0x8236
6575
+ #endif
6108
6576
  #ifndef GL_R3_G3_B2
6109
6577
  #define GL_R3_G3_B2 0x2A10
6110
6578
  #endif
6579
+ #ifndef GL_R8
6580
+ #define GL_R8 0x8229
6581
+ #endif
6582
+ #ifndef GL_R8I
6583
+ #define GL_R8I 0x8231
6584
+ #endif
6585
+ #ifndef GL_R8UI
6586
+ #define GL_R8UI 0x8232
6587
+ #endif
6588
+ #ifndef GL_RASTERIZER_DISCARD
6589
+ #define GL_RASTERIZER_DISCARD 0x8C89
6590
+ #endif
6591
+ #ifndef GL_RASTERIZER_DISCARD_EXT
6592
+ #define GL_RASTERIZER_DISCARD_EXT 0x8C89
6593
+ #endif
6111
6594
  #ifndef GL_RASTERIZER_DISCARD_NV
6112
6595
  #define GL_RASTERIZER_DISCARD_NV 0x8C89
6113
6596
  #endif
@@ -6117,8 +6600,14 @@
6117
6600
  #ifndef GL_READ_BUFFER
6118
6601
  #define GL_READ_BUFFER 0x0C02
6119
6602
  #endif
6603
+ #ifndef GL_READ_FRAMEBUFFER
6604
+ #define GL_READ_FRAMEBUFFER 0x8CA8
6605
+ #endif
6606
+ #ifndef GL_READ_FRAMEBUFFER_BINDING
6607
+ #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
6608
+ #endif
6120
6609
  #ifndef GL_READ_FRAMEBUFFER_BINDING_EXT
6121
- #define GL_READ_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT
6610
+ #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
6122
6611
  #endif
6123
6612
  #ifndef GL_READ_FRAMEBUFFER_EXT
6124
6613
  #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
@@ -6165,6 +6654,9 @@
6165
6654
  #ifndef GL_RED_BIT_ATI
6166
6655
  #define GL_RED_BIT_ATI 0x00000001
6167
6656
  #endif
6657
+ #ifndef GL_RED_INTEGER
6658
+ #define GL_RED_INTEGER 0x8D94
6659
+ #endif
6168
6660
  #ifndef GL_RED_INTEGER_EXT
6169
6661
  #define GL_RED_INTEGER_EXT 0x8D94
6170
6662
  #endif
@@ -6297,12 +6789,24 @@
6297
6789
  #ifndef GL_RENDER
6298
6790
  #define GL_RENDER 0x1C00
6299
6791
  #endif
6792
+ #ifndef GL_RENDERBUFFER
6793
+ #define GL_RENDERBUFFER 0x8D41
6794
+ #endif
6795
+ #ifndef GL_RENDERBUFFER_ALPHA_SIZE
6796
+ #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
6797
+ #endif
6300
6798
  #ifndef GL_RENDERBUFFER_ALPHA_SIZE_EXT
6301
6799
  #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
6302
6800
  #endif
6801
+ #ifndef GL_RENDERBUFFER_BINDING
6802
+ #define GL_RENDERBUFFER_BINDING 0x8CA7
6803
+ #endif
6303
6804
  #ifndef GL_RENDERBUFFER_BINDING_EXT
6304
6805
  #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
6305
6806
  #endif
6807
+ #ifndef GL_RENDERBUFFER_BLUE_SIZE
6808
+ #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
6809
+ #endif
6306
6810
  #ifndef GL_RENDERBUFFER_BLUE_SIZE_EXT
6307
6811
  #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
6308
6812
  #endif
@@ -6312,30 +6816,54 @@
6312
6816
  #ifndef GL_RENDERBUFFER_COVERAGE_SAMPLES_NV
6313
6817
  #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
6314
6818
  #endif
6819
+ #ifndef GL_RENDERBUFFER_DEPTH_SIZE
6820
+ #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
6821
+ #endif
6315
6822
  #ifndef GL_RENDERBUFFER_DEPTH_SIZE_EXT
6316
6823
  #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
6317
6824
  #endif
6318
6825
  #ifndef GL_RENDERBUFFER_EXT
6319
6826
  #define GL_RENDERBUFFER_EXT 0x8D41
6320
6827
  #endif
6828
+ #ifndef GL_RENDERBUFFER_GREEN_SIZE
6829
+ #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
6830
+ #endif
6321
6831
  #ifndef GL_RENDERBUFFER_GREEN_SIZE_EXT
6322
6832
  #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
6323
6833
  #endif
6834
+ #ifndef GL_RENDERBUFFER_HEIGHT
6835
+ #define GL_RENDERBUFFER_HEIGHT 0x8D43
6836
+ #endif
6324
6837
  #ifndef GL_RENDERBUFFER_HEIGHT_EXT
6325
6838
  #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
6326
6839
  #endif
6840
+ #ifndef GL_RENDERBUFFER_INTERNAL_FORMAT
6841
+ #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
6842
+ #endif
6327
6843
  #ifndef GL_RENDERBUFFER_INTERNAL_FORMAT_EXT
6328
6844
  #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
6329
6845
  #endif
6846
+ #ifndef GL_RENDERBUFFER_RED_SIZE
6847
+ #define GL_RENDERBUFFER_RED_SIZE 0x8D50
6848
+ #endif
6330
6849
  #ifndef GL_RENDERBUFFER_RED_SIZE_EXT
6331
6850
  #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
6332
6851
  #endif
6852
+ #ifndef GL_RENDERBUFFER_SAMPLES
6853
+ #define GL_RENDERBUFFER_SAMPLES 0x8CAB
6854
+ #endif
6333
6855
  #ifndef GL_RENDERBUFFER_SAMPLES_EXT
6334
6856
  #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
6335
6857
  #endif
6858
+ #ifndef GL_RENDERBUFFER_STENCIL_SIZE
6859
+ #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
6860
+ #endif
6336
6861
  #ifndef GL_RENDERBUFFER_STENCIL_SIZE_EXT
6337
6862
  #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
6338
6863
  #endif
6864
+ #ifndef GL_RENDERBUFFER_WIDTH
6865
+ #define GL_RENDERBUFFER_WIDTH 0x8D42
6866
+ #endif
6339
6867
  #ifndef GL_RENDERBUFFER_WIDTH_EXT
6340
6868
  #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
6341
6869
  #endif
@@ -6414,6 +6942,39 @@
6414
6942
  #ifndef GL_RETURN
6415
6943
  #define GL_RETURN 0x0102
6416
6944
  #endif
6945
+ #ifndef GL_RG
6946
+ #define GL_RG 0x8227
6947
+ #endif
6948
+ #ifndef GL_RG16
6949
+ #define GL_RG16 0x822C
6950
+ #endif
6951
+ #ifndef GL_RG16F
6952
+ #define GL_RG16F 0x822F
6953
+ #endif
6954
+ #ifndef GL_RG16I
6955
+ #define GL_RG16I 0x8239
6956
+ #endif
6957
+ #ifndef GL_RG16UI
6958
+ #define GL_RG16UI 0x823A
6959
+ #endif
6960
+ #ifndef GL_RG32F
6961
+ #define GL_RG32F 0x8230
6962
+ #endif
6963
+ #ifndef GL_RG32I
6964
+ #define GL_RG32I 0x823B
6965
+ #endif
6966
+ #ifndef GL_RG32UI
6967
+ #define GL_RG32UI 0x823C
6968
+ #endif
6969
+ #ifndef GL_RG8
6970
+ #define GL_RG8 0x822B
6971
+ #endif
6972
+ #ifndef GL_RG8I
6973
+ #define GL_RG8I 0x8237
6974
+ #endif
6975
+ #ifndef GL_RG8UI
6976
+ #define GL_RG8UI 0x8238
6977
+ #endif
6417
6978
  #ifndef GL_RGB
6418
6979
  #define GL_RGB 0x1907
6419
6980
  #endif
@@ -6438,12 +6999,21 @@
6438
6999
  #ifndef GL_RGB16
6439
7000
  #define GL_RGB16 0x8054
6440
7001
  #endif
7002
+ #ifndef GL_RGB16F
7003
+ #define GL_RGB16F 0x881B
7004
+ #endif
6441
7005
  #ifndef GL_RGB16F_ARB
6442
7006
  #define GL_RGB16F_ARB 0x881B
6443
7007
  #endif
7008
+ #ifndef GL_RGB16I
7009
+ #define GL_RGB16I 0x8D89
7010
+ #endif
6444
7011
  #ifndef GL_RGB16I_EXT
6445
7012
  #define GL_RGB16I_EXT 0x8D89
6446
7013
  #endif
7014
+ #ifndef GL_RGB16UI
7015
+ #define GL_RGB16UI 0x8D77
7016
+ #endif
6447
7017
  #ifndef GL_RGB16UI_EXT
6448
7018
  #define GL_RGB16UI_EXT 0x8D77
6449
7019
  #endif
@@ -6453,12 +7023,21 @@
6453
7023
  #ifndef GL_RGB2_EXT
6454
7024
  #define GL_RGB2_EXT 0x804E
6455
7025
  #endif
7026
+ #ifndef GL_RGB32F
7027
+ #define GL_RGB32F 0x8815
7028
+ #endif
6456
7029
  #ifndef GL_RGB32F_ARB
6457
7030
  #define GL_RGB32F_ARB 0x8815
6458
7031
  #endif
7032
+ #ifndef GL_RGB32I
7033
+ #define GL_RGB32I 0x8D83
7034
+ #endif
6459
7035
  #ifndef GL_RGB32I_EXT
6460
7036
  #define GL_RGB32I_EXT 0x8D83
6461
7037
  #endif
7038
+ #ifndef GL_RGB32UI
7039
+ #define GL_RGB32UI 0x8D71
7040
+ #endif
6462
7041
  #ifndef GL_RGB32UI_EXT
6463
7042
  #define GL_RGB32UI_EXT 0x8D71
6464
7043
  #endif
@@ -6486,15 +7065,24 @@
6486
7065
  #ifndef GL_RGB8
6487
7066
  #define GL_RGB8 0x8051
6488
7067
  #endif
7068
+ #ifndef GL_RGB8I
7069
+ #define GL_RGB8I 0x8D8F
7070
+ #endif
6489
7071
  #ifndef GL_RGB8I_EXT
6490
7072
  #define GL_RGB8I_EXT 0x8D8F
6491
7073
  #endif
7074
+ #ifndef GL_RGB8UI
7075
+ #define GL_RGB8UI 0x8D7D
7076
+ #endif
6492
7077
  #ifndef GL_RGB8UI_EXT
6493
7078
  #define GL_RGB8UI_EXT 0x8D7D
6494
7079
  #endif
6495
7080
  #ifndef GL_RGB8_EXT
6496
7081
  #define GL_RGB8_EXT 0x8051
6497
7082
  #endif
7083
+ #ifndef GL_RGB9_E5
7084
+ #define GL_RGB9_E5 0x8C3D
7085
+ #endif
6498
7086
  #ifndef GL_RGB9_E5_EXT
6499
7087
  #define GL_RGB9_E5_EXT 0x8C3D
6500
7088
  #endif
@@ -6510,12 +7098,21 @@
6510
7098
  #ifndef GL_RGBA16
6511
7099
  #define GL_RGBA16 0x805B
6512
7100
  #endif
7101
+ #ifndef GL_RGBA16F
7102
+ #define GL_RGBA16F 0x881A
7103
+ #endif
6513
7104
  #ifndef GL_RGBA16F_ARB
6514
7105
  #define GL_RGBA16F_ARB 0x881A
6515
7106
  #endif
7107
+ #ifndef GL_RGBA16I
7108
+ #define GL_RGBA16I 0x8D88
7109
+ #endif
6516
7110
  #ifndef GL_RGBA16I_EXT
6517
7111
  #define GL_RGBA16I_EXT 0x8D88
6518
7112
  #endif
7113
+ #ifndef GL_RGBA16UI
7114
+ #define GL_RGBA16UI 0x8D76
7115
+ #endif
6519
7116
  #ifndef GL_RGBA16UI_EXT
6520
7117
  #define GL_RGBA16UI_EXT 0x8D76
6521
7118
  #endif
@@ -6528,12 +7125,21 @@
6528
7125
  #ifndef GL_RGBA2_EXT
6529
7126
  #define GL_RGBA2_EXT 0x8055
6530
7127
  #endif
7128
+ #ifndef GL_RGBA32F
7129
+ #define GL_RGBA32F 0x8814
7130
+ #endif
6531
7131
  #ifndef GL_RGBA32F_ARB
6532
7132
  #define GL_RGBA32F_ARB 0x8814
6533
7133
  #endif
7134
+ #ifndef GL_RGBA32I
7135
+ #define GL_RGBA32I 0x8D82
7136
+ #endif
6534
7137
  #ifndef GL_RGBA32I_EXT
6535
7138
  #define GL_RGBA32I_EXT 0x8D82
6536
7139
  #endif
7140
+ #ifndef GL_RGBA32UI
7141
+ #define GL_RGBA32UI 0x8D70
7142
+ #endif
6537
7143
  #ifndef GL_RGBA32UI_EXT
6538
7144
  #define GL_RGBA32UI_EXT 0x8D70
6539
7145
  #endif
@@ -6549,9 +7155,15 @@
6549
7155
  #ifndef GL_RGBA8
6550
7156
  #define GL_RGBA8 0x8058
6551
7157
  #endif
7158
+ #ifndef GL_RGBA8I
7159
+ #define GL_RGBA8I 0x8D8E
7160
+ #endif
6552
7161
  #ifndef GL_RGBA8I_EXT
6553
7162
  #define GL_RGBA8I_EXT 0x8D8E
6554
7163
  #endif
7164
+ #ifndef GL_RGBA8UI
7165
+ #define GL_RGBA8UI 0x8D7C
7166
+ #endif
6555
7167
  #ifndef GL_RGBA8UI_EXT
6556
7168
  #define GL_RGBA8UI_EXT 0x8D7C
6557
7169
  #endif
@@ -6567,6 +7179,9 @@
6567
7179
  #ifndef GL_RGBA_FLOAT_MODE_ARB
6568
7180
  #define GL_RGBA_FLOAT_MODE_ARB 0x8820
6569
7181
  #endif
7182
+ #ifndef GL_RGBA_INTEGER
7183
+ #define GL_RGBA_INTEGER 0x8D99
7184
+ #endif
6570
7185
  #ifndef GL_RGBA_INTEGER_EXT
6571
7186
  #define GL_RGBA_INTEGER_EXT 0x8D99
6572
7187
  #endif
@@ -6591,6 +7206,9 @@
6591
7206
  #ifndef GL_RGB_FLOAT32_ATI
6592
7207
  #define GL_RGB_FLOAT32_ATI 0x8815
6593
7208
  #endif
7209
+ #ifndef GL_RGB_INTEGER
7210
+ #define GL_RGB_INTEGER 0x8D98
7211
+ #endif
6594
7212
  #ifndef GL_RGB_INTEGER_EXT
6595
7213
  #define GL_RGB_INTEGER_EXT 0x8D98
6596
7214
  #endif
@@ -6606,6 +7224,9 @@
6606
7224
  #ifndef GL_RGB_SCALE_EXT
6607
7225
  #define GL_RGB_SCALE_EXT 0x8573
6608
7226
  #endif
7227
+ #ifndef GL_RG_INTEGER
7228
+ #define GL_RG_INTEGER 0x8228
7229
+ #endif
6609
7230
  #ifndef GL_RIGHT
6610
7231
  #define GL_RIGHT 0x0407
6611
7232
  #endif
@@ -6618,9 +7239,15 @@
6618
7239
  #ifndef GL_SAMPLER_1D_ARB
6619
7240
  #define GL_SAMPLER_1D_ARB 0x8B5D
6620
7241
  #endif
7242
+ #ifndef GL_SAMPLER_1D_ARRAY
7243
+ #define GL_SAMPLER_1D_ARRAY 0x8DC0
7244
+ #endif
6621
7245
  #ifndef GL_SAMPLER_1D_ARRAY_EXT
6622
7246
  #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
6623
7247
  #endif
7248
+ #ifndef GL_SAMPLER_1D_ARRAY_SHADOW
7249
+ #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
7250
+ #endif
6624
7251
  #ifndef GL_SAMPLER_1D_ARRAY_SHADOW_EXT
6625
7252
  #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
6626
7253
  #endif
@@ -6636,9 +7263,15 @@
6636
7263
  #ifndef GL_SAMPLER_2D_ARB
6637
7264
  #define GL_SAMPLER_2D_ARB 0x8B5E
6638
7265
  #endif
7266
+ #ifndef GL_SAMPLER_2D_ARRAY
7267
+ #define GL_SAMPLER_2D_ARRAY 0x8DC1
7268
+ #endif
6639
7269
  #ifndef GL_SAMPLER_2D_ARRAY_EXT
6640
7270
  #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
6641
7271
  #endif
7272
+ #ifndef GL_SAMPLER_2D_ARRAY_SHADOW
7273
+ #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
7274
+ #endif
6642
7275
  #ifndef GL_SAMPLER_2D_ARRAY_SHADOW_EXT
6643
7276
  #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
6644
7277
  #endif
@@ -6669,9 +7302,15 @@
6669
7302
  #ifndef GL_SAMPLER_CUBE_ARB
6670
7303
  #define GL_SAMPLER_CUBE_ARB 0x8B60
6671
7304
  #endif
7305
+ #ifndef GL_SAMPLER_CUBE_SHADOW
7306
+ #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
7307
+ #endif
6672
7308
  #ifndef GL_SAMPLER_CUBE_SHADOW_EXT
6673
7309
  #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
6674
7310
  #endif
7311
+ #ifndef GL_SAMPLER_RENDERBUFFER_NV
7312
+ #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
7313
+ #endif
6675
7314
  #ifndef GL_SAMPLES
6676
7315
  #define GL_SAMPLES 0x80A9
6677
7316
  #endif
@@ -6759,12 +7398,18 @@
6759
7398
  #ifndef GL_SAMPLE_MASK_INVERT_SGIS
6760
7399
  #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
6761
7400
  #endif
7401
+ #ifndef GL_SAMPLE_MASK_NV
7402
+ #define GL_SAMPLE_MASK_NV 0x8E51
7403
+ #endif
6762
7404
  #ifndef GL_SAMPLE_MASK_SGIS
6763
7405
  #define GL_SAMPLE_MASK_SGIS 0x80A0
6764
7406
  #endif
6765
7407
  #ifndef GL_SAMPLE_MASK_VALUE_EXT
6766
7408
  #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
6767
7409
  #endif
7410
+ #ifndef GL_SAMPLE_MASK_VALUE_NV
7411
+ #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
7412
+ #endif
6768
7413
  #ifndef GL_SAMPLE_MASK_VALUE_SGIS
6769
7414
  #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
6770
7415
  #endif
@@ -6774,6 +7419,9 @@
6774
7419
  #ifndef GL_SAMPLE_PATTERN_SGIS
6775
7420
  #define GL_SAMPLE_PATTERN_SGIS 0x80AC
6776
7421
  #endif
7422
+ #ifndef GL_SAMPLE_POSITION_NV
7423
+ #define GL_SAMPLE_POSITION_NV 0x8E50
7424
+ #endif
6777
7425
  #ifndef GL_SATURATE_BIT_ATI
6778
7426
  #define GL_SATURATE_BIT_ATI 0x00000040
6779
7427
  #endif
@@ -6867,6 +7515,12 @@
6867
7515
  #ifndef GL_SEPARABLE_2D_EXT
6868
7516
  #define GL_SEPARABLE_2D_EXT 0x8012
6869
7517
  #endif
7518
+ #ifndef GL_SEPARATE_ATTRIBS
7519
+ #define GL_SEPARATE_ATTRIBS 0x8C8D
7520
+ #endif
7521
+ #ifndef GL_SEPARATE_ATTRIBS_EXT
7522
+ #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
7523
+ #endif
6870
7524
  #ifndef GL_SEPARATE_ATTRIBS_NV
6871
7525
  #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
6872
7526
  #endif
@@ -7371,6 +8025,9 @@
7371
8025
  #ifndef GL_STENCIL
7372
8026
  #define GL_STENCIL 0x1802
7373
8027
  #endif
8028
+ #ifndef GL_STENCIL_ATTACHMENT
8029
+ #define GL_STENCIL_ATTACHMENT 0x8D20
8030
+ #endif
7374
8031
  #ifndef GL_STENCIL_ATTACHMENT_EXT
7375
8032
  #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
7376
8033
  #endif
@@ -7410,6 +8067,9 @@
7410
8067
  #ifndef GL_STENCIL_BITS
7411
8068
  #define GL_STENCIL_BITS 0x0D57
7412
8069
  #endif
8070
+ #ifndef GL_STENCIL_BUFFER
8071
+ #define GL_STENCIL_BUFFER 0x8224
8072
+ #endif
7413
8073
  #ifndef GL_STENCIL_BUFFER_BIT
7414
8074
  #define GL_STENCIL_BUFFER_BIT 0x00000400
7415
8075
  #endif
@@ -7428,15 +8088,27 @@
7428
8088
  #ifndef GL_STENCIL_INDEX
7429
8089
  #define GL_STENCIL_INDEX 0x1901
7430
8090
  #endif
8091
+ #ifndef GL_STENCIL_INDEX1
8092
+ #define GL_STENCIL_INDEX1 0x8D46
8093
+ #endif
8094
+ #ifndef GL_STENCIL_INDEX16
8095
+ #define GL_STENCIL_INDEX16 0x8D49
8096
+ #endif
7431
8097
  #ifndef GL_STENCIL_INDEX16_EXT
7432
8098
  #define GL_STENCIL_INDEX16_EXT 0x8D49
7433
8099
  #endif
7434
8100
  #ifndef GL_STENCIL_INDEX1_EXT
7435
8101
  #define GL_STENCIL_INDEX1_EXT 0x8D46
7436
8102
  #endif
8103
+ #ifndef GL_STENCIL_INDEX4
8104
+ #define GL_STENCIL_INDEX4 0x8D47
8105
+ #endif
7437
8106
  #ifndef GL_STENCIL_INDEX4_EXT
7438
8107
  #define GL_STENCIL_INDEX4_EXT 0x8D47
7439
8108
  #endif
8109
+ #ifndef GL_STENCIL_INDEX8
8110
+ #define GL_STENCIL_INDEX8 0x8D48
8111
+ #endif
7440
8112
  #ifndef GL_STENCIL_INDEX8_EXT
7441
8113
  #define GL_STENCIL_INDEX8_EXT 0x8D48
7442
8114
  #endif
@@ -7794,6 +8466,9 @@
7794
8466
  #ifndef GL_TEXTURE_1D
7795
8467
  #define GL_TEXTURE_1D 0x0DE0
7796
8468
  #endif
8469
+ #ifndef GL_TEXTURE_1D_ARRAY
8470
+ #define GL_TEXTURE_1D_ARRAY 0x8C18
8471
+ #endif
7797
8472
  #ifndef GL_TEXTURE_1D_ARRAY_EXT
7798
8473
  #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
7799
8474
  #endif
@@ -7809,6 +8484,9 @@
7809
8484
  #ifndef GL_TEXTURE_2D
7810
8485
  #define GL_TEXTURE_2D 0x0DE1
7811
8486
  #endif
8487
+ #ifndef GL_TEXTURE_2D_ARRAY
8488
+ #define GL_TEXTURE_2D_ARRAY 0x8C1A
8489
+ #endif
7812
8490
  #ifndef GL_TEXTURE_2D_ARRAY_EXT
7813
8491
  #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
7814
8492
  #endif
@@ -7845,6 +8523,9 @@
7845
8523
  #ifndef GL_TEXTURE_ALPHA_SIZE_EXT
7846
8524
  #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
7847
8525
  #endif
8526
+ #ifndef GL_TEXTURE_ALPHA_TYPE
8527
+ #define GL_TEXTURE_ALPHA_TYPE 0x8C13
8528
+ #endif
7848
8529
  #ifndef GL_TEXTURE_ALPHA_TYPE_ARB
7849
8530
  #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
7850
8531
  #endif
@@ -7860,18 +8541,27 @@
7860
8541
  #ifndef GL_TEXTURE_BINDING_1D
7861
8542
  #define GL_TEXTURE_BINDING_1D 0x8068
7862
8543
  #endif
8544
+ #ifndef GL_TEXTURE_BINDING_1D_ARRAY
8545
+ #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
8546
+ #endif
7863
8547
  #ifndef GL_TEXTURE_BINDING_1D_ARRAY_EXT
7864
8548
  #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
7865
8549
  #endif
7866
8550
  #ifndef GL_TEXTURE_BINDING_2D
7867
8551
  #define GL_TEXTURE_BINDING_2D 0x8069
7868
8552
  #endif
8553
+ #ifndef GL_TEXTURE_BINDING_2D_ARRAY
8554
+ #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
8555
+ #endif
7869
8556
  #ifndef GL_TEXTURE_BINDING_2D_ARRAY_EXT
7870
8557
  #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
7871
8558
  #endif
7872
8559
  #ifndef GL_TEXTURE_BINDING_3D
7873
8560
  #define GL_TEXTURE_BINDING_3D 0x806A
7874
8561
  #endif
8562
+ #ifndef GL_TEXTURE_BINDING_BUFFER_ARB
8563
+ #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
8564
+ #endif
7875
8565
  #ifndef GL_TEXTURE_BINDING_BUFFER_EXT
7876
8566
  #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
7877
8567
  #endif
@@ -7890,6 +8580,9 @@
7890
8580
  #ifndef GL_TEXTURE_BINDING_RECTANGLE_NV
7891
8581
  #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
7892
8582
  #endif
8583
+ #ifndef GL_TEXTURE_BINDING_RENDERBUFFER_NV
8584
+ #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
8585
+ #endif
7893
8586
  #ifndef GL_TEXTURE_BIT
7894
8587
  #define GL_TEXTURE_BIT 0x00040000
7895
8588
  #endif
@@ -7899,6 +8592,9 @@
7899
8592
  #ifndef GL_TEXTURE_BLUE_SIZE_EXT
7900
8593
  #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
7901
8594
  #endif
8595
+ #ifndef GL_TEXTURE_BLUE_TYPE
8596
+ #define GL_TEXTURE_BLUE_TYPE 0x8C12
8597
+ #endif
7902
8598
  #ifndef GL_TEXTURE_BLUE_TYPE_ARB
7903
8599
  #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
7904
8600
  #endif
@@ -7911,12 +8607,21 @@
7911
8607
  #ifndef GL_TEXTURE_BORDER_VALUES_NV
7912
8608
  #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
7913
8609
  #endif
8610
+ #ifndef GL_TEXTURE_BUFFER_ARB
8611
+ #define GL_TEXTURE_BUFFER_ARB 0x8C2A
8612
+ #endif
8613
+ #ifndef GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB
8614
+ #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
8615
+ #endif
7914
8616
  #ifndef GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT
7915
8617
  #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
7916
8618
  #endif
7917
8619
  #ifndef GL_TEXTURE_BUFFER_EXT
7918
8620
  #define GL_TEXTURE_BUFFER_EXT 0x8C2A
7919
8621
  #endif
8622
+ #ifndef GL_TEXTURE_BUFFER_FORMAT_ARB
8623
+ #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
8624
+ #endif
7920
8625
  #ifndef GL_TEXTURE_BUFFER_FORMAT_EXT
7921
8626
  #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
7922
8627
  #endif
@@ -7950,9 +8655,15 @@
7950
8655
  #ifndef GL_TEXTURE_COMPARE_FUNC
7951
8656
  #define GL_TEXTURE_COMPARE_FUNC 0x884D
7952
8657
  #endif
8658
+ #ifndef GL_TEXTURE_COMPARE_FUNC_ARB
8659
+ #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
8660
+ #endif
7953
8661
  #ifndef GL_TEXTURE_COMPARE_MODE
7954
8662
  #define GL_TEXTURE_COMPARE_MODE 0x884C
7955
8663
  #endif
8664
+ #ifndef GL_TEXTURE_COMPARE_MODE_ARB
8665
+ #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
8666
+ #endif
7956
8667
  #ifndef GL_TEXTURE_COMPARE_OPERATOR_SGIX
7957
8668
  #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
7958
8669
  #endif
@@ -8115,6 +8826,9 @@
8115
8826
  #ifndef GL_TEXTURE_DEPTH_SIZE_ARB
8116
8827
  #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
8117
8828
  #endif
8829
+ #ifndef GL_TEXTURE_DEPTH_TYPE
8830
+ #define GL_TEXTURE_DEPTH_TYPE 0x8C16
8831
+ #endif
8118
8832
  #ifndef GL_TEXTURE_DEPTH_TYPE_ARB
8119
8833
  #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
8120
8834
  #endif
@@ -8172,6 +8886,9 @@
8172
8886
  #ifndef GL_TEXTURE_GREEN_SIZE_EXT
8173
8887
  #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
8174
8888
  #endif
8889
+ #ifndef GL_TEXTURE_GREEN_TYPE
8890
+ #define GL_TEXTURE_GREEN_TYPE 0x8C11
8891
+ #endif
8175
8892
  #ifndef GL_TEXTURE_GREEN_TYPE_ARB
8176
8893
  #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
8177
8894
  #endif
@@ -8190,6 +8907,9 @@
8190
8907
  #ifndef GL_TEXTURE_INTENSITY_SIZE_EXT
8191
8908
  #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
8192
8909
  #endif
8910
+ #ifndef GL_TEXTURE_INTENSITY_TYPE
8911
+ #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
8912
+ #endif
8193
8913
  #ifndef GL_TEXTURE_INTENSITY_TYPE_ARB
8194
8914
  #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
8195
8915
  #endif
@@ -8229,6 +8949,9 @@
8229
8949
  #ifndef GL_TEXTURE_LUMINANCE_SIZE_EXT
8230
8950
  #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
8231
8951
  #endif
8952
+ #ifndef GL_TEXTURE_LUMINANCE_TYPE
8953
+ #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
8954
+ #endif
8232
8955
  #ifndef GL_TEXTURE_LUMINANCE_TYPE_ARB
8233
8956
  #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
8234
8957
  #endif
@@ -8310,9 +9033,18 @@
8310
9033
  #ifndef GL_TEXTURE_RED_SIZE_EXT
8311
9034
  #define GL_TEXTURE_RED_SIZE_EXT 0x805C
8312
9035
  #endif
9036
+ #ifndef GL_TEXTURE_RED_TYPE
9037
+ #define GL_TEXTURE_RED_TYPE 0x8C10
9038
+ #endif
8313
9039
  #ifndef GL_TEXTURE_RED_TYPE_ARB
8314
9040
  #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
8315
9041
  #endif
9042
+ #ifndef GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV
9043
+ #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
9044
+ #endif
9045
+ #ifndef GL_TEXTURE_RENDERBUFFER_NV
9046
+ #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
9047
+ #endif
8316
9048
  #ifndef GL_TEXTURE_RESIDENT
8317
9049
  #define GL_TEXTURE_RESIDENT 0x8067
8318
9050
  #endif
@@ -8322,15 +9054,36 @@
8322
9054
  #ifndef GL_TEXTURE_SHADER_NV
8323
9055
  #define GL_TEXTURE_SHADER_NV 0x86DE
8324
9056
  #endif
9057
+ #ifndef GL_TEXTURE_SHARED_SIZE
9058
+ #define GL_TEXTURE_SHARED_SIZE 0x8C3F
9059
+ #endif
8325
9060
  #ifndef GL_TEXTURE_SHARED_SIZE_EXT
8326
9061
  #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
8327
9062
  #endif
8328
9063
  #ifndef GL_TEXTURE_STACK_DEPTH
8329
9064
  #define GL_TEXTURE_STACK_DEPTH 0x0BA5
8330
9065
  #endif
9066
+ #ifndef GL_TEXTURE_STENCIL_SIZE
9067
+ #define GL_TEXTURE_STENCIL_SIZE 0x88F1
9068
+ #endif
8331
9069
  #ifndef GL_TEXTURE_STENCIL_SIZE_EXT
8332
9070
  #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
8333
9071
  #endif
9072
+ #ifndef GL_TEXTURE_SWIZZLE_A_EXT
9073
+ #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
9074
+ #endif
9075
+ #ifndef GL_TEXTURE_SWIZZLE_B_EXT
9076
+ #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
9077
+ #endif
9078
+ #ifndef GL_TEXTURE_SWIZZLE_G_EXT
9079
+ #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
9080
+ #endif
9081
+ #ifndef GL_TEXTURE_SWIZZLE_RGBA_EXT
9082
+ #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
9083
+ #endif
9084
+ #ifndef GL_TEXTURE_SWIZZLE_R_EXT
9085
+ #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
9086
+ #endif
8334
9087
  #ifndef GL_TEXTURE_TOO_LARGE_EXT
8335
9088
  #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
8336
9089
  #endif
@@ -8373,30 +9126,90 @@
8373
9126
  #ifndef GL_TRANSFORM_FEEDBACK_ATTRIBS_NV
8374
9127
  #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
8375
9128
  #endif
9129
+ #ifndef GL_TRANSFORM_FEEDBACK_BINDING_NV
9130
+ #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
9131
+ #endif
9132
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER
9133
+ #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
9134
+ #endif
9135
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV
9136
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
9137
+ #endif
9138
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
9139
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
9140
+ #endif
9141
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT
9142
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
9143
+ #endif
8376
9144
  #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV
8377
9145
  #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
8378
9146
  #endif
9147
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_EXT
9148
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
9149
+ #endif
9150
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_MODE
9151
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
9152
+ #endif
9153
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT
9154
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
9155
+ #endif
8379
9156
  #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV
8380
9157
  #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
8381
9158
  #endif
8382
9159
  #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_NV
8383
9160
  #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
8384
9161
  #endif
9162
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV
9163
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
9164
+ #endif
9165
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
9166
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
9167
+ #endif
9168
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT
9169
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
9170
+ #endif
8385
9171
  #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV
8386
9172
  #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
8387
9173
  #endif
9174
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_START
9175
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
9176
+ #endif
9177
+ #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT
9178
+ #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
9179
+ #endif
8388
9180
  #ifndef GL_TRANSFORM_FEEDBACK_BUFFER_START_NV
8389
9181
  #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
8390
9182
  #endif
9183
+ #ifndef GL_TRANSFORM_FEEDBACK_NV
9184
+ #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
9185
+ #endif
9186
+ #ifndef GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
9187
+ #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
9188
+ #endif
9189
+ #ifndef GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT
9190
+ #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
9191
+ #endif
8391
9192
  #ifndef GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV
8392
9193
  #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
8393
9194
  #endif
8394
9195
  #ifndef GL_TRANSFORM_FEEDBACK_RECORD_NV
8395
9196
  #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
8396
9197
  #endif
9198
+ #ifndef GL_TRANSFORM_FEEDBACK_VARYINGS
9199
+ #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
9200
+ #endif
9201
+ #ifndef GL_TRANSFORM_FEEDBACK_VARYINGS_EXT
9202
+ #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
9203
+ #endif
8397
9204
  #ifndef GL_TRANSFORM_FEEDBACK_VARYINGS_NV
8398
9205
  #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
8399
9206
  #endif
9207
+ #ifndef GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
9208
+ #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
9209
+ #endif
9210
+ #ifndef GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT
9211
+ #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
9212
+ #endif
8400
9213
  #ifndef GL_TRANSFORM_HINT_APPLE
8401
9214
  #define GL_TRANSFORM_HINT_APPLE 0x85B1
8402
9215
  #endif
@@ -8418,6 +9231,9 @@
8418
9231
  #ifndef GL_TRANSPOSE_NV
8419
9232
  #define GL_TRANSPOSE_NV 0x862C
8420
9233
  #endif
9234
+ #ifndef GL_TRANSPOSE_PROGRAM_MATRIX_EXT
9235
+ #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
9236
+ #endif
8421
9237
  #ifndef GL_TRANSPOSE_PROJECTION_MATRIX
8422
9238
  #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
8423
9239
  #endif
@@ -8433,6 +9249,9 @@
8433
9249
  #ifndef GL_TRIANGLES
8434
9250
  #define GL_TRIANGLES 0x0004
8435
9251
  #endif
9252
+ #ifndef GL_TRIANGLES_ADJACENCY_ARB
9253
+ #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
9254
+ #endif
8436
9255
  #ifndef GL_TRIANGLES_ADJACENCY_EXT
8437
9256
  #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
8438
9257
  #endif
@@ -8448,12 +9267,12 @@
8448
9267
  #ifndef GL_TRIANGLE_STRIP
8449
9268
  #define GL_TRIANGLE_STRIP 0x0005
8450
9269
  #endif
9270
+ #ifndef GL_TRIANGLE_STRIP_ADJACENCY_ARB
9271
+ #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
9272
+ #endif
8451
9273
  #ifndef GL_TRIANGLE_STRIP_ADJACENCY_EXT
8452
9274
  #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
8453
9275
  #endif
8454
- #ifndef GL_TRUE
8455
- #define GL_TRUE 1
8456
- #endif
8457
9276
  #ifndef GL_TYPE_RGBA_FLOAT_ATI
8458
9277
  #define GL_TYPE_RGBA_FLOAT_ATI 0x8820
8459
9278
  #endif
@@ -8538,6 +9357,9 @@
8538
9357
  #ifndef GL_UNSIGNED_INT
8539
9358
  #define GL_UNSIGNED_INT 0x1405
8540
9359
  #endif
9360
+ #ifndef GL_UNSIGNED_INT_10F_11F_11F_REV
9361
+ #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
9362
+ #endif
8541
9363
  #ifndef GL_UNSIGNED_INT_10F_11F_11F_REV_EXT
8542
9364
  #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
8543
9365
  #endif
@@ -8547,6 +9369,9 @@
8547
9369
  #ifndef GL_UNSIGNED_INT_10_10_10_2_EXT
8548
9370
  #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
8549
9371
  #endif
9372
+ #ifndef GL_UNSIGNED_INT_24_8
9373
+ #define GL_UNSIGNED_INT_24_8 0x84FA
9374
+ #endif
8550
9375
  #ifndef GL_UNSIGNED_INT_24_8_EXT
8551
9376
  #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
8552
9377
  #endif
@@ -8559,6 +9384,9 @@
8559
9384
  #ifndef GL_UNSIGNED_INT_2_10_10_10_REV_EXT
8560
9385
  #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
8561
9386
  #endif
9387
+ #ifndef GL_UNSIGNED_INT_5_9_9_9_REV
9388
+ #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
9389
+ #endif
8562
9390
  #ifndef GL_UNSIGNED_INT_5_9_9_9_REV_EXT
8563
9391
  #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
8564
9392
  #endif
@@ -8580,12 +9408,24 @@
8580
9408
  #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
8581
9409
  #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
8582
9410
  #endif
9411
+ #ifndef GL_UNSIGNED_INT_SAMPLER_1D
9412
+ #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
9413
+ #endif
9414
+ #ifndef GL_UNSIGNED_INT_SAMPLER_1D_ARRAY
9415
+ #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
9416
+ #endif
8583
9417
  #ifndef GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT
8584
9418
  #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
8585
9419
  #endif
8586
9420
  #ifndef GL_UNSIGNED_INT_SAMPLER_1D_EXT
8587
9421
  #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
8588
9422
  #endif
9423
+ #ifndef GL_UNSIGNED_INT_SAMPLER_2D
9424
+ #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
9425
+ #endif
9426
+ #ifndef GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
9427
+ #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
9428
+ #endif
8589
9429
  #ifndef GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT
8590
9430
  #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
8591
9431
  #endif
@@ -8595,27 +9435,48 @@
8595
9435
  #ifndef GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT
8596
9436
  #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
8597
9437
  #endif
9438
+ #ifndef GL_UNSIGNED_INT_SAMPLER_3D
9439
+ #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
9440
+ #endif
8598
9441
  #ifndef GL_UNSIGNED_INT_SAMPLER_3D_EXT
8599
9442
  #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
8600
9443
  #endif
8601
9444
  #ifndef GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT
8602
9445
  #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
8603
9446
  #endif
9447
+ #ifndef GL_UNSIGNED_INT_SAMPLER_CUBE
9448
+ #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
9449
+ #endif
8604
9450
  #ifndef GL_UNSIGNED_INT_SAMPLER_CUBE_EXT
8605
9451
  #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
8606
9452
  #endif
9453
+ #ifndef GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV
9454
+ #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
9455
+ #endif
9456
+ #ifndef GL_UNSIGNED_INT_VEC2
9457
+ #define GL_UNSIGNED_INT_VEC2 0x8DC6
9458
+ #endif
8607
9459
  #ifndef GL_UNSIGNED_INT_VEC2_EXT
8608
9460
  #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
8609
9461
  #endif
9462
+ #ifndef GL_UNSIGNED_INT_VEC3
9463
+ #define GL_UNSIGNED_INT_VEC3 0x8DC7
9464
+ #endif
8610
9465
  #ifndef GL_UNSIGNED_INT_VEC3_EXT
8611
9466
  #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
8612
9467
  #endif
9468
+ #ifndef GL_UNSIGNED_INT_VEC4
9469
+ #define GL_UNSIGNED_INT_VEC4 0x8DC8
9470
+ #endif
8613
9471
  #ifndef GL_UNSIGNED_INT_VEC4_EXT
8614
9472
  #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
8615
9473
  #endif
8616
9474
  #ifndef GL_UNSIGNED_INVERT_NV
8617
9475
  #define GL_UNSIGNED_INVERT_NV 0x8537
8618
9476
  #endif
9477
+ #ifndef GL_UNSIGNED_NORMALIZED
9478
+ #define GL_UNSIGNED_NORMALIZED 0x8C17
9479
+ #endif
8619
9480
  #ifndef GL_UNSIGNED_NORMALIZED_ARB
8620
9481
  #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
8621
9482
  #endif
@@ -8748,6 +9609,15 @@
8748
9609
  #ifndef GL_VERSION_1_5
8749
9610
  #define GL_VERSION_1_5 1
8750
9611
  #endif
9612
+ #ifndef GL_VERSION_2_0
9613
+ #define GL_VERSION_2_0 1
9614
+ #endif
9615
+ #ifndef GL_VERSION_2_1
9616
+ #define GL_VERSION_2_1 1
9617
+ #endif
9618
+ #ifndef GL_VERSION_3_0
9619
+ #define GL_VERSION_3_0 1
9620
+ #endif
8751
9621
  #ifndef GL_VERTEX23_BIT_PGI
8752
9622
  #define GL_VERTEX23_BIT_PGI 0x00000004
8753
9623
  #endif
@@ -8757,6 +9627,9 @@
8757
9627
  #ifndef GL_VERTEX_ARRAY
8758
9628
  #define GL_VERTEX_ARRAY 0x8074
8759
9629
  #endif
9630
+ #ifndef GL_VERTEX_ARRAY_BINDING
9631
+ #define GL_VERTEX_ARRAY_BINDING 0x85B5
9632
+ #endif
8760
9633
  #ifndef GL_VERTEX_ARRAY_BINDING_APPLE
8761
9634
  #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
8762
9635
  #endif
@@ -8892,6 +9765,9 @@
8892
9765
  #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
8893
9766
  #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
8894
9767
  #endif
9768
+ #ifndef GL_VERTEX_ATTRIB_ARRAY_INTEGER
9769
+ #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
9770
+ #endif
8895
9771
  #ifndef GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV
8896
9772
  #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
8897
9773
  #endif