opengl 0.8.0-x86-mingw32 → 0.9.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +1 -0
  3. data.tar.gz.sig +2 -0
  4. data/.gitignore +2 -1
  5. data/.travis.yml +19 -0
  6. data/History.rdoc +26 -0
  7. data/Manifest.txt +3 -23
  8. data/README.rdoc +43 -37
  9. data/Rakefile +6 -62
  10. data/examples/NeHe/nehe_lesson02.rb +3 -2
  11. data/examples/NeHe/nehe_lesson03.rb +3 -2
  12. data/examples/NeHe/nehe_lesson04.rb +3 -1
  13. data/examples/NeHe/nehe_lesson05.rb +4 -1
  14. data/examples/NeHe/nehe_lesson06.rb +9 -6
  15. data/examples/NeHe/nehe_lesson07.rb +9 -6
  16. data/examples/NeHe/nehe_lesson08.rb +9 -6
  17. data/examples/NeHe/nehe_lesson09.rb +10 -6
  18. data/examples/NeHe/nehe_lesson11.rb +9 -6
  19. data/examples/NeHe/nehe_lesson12.rb +9 -6
  20. data/examples/NeHe/nehe_lesson16.rb +50 -47
  21. data/examples/NeHe/nehe_lesson19.rb +10 -7
  22. data/examples/NeHe/nehe_lesson36.rb +234 -229
  23. data/examples/OrangeBook/brick.rb +227 -225
  24. data/examples/OrangeBook/particle.rb +233 -231
  25. data/examples/RedBook/aapoly.rb +71 -70
  26. data/examples/RedBook/aargb.rb +54 -52
  27. data/examples/RedBook/accanti.rb +96 -94
  28. data/examples/RedBook/accpersp.rb +106 -104
  29. data/examples/RedBook/alpha.rb +54 -52
  30. data/examples/RedBook/alpha3D.rb +90 -88
  31. data/examples/RedBook/bezcurve.rb +48 -46
  32. data/examples/RedBook/bezmesh.rb +71 -69
  33. data/examples/RedBook/checker.rb +57 -55
  34. data/examples/RedBook/clip.rb +41 -39
  35. data/examples/RedBook/colormat.rb +72 -70
  36. data/examples/RedBook/cube.rb +39 -37
  37. data/examples/RedBook/depthcue.rb +37 -35
  38. data/examples/RedBook/dof.rb +110 -109
  39. data/examples/RedBook/double.rb +40 -38
  40. data/examples/RedBook/drawf.rb +30 -28
  41. data/examples/RedBook/feedback.rb +79 -77
  42. data/examples/RedBook/fog.rb +90 -89
  43. data/examples/RedBook/font.rb +78 -76
  44. data/examples/RedBook/hello.rb +29 -27
  45. data/examples/RedBook/image.rb +57 -55
  46. data/examples/RedBook/jitter.rb +131 -131
  47. data/examples/RedBook/light.rb +2 -1
  48. data/examples/RedBook/lines.rb +70 -68
  49. data/examples/RedBook/list.rb +48 -46
  50. data/examples/RedBook/material.rb +200 -199
  51. data/examples/RedBook/mipmap.rb +84 -82
  52. data/examples/RedBook/model.rb +55 -53
  53. data/examples/RedBook/movelight.rb +52 -50
  54. data/examples/RedBook/pickdepth.rb +103 -101
  55. data/examples/RedBook/planet.rb +46 -44
  56. data/examples/RedBook/quadric.rb +97 -95
  57. data/examples/RedBook/robot.rb +55 -53
  58. data/examples/RedBook/select.rb +118 -116
  59. data/examples/RedBook/smooth.rb +35 -33
  60. data/examples/RedBook/stencil.rb +96 -94
  61. data/examples/RedBook/stroke.rb +75 -73
  62. data/examples/RedBook/surface.rb +93 -91
  63. data/examples/RedBook/teaambient.rb +71 -69
  64. data/examples/RedBook/teapots.rb +105 -103
  65. data/examples/RedBook/tess.rb +96 -94
  66. data/examples/RedBook/texbind.rb +79 -77
  67. data/examples/RedBook/texgen.rb +88 -86
  68. data/examples/RedBook/texturesurf.rb +57 -55
  69. data/examples/RedBook/varray.rb +85 -83
  70. data/examples/RedBook/wrap.rb +76 -74
  71. data/examples/misc/OGLBench.rb +114 -113
  72. data/examples/misc/anisotropic.rb +154 -152
  73. data/examples/misc/fbo_test.rb +37 -36
  74. data/examples/misc/font-glut.rb +47 -46
  75. data/examples/misc/glfwtest.rb +16 -16
  76. data/examples/misc/plane.rb +13 -13
  77. data/examples/misc/readpixel.rb +66 -65
  78. data/examples/misc/sdltest.rb +21 -19
  79. data/examples/misc/trislam.rb +548 -547
  80. data/ext/opengl/common.h +16 -38
  81. data/ext/opengl/conv.h +39 -41
  82. data/ext/opengl/extconf.rb +4 -31
  83. data/ext/opengl/funcdef.h +126 -124
  84. data/ext/opengl/gl-1.0-1.1.c +1917 -1917
  85. data/ext/opengl/gl-1.2.c +4 -667
  86. data/ext/opengl/gl-1.3.c +9 -9
  87. data/ext/opengl/gl-1.4.c +8 -8
  88. data/ext/opengl/gl-1.5.c +1 -1
  89. data/ext/opengl/gl-2.0.c +392 -388
  90. data/ext/opengl/gl-3.0.c +493 -0
  91. data/ext/opengl/gl-enums.c +1523 -5
  92. data/ext/opengl/gl-enums.h +4679 -122
  93. data/ext/opengl/gl-error.c +7 -7
  94. data/ext/opengl/gl-error.h +4 -4
  95. data/ext/opengl/gl-ext-arb.c +468 -464
  96. data/ext/opengl/gl-ext-ext.c +18 -18
  97. data/ext/opengl/gl-ext-nv.c +15 -15
  98. data/ext/opengl/gl.c +2 -0
  99. data/ext/opengl/gl_buffer.c +92 -92
  100. data/ext/opengl/opengl.c +1 -7
  101. data/lib/opengl.rb +23 -59
  102. data/lib/opengl/1.9/opengl.so +0 -0
  103. data/lib/opengl/2.0/opengl.so +0 -0
  104. data/lib/opengl/2.1/opengl.so +0 -0
  105. data/lib/opengl/test_case.rb +1 -2
  106. data/test/dummy.xorg.conf +140 -0
  107. data/test/test_gl.rb +18 -22
  108. data/test/test_gl_10_11.rb +220 -220
  109. data/test/test_gl_12.rb +11 -122
  110. data/test/test_gl_13.rb +202 -210
  111. data/test/test_gl_14.rb +16 -19
  112. data/test/test_gl_15.rb +2 -4
  113. data/test/test_gl_20.rb +45 -58
  114. data/test/test_gl_21.rb +46 -163
  115. data/test/test_gl_ext_arb.rb +54 -72
  116. data/test/test_gl_ext_ati.rb +0 -2
  117. data/test/test_gl_ext_ext.rb +66 -66
  118. data/test/test_gl_ext_gremedy.rb +8 -15
  119. data/test/test_gl_ext_nv.rb +109 -112
  120. data/test/test_opengl_buffer.rb +8 -25
  121. data/utils/README +0 -5
  122. data/utils/enumgen.rb +72 -76
  123. data/utils/extlistgen.rb +55 -55
  124. metadata +90 -67
  125. metadata.gz.sig +0 -0
  126. data/Rakefile.cross +0 -107
  127. data/docs/build_install.txt +0 -119
  128. data/docs/extensions.txt.in +0 -348
  129. data/docs/history.txt +0 -66
  130. data/docs/requirements_and_design.txt +0 -117
  131. data/docs/roadmap.txt +0 -28
  132. data/docs/scientific_use.txt +0 -35
  133. data/docs/supplies/page_template.html +0 -71
  134. data/docs/thanks.txt +0 -29
  135. data/docs/tutorial.txt +0 -469
  136. data/ext/opengl/glu-enums.c +0 -164
  137. data/ext/opengl/glu-enums.h +0 -463
  138. data/ext/opengl/glu.c +0 -1534
  139. data/ext/opengl/glut.c +0 -1145
  140. data/ext/opengl/glut_callbacks.c +0 -845
  141. data/lib/glu.rb +0 -1
  142. data/lib/glut.rb +0 -1
  143. data/lib/opengl/opengl.so +0 -0
  144. data/test/test_glu.rb +0 -309
  145. data/utils/mkdn2html.rb +0 -59
  146. data/utils/post-mkdn2html.rb +0 -91
  147. data/website/images/ogl.jpg +0 -0
  148. data/website/images/tab_bottom.gif +0 -0
  149. data/website/style.css +0 -198
@@ -1,10 +1,9 @@
1
- /* This file was genereated on Mon Feb 16 18:08:56 +0100 2009
1
+ /* This file was genereated on 2013-02-27 15:05:34 +0100
2
2
  source: http://www.opengl.org/registry/api/enum.spec
3
3
  source: http://www.opengl.org/registry/api/enumext.spec
4
4
  */
5
5
 
6
6
  #include "common.h"
7
-
8
7
  void gl_init_enums(VALUE module)
9
8
  {
10
9
  rb_define_const(module, "GL_TRUE", Qtrue);
@@ -20,6 +19,8 @@ void gl_init_enums(VALUE module)
20
19
  rb_define_const(module, "GL_2X_BIT_ATI", INT2NUM(GL_2X_BIT_ATI));
21
20
  rb_define_const(module, "GL_2_BYTES", INT2NUM(GL_2_BYTES));
22
21
  rb_define_const(module, "GL_3D", INT2NUM(GL_3D));
22
+ rb_define_const(module, "GL_3DC_XY_AMD", INT2NUM(GL_3DC_XY_AMD));
23
+ rb_define_const(module, "GL_3DC_X_AMD", INT2NUM(GL_3DC_X_AMD));
23
24
  rb_define_const(module, "GL_3D_COLOR", INT2NUM(GL_3D_COLOR));
24
25
  rb_define_const(module, "GL_3D_COLOR_TEXTURE", INT2NUM(GL_3D_COLOR_TEXTURE));
25
26
  rb_define_const(module, "GL_3_BYTES", INT2NUM(GL_3_BYTES));
@@ -41,27 +42,44 @@ void gl_init_enums(VALUE module)
41
42
  rb_define_const(module, "GL_8X_BIT_ATI", INT2NUM(GL_8X_BIT_ATI));
42
43
  rb_define_const(module, "GL_ABGR_EXT", INT2NUM(GL_ABGR_EXT));
43
44
  rb_define_const(module, "GL_ACCUM", INT2NUM(GL_ACCUM));
45
+ rb_define_const(module, "GL_ACCUM_ADJACENT_PAIRS_NV", INT2NUM(GL_ACCUM_ADJACENT_PAIRS_NV));
44
46
  rb_define_const(module, "GL_ACCUM_ALPHA_BITS", INT2NUM(GL_ACCUM_ALPHA_BITS));
45
47
  rb_define_const(module, "GL_ACCUM_BLUE_BITS", INT2NUM(GL_ACCUM_BLUE_BITS));
46
48
  rb_define_const(module, "GL_ACCUM_BUFFER_BIT", INT2NUM(GL_ACCUM_BUFFER_BIT));
47
49
  rb_define_const(module, "GL_ACCUM_CLEAR_VALUE", INT2NUM(GL_ACCUM_CLEAR_VALUE));
48
50
  rb_define_const(module, "GL_ACCUM_GREEN_BITS", INT2NUM(GL_ACCUM_GREEN_BITS));
49
51
  rb_define_const(module, "GL_ACCUM_RED_BITS", INT2NUM(GL_ACCUM_RED_BITS));
52
+ rb_define_const(module, "GL_ACTIVE_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_ACTIVE_ATOMIC_COUNTER_BUFFERS));
50
53
  rb_define_const(module, "GL_ACTIVE_ATTRIBUTES", INT2NUM(GL_ACTIVE_ATTRIBUTES));
51
54
  rb_define_const(module, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH", INT2NUM(GL_ACTIVE_ATTRIBUTE_MAX_LENGTH));
55
+ rb_define_const(module, "GL_ACTIVE_PROGRAM", INT2NUM(GL_ACTIVE_PROGRAM));
56
+ rb_define_const(module, "GL_ACTIVE_PROGRAM_EXT", INT2NUM(GL_ACTIVE_PROGRAM_EXT));
57
+ rb_define_const(module, "GL_ACTIVE_RESOURCES", INT2NUM(GL_ACTIVE_RESOURCES));
52
58
  rb_define_const(module, "GL_ACTIVE_STENCIL_FACE_EXT", INT2NUM(GL_ACTIVE_STENCIL_FACE_EXT));
59
+ rb_define_const(module, "GL_ACTIVE_SUBROUTINES", INT2NUM(GL_ACTIVE_SUBROUTINES));
60
+ rb_define_const(module, "GL_ACTIVE_SUBROUTINE_MAX_LENGTH", INT2NUM(GL_ACTIVE_SUBROUTINE_MAX_LENGTH));
61
+ rb_define_const(module, "GL_ACTIVE_SUBROUTINE_UNIFORMS", INT2NUM(GL_ACTIVE_SUBROUTINE_UNIFORMS));
62
+ rb_define_const(module, "GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS", INT2NUM(GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS));
63
+ rb_define_const(module, "GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH", INT2NUM(GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH));
53
64
  rb_define_const(module, "GL_ACTIVE_TEXTURE", INT2NUM(GL_ACTIVE_TEXTURE));
54
65
  rb_define_const(module, "GL_ACTIVE_TEXTURE_ARB", INT2NUM(GL_ACTIVE_TEXTURE_ARB));
55
66
  rb_define_const(module, "GL_ACTIVE_UNIFORMS", INT2NUM(GL_ACTIVE_UNIFORMS));
67
+ rb_define_const(module, "GL_ACTIVE_UNIFORM_BLOCKS", INT2NUM(GL_ACTIVE_UNIFORM_BLOCKS));
68
+ rb_define_const(module, "GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH", INT2NUM(GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH));
56
69
  rb_define_const(module, "GL_ACTIVE_UNIFORM_MAX_LENGTH", INT2NUM(GL_ACTIVE_UNIFORM_MAX_LENGTH));
70
+ rb_define_const(module, "GL_ACTIVE_VARIABLES", INT2NUM(GL_ACTIVE_VARIABLES));
57
71
  rb_define_const(module, "GL_ACTIVE_VARYINGS_NV", INT2NUM(GL_ACTIVE_VARYINGS_NV));
58
72
  rb_define_const(module, "GL_ACTIVE_VARYING_MAX_LENGTH_NV", INT2NUM(GL_ACTIVE_VARYING_MAX_LENGTH_NV));
59
73
  rb_define_const(module, "GL_ACTIVE_VERTEX_UNITS_ARB", INT2NUM(GL_ACTIVE_VERTEX_UNITS_ARB));
60
74
  rb_define_const(module, "GL_ADD", INT2NUM(GL_ADD));
61
75
  rb_define_const(module, "GL_ADD_ATI", INT2NUM(GL_ADD_ATI));
76
+ rb_define_const(module, "GL_ADD_BLEND_IMG", INT2NUM(GL_ADD_BLEND_IMG));
62
77
  rb_define_const(module, "GL_ADD_SIGNED", INT2NUM(GL_ADD_SIGNED));
63
78
  rb_define_const(module, "GL_ADD_SIGNED_ARB", INT2NUM(GL_ADD_SIGNED_ARB));
64
79
  rb_define_const(module, "GL_ADD_SIGNED_EXT", INT2NUM(GL_ADD_SIGNED_EXT));
80
+ rb_define_const(module, "GL_ADJACENT_PAIRS_NV", INT2NUM(GL_ADJACENT_PAIRS_NV));
81
+ rb_define_const(module, "GL_AFFINE_2D_NV", INT2NUM(GL_AFFINE_2D_NV));
82
+ rb_define_const(module, "GL_AFFINE_3D_NV", INT2NUM(GL_AFFINE_3D_NV));
65
83
  rb_define_const(module, "GL_ALIASED_LINE_WIDTH_RANGE", INT2NUM(GL_ALIASED_LINE_WIDTH_RANGE));
66
84
  rb_define_const(module, "GL_ALIASED_POINT_SIZE_RANGE", INT2NUM(GL_ALIASED_POINT_SIZE_RANGE));
67
85
  rb_define_const(module, "GL_ALLOW_DRAW_FRG_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_FRG_HINT_PGI));
@@ -69,7 +87,11 @@ void gl_init_enums(VALUE module)
69
87
  rb_define_const(module, "GL_ALLOW_DRAW_OBJ_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_OBJ_HINT_PGI));
70
88
  rb_define_const(module, "GL_ALLOW_DRAW_WIN_HINT_PGI", INT2NUM(GL_ALLOW_DRAW_WIN_HINT_PGI));
71
89
  rb_define_const(module, "GL_ALL_ATTRIB_BITS", INT2NUM(GL_ALL_ATTRIB_BITS));
90
+ rb_define_const(module, "GL_ALL_BARRIER_BITS", INT2NUM(GL_ALL_BARRIER_BITS));
91
+ rb_define_const(module, "GL_ALL_BARRIER_BITS_EXT", INT2NUM(GL_ALL_BARRIER_BITS_EXT));
72
92
  rb_define_const(module, "GL_ALL_COMPLETED_NV", INT2NUM(GL_ALL_COMPLETED_NV));
93
+ rb_define_const(module, "GL_ALL_SHADER_BITS", INT2NUM(GL_ALL_SHADER_BITS));
94
+ rb_define_const(module, "GL_ALL_SHADER_BITS_EXT", INT2NUM(GL_ALL_SHADER_BITS_EXT));
73
95
  rb_define_const(module, "GL_ALPHA", INT2NUM(GL_ALPHA));
74
96
  rb_define_const(module, "GL_ALPHA12", INT2NUM(GL_ALPHA12));
75
97
  rb_define_const(module, "GL_ALPHA12_EXT", INT2NUM(GL_ALPHA12_EXT));
@@ -78,6 +100,7 @@ void gl_init_enums(VALUE module)
78
100
  rb_define_const(module, "GL_ALPHA16I_EXT", INT2NUM(GL_ALPHA16I_EXT));
79
101
  rb_define_const(module, "GL_ALPHA16UI_EXT", INT2NUM(GL_ALPHA16UI_EXT));
80
102
  rb_define_const(module, "GL_ALPHA16_EXT", INT2NUM(GL_ALPHA16_EXT));
103
+ rb_define_const(module, "GL_ALPHA16_SNORM", INT2NUM(GL_ALPHA16_SNORM));
81
104
  rb_define_const(module, "GL_ALPHA32F_ARB", INT2NUM(GL_ALPHA32F_ARB));
82
105
  rb_define_const(module, "GL_ALPHA32I_EXT", INT2NUM(GL_ALPHA32I_EXT));
83
106
  rb_define_const(module, "GL_ALPHA32UI_EXT", INT2NUM(GL_ALPHA32UI_EXT));
@@ -87,9 +110,12 @@ void gl_init_enums(VALUE module)
87
110
  rb_define_const(module, "GL_ALPHA8I_EXT", INT2NUM(GL_ALPHA8I_EXT));
88
111
  rb_define_const(module, "GL_ALPHA8UI_EXT", INT2NUM(GL_ALPHA8UI_EXT));
89
112
  rb_define_const(module, "GL_ALPHA8_EXT", INT2NUM(GL_ALPHA8_EXT));
113
+ rb_define_const(module, "GL_ALPHA8_SNORM", INT2NUM(GL_ALPHA8_SNORM));
90
114
  rb_define_const(module, "GL_ALPHA_BIAS", INT2NUM(GL_ALPHA_BIAS));
91
115
  rb_define_const(module, "GL_ALPHA_BITS", INT2NUM(GL_ALPHA_BITS));
116
+ rb_define_const(module, "GL_ALPHA_FLOAT16_APPLE", INT2NUM(GL_ALPHA_FLOAT16_APPLE));
92
117
  rb_define_const(module, "GL_ALPHA_FLOAT16_ATI", INT2NUM(GL_ALPHA_FLOAT16_ATI));
118
+ rb_define_const(module, "GL_ALPHA_FLOAT32_APPLE", INT2NUM(GL_ALPHA_FLOAT32_APPLE));
93
119
  rb_define_const(module, "GL_ALPHA_FLOAT32_ATI", INT2NUM(GL_ALPHA_FLOAT32_ATI));
94
120
  rb_define_const(module, "GL_ALPHA_INTEGER", INT2NUM(GL_ALPHA_INTEGER));
95
121
  rb_define_const(module, "GL_ALPHA_INTEGER_EXT", INT2NUM(GL_ALPHA_INTEGER_EXT));
@@ -98,9 +124,15 @@ void gl_init_enums(VALUE module)
98
124
  rb_define_const(module, "GL_ALPHA_MIN_CLAMP_INGR", INT2NUM(GL_ALPHA_MIN_CLAMP_INGR));
99
125
  rb_define_const(module, "GL_ALPHA_MIN_SGIX", INT2NUM(GL_ALPHA_MIN_SGIX));
100
126
  rb_define_const(module, "GL_ALPHA_SCALE", INT2NUM(GL_ALPHA_SCALE));
127
+ rb_define_const(module, "GL_ALPHA_SNORM", INT2NUM(GL_ALPHA_SNORM));
101
128
  rb_define_const(module, "GL_ALPHA_TEST", INT2NUM(GL_ALPHA_TEST));
102
129
  rb_define_const(module, "GL_ALPHA_TEST_FUNC", INT2NUM(GL_ALPHA_TEST_FUNC));
130
+ rb_define_const(module, "GL_ALPHA_TEST_FUNC_QCOM", INT2NUM(GL_ALPHA_TEST_FUNC_QCOM));
131
+ rb_define_const(module, "GL_ALPHA_TEST_QCOM", INT2NUM(GL_ALPHA_TEST_QCOM));
103
132
  rb_define_const(module, "GL_ALPHA_TEST_REF", INT2NUM(GL_ALPHA_TEST_REF));
133
+ rb_define_const(module, "GL_ALPHA_TEST_REF_QCOM", INT2NUM(GL_ALPHA_TEST_REF_QCOM));
134
+ rb_define_const(module, "GL_ALREADY_SIGNALED", INT2NUM(GL_ALREADY_SIGNALED));
135
+ rb_define_const(module, "GL_ALREADY_SIGNALED_APPLE", INT2NUM(GL_ALREADY_SIGNALED_APPLE));
104
136
  rb_define_const(module, "GL_ALWAYS", INT2NUM(GL_ALWAYS));
105
137
  rb_define_const(module, "GL_ALWAYS_FAST_HINT_PGI", INT2NUM(GL_ALWAYS_FAST_HINT_PGI));
106
138
  rb_define_const(module, "GL_ALWAYS_SOFT_HINT_PGI", INT2NUM(GL_ALWAYS_SOFT_HINT_PGI));
@@ -109,7 +141,12 @@ void gl_init_enums(VALUE module)
109
141
  rb_define_const(module, "GL_AND", INT2NUM(GL_AND));
110
142
  rb_define_const(module, "GL_AND_INVERTED", INT2NUM(GL_AND_INVERTED));
111
143
  rb_define_const(module, "GL_AND_REVERSE", INT2NUM(GL_AND_REVERSE));
144
+ rb_define_const(module, "GL_ANY_SAMPLES_PASSED", INT2NUM(GL_ANY_SAMPLES_PASSED));
145
+ rb_define_const(module, "GL_ANY_SAMPLES_PASSED_CONSERVATIVE", INT2NUM(GL_ANY_SAMPLES_PASSED_CONSERVATIVE));
146
+ rb_define_const(module, "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT", INT2NUM(GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT));
147
+ rb_define_const(module, "GL_ANY_SAMPLES_PASSED_EXT", INT2NUM(GL_ANY_SAMPLES_PASSED_EXT));
112
148
  rb_define_const(module, "GL_ARB_imaging", INT2NUM(GL_ARB_imaging));
149
+ rb_define_const(module, "GL_ARC_TO_NV", INT2NUM(GL_ARC_TO_NV));
113
150
  rb_define_const(module, "GL_ARRAY_BUFFER", INT2NUM(GL_ARRAY_BUFFER));
114
151
  rb_define_const(module, "GL_ARRAY_BUFFER_ARB", INT2NUM(GL_ARRAY_BUFFER_ARB));
115
152
  rb_define_const(module, "GL_ARRAY_BUFFER_BINDING", INT2NUM(GL_ARRAY_BUFFER_BINDING));
@@ -118,11 +155,32 @@ void gl_init_enums(VALUE module)
118
155
  rb_define_const(module, "GL_ARRAY_ELEMENT_LOCK_FIRST_EXT", INT2NUM(GL_ARRAY_ELEMENT_LOCK_FIRST_EXT));
119
156
  rb_define_const(module, "GL_ARRAY_OBJECT_BUFFER_ATI", INT2NUM(GL_ARRAY_OBJECT_BUFFER_ATI));
120
157
  rb_define_const(module, "GL_ARRAY_OBJECT_OFFSET_ATI", INT2NUM(GL_ARRAY_OBJECT_OFFSET_ATI));
158
+ rb_define_const(module, "GL_ARRAY_SIZE", INT2NUM(GL_ARRAY_SIZE));
159
+ rb_define_const(module, "GL_ARRAY_STRIDE", INT2NUM(GL_ARRAY_STRIDE));
121
160
  rb_define_const(module, "GL_ASYNC_DRAW_PIXELS_SGIX", INT2NUM(GL_ASYNC_DRAW_PIXELS_SGIX));
122
161
  rb_define_const(module, "GL_ASYNC_HISTOGRAM_SGIX", INT2NUM(GL_ASYNC_HISTOGRAM_SGIX));
123
162
  rb_define_const(module, "GL_ASYNC_MARKER_SGIX", INT2NUM(GL_ASYNC_MARKER_SGIX));
124
163
  rb_define_const(module, "GL_ASYNC_READ_PIXELS_SGIX", INT2NUM(GL_ASYNC_READ_PIXELS_SGIX));
125
164
  rb_define_const(module, "GL_ASYNC_TEX_IMAGE_SGIX", INT2NUM(GL_ASYNC_TEX_IMAGE_SGIX));
165
+ rb_define_const(module, "GL_ATC_RGBA_EXPLICIT_ALPHA_AMD", INT2NUM(GL_ATC_RGBA_EXPLICIT_ALPHA_AMD));
166
+ rb_define_const(module, "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD", INT2NUM(GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD));
167
+ rb_define_const(module, "GL_ATC_RGB_AMD", INT2NUM(GL_ATC_RGB_AMD));
168
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BARRIER_BIT", INT2NUM(GL_ATOMIC_COUNTER_BARRIER_BIT));
169
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BARRIER_BIT_EXT", INT2NUM(GL_ATOMIC_COUNTER_BARRIER_BIT_EXT));
170
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER));
171
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS));
172
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES));
173
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_BINDING", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_BINDING));
174
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE));
175
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_INDEX", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_INDEX));
176
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER));
177
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER));
178
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER));
179
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER));
180
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER));
181
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER));
182
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_SIZE", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_SIZE));
183
+ rb_define_const(module, "GL_ATOMIC_COUNTER_BUFFER_START", INT2NUM(GL_ATOMIC_COUNTER_BUFFER_START));
126
184
  rb_define_const(module, "GL_ATTACHED_SHADERS", INT2NUM(GL_ATTACHED_SHADERS));
127
185
  rb_define_const(module, "GL_ATTENUATION_EXT", INT2NUM(GL_ATTENUATION_EXT));
128
186
  rb_define_const(module, "GL_ATTRIB_ARRAY_POINTER_NV", INT2NUM(GL_ATTRIB_ARRAY_POINTER_NV));
@@ -130,12 +188,14 @@ void gl_init_enums(VALUE module)
130
188
  rb_define_const(module, "GL_ATTRIB_ARRAY_STRIDE_NV", INT2NUM(GL_ATTRIB_ARRAY_STRIDE_NV));
131
189
  rb_define_const(module, "GL_ATTRIB_ARRAY_TYPE_NV", INT2NUM(GL_ATTRIB_ARRAY_TYPE_NV));
132
190
  rb_define_const(module, "GL_ATTRIB_STACK_DEPTH", INT2NUM(GL_ATTRIB_STACK_DEPTH));
191
+ rb_define_const(module, "GL_AUTO_GENERATE_MIPMAP", INT2NUM(GL_AUTO_GENERATE_MIPMAP));
133
192
  rb_define_const(module, "GL_AUTO_NORMAL", INT2NUM(GL_AUTO_NORMAL));
134
193
  rb_define_const(module, "GL_AUX0", INT2NUM(GL_AUX0));
135
194
  rb_define_const(module, "GL_AUX1", INT2NUM(GL_AUX1));
136
195
  rb_define_const(module, "GL_AUX2", INT2NUM(GL_AUX2));
137
196
  rb_define_const(module, "GL_AUX3", INT2NUM(GL_AUX3));
138
197
  rb_define_const(module, "GL_AUX_BUFFERS", INT2NUM(GL_AUX_BUFFERS));
198
+ rb_define_const(module, "GL_AUX_DEPTH_STENCIL_APPLE", INT2NUM(GL_AUX_DEPTH_STENCIL_APPLE));
139
199
  rb_define_const(module, "GL_AVERAGE_EXT", INT2NUM(GL_AVERAGE_EXT));
140
200
  rb_define_const(module, "GL_AVERAGE_HP", INT2NUM(GL_AVERAGE_HP));
141
201
  rb_define_const(module, "GL_BACK", INT2NUM(GL_BACK));
@@ -144,6 +204,7 @@ void gl_init_enums(VALUE module)
144
204
  rb_define_const(module, "GL_BACK_PRIMARY_COLOR_NV", INT2NUM(GL_BACK_PRIMARY_COLOR_NV));
145
205
  rb_define_const(module, "GL_BACK_RIGHT", INT2NUM(GL_BACK_RIGHT));
146
206
  rb_define_const(module, "GL_BACK_SECONDARY_COLOR_NV", INT2NUM(GL_BACK_SECONDARY_COLOR_NV));
207
+ rb_define_const(module, "GL_BEVEL_NV", INT2NUM(GL_BEVEL_NV));
147
208
  rb_define_const(module, "GL_BGR", INT2NUM(GL_BGR));
148
209
  rb_define_const(module, "GL_BGRA", INT2NUM(GL_BGRA));
149
210
  rb_define_const(module, "GL_BGRA_EXT", INT2NUM(GL_BGRA_EXT));
@@ -154,6 +215,7 @@ void gl_init_enums(VALUE module)
154
215
  rb_define_const(module, "GL_BGR_INTEGER_EXT", INT2NUM(GL_BGR_INTEGER_EXT));
155
216
  rb_define_const(module, "GL_BIAS_BIT_ATI", INT2NUM(GL_BIAS_BIT_ATI));
156
217
  rb_define_const(module, "GL_BIAS_BY_NEGATIVE_ONE_HALF_NV", INT2NUM(GL_BIAS_BY_NEGATIVE_ONE_HALF_NV));
218
+ rb_define_const(module, "GL_BINNING_CONTROL_HINT_QCOM", INT2NUM(GL_BINNING_CONTROL_HINT_QCOM));
157
219
  rb_define_const(module, "GL_BINORMAL_ARRAY_EXT", INT2NUM(GL_BINORMAL_ARRAY_EXT));
158
220
  rb_define_const(module, "GL_BINORMAL_ARRAY_POINTER_EXT", INT2NUM(GL_BINORMAL_ARRAY_POINTER_EXT));
159
221
  rb_define_const(module, "GL_BINORMAL_ARRAY_STRIDE_EXT", INT2NUM(GL_BINORMAL_ARRAY_STRIDE_EXT));
@@ -166,19 +228,27 @@ void gl_init_enums(VALUE module)
166
228
  rb_define_const(module, "GL_BLEND_DST", INT2NUM(GL_BLEND_DST));
167
229
  rb_define_const(module, "GL_BLEND_DST_ALPHA", INT2NUM(GL_BLEND_DST_ALPHA));
168
230
  rb_define_const(module, "GL_BLEND_DST_ALPHA_EXT", INT2NUM(GL_BLEND_DST_ALPHA_EXT));
231
+ rb_define_const(module, "GL_BLEND_DST_ALPHA_OES", INT2NUM(GL_BLEND_DST_ALPHA_OES));
169
232
  rb_define_const(module, "GL_BLEND_DST_RGB", INT2NUM(GL_BLEND_DST_RGB));
170
233
  rb_define_const(module, "GL_BLEND_DST_RGB_EXT", INT2NUM(GL_BLEND_DST_RGB_EXT));
234
+ rb_define_const(module, "GL_BLEND_DST_RGB_OES", INT2NUM(GL_BLEND_DST_RGB_OES));
171
235
  rb_define_const(module, "GL_BLEND_EQUATION", INT2NUM(GL_BLEND_EQUATION));
172
236
  rb_define_const(module, "GL_BLEND_EQUATION_ALPHA", INT2NUM(GL_BLEND_EQUATION_ALPHA));
173
237
  rb_define_const(module, "GL_BLEND_EQUATION_ALPHA_EXT", INT2NUM(GL_BLEND_EQUATION_ALPHA_EXT));
238
+ rb_define_const(module, "GL_BLEND_EQUATION_ALPHA_OES", INT2NUM(GL_BLEND_EQUATION_ALPHA_OES));
174
239
  rb_define_const(module, "GL_BLEND_EQUATION_EXT", INT2NUM(GL_BLEND_EQUATION_EXT));
240
+ rb_define_const(module, "GL_BLEND_EQUATION_OES", INT2NUM(GL_BLEND_EQUATION_OES));
175
241
  rb_define_const(module, "GL_BLEND_EQUATION_RGB", INT2NUM(GL_BLEND_EQUATION_RGB));
176
242
  rb_define_const(module, "GL_BLEND_EQUATION_RGB_EXT", INT2NUM(GL_BLEND_EQUATION_RGB_EXT));
243
+ rb_define_const(module, "GL_BLEND_EQUATION_RGB_OES", INT2NUM(GL_BLEND_EQUATION_RGB_OES));
177
244
  rb_define_const(module, "GL_BLEND_SRC", INT2NUM(GL_BLEND_SRC));
178
245
  rb_define_const(module, "GL_BLEND_SRC_ALPHA", INT2NUM(GL_BLEND_SRC_ALPHA));
179
246
  rb_define_const(module, "GL_BLEND_SRC_ALPHA_EXT", INT2NUM(GL_BLEND_SRC_ALPHA_EXT));
247
+ rb_define_const(module, "GL_BLEND_SRC_ALPHA_OES", INT2NUM(GL_BLEND_SRC_ALPHA_OES));
180
248
  rb_define_const(module, "GL_BLEND_SRC_RGB", INT2NUM(GL_BLEND_SRC_RGB));
181
249
  rb_define_const(module, "GL_BLEND_SRC_RGB_EXT", INT2NUM(GL_BLEND_SRC_RGB_EXT));
250
+ rb_define_const(module, "GL_BLEND_SRC_RGB_OES", INT2NUM(GL_BLEND_SRC_RGB_OES));
251
+ rb_define_const(module, "GL_BLOCK_INDEX", INT2NUM(GL_BLOCK_INDEX));
182
252
  rb_define_const(module, "GL_BLUE", INT2NUM(GL_BLUE));
183
253
  rb_define_const(module, "GL_BLUE_BIAS", INT2NUM(GL_BLUE_BIAS));
184
254
  rb_define_const(module, "GL_BLUE_BITS", INT2NUM(GL_BLUE_BITS));
@@ -188,6 +258,7 @@ void gl_init_enums(VALUE module)
188
258
  rb_define_const(module, "GL_BLUE_MAX_CLAMP_INGR", INT2NUM(GL_BLUE_MAX_CLAMP_INGR));
189
259
  rb_define_const(module, "GL_BLUE_MIN_CLAMP_INGR", INT2NUM(GL_BLUE_MIN_CLAMP_INGR));
190
260
  rb_define_const(module, "GL_BLUE_SCALE", INT2NUM(GL_BLUE_SCALE));
261
+ rb_define_const(module, "GL_BOLD_BIT_NV", INT2NUM(GL_BOLD_BIT_NV));
191
262
  rb_define_const(module, "GL_BOOL", INT2NUM(GL_BOOL));
192
263
  rb_define_const(module, "GL_BOOL_ARB", INT2NUM(GL_BOOL_ARB));
193
264
  rb_define_const(module, "GL_BOOL_VEC2", INT2NUM(GL_BOOL_VEC2));
@@ -196,18 +267,35 @@ void gl_init_enums(VALUE module)
196
267
  rb_define_const(module, "GL_BOOL_VEC3_ARB", INT2NUM(GL_BOOL_VEC3_ARB));
197
268
  rb_define_const(module, "GL_BOOL_VEC4", INT2NUM(GL_BOOL_VEC4));
198
269
  rb_define_const(module, "GL_BOOL_VEC4_ARB", INT2NUM(GL_BOOL_VEC4_ARB));
270
+ rb_define_const(module, "GL_BOUNDING_BOX_NV", INT2NUM(GL_BOUNDING_BOX_NV));
271
+ rb_define_const(module, "GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV", INT2NUM(GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV));
272
+ rb_define_const(module, "GL_BUFFER", INT2NUM(GL_BUFFER));
199
273
  rb_define_const(module, "GL_BUFFER_ACCESS", INT2NUM(GL_BUFFER_ACCESS));
200
274
  rb_define_const(module, "GL_BUFFER_ACCESS_ARB", INT2NUM(GL_BUFFER_ACCESS_ARB));
275
+ rb_define_const(module, "GL_BUFFER_ACCESS_FLAGS", INT2NUM(GL_BUFFER_ACCESS_FLAGS));
276
+ rb_define_const(module, "GL_BUFFER_ACCESS_OES", INT2NUM(GL_BUFFER_ACCESS_OES));
277
+ rb_define_const(module, "GL_BUFFER_BINDING", INT2NUM(GL_BUFFER_BINDING));
278
+ rb_define_const(module, "GL_BUFFER_DATA_SIZE", INT2NUM(GL_BUFFER_DATA_SIZE));
201
279
  rb_define_const(module, "GL_BUFFER_FLUSHING_UNMAP_APPLE", INT2NUM(GL_BUFFER_FLUSHING_UNMAP_APPLE));
280
+ rb_define_const(module, "GL_BUFFER_GPU_ADDRESS_NV", INT2NUM(GL_BUFFER_GPU_ADDRESS_NV));
202
281
  rb_define_const(module, "GL_BUFFER_MAPPED", INT2NUM(GL_BUFFER_MAPPED));
203
282
  rb_define_const(module, "GL_BUFFER_MAPPED_ARB", INT2NUM(GL_BUFFER_MAPPED_ARB));
283
+ rb_define_const(module, "GL_BUFFER_MAPPED_OES", INT2NUM(GL_BUFFER_MAPPED_OES));
284
+ rb_define_const(module, "GL_BUFFER_MAP_LENGTH", INT2NUM(GL_BUFFER_MAP_LENGTH));
285
+ rb_define_const(module, "GL_BUFFER_MAP_OFFSET", INT2NUM(GL_BUFFER_MAP_OFFSET));
204
286
  rb_define_const(module, "GL_BUFFER_MAP_POINTER", INT2NUM(GL_BUFFER_MAP_POINTER));
205
287
  rb_define_const(module, "GL_BUFFER_MAP_POINTER_ARB", INT2NUM(GL_BUFFER_MAP_POINTER_ARB));
288
+ rb_define_const(module, "GL_BUFFER_MAP_POINTER_OES", INT2NUM(GL_BUFFER_MAP_POINTER_OES));
289
+ rb_define_const(module, "GL_BUFFER_OBJECT_APPLE", INT2NUM(GL_BUFFER_OBJECT_APPLE));
290
+ rb_define_const(module, "GL_BUFFER_OBJECT_EXT", INT2NUM(GL_BUFFER_OBJECT_EXT));
206
291
  rb_define_const(module, "GL_BUFFER_SERIALIZED_MODIFY_APPLE", INT2NUM(GL_BUFFER_SERIALIZED_MODIFY_APPLE));
207
292
  rb_define_const(module, "GL_BUFFER_SIZE", INT2NUM(GL_BUFFER_SIZE));
208
293
  rb_define_const(module, "GL_BUFFER_SIZE_ARB", INT2NUM(GL_BUFFER_SIZE_ARB));
294
+ rb_define_const(module, "GL_BUFFER_UPDATE_BARRIER_BIT", INT2NUM(GL_BUFFER_UPDATE_BARRIER_BIT));
295
+ rb_define_const(module, "GL_BUFFER_UPDATE_BARRIER_BIT_EXT", INT2NUM(GL_BUFFER_UPDATE_BARRIER_BIT_EXT));
209
296
  rb_define_const(module, "GL_BUFFER_USAGE", INT2NUM(GL_BUFFER_USAGE));
210
297
  rb_define_const(module, "GL_BUFFER_USAGE_ARB", INT2NUM(GL_BUFFER_USAGE_ARB));
298
+ rb_define_const(module, "GL_BUFFER_VARIABLE", INT2NUM(GL_BUFFER_VARIABLE));
211
299
  rb_define_const(module, "GL_BUMP_ENVMAP_ATI", INT2NUM(GL_BUMP_ENVMAP_ATI));
212
300
  rb_define_const(module, "GL_BUMP_NUM_TEX_UNITS_ATI", INT2NUM(GL_BUMP_NUM_TEX_UNITS_ATI));
213
301
  rb_define_const(module, "GL_BUMP_ROT_MATRIX_ATI", INT2NUM(GL_BUMP_ROT_MATRIX_ATI));
@@ -220,7 +308,11 @@ void gl_init_enums(VALUE module)
220
308
  rb_define_const(module, "GL_C4UB_V2F", INT2NUM(GL_C4UB_V2F));
221
309
  rb_define_const(module, "GL_C4UB_V3F", INT2NUM(GL_C4UB_V3F));
222
310
  rb_define_const(module, "GL_CALLIGRAPHIC_FRAGMENT_SGIX", INT2NUM(GL_CALLIGRAPHIC_FRAGMENT_SGIX));
311
+ rb_define_const(module, "GL_CAVEAT_SUPPORT", INT2NUM(GL_CAVEAT_SUPPORT));
223
312
  rb_define_const(module, "GL_CCW", INT2NUM(GL_CCW));
313
+ rb_define_const(module, "GL_CIRCULAR_CCW_ARC_TO_NV", INT2NUM(GL_CIRCULAR_CCW_ARC_TO_NV));
314
+ rb_define_const(module, "GL_CIRCULAR_CW_ARC_TO_NV", INT2NUM(GL_CIRCULAR_CW_ARC_TO_NV));
315
+ rb_define_const(module, "GL_CIRCULAR_TANGENT_ARC_TO_NV", INT2NUM(GL_CIRCULAR_TANGENT_ARC_TO_NV));
224
316
  rb_define_const(module, "GL_CLAMP", INT2NUM(GL_CLAMP));
225
317
  rb_define_const(module, "GL_CLAMP_FRAGMENT_COLOR", INT2NUM(GL_CLAMP_FRAGMENT_COLOR));
226
318
  rb_define_const(module, "GL_CLAMP_FRAGMENT_COLOR_ARB", INT2NUM(GL_CLAMP_FRAGMENT_COLOR_ARB));
@@ -228,12 +320,14 @@ void gl_init_enums(VALUE module)
228
320
  rb_define_const(module, "GL_CLAMP_READ_COLOR_ARB", INT2NUM(GL_CLAMP_READ_COLOR_ARB));
229
321
  rb_define_const(module, "GL_CLAMP_TO_BORDER", INT2NUM(GL_CLAMP_TO_BORDER));
230
322
  rb_define_const(module, "GL_CLAMP_TO_BORDER_ARB", INT2NUM(GL_CLAMP_TO_BORDER_ARB));
323
+ rb_define_const(module, "GL_CLAMP_TO_BORDER_NV", INT2NUM(GL_CLAMP_TO_BORDER_NV));
231
324
  rb_define_const(module, "GL_CLAMP_TO_BORDER_SGIS", INT2NUM(GL_CLAMP_TO_BORDER_SGIS));
232
325
  rb_define_const(module, "GL_CLAMP_TO_EDGE", INT2NUM(GL_CLAMP_TO_EDGE));
233
326
  rb_define_const(module, "GL_CLAMP_TO_EDGE_SGIS", INT2NUM(GL_CLAMP_TO_EDGE_SGIS));
234
327
  rb_define_const(module, "GL_CLAMP_VERTEX_COLOR", INT2NUM(GL_CLAMP_VERTEX_COLOR));
235
328
  rb_define_const(module, "GL_CLAMP_VERTEX_COLOR_ARB", INT2NUM(GL_CLAMP_VERTEX_COLOR_ARB));
236
329
  rb_define_const(module, "GL_CLEAR", INT2NUM(GL_CLEAR));
330
+ rb_define_const(module, "GL_CLEAR_BUFFER", INT2NUM(GL_CLEAR_BUFFER));
237
331
  rb_define_const(module, "GL_CLIENT_ACTIVE_TEXTURE", INT2NUM(GL_CLIENT_ACTIVE_TEXTURE));
238
332
  rb_define_const(module, "GL_CLIENT_ACTIVE_TEXTURE_ARB", INT2NUM(GL_CLIENT_ACTIVE_TEXTURE_ARB));
239
333
  rb_define_const(module, "GL_CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_CLIENT_ALL_ATTRIB_BITS));
@@ -246,6 +340,8 @@ void gl_init_enums(VALUE module)
246
340
  rb_define_const(module, "GL_CLIP_DISTANCE3", INT2NUM(GL_CLIP_DISTANCE3));
247
341
  rb_define_const(module, "GL_CLIP_DISTANCE4", INT2NUM(GL_CLIP_DISTANCE4));
248
342
  rb_define_const(module, "GL_CLIP_DISTANCE5", INT2NUM(GL_CLIP_DISTANCE5));
343
+ rb_define_const(module, "GL_CLIP_DISTANCE6", INT2NUM(GL_CLIP_DISTANCE6));
344
+ rb_define_const(module, "GL_CLIP_DISTANCE7", INT2NUM(GL_CLIP_DISTANCE7));
249
345
  rb_define_const(module, "GL_CLIP_DISTANCE_NV", INT2NUM(GL_CLIP_DISTANCE_NV));
250
346
  rb_define_const(module, "GL_CLIP_FAR_HINT_PGI", INT2NUM(GL_CLIP_FAR_HINT_PGI));
251
347
  rb_define_const(module, "GL_CLIP_NEAR_HINT_PGI", INT2NUM(GL_CLIP_NEAR_HINT_PGI));
@@ -256,6 +352,7 @@ void gl_init_enums(VALUE module)
256
352
  rb_define_const(module, "GL_CLIP_PLANE4", INT2NUM(GL_CLIP_PLANE4));
257
353
  rb_define_const(module, "GL_CLIP_PLANE5", INT2NUM(GL_CLIP_PLANE5));
258
354
  rb_define_const(module, "GL_CLIP_VOLUME_CLIPPING_HINT_EXT", INT2NUM(GL_CLIP_VOLUME_CLIPPING_HINT_EXT));
355
+ rb_define_const(module, "GL_CLOSE_PATH_NV", INT2NUM(GL_CLOSE_PATH_NV));
259
356
  rb_define_const(module, "GL_CMYKA_EXT", INT2NUM(GL_CMYKA_EXT));
260
357
  rb_define_const(module, "GL_CMYK_EXT", INT2NUM(GL_CMYK_EXT));
261
358
  rb_define_const(module, "GL_CND0_ATI", INT2NUM(GL_CND0_ATI));
@@ -266,10 +363,12 @@ void gl_init_enums(VALUE module)
266
363
  rb_define_const(module, "GL_COLOR4_BIT_PGI", INT2NUM(GL_COLOR4_BIT_PGI));
267
364
  rb_define_const(module, "GL_COLOR_ALPHA_PAIRING_ATI", INT2NUM(GL_COLOR_ALPHA_PAIRING_ATI));
268
365
  rb_define_const(module, "GL_COLOR_ARRAY", INT2NUM(GL_COLOR_ARRAY));
366
+ rb_define_const(module, "GL_COLOR_ARRAY_ADDRESS_NV", INT2NUM(GL_COLOR_ARRAY_ADDRESS_NV));
269
367
  rb_define_const(module, "GL_COLOR_ARRAY_BUFFER_BINDING", INT2NUM(GL_COLOR_ARRAY_BUFFER_BINDING));
270
368
  rb_define_const(module, "GL_COLOR_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_COLOR_ARRAY_BUFFER_BINDING_ARB));
271
369
  rb_define_const(module, "GL_COLOR_ARRAY_COUNT_EXT", INT2NUM(GL_COLOR_ARRAY_COUNT_EXT));
272
370
  rb_define_const(module, "GL_COLOR_ARRAY_EXT", INT2NUM(GL_COLOR_ARRAY_EXT));
371
+ rb_define_const(module, "GL_COLOR_ARRAY_LENGTH_NV", INT2NUM(GL_COLOR_ARRAY_LENGTH_NV));
273
372
  rb_define_const(module, "GL_COLOR_ARRAY_LIST_IBM", INT2NUM(GL_COLOR_ARRAY_LIST_IBM));
274
373
  rb_define_const(module, "GL_COLOR_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_COLOR_ARRAY_LIST_STRIDE_IBM));
275
374
  rb_define_const(module, "GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL));
@@ -283,39 +382,61 @@ void gl_init_enums(VALUE module)
283
382
  rb_define_const(module, "GL_COLOR_ARRAY_TYPE_EXT", INT2NUM(GL_COLOR_ARRAY_TYPE_EXT));
284
383
  rb_define_const(module, "GL_COLOR_ATTACHMENT0", INT2NUM(GL_COLOR_ATTACHMENT0));
285
384
  rb_define_const(module, "GL_COLOR_ATTACHMENT0_EXT", INT2NUM(GL_COLOR_ATTACHMENT0_EXT));
385
+ rb_define_const(module, "GL_COLOR_ATTACHMENT0_NV", INT2NUM(GL_COLOR_ATTACHMENT0_NV));
386
+ rb_define_const(module, "GL_COLOR_ATTACHMENT0_OES", INT2NUM(GL_COLOR_ATTACHMENT0_OES));
286
387
  rb_define_const(module, "GL_COLOR_ATTACHMENT1", INT2NUM(GL_COLOR_ATTACHMENT1));
287
388
  rb_define_const(module, "GL_COLOR_ATTACHMENT10", INT2NUM(GL_COLOR_ATTACHMENT10));
288
389
  rb_define_const(module, "GL_COLOR_ATTACHMENT10_EXT", INT2NUM(GL_COLOR_ATTACHMENT10_EXT));
390
+ rb_define_const(module, "GL_COLOR_ATTACHMENT10_NV", INT2NUM(GL_COLOR_ATTACHMENT10_NV));
289
391
  rb_define_const(module, "GL_COLOR_ATTACHMENT11", INT2NUM(GL_COLOR_ATTACHMENT11));
290
392
  rb_define_const(module, "GL_COLOR_ATTACHMENT11_EXT", INT2NUM(GL_COLOR_ATTACHMENT11_EXT));
393
+ rb_define_const(module, "GL_COLOR_ATTACHMENT11_NV", INT2NUM(GL_COLOR_ATTACHMENT11_NV));
291
394
  rb_define_const(module, "GL_COLOR_ATTACHMENT12", INT2NUM(GL_COLOR_ATTACHMENT12));
292
395
  rb_define_const(module, "GL_COLOR_ATTACHMENT12_EXT", INT2NUM(GL_COLOR_ATTACHMENT12_EXT));
396
+ rb_define_const(module, "GL_COLOR_ATTACHMENT12_NV", INT2NUM(GL_COLOR_ATTACHMENT12_NV));
293
397
  rb_define_const(module, "GL_COLOR_ATTACHMENT13", INT2NUM(GL_COLOR_ATTACHMENT13));
294
398
  rb_define_const(module, "GL_COLOR_ATTACHMENT13_EXT", INT2NUM(GL_COLOR_ATTACHMENT13_EXT));
399
+ rb_define_const(module, "GL_COLOR_ATTACHMENT13_NV", INT2NUM(GL_COLOR_ATTACHMENT13_NV));
295
400
  rb_define_const(module, "GL_COLOR_ATTACHMENT14", INT2NUM(GL_COLOR_ATTACHMENT14));
296
401
  rb_define_const(module, "GL_COLOR_ATTACHMENT14_EXT", INT2NUM(GL_COLOR_ATTACHMENT14_EXT));
402
+ rb_define_const(module, "GL_COLOR_ATTACHMENT14_NV", INT2NUM(GL_COLOR_ATTACHMENT14_NV));
297
403
  rb_define_const(module, "GL_COLOR_ATTACHMENT15", INT2NUM(GL_COLOR_ATTACHMENT15));
298
404
  rb_define_const(module, "GL_COLOR_ATTACHMENT15_EXT", INT2NUM(GL_COLOR_ATTACHMENT15_EXT));
405
+ rb_define_const(module, "GL_COLOR_ATTACHMENT15_NV", INT2NUM(GL_COLOR_ATTACHMENT15_NV));
299
406
  rb_define_const(module, "GL_COLOR_ATTACHMENT1_EXT", INT2NUM(GL_COLOR_ATTACHMENT1_EXT));
407
+ rb_define_const(module, "GL_COLOR_ATTACHMENT1_NV", INT2NUM(GL_COLOR_ATTACHMENT1_NV));
300
408
  rb_define_const(module, "GL_COLOR_ATTACHMENT2", INT2NUM(GL_COLOR_ATTACHMENT2));
301
409
  rb_define_const(module, "GL_COLOR_ATTACHMENT2_EXT", INT2NUM(GL_COLOR_ATTACHMENT2_EXT));
410
+ rb_define_const(module, "GL_COLOR_ATTACHMENT2_NV", INT2NUM(GL_COLOR_ATTACHMENT2_NV));
302
411
  rb_define_const(module, "GL_COLOR_ATTACHMENT3", INT2NUM(GL_COLOR_ATTACHMENT3));
303
412
  rb_define_const(module, "GL_COLOR_ATTACHMENT3_EXT", INT2NUM(GL_COLOR_ATTACHMENT3_EXT));
413
+ rb_define_const(module, "GL_COLOR_ATTACHMENT3_NV", INT2NUM(GL_COLOR_ATTACHMENT3_NV));
304
414
  rb_define_const(module, "GL_COLOR_ATTACHMENT4", INT2NUM(GL_COLOR_ATTACHMENT4));
305
415
  rb_define_const(module, "GL_COLOR_ATTACHMENT4_EXT", INT2NUM(GL_COLOR_ATTACHMENT4_EXT));
416
+ rb_define_const(module, "GL_COLOR_ATTACHMENT4_NV", INT2NUM(GL_COLOR_ATTACHMENT4_NV));
306
417
  rb_define_const(module, "GL_COLOR_ATTACHMENT5", INT2NUM(GL_COLOR_ATTACHMENT5));
307
418
  rb_define_const(module, "GL_COLOR_ATTACHMENT5_EXT", INT2NUM(GL_COLOR_ATTACHMENT5_EXT));
419
+ rb_define_const(module, "GL_COLOR_ATTACHMENT5_NV", INT2NUM(GL_COLOR_ATTACHMENT5_NV));
308
420
  rb_define_const(module, "GL_COLOR_ATTACHMENT6", INT2NUM(GL_COLOR_ATTACHMENT6));
309
421
  rb_define_const(module, "GL_COLOR_ATTACHMENT6_EXT", INT2NUM(GL_COLOR_ATTACHMENT6_EXT));
422
+ rb_define_const(module, "GL_COLOR_ATTACHMENT6_NV", INT2NUM(GL_COLOR_ATTACHMENT6_NV));
310
423
  rb_define_const(module, "GL_COLOR_ATTACHMENT7", INT2NUM(GL_COLOR_ATTACHMENT7));
311
424
  rb_define_const(module, "GL_COLOR_ATTACHMENT7_EXT", INT2NUM(GL_COLOR_ATTACHMENT7_EXT));
425
+ rb_define_const(module, "GL_COLOR_ATTACHMENT7_NV", INT2NUM(GL_COLOR_ATTACHMENT7_NV));
312
426
  rb_define_const(module, "GL_COLOR_ATTACHMENT8", INT2NUM(GL_COLOR_ATTACHMENT8));
313
427
  rb_define_const(module, "GL_COLOR_ATTACHMENT8_EXT", INT2NUM(GL_COLOR_ATTACHMENT8_EXT));
428
+ rb_define_const(module, "GL_COLOR_ATTACHMENT8_NV", INT2NUM(GL_COLOR_ATTACHMENT8_NV));
314
429
  rb_define_const(module, "GL_COLOR_ATTACHMENT9", INT2NUM(GL_COLOR_ATTACHMENT9));
315
430
  rb_define_const(module, "GL_COLOR_ATTACHMENT9_EXT", INT2NUM(GL_COLOR_ATTACHMENT9_EXT));
431
+ rb_define_const(module, "GL_COLOR_ATTACHMENT9_NV", INT2NUM(GL_COLOR_ATTACHMENT9_NV));
432
+ rb_define_const(module, "GL_COLOR_ATTACHMENT_EXT", INT2NUM(GL_COLOR_ATTACHMENT_EXT));
316
433
  rb_define_const(module, "GL_COLOR_BUFFER_BIT", INT2NUM(GL_COLOR_BUFFER_BIT));
317
434
  rb_define_const(module, "GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI", INT2NUM(GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI));
318
435
  rb_define_const(module, "GL_COLOR_CLEAR_VALUE", INT2NUM(GL_COLOR_CLEAR_VALUE));
436
+ rb_define_const(module, "GL_COLOR_COMPONENTS", INT2NUM(GL_COLOR_COMPONENTS));
437
+ rb_define_const(module, "GL_COLOR_ENCODING", INT2NUM(GL_COLOR_ENCODING));
438
+ rb_define_const(module, "GL_COLOR_EXT", INT2NUM(GL_COLOR_EXT));
439
+ rb_define_const(module, "GL_COLOR_FLOAT_APPLE", INT2NUM(GL_COLOR_FLOAT_APPLE));
319
440
  rb_define_const(module, "GL_COLOR_INDEX", INT2NUM(GL_COLOR_INDEX));
320
441
  rb_define_const(module, "GL_COLOR_INDEX12_EXT", INT2NUM(GL_COLOR_INDEX12_EXT));
321
442
  rb_define_const(module, "GL_COLOR_INDEX16_EXT", INT2NUM(GL_COLOR_INDEX16_EXT));
@@ -332,6 +453,8 @@ void gl_init_enums(VALUE module)
332
453
  rb_define_const(module, "GL_COLOR_MATRIX_SGI", INT2NUM(GL_COLOR_MATRIX_SGI));
333
454
  rb_define_const(module, "GL_COLOR_MATRIX_STACK_DEPTH", INT2NUM(GL_COLOR_MATRIX_STACK_DEPTH));
334
455
  rb_define_const(module, "GL_COLOR_MATRIX_STACK_DEPTH_SGI", INT2NUM(GL_COLOR_MATRIX_STACK_DEPTH_SGI));
456
+ rb_define_const(module, "GL_COLOR_RENDERABLE", INT2NUM(GL_COLOR_RENDERABLE));
457
+ rb_define_const(module, "GL_COLOR_SAMPLES_NV", INT2NUM(GL_COLOR_SAMPLES_NV));
335
458
  rb_define_const(module, "GL_COLOR_SUM", INT2NUM(GL_COLOR_SUM));
336
459
  rb_define_const(module, "GL_COLOR_SUM_ARB", INT2NUM(GL_COLOR_SUM_ARB));
337
460
  rb_define_const(module, "GL_COLOR_SUM_CLAMP_NV", INT2NUM(GL_COLOR_SUM_CLAMP_NV));
@@ -388,10 +511,14 @@ void gl_init_enums(VALUE module)
388
511
  rb_define_const(module, "GL_COMBINE_RGB", INT2NUM(GL_COMBINE_RGB));
389
512
  rb_define_const(module, "GL_COMBINE_RGB_ARB", INT2NUM(GL_COMBINE_RGB_ARB));
390
513
  rb_define_const(module, "GL_COMBINE_RGB_EXT", INT2NUM(GL_COMBINE_RGB_EXT));
514
+ rb_define_const(module, "GL_COMMAND_BARRIER_BIT", INT2NUM(GL_COMMAND_BARRIER_BIT));
515
+ rb_define_const(module, "GL_COMMAND_BARRIER_BIT_EXT", INT2NUM(GL_COMMAND_BARRIER_BIT_EXT));
391
516
  rb_define_const(module, "GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT", INT2NUM(GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT));
392
517
  rb_define_const(module, "GL_COMPARE_REF_TO_TEXTURE", INT2NUM(GL_COMPARE_REF_TO_TEXTURE));
518
+ rb_define_const(module, "GL_COMPARE_REF_TO_TEXTURE_EXT", INT2NUM(GL_COMPARE_REF_TO_TEXTURE_EXT));
393
519
  rb_define_const(module, "GL_COMPARE_R_TO_TEXTURE", INT2NUM(GL_COMPARE_R_TO_TEXTURE));
394
520
  rb_define_const(module, "GL_COMPARE_R_TO_TEXTURE_ARB", INT2NUM(GL_COMPARE_R_TO_TEXTURE_ARB));
521
+ rb_define_const(module, "GL_COMPATIBLE_SUBROUTINES", INT2NUM(GL_COMPATIBLE_SUBROUTINES));
395
522
  rb_define_const(module, "GL_COMPILE", INT2NUM(GL_COMPILE));
396
523
  rb_define_const(module, "GL_COMPILE_AND_EXECUTE", INT2NUM(GL_COMPILE_AND_EXECUTE));
397
524
  rb_define_const(module, "GL_COMPILE_STATUS", INT2NUM(GL_COMPILE_STATUS));
@@ -405,43 +532,107 @@ void gl_init_enums(VALUE module)
405
532
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT", INT2NUM(GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT));
406
533
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ARB", INT2NUM(GL_COMPRESSED_LUMINANCE_ARB));
407
534
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_LATC1_EXT", INT2NUM(GL_COMPRESSED_LUMINANCE_LATC1_EXT));
535
+ rb_define_const(module, "GL_COMPRESSED_R11_EAC", INT2NUM(GL_COMPRESSED_R11_EAC));
408
536
  rb_define_const(module, "GL_COMPRESSED_RED", INT2NUM(GL_COMPRESSED_RED));
409
537
  rb_define_const(module, "GL_COMPRESSED_RED_GREEN_RGTC2_EXT", INT2NUM(GL_COMPRESSED_RED_GREEN_RGTC2_EXT));
410
538
  rb_define_const(module, "GL_COMPRESSED_RED_RGTC1", INT2NUM(GL_COMPRESSED_RED_RGTC1));
411
539
  rb_define_const(module, "GL_COMPRESSED_RED_RGTC1_EXT", INT2NUM(GL_COMPRESSED_RED_RGTC1_EXT));
412
540
  rb_define_const(module, "GL_COMPRESSED_RG", INT2NUM(GL_COMPRESSED_RG));
541
+ rb_define_const(module, "GL_COMPRESSED_RG11_EAC", INT2NUM(GL_COMPRESSED_RG11_EAC));
413
542
  rb_define_const(module, "GL_COMPRESSED_RGB", INT2NUM(GL_COMPRESSED_RGB));
543
+ rb_define_const(module, "GL_COMPRESSED_RGB8_ETC2", INT2NUM(GL_COMPRESSED_RGB8_ETC2));
544
+ rb_define_const(module, "GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2", INT2NUM(GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2));
414
545
  rb_define_const(module, "GL_COMPRESSED_RGBA", INT2NUM(GL_COMPRESSED_RGBA));
546
+ rb_define_const(module, "GL_COMPRESSED_RGBA8_ETC2_EAC", INT2NUM(GL_COMPRESSED_RGBA8_ETC2_EAC));
415
547
  rb_define_const(module, "GL_COMPRESSED_RGBA_ARB", INT2NUM(GL_COMPRESSED_RGBA_ARB));
548
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_10x10_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_10x10_KHR));
549
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_10x5_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_10x5_KHR));
550
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_10x6_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_10x6_KHR));
551
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_10x8_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_10x8_KHR));
552
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_12x10_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_12x10_KHR));
553
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_12x12_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_12x12_KHR));
554
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_4x4_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_4x4_KHR));
555
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_5x4_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_5x4_KHR));
556
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_5x5_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_5x5_KHR));
557
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_6x5_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_6x5_KHR));
558
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_6x6_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_6x6_KHR));
559
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_8x5_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_8x5_KHR));
560
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_8x6_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_8x6_KHR));
561
+ rb_define_const(module, "GL_COMPRESSED_RGBA_ASTC_8x8_KHR", INT2NUM(GL_COMPRESSED_RGBA_ASTC_8x8_KHR));
562
+ rb_define_const(module, "GL_COMPRESSED_RGBA_BPTC_UNORM_ARB", INT2NUM(GL_COMPRESSED_RGBA_BPTC_UNORM_ARB));
416
563
  rb_define_const(module, "GL_COMPRESSED_RGBA_FXT1_3DFX", INT2NUM(GL_COMPRESSED_RGBA_FXT1_3DFX));
564
+ rb_define_const(module, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG", INT2NUM(GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG));
565
+ rb_define_const(module, "GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG", INT2NUM(GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG));
566
+ rb_define_const(module, "GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG", INT2NUM(GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG));
567
+ rb_define_const(module, "GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG", INT2NUM(GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG));
417
568
  rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT));
569
+ rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE));
418
570
  rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT));
571
+ rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE));
419
572
  rb_define_const(module, "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT", INT2NUM(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT));
420
573
  rb_define_const(module, "GL_COMPRESSED_RGB_ARB", INT2NUM(GL_COMPRESSED_RGB_ARB));
574
+ rb_define_const(module, "GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB", INT2NUM(GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB));
575
+ rb_define_const(module, "GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB", INT2NUM(GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB));
421
576
  rb_define_const(module, "GL_COMPRESSED_RGB_FXT1_3DFX", INT2NUM(GL_COMPRESSED_RGB_FXT1_3DFX));
577
+ rb_define_const(module, "GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG", INT2NUM(GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG));
578
+ rb_define_const(module, "GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG", INT2NUM(GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG));
422
579
  rb_define_const(module, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_RGB_S3TC_DXT1_EXT));
423
580
  rb_define_const(module, "GL_COMPRESSED_RG_RGTC2", INT2NUM(GL_COMPRESSED_RG_RGTC2));
424
581
  rb_define_const(module, "GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT", INT2NUM(GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT));
425
582
  rb_define_const(module, "GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT", INT2NUM(GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT));
583
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_R11_EAC", INT2NUM(GL_COMPRESSED_SIGNED_R11_EAC));
426
584
  rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT", INT2NUM(GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT));
427
585
  rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_RGTC1", INT2NUM(GL_COMPRESSED_SIGNED_RED_RGTC1));
428
586
  rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_RGTC1_EXT", INT2NUM(GL_COMPRESSED_SIGNED_RED_RGTC1_EXT));
587
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_RG11_EAC", INT2NUM(GL_COMPRESSED_SIGNED_RG11_EAC));
429
588
  rb_define_const(module, "GL_COMPRESSED_SIGNED_RG_RGTC2", INT2NUM(GL_COMPRESSED_SIGNED_RG_RGTC2));
430
589
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE", INT2NUM(GL_COMPRESSED_SLUMINANCE));
431
590
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA));
432
591
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA_EXT));
433
592
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_EXT", INT2NUM(GL_COMPRESSED_SLUMINANCE_EXT));
434
593
  rb_define_const(module, "GL_COMPRESSED_SRGB", INT2NUM(GL_COMPRESSED_SRGB));
594
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR));
595
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR));
596
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR));
597
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR));
598
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR));
599
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR));
600
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR));
601
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR));
602
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR));
603
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR));
604
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR));
605
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR));
606
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR));
607
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR));
608
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC", INT2NUM(GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC));
609
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_ETC2", INT2NUM(GL_COMPRESSED_SRGB8_ETC2));
610
+ rb_define_const(module, "GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2", INT2NUM(GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2));
435
611
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA", INT2NUM(GL_COMPRESSED_SRGB_ALPHA));
612
+ rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB));
436
613
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_EXT));
437
614
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT));
615
+ rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV));
438
616
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT));
617
+ rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV));
439
618
  rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT));
619
+ rb_define_const(module, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV", INT2NUM(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV));
440
620
  rb_define_const(module, "GL_COMPRESSED_SRGB_EXT", INT2NUM(GL_COMPRESSED_SRGB_EXT));
441
621
  rb_define_const(module, "GL_COMPRESSED_SRGB_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_SRGB_S3TC_DXT1_EXT));
622
+ rb_define_const(module, "GL_COMPRESSED_SRGB_S3TC_DXT1_NV", INT2NUM(GL_COMPRESSED_SRGB_S3TC_DXT1_NV));
442
623
  rb_define_const(module, "GL_COMPRESSED_TEXTURE_FORMATS", INT2NUM(GL_COMPRESSED_TEXTURE_FORMATS));
443
624
  rb_define_const(module, "GL_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_COMPRESSED_TEXTURE_FORMATS_ARB));
625
+ rb_define_const(module, "GL_COMPUTE_LOCAL_WORK_SIZE", INT2NUM(GL_COMPUTE_LOCAL_WORK_SIZE));
626
+ rb_define_const(module, "GL_COMPUTE_PROGRAM_NV", INT2NUM(GL_COMPUTE_PROGRAM_NV));
627
+ rb_define_const(module, "GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV));
628
+ rb_define_const(module, "GL_COMPUTE_SHADER", INT2NUM(GL_COMPUTE_SHADER));
629
+ rb_define_const(module, "GL_COMPUTE_SHADER_BIT", INT2NUM(GL_COMPUTE_SHADER_BIT));
630
+ rb_define_const(module, "GL_COMPUTE_SUBROUTINE", INT2NUM(GL_COMPUTE_SUBROUTINE));
631
+ rb_define_const(module, "GL_COMPUTE_SUBROUTINE_UNIFORM", INT2NUM(GL_COMPUTE_SUBROUTINE_UNIFORM));
632
+ rb_define_const(module, "GL_COMPUTE_TEXTURE", INT2NUM(GL_COMPUTE_TEXTURE));
444
633
  rb_define_const(module, "GL_COMP_BIT_ATI", INT2NUM(GL_COMP_BIT_ATI));
634
+ rb_define_const(module, "GL_CONDITION_SATISFIED", INT2NUM(GL_CONDITION_SATISFIED));
635
+ rb_define_const(module, "GL_CONDITION_SATISFIED_APPLE", INT2NUM(GL_CONDITION_SATISFIED_APPLE));
445
636
  rb_define_const(module, "GL_CONSERVE_MEMORY_HINT_PGI", INT2NUM(GL_CONSERVE_MEMORY_HINT_PGI));
446
637
  rb_define_const(module, "GL_CONSTANT", INT2NUM(GL_CONSTANT));
447
638
  rb_define_const(module, "GL_CONSTANT_ALPHA", INT2NUM(GL_CONSTANT_ALPHA));
@@ -456,8 +647,15 @@ void gl_init_enums(VALUE module)
456
647
  rb_define_const(module, "GL_CONSTANT_COLOR_EXT", INT2NUM(GL_CONSTANT_COLOR_EXT));
457
648
  rb_define_const(module, "GL_CONSTANT_EXT", INT2NUM(GL_CONSTANT_EXT));
458
649
  rb_define_const(module, "GL_CONST_EYE_NV", INT2NUM(GL_CONST_EYE_NV));
650
+ rb_define_const(module, "GL_CONTEXT_COMPATIBILITY_PROFILE_BIT", INT2NUM(GL_CONTEXT_COMPATIBILITY_PROFILE_BIT));
651
+ rb_define_const(module, "GL_CONTEXT_CORE_PROFILE_BIT", INT2NUM(GL_CONTEXT_CORE_PROFILE_BIT));
459
652
  rb_define_const(module, "GL_CONTEXT_FLAGS", INT2NUM(GL_CONTEXT_FLAGS));
653
+ rb_define_const(module, "GL_CONTEXT_FLAG_DEBUG_BIT", INT2NUM(GL_CONTEXT_FLAG_DEBUG_BIT));
460
654
  rb_define_const(module, "GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT", INT2NUM(GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT));
655
+ rb_define_const(module, "GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB", INT2NUM(GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB));
656
+ rb_define_const(module, "GL_CONTEXT_PROFILE_MASK", INT2NUM(GL_CONTEXT_PROFILE_MASK));
657
+ rb_define_const(module, "GL_CONTINUOUS_AMD", INT2NUM(GL_CONTINUOUS_AMD));
658
+ rb_define_const(module, "GL_CONVEX_HULL_NV", INT2NUM(GL_CONVEX_HULL_NV));
461
659
  rb_define_const(module, "GL_CONVOLUTION_1D", INT2NUM(GL_CONVOLUTION_1D));
462
660
  rb_define_const(module, "GL_CONVOLUTION_1D_EXT", INT2NUM(GL_CONVOLUTION_1D_EXT));
463
661
  rb_define_const(module, "GL_CONVOLUTION_2D", INT2NUM(GL_CONVOLUTION_2D));
@@ -515,6 +713,25 @@ void gl_init_enums(VALUE module)
515
713
  rb_define_const(module, "GL_COPY", INT2NUM(GL_COPY));
516
714
  rb_define_const(module, "GL_COPY_INVERTED", INT2NUM(GL_COPY_INVERTED));
517
715
  rb_define_const(module, "GL_COPY_PIXEL_TOKEN", INT2NUM(GL_COPY_PIXEL_TOKEN));
716
+ rb_define_const(module, "GL_COPY_READ_BUFFER", INT2NUM(GL_COPY_READ_BUFFER));
717
+ rb_define_const(module, "GL_COPY_READ_BUFFER_BINDING", INT2NUM(GL_COPY_READ_BUFFER_BINDING));
718
+ rb_define_const(module, "GL_COPY_WRITE_BUFFER", INT2NUM(GL_COPY_WRITE_BUFFER));
719
+ rb_define_const(module, "GL_COPY_WRITE_BUFFER_BINDING", INT2NUM(GL_COPY_WRITE_BUFFER_BINDING));
720
+ rb_define_const(module, "GL_COUNTER_RANGE_AMD", INT2NUM(GL_COUNTER_RANGE_AMD));
721
+ rb_define_const(module, "GL_COUNTER_TYPE_AMD", INT2NUM(GL_COUNTER_TYPE_AMD));
722
+ rb_define_const(module, "GL_COUNT_DOWN_NV", INT2NUM(GL_COUNT_DOWN_NV));
723
+ rb_define_const(module, "GL_COUNT_UP_NV", INT2NUM(GL_COUNT_UP_NV));
724
+ rb_define_const(module, "GL_COVERAGE_ALL_FRAGMENTS_NV", INT2NUM(GL_COVERAGE_ALL_FRAGMENTS_NV));
725
+ rb_define_const(module, "GL_COVERAGE_ATTACHMENT_NV", INT2NUM(GL_COVERAGE_ATTACHMENT_NV));
726
+ rb_define_const(module, "GL_COVERAGE_AUTOMATIC_NV", INT2NUM(GL_COVERAGE_AUTOMATIC_NV));
727
+ rb_define_const(module, "GL_COVERAGE_BUFFERS_NV", INT2NUM(GL_COVERAGE_BUFFERS_NV));
728
+ rb_define_const(module, "GL_COVERAGE_BUFFER_BIT_NV", INT2NUM(GL_COVERAGE_BUFFER_BIT_NV));
729
+ rb_define_const(module, "GL_COVERAGE_COMPONENT4_NV", INT2NUM(GL_COVERAGE_COMPONENT4_NV));
730
+ rb_define_const(module, "GL_COVERAGE_COMPONENT_NV", INT2NUM(GL_COVERAGE_COMPONENT_NV));
731
+ rb_define_const(module, "GL_COVERAGE_EDGE_FRAGMENTS_NV", INT2NUM(GL_COVERAGE_EDGE_FRAGMENTS_NV));
732
+ rb_define_const(module, "GL_COVERAGE_SAMPLES_NV", INT2NUM(GL_COVERAGE_SAMPLES_NV));
733
+ rb_define_const(module, "GL_CPU_OPTIMIZED_QCOM", INT2NUM(GL_CPU_OPTIMIZED_QCOM));
734
+ rb_define_const(module, "GL_CUBIC_CURVE_TO_NV", INT2NUM(GL_CUBIC_CURVE_TO_NV));
518
735
  rb_define_const(module, "GL_CUBIC_EXT", INT2NUM(GL_CUBIC_EXT));
519
736
  rb_define_const(module, "GL_CUBIC_HP", INT2NUM(GL_CUBIC_HP));
520
737
  rb_define_const(module, "GL_CULL_FACE", INT2NUM(GL_CULL_FACE));
@@ -541,9 +758,11 @@ void gl_init_enums(VALUE module)
541
758
  rb_define_const(module, "GL_CURRENT_NORMAL", INT2NUM(GL_CURRENT_NORMAL));
542
759
  rb_define_const(module, "GL_CURRENT_OCCLUSION_QUERY_ID_NV", INT2NUM(GL_CURRENT_OCCLUSION_QUERY_ID_NV));
543
760
  rb_define_const(module, "GL_CURRENT_PALETTE_MATRIX_ARB", INT2NUM(GL_CURRENT_PALETTE_MATRIX_ARB));
761
+ rb_define_const(module, "GL_CURRENT_PALETTE_MATRIX_OES", INT2NUM(GL_CURRENT_PALETTE_MATRIX_OES));
544
762
  rb_define_const(module, "GL_CURRENT_PROGRAM", INT2NUM(GL_CURRENT_PROGRAM));
545
763
  rb_define_const(module, "GL_CURRENT_QUERY", INT2NUM(GL_CURRENT_QUERY));
546
764
  rb_define_const(module, "GL_CURRENT_QUERY_ARB", INT2NUM(GL_CURRENT_QUERY_ARB));
765
+ rb_define_const(module, "GL_CURRENT_QUERY_EXT", INT2NUM(GL_CURRENT_QUERY_EXT));
547
766
  rb_define_const(module, "GL_CURRENT_RASTER_COLOR", INT2NUM(GL_CURRENT_RASTER_COLOR));
548
767
  rb_define_const(module, "GL_CURRENT_RASTER_DISTANCE", INT2NUM(GL_CURRENT_RASTER_DISTANCE));
549
768
  rb_define_const(module, "GL_CURRENT_RASTER_INDEX", INT2NUM(GL_CURRENT_RASTER_INDEX));
@@ -563,10 +782,74 @@ void gl_init_enums(VALUE module)
563
782
  rb_define_const(module, "GL_CURRENT_VERTEX_WEIGHT_EXT", INT2NUM(GL_CURRENT_VERTEX_WEIGHT_EXT));
564
783
  rb_define_const(module, "GL_CURRENT_WEIGHT_ARB", INT2NUM(GL_CURRENT_WEIGHT_ARB));
565
784
  rb_define_const(module, "GL_CW", INT2NUM(GL_CW));
785
+ rb_define_const(module, "GL_DATA_BUFFER_AMD", INT2NUM(GL_DATA_BUFFER_AMD));
786
+ rb_define_const(module, "GL_DEBUG_ASSERT_MESA", INT2NUM(GL_DEBUG_ASSERT_MESA));
787
+ rb_define_const(module, "GL_DEBUG_CALLBACK_FUNCTION", INT2NUM(GL_DEBUG_CALLBACK_FUNCTION));
788
+ rb_define_const(module, "GL_DEBUG_CALLBACK_FUNCTION_ARB", INT2NUM(GL_DEBUG_CALLBACK_FUNCTION_ARB));
789
+ rb_define_const(module, "GL_DEBUG_CALLBACK_USER_PARAM", INT2NUM(GL_DEBUG_CALLBACK_USER_PARAM));
790
+ rb_define_const(module, "GL_DEBUG_CALLBACK_USER_PARAM_ARB", INT2NUM(GL_DEBUG_CALLBACK_USER_PARAM_ARB));
791
+ rb_define_const(module, "GL_DEBUG_CATEGORY_API_ERROR_AMD", INT2NUM(GL_DEBUG_CATEGORY_API_ERROR_AMD));
792
+ rb_define_const(module, "GL_DEBUG_CATEGORY_APPLICATION_AMD", INT2NUM(GL_DEBUG_CATEGORY_APPLICATION_AMD));
793
+ rb_define_const(module, "GL_DEBUG_CATEGORY_DEPRECATION_AMD", INT2NUM(GL_DEBUG_CATEGORY_DEPRECATION_AMD));
794
+ rb_define_const(module, "GL_DEBUG_CATEGORY_OTHER_AMD", INT2NUM(GL_DEBUG_CATEGORY_OTHER_AMD));
795
+ rb_define_const(module, "GL_DEBUG_CATEGORY_PERFORMANCE_AMD", INT2NUM(GL_DEBUG_CATEGORY_PERFORMANCE_AMD));
796
+ rb_define_const(module, "GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD", INT2NUM(GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD));
797
+ rb_define_const(module, "GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD", INT2NUM(GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD));
798
+ rb_define_const(module, "GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD", INT2NUM(GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD));
799
+ rb_define_const(module, "GL_DEBUG_GROUP_STACK_DEPTH", INT2NUM(GL_DEBUG_GROUP_STACK_DEPTH));
800
+ rb_define_const(module, "GL_DEBUG_LOGGED_MESSAGES", INT2NUM(GL_DEBUG_LOGGED_MESSAGES));
801
+ rb_define_const(module, "GL_DEBUG_LOGGED_MESSAGES_AMD", INT2NUM(GL_DEBUG_LOGGED_MESSAGES_AMD));
802
+ rb_define_const(module, "GL_DEBUG_LOGGED_MESSAGES_ARB", INT2NUM(GL_DEBUG_LOGGED_MESSAGES_ARB));
803
+ rb_define_const(module, "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH", INT2NUM(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH));
804
+ rb_define_const(module, "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB", INT2NUM(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB));
805
+ rb_define_const(module, "GL_DEBUG_OBJECT_MESA", INT2NUM(GL_DEBUG_OBJECT_MESA));
806
+ rb_define_const(module, "GL_DEBUG_OUTPUT", INT2NUM(GL_DEBUG_OUTPUT));
807
+ rb_define_const(module, "GL_DEBUG_OUTPUT_SYNCHRONOUS", INT2NUM(GL_DEBUG_OUTPUT_SYNCHRONOUS));
808
+ rb_define_const(module, "GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB", INT2NUM(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB));
809
+ rb_define_const(module, "GL_DEBUG_PRINT_MESA", INT2NUM(GL_DEBUG_PRINT_MESA));
810
+ rb_define_const(module, "GL_DEBUG_SEVERITY_HIGH", INT2NUM(GL_DEBUG_SEVERITY_HIGH));
811
+ rb_define_const(module, "GL_DEBUG_SEVERITY_HIGH_AMD", INT2NUM(GL_DEBUG_SEVERITY_HIGH_AMD));
812
+ rb_define_const(module, "GL_DEBUG_SEVERITY_HIGH_ARB", INT2NUM(GL_DEBUG_SEVERITY_HIGH_ARB));
813
+ rb_define_const(module, "GL_DEBUG_SEVERITY_LOW", INT2NUM(GL_DEBUG_SEVERITY_LOW));
814
+ rb_define_const(module, "GL_DEBUG_SEVERITY_LOW_AMD", INT2NUM(GL_DEBUG_SEVERITY_LOW_AMD));
815
+ rb_define_const(module, "GL_DEBUG_SEVERITY_LOW_ARB", INT2NUM(GL_DEBUG_SEVERITY_LOW_ARB));
816
+ rb_define_const(module, "GL_DEBUG_SEVERITY_MEDIUM", INT2NUM(GL_DEBUG_SEVERITY_MEDIUM));
817
+ rb_define_const(module, "GL_DEBUG_SEVERITY_MEDIUM_AMD", INT2NUM(GL_DEBUG_SEVERITY_MEDIUM_AMD));
818
+ rb_define_const(module, "GL_DEBUG_SEVERITY_MEDIUM_ARB", INT2NUM(GL_DEBUG_SEVERITY_MEDIUM_ARB));
819
+ rb_define_const(module, "GL_DEBUG_SEVERITY_NOTIFICATION", INT2NUM(GL_DEBUG_SEVERITY_NOTIFICATION));
820
+ rb_define_const(module, "GL_DEBUG_SOURCE_API", INT2NUM(GL_DEBUG_SOURCE_API));
821
+ rb_define_const(module, "GL_DEBUG_SOURCE_API_ARB", INT2NUM(GL_DEBUG_SOURCE_API_ARB));
822
+ rb_define_const(module, "GL_DEBUG_SOURCE_APPLICATION", INT2NUM(GL_DEBUG_SOURCE_APPLICATION));
823
+ rb_define_const(module, "GL_DEBUG_SOURCE_APPLICATION_ARB", INT2NUM(GL_DEBUG_SOURCE_APPLICATION_ARB));
824
+ rb_define_const(module, "GL_DEBUG_SOURCE_OTHER", INT2NUM(GL_DEBUG_SOURCE_OTHER));
825
+ rb_define_const(module, "GL_DEBUG_SOURCE_OTHER_ARB", INT2NUM(GL_DEBUG_SOURCE_OTHER_ARB));
826
+ rb_define_const(module, "GL_DEBUG_SOURCE_SHADER_COMPILER", INT2NUM(GL_DEBUG_SOURCE_SHADER_COMPILER));
827
+ rb_define_const(module, "GL_DEBUG_SOURCE_SHADER_COMPILER_ARB", INT2NUM(GL_DEBUG_SOURCE_SHADER_COMPILER_ARB));
828
+ rb_define_const(module, "GL_DEBUG_SOURCE_THIRD_PARTY", INT2NUM(GL_DEBUG_SOURCE_THIRD_PARTY));
829
+ rb_define_const(module, "GL_DEBUG_SOURCE_THIRD_PARTY_ARB", INT2NUM(GL_DEBUG_SOURCE_THIRD_PARTY_ARB));
830
+ rb_define_const(module, "GL_DEBUG_SOURCE_WINDOW_SYSTEM", INT2NUM(GL_DEBUG_SOURCE_WINDOW_SYSTEM));
831
+ rb_define_const(module, "GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB", INT2NUM(GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB));
832
+ rb_define_const(module, "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR", INT2NUM(GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR));
833
+ rb_define_const(module, "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB", INT2NUM(GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB));
834
+ rb_define_const(module, "GL_DEBUG_TYPE_ERROR", INT2NUM(GL_DEBUG_TYPE_ERROR));
835
+ rb_define_const(module, "GL_DEBUG_TYPE_ERROR_ARB", INT2NUM(GL_DEBUG_TYPE_ERROR_ARB));
836
+ rb_define_const(module, "GL_DEBUG_TYPE_MARKER", INT2NUM(GL_DEBUG_TYPE_MARKER));
837
+ rb_define_const(module, "GL_DEBUG_TYPE_OTHER", INT2NUM(GL_DEBUG_TYPE_OTHER));
838
+ rb_define_const(module, "GL_DEBUG_TYPE_OTHER_ARB", INT2NUM(GL_DEBUG_TYPE_OTHER_ARB));
839
+ rb_define_const(module, "GL_DEBUG_TYPE_PERFORMANCE", INT2NUM(GL_DEBUG_TYPE_PERFORMANCE));
840
+ rb_define_const(module, "GL_DEBUG_TYPE_PERFORMANCE_ARB", INT2NUM(GL_DEBUG_TYPE_PERFORMANCE_ARB));
841
+ rb_define_const(module, "GL_DEBUG_TYPE_POP_GROUP", INT2NUM(GL_DEBUG_TYPE_POP_GROUP));
842
+ rb_define_const(module, "GL_DEBUG_TYPE_PORTABILITY", INT2NUM(GL_DEBUG_TYPE_PORTABILITY));
843
+ rb_define_const(module, "GL_DEBUG_TYPE_PORTABILITY_ARB", INT2NUM(GL_DEBUG_TYPE_PORTABILITY_ARB));
844
+ rb_define_const(module, "GL_DEBUG_TYPE_PUSH_GROUP", INT2NUM(GL_DEBUG_TYPE_PUSH_GROUP));
845
+ rb_define_const(module, "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR", INT2NUM(GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR));
846
+ rb_define_const(module, "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB", INT2NUM(GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB));
566
847
  rb_define_const(module, "GL_DECAL", INT2NUM(GL_DECAL));
848
+ rb_define_const(module, "GL_DECODE_EXT", INT2NUM(GL_DECODE_EXT));
567
849
  rb_define_const(module, "GL_DECR", INT2NUM(GL_DECR));
568
850
  rb_define_const(module, "GL_DECR_WRAP", INT2NUM(GL_DECR_WRAP));
569
851
  rb_define_const(module, "GL_DECR_WRAP_EXT", INT2NUM(GL_DECR_WRAP_EXT));
852
+ rb_define_const(module, "GL_DECR_WRAP_OES", INT2NUM(GL_DECR_WRAP_OES));
570
853
  rb_define_const(module, "GL_DEFORMATIONS_MASK_SGIX", INT2NUM(GL_DEFORMATIONS_MASK_SGIX));
571
854
  rb_define_const(module, "GL_DELETE_STATUS", INT2NUM(GL_DELETE_STATUS));
572
855
  rb_define_const(module, "GL_DEPENDENT_AR_TEXTURE_2D_NV", INT2NUM(GL_DEPENDENT_AR_TEXTURE_2D_NV));
@@ -577,41 +860,55 @@ void gl_init_enums(VALUE module)
577
860
  rb_define_const(module, "GL_DEPTH", INT2NUM(GL_DEPTH));
578
861
  rb_define_const(module, "GL_DEPTH24_STENCIL8", INT2NUM(GL_DEPTH24_STENCIL8));
579
862
  rb_define_const(module, "GL_DEPTH24_STENCIL8_EXT", INT2NUM(GL_DEPTH24_STENCIL8_EXT));
863
+ rb_define_const(module, "GL_DEPTH24_STENCIL8_OES", INT2NUM(GL_DEPTH24_STENCIL8_OES));
580
864
  rb_define_const(module, "GL_DEPTH32F_STENCIL8", INT2NUM(GL_DEPTH32F_STENCIL8));
581
865
  rb_define_const(module, "GL_DEPTH32F_STENCIL8_NV", INT2NUM(GL_DEPTH32F_STENCIL8_NV));
582
866
  rb_define_const(module, "GL_DEPTH_ATTACHMENT", INT2NUM(GL_DEPTH_ATTACHMENT));
583
867
  rb_define_const(module, "GL_DEPTH_ATTACHMENT_EXT", INT2NUM(GL_DEPTH_ATTACHMENT_EXT));
868
+ rb_define_const(module, "GL_DEPTH_ATTACHMENT_OES", INT2NUM(GL_DEPTH_ATTACHMENT_OES));
584
869
  rb_define_const(module, "GL_DEPTH_BIAS", INT2NUM(GL_DEPTH_BIAS));
585
870
  rb_define_const(module, "GL_DEPTH_BITS", INT2NUM(GL_DEPTH_BITS));
586
871
  rb_define_const(module, "GL_DEPTH_BOUNDS_EXT", INT2NUM(GL_DEPTH_BOUNDS_EXT));
587
872
  rb_define_const(module, "GL_DEPTH_BOUNDS_TEST_EXT", INT2NUM(GL_DEPTH_BOUNDS_TEST_EXT));
588
- rb_define_const(module, "GL_DEPTH_BUFFER", INT2NUM(GL_DEPTH_BUFFER));
589
873
  rb_define_const(module, "GL_DEPTH_BUFFER_BIT", INT2NUM(GL_DEPTH_BUFFER_BIT));
590
874
  rb_define_const(module, "GL_DEPTH_BUFFER_FLOAT_MODE_NV", INT2NUM(GL_DEPTH_BUFFER_FLOAT_MODE_NV));
875
+ rb_define_const(module, "GL_DEPTH_CLAMP", INT2NUM(GL_DEPTH_CLAMP));
876
+ rb_define_const(module, "GL_DEPTH_CLAMP_FAR_AMD", INT2NUM(GL_DEPTH_CLAMP_FAR_AMD));
877
+ rb_define_const(module, "GL_DEPTH_CLAMP_NEAR_AMD", INT2NUM(GL_DEPTH_CLAMP_NEAR_AMD));
591
878
  rb_define_const(module, "GL_DEPTH_CLAMP_NV", INT2NUM(GL_DEPTH_CLAMP_NV));
592
879
  rb_define_const(module, "GL_DEPTH_CLEAR_VALUE", INT2NUM(GL_DEPTH_CLEAR_VALUE));
593
880
  rb_define_const(module, "GL_DEPTH_COMPONENT", INT2NUM(GL_DEPTH_COMPONENT));
594
881
  rb_define_const(module, "GL_DEPTH_COMPONENT16", INT2NUM(GL_DEPTH_COMPONENT16));
595
882
  rb_define_const(module, "GL_DEPTH_COMPONENT16_ARB", INT2NUM(GL_DEPTH_COMPONENT16_ARB));
883
+ rb_define_const(module, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", INT2NUM(GL_DEPTH_COMPONENT16_NONLINEAR_NV));
884
+ rb_define_const(module, "GL_DEPTH_COMPONENT16_OES", INT2NUM(GL_DEPTH_COMPONENT16_OES));
596
885
  rb_define_const(module, "GL_DEPTH_COMPONENT16_SGIX", INT2NUM(GL_DEPTH_COMPONENT16_SGIX));
597
886
  rb_define_const(module, "GL_DEPTH_COMPONENT24", INT2NUM(GL_DEPTH_COMPONENT24));
598
887
  rb_define_const(module, "GL_DEPTH_COMPONENT24_ARB", INT2NUM(GL_DEPTH_COMPONENT24_ARB));
888
+ rb_define_const(module, "GL_DEPTH_COMPONENT24_OES", INT2NUM(GL_DEPTH_COMPONENT24_OES));
599
889
  rb_define_const(module, "GL_DEPTH_COMPONENT24_SGIX", INT2NUM(GL_DEPTH_COMPONENT24_SGIX));
600
890
  rb_define_const(module, "GL_DEPTH_COMPONENT32", INT2NUM(GL_DEPTH_COMPONENT32));
601
891
  rb_define_const(module, "GL_DEPTH_COMPONENT32F", INT2NUM(GL_DEPTH_COMPONENT32F));
602
892
  rb_define_const(module, "GL_DEPTH_COMPONENT32F_NV", INT2NUM(GL_DEPTH_COMPONENT32F_NV));
603
893
  rb_define_const(module, "GL_DEPTH_COMPONENT32_ARB", INT2NUM(GL_DEPTH_COMPONENT32_ARB));
894
+ rb_define_const(module, "GL_DEPTH_COMPONENT32_OES", INT2NUM(GL_DEPTH_COMPONENT32_OES));
604
895
  rb_define_const(module, "GL_DEPTH_COMPONENT32_SGIX", INT2NUM(GL_DEPTH_COMPONENT32_SGIX));
896
+ rb_define_const(module, "GL_DEPTH_COMPONENTS", INT2NUM(GL_DEPTH_COMPONENTS));
897
+ rb_define_const(module, "GL_DEPTH_EXT", INT2NUM(GL_DEPTH_EXT));
605
898
  rb_define_const(module, "GL_DEPTH_FUNC", INT2NUM(GL_DEPTH_FUNC));
606
899
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX));
607
900
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX));
608
901
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_SGIX));
609
902
  rb_define_const(module, "GL_DEPTH_RANGE", INT2NUM(GL_DEPTH_RANGE));
903
+ rb_define_const(module, "GL_DEPTH_RENDERABLE", INT2NUM(GL_DEPTH_RENDERABLE));
610
904
  rb_define_const(module, "GL_DEPTH_SCALE", INT2NUM(GL_DEPTH_SCALE));
611
905
  rb_define_const(module, "GL_DEPTH_STENCIL", INT2NUM(GL_DEPTH_STENCIL));
612
906
  rb_define_const(module, "GL_DEPTH_STENCIL_ATTACHMENT", INT2NUM(GL_DEPTH_STENCIL_ATTACHMENT));
613
907
  rb_define_const(module, "GL_DEPTH_STENCIL_EXT", INT2NUM(GL_DEPTH_STENCIL_EXT));
908
+ rb_define_const(module, "GL_DEPTH_STENCIL_MESA", INT2NUM(GL_DEPTH_STENCIL_MESA));
614
909
  rb_define_const(module, "GL_DEPTH_STENCIL_NV", INT2NUM(GL_DEPTH_STENCIL_NV));
910
+ rb_define_const(module, "GL_DEPTH_STENCIL_OES", INT2NUM(GL_DEPTH_STENCIL_OES));
911
+ rb_define_const(module, "GL_DEPTH_STENCIL_TEXTURE_MODE", INT2NUM(GL_DEPTH_STENCIL_TEXTURE_MODE));
615
912
  rb_define_const(module, "GL_DEPTH_STENCIL_TO_BGRA_NV", INT2NUM(GL_DEPTH_STENCIL_TO_BGRA_NV));
616
913
  rb_define_const(module, "GL_DEPTH_STENCIL_TO_RGBA_NV", INT2NUM(GL_DEPTH_STENCIL_TO_RGBA_NV));
617
914
  rb_define_const(module, "GL_DEPTH_TEST", INT2NUM(GL_DEPTH_TEST));
@@ -626,6 +923,10 @@ void gl_init_enums(VALUE module)
626
923
  rb_define_const(module, "GL_DIFFUSE", INT2NUM(GL_DIFFUSE));
627
924
  rb_define_const(module, "GL_DISCARD_ATI", INT2NUM(GL_DISCARD_ATI));
628
925
  rb_define_const(module, "GL_DISCARD_NV", INT2NUM(GL_DISCARD_NV));
926
+ rb_define_const(module, "GL_DISCRETE_AMD", INT2NUM(GL_DISCRETE_AMD));
927
+ rb_define_const(module, "GL_DISPATCH_INDIRECT_BUFFER", INT2NUM(GL_DISPATCH_INDIRECT_BUFFER));
928
+ rb_define_const(module, "GL_DISPATCH_INDIRECT_BUFFER_BINDING", INT2NUM(GL_DISPATCH_INDIRECT_BUFFER_BINDING));
929
+ rb_define_const(module, "GL_DISPLAY_LIST", INT2NUM(GL_DISPLAY_LIST));
629
930
  rb_define_const(module, "GL_DISTANCE_ATTENUATION_EXT", INT2NUM(GL_DISTANCE_ATTENUATION_EXT));
630
931
  rb_define_const(module, "GL_DISTANCE_ATTENUATION_SGIS", INT2NUM(GL_DISTANCE_ATTENUATION_SGIS));
631
932
  rb_define_const(module, "GL_DITHER", INT2NUM(GL_DITHER));
@@ -637,6 +938,7 @@ void gl_init_enums(VALUE module)
637
938
  rb_define_const(module, "GL_DOT3_RGBA", INT2NUM(GL_DOT3_RGBA));
638
939
  rb_define_const(module, "GL_DOT3_RGBA_ARB", INT2NUM(GL_DOT3_RGBA_ARB));
639
940
  rb_define_const(module, "GL_DOT3_RGBA_EXT", INT2NUM(GL_DOT3_RGBA_EXT));
941
+ rb_define_const(module, "GL_DOT3_RGBA_IMG", INT2NUM(GL_DOT3_RGBA_IMG));
640
942
  rb_define_const(module, "GL_DOT3_RGB_ARB", INT2NUM(GL_DOT3_RGB_ARB));
641
943
  rb_define_const(module, "GL_DOT3_RGB_EXT", INT2NUM(GL_DOT3_RGB_EXT));
642
944
  rb_define_const(module, "GL_DOT4_ATI", INT2NUM(GL_DOT4_ATI));
@@ -655,59 +957,108 @@ void gl_init_enums(VALUE module)
655
957
  rb_define_const(module, "GL_DOUBLE", INT2NUM(GL_DOUBLE));
656
958
  rb_define_const(module, "GL_DOUBLEBUFFER", INT2NUM(GL_DOUBLEBUFFER));
657
959
  rb_define_const(module, "GL_DOUBLE_EXT", INT2NUM(GL_DOUBLE_EXT));
960
+ rb_define_const(module, "GL_DOUBLE_MAT2", INT2NUM(GL_DOUBLE_MAT2));
961
+ rb_define_const(module, "GL_DOUBLE_MAT2_EXT", INT2NUM(GL_DOUBLE_MAT2_EXT));
962
+ rb_define_const(module, "GL_DOUBLE_MAT2x3", INT2NUM(GL_DOUBLE_MAT2x3));
963
+ rb_define_const(module, "GL_DOUBLE_MAT2x3_EXT", INT2NUM(GL_DOUBLE_MAT2x3_EXT));
964
+ rb_define_const(module, "GL_DOUBLE_MAT2x4", INT2NUM(GL_DOUBLE_MAT2x4));
965
+ rb_define_const(module, "GL_DOUBLE_MAT2x4_EXT", INT2NUM(GL_DOUBLE_MAT2x4_EXT));
966
+ rb_define_const(module, "GL_DOUBLE_MAT3", INT2NUM(GL_DOUBLE_MAT3));
967
+ rb_define_const(module, "GL_DOUBLE_MAT3_EXT", INT2NUM(GL_DOUBLE_MAT3_EXT));
968
+ rb_define_const(module, "GL_DOUBLE_MAT3x2", INT2NUM(GL_DOUBLE_MAT3x2));
969
+ rb_define_const(module, "GL_DOUBLE_MAT3x2_EXT", INT2NUM(GL_DOUBLE_MAT3x2_EXT));
970
+ rb_define_const(module, "GL_DOUBLE_MAT3x4", INT2NUM(GL_DOUBLE_MAT3x4));
971
+ rb_define_const(module, "GL_DOUBLE_MAT3x4_EXT", INT2NUM(GL_DOUBLE_MAT3x4_EXT));
972
+ rb_define_const(module, "GL_DOUBLE_MAT4", INT2NUM(GL_DOUBLE_MAT4));
973
+ rb_define_const(module, "GL_DOUBLE_MAT4_EXT", INT2NUM(GL_DOUBLE_MAT4_EXT));
974
+ rb_define_const(module, "GL_DOUBLE_MAT4x2", INT2NUM(GL_DOUBLE_MAT4x2));
975
+ rb_define_const(module, "GL_DOUBLE_MAT4x2_EXT", INT2NUM(GL_DOUBLE_MAT4x2_EXT));
976
+ rb_define_const(module, "GL_DOUBLE_MAT4x3", INT2NUM(GL_DOUBLE_MAT4x3));
977
+ rb_define_const(module, "GL_DOUBLE_MAT4x3_EXT", INT2NUM(GL_DOUBLE_MAT4x3_EXT));
978
+ rb_define_const(module, "GL_DOUBLE_VEC2", INT2NUM(GL_DOUBLE_VEC2));
979
+ rb_define_const(module, "GL_DOUBLE_VEC2_EXT", INT2NUM(GL_DOUBLE_VEC2_EXT));
980
+ rb_define_const(module, "GL_DOUBLE_VEC3", INT2NUM(GL_DOUBLE_VEC3));
981
+ rb_define_const(module, "GL_DOUBLE_VEC3_EXT", INT2NUM(GL_DOUBLE_VEC3_EXT));
982
+ rb_define_const(module, "GL_DOUBLE_VEC4", INT2NUM(GL_DOUBLE_VEC4));
983
+ rb_define_const(module, "GL_DOUBLE_VEC4_EXT", INT2NUM(GL_DOUBLE_VEC4_EXT));
658
984
  rb_define_const(module, "GL_DRAW_BUFFER", INT2NUM(GL_DRAW_BUFFER));
659
985
  rb_define_const(module, "GL_DRAW_BUFFER0", INT2NUM(GL_DRAW_BUFFER0));
660
986
  rb_define_const(module, "GL_DRAW_BUFFER0_ARB", INT2NUM(GL_DRAW_BUFFER0_ARB));
661
987
  rb_define_const(module, "GL_DRAW_BUFFER0_ATI", INT2NUM(GL_DRAW_BUFFER0_ATI));
988
+ rb_define_const(module, "GL_DRAW_BUFFER0_NV", INT2NUM(GL_DRAW_BUFFER0_NV));
662
989
  rb_define_const(module, "GL_DRAW_BUFFER1", INT2NUM(GL_DRAW_BUFFER1));
663
990
  rb_define_const(module, "GL_DRAW_BUFFER10", INT2NUM(GL_DRAW_BUFFER10));
664
991
  rb_define_const(module, "GL_DRAW_BUFFER10_ARB", INT2NUM(GL_DRAW_BUFFER10_ARB));
665
992
  rb_define_const(module, "GL_DRAW_BUFFER10_ATI", INT2NUM(GL_DRAW_BUFFER10_ATI));
993
+ rb_define_const(module, "GL_DRAW_BUFFER10_NV", INT2NUM(GL_DRAW_BUFFER10_NV));
666
994
  rb_define_const(module, "GL_DRAW_BUFFER11", INT2NUM(GL_DRAW_BUFFER11));
667
995
  rb_define_const(module, "GL_DRAW_BUFFER11_ARB", INT2NUM(GL_DRAW_BUFFER11_ARB));
668
996
  rb_define_const(module, "GL_DRAW_BUFFER11_ATI", INT2NUM(GL_DRAW_BUFFER11_ATI));
997
+ rb_define_const(module, "GL_DRAW_BUFFER11_NV", INT2NUM(GL_DRAW_BUFFER11_NV));
669
998
  rb_define_const(module, "GL_DRAW_BUFFER12", INT2NUM(GL_DRAW_BUFFER12));
670
999
  rb_define_const(module, "GL_DRAW_BUFFER12_ARB", INT2NUM(GL_DRAW_BUFFER12_ARB));
671
1000
  rb_define_const(module, "GL_DRAW_BUFFER12_ATI", INT2NUM(GL_DRAW_BUFFER12_ATI));
1001
+ rb_define_const(module, "GL_DRAW_BUFFER12_NV", INT2NUM(GL_DRAW_BUFFER12_NV));
672
1002
  rb_define_const(module, "GL_DRAW_BUFFER13", INT2NUM(GL_DRAW_BUFFER13));
673
1003
  rb_define_const(module, "GL_DRAW_BUFFER13_ARB", INT2NUM(GL_DRAW_BUFFER13_ARB));
674
1004
  rb_define_const(module, "GL_DRAW_BUFFER13_ATI", INT2NUM(GL_DRAW_BUFFER13_ATI));
1005
+ rb_define_const(module, "GL_DRAW_BUFFER13_NV", INT2NUM(GL_DRAW_BUFFER13_NV));
675
1006
  rb_define_const(module, "GL_DRAW_BUFFER14", INT2NUM(GL_DRAW_BUFFER14));
676
1007
  rb_define_const(module, "GL_DRAW_BUFFER14_ARB", INT2NUM(GL_DRAW_BUFFER14_ARB));
677
1008
  rb_define_const(module, "GL_DRAW_BUFFER14_ATI", INT2NUM(GL_DRAW_BUFFER14_ATI));
1009
+ rb_define_const(module, "GL_DRAW_BUFFER14_NV", INT2NUM(GL_DRAW_BUFFER14_NV));
678
1010
  rb_define_const(module, "GL_DRAW_BUFFER15", INT2NUM(GL_DRAW_BUFFER15));
679
1011
  rb_define_const(module, "GL_DRAW_BUFFER15_ARB", INT2NUM(GL_DRAW_BUFFER15_ARB));
680
1012
  rb_define_const(module, "GL_DRAW_BUFFER15_ATI", INT2NUM(GL_DRAW_BUFFER15_ATI));
1013
+ rb_define_const(module, "GL_DRAW_BUFFER15_NV", INT2NUM(GL_DRAW_BUFFER15_NV));
681
1014
  rb_define_const(module, "GL_DRAW_BUFFER1_ARB", INT2NUM(GL_DRAW_BUFFER1_ARB));
682
1015
  rb_define_const(module, "GL_DRAW_BUFFER1_ATI", INT2NUM(GL_DRAW_BUFFER1_ATI));
1016
+ rb_define_const(module, "GL_DRAW_BUFFER1_NV", INT2NUM(GL_DRAW_BUFFER1_NV));
683
1017
  rb_define_const(module, "GL_DRAW_BUFFER2", INT2NUM(GL_DRAW_BUFFER2));
684
1018
  rb_define_const(module, "GL_DRAW_BUFFER2_ARB", INT2NUM(GL_DRAW_BUFFER2_ARB));
685
1019
  rb_define_const(module, "GL_DRAW_BUFFER2_ATI", INT2NUM(GL_DRAW_BUFFER2_ATI));
1020
+ rb_define_const(module, "GL_DRAW_BUFFER2_NV", INT2NUM(GL_DRAW_BUFFER2_NV));
686
1021
  rb_define_const(module, "GL_DRAW_BUFFER3", INT2NUM(GL_DRAW_BUFFER3));
687
1022
  rb_define_const(module, "GL_DRAW_BUFFER3_ARB", INT2NUM(GL_DRAW_BUFFER3_ARB));
688
1023
  rb_define_const(module, "GL_DRAW_BUFFER3_ATI", INT2NUM(GL_DRAW_BUFFER3_ATI));
1024
+ rb_define_const(module, "GL_DRAW_BUFFER3_NV", INT2NUM(GL_DRAW_BUFFER3_NV));
689
1025
  rb_define_const(module, "GL_DRAW_BUFFER4", INT2NUM(GL_DRAW_BUFFER4));
690
1026
  rb_define_const(module, "GL_DRAW_BUFFER4_ARB", INT2NUM(GL_DRAW_BUFFER4_ARB));
691
1027
  rb_define_const(module, "GL_DRAW_BUFFER4_ATI", INT2NUM(GL_DRAW_BUFFER4_ATI));
1028
+ rb_define_const(module, "GL_DRAW_BUFFER4_NV", INT2NUM(GL_DRAW_BUFFER4_NV));
692
1029
  rb_define_const(module, "GL_DRAW_BUFFER5", INT2NUM(GL_DRAW_BUFFER5));
693
1030
  rb_define_const(module, "GL_DRAW_BUFFER5_ARB", INT2NUM(GL_DRAW_BUFFER5_ARB));
694
1031
  rb_define_const(module, "GL_DRAW_BUFFER5_ATI", INT2NUM(GL_DRAW_BUFFER5_ATI));
1032
+ rb_define_const(module, "GL_DRAW_BUFFER5_NV", INT2NUM(GL_DRAW_BUFFER5_NV));
695
1033
  rb_define_const(module, "GL_DRAW_BUFFER6", INT2NUM(GL_DRAW_BUFFER6));
696
1034
  rb_define_const(module, "GL_DRAW_BUFFER6_ARB", INT2NUM(GL_DRAW_BUFFER6_ARB));
697
1035
  rb_define_const(module, "GL_DRAW_BUFFER6_ATI", INT2NUM(GL_DRAW_BUFFER6_ATI));
1036
+ rb_define_const(module, "GL_DRAW_BUFFER6_NV", INT2NUM(GL_DRAW_BUFFER6_NV));
698
1037
  rb_define_const(module, "GL_DRAW_BUFFER7", INT2NUM(GL_DRAW_BUFFER7));
699
1038
  rb_define_const(module, "GL_DRAW_BUFFER7_ARB", INT2NUM(GL_DRAW_BUFFER7_ARB));
700
1039
  rb_define_const(module, "GL_DRAW_BUFFER7_ATI", INT2NUM(GL_DRAW_BUFFER7_ATI));
1040
+ rb_define_const(module, "GL_DRAW_BUFFER7_NV", INT2NUM(GL_DRAW_BUFFER7_NV));
701
1041
  rb_define_const(module, "GL_DRAW_BUFFER8", INT2NUM(GL_DRAW_BUFFER8));
702
1042
  rb_define_const(module, "GL_DRAW_BUFFER8_ARB", INT2NUM(GL_DRAW_BUFFER8_ARB));
703
1043
  rb_define_const(module, "GL_DRAW_BUFFER8_ATI", INT2NUM(GL_DRAW_BUFFER8_ATI));
1044
+ rb_define_const(module, "GL_DRAW_BUFFER8_NV", INT2NUM(GL_DRAW_BUFFER8_NV));
704
1045
  rb_define_const(module, "GL_DRAW_BUFFER9", INT2NUM(GL_DRAW_BUFFER9));
705
1046
  rb_define_const(module, "GL_DRAW_BUFFER9_ARB", INT2NUM(GL_DRAW_BUFFER9_ARB));
706
1047
  rb_define_const(module, "GL_DRAW_BUFFER9_ATI", INT2NUM(GL_DRAW_BUFFER9_ATI));
1048
+ rb_define_const(module, "GL_DRAW_BUFFER9_NV", INT2NUM(GL_DRAW_BUFFER9_NV));
1049
+ rb_define_const(module, "GL_DRAW_BUFFER_EXT", INT2NUM(GL_DRAW_BUFFER_EXT));
707
1050
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER", INT2NUM(GL_DRAW_FRAMEBUFFER));
1051
+ rb_define_const(module, "GL_DRAW_FRAMEBUFFER_ANGLE", INT2NUM(GL_DRAW_FRAMEBUFFER_ANGLE));
708
1052
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_BINDING", INT2NUM(GL_DRAW_FRAMEBUFFER_BINDING));
709
1053
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_DRAW_FRAMEBUFFER_BINDING_EXT));
1054
+ rb_define_const(module, "GL_DRAW_FRAMEBUFFER_BINDING_NV", INT2NUM(GL_DRAW_FRAMEBUFFER_BINDING_NV));
710
1055
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_EXT", INT2NUM(GL_DRAW_FRAMEBUFFER_EXT));
1056
+ rb_define_const(module, "GL_DRAW_FRAMEBUFFER_NV", INT2NUM(GL_DRAW_FRAMEBUFFER_NV));
1057
+ rb_define_const(module, "GL_DRAW_INDIRECT_ADDRESS_NV", INT2NUM(GL_DRAW_INDIRECT_ADDRESS_NV));
1058
+ rb_define_const(module, "GL_DRAW_INDIRECT_BUFFER", INT2NUM(GL_DRAW_INDIRECT_BUFFER));
1059
+ rb_define_const(module, "GL_DRAW_INDIRECT_BUFFER_BINDING", INT2NUM(GL_DRAW_INDIRECT_BUFFER_BINDING));
1060
+ rb_define_const(module, "GL_DRAW_INDIRECT_LENGTH_NV", INT2NUM(GL_DRAW_INDIRECT_LENGTH_NV));
1061
+ rb_define_const(module, "GL_DRAW_INDIRECT_UNIFIED_NV", INT2NUM(GL_DRAW_INDIRECT_UNIFIED_NV));
711
1062
  rb_define_const(module, "GL_DRAW_PIXELS_APPLE", INT2NUM(GL_DRAW_PIXELS_APPLE));
712
1063
  rb_define_const(module, "GL_DRAW_PIXEL_TOKEN", INT2NUM(GL_DRAW_PIXEL_TOKEN));
713
1064
  rb_define_const(module, "GL_DSDT8_MAG8_INTENSITY8_NV", INT2NUM(GL_DSDT8_MAG8_INTENSITY8_NV));
@@ -740,6 +1091,8 @@ void gl_init_enums(VALUE module)
740
1091
  rb_define_const(module, "GL_DUAL_LUMINANCE_ALPHA8_SGIS", INT2NUM(GL_DUAL_LUMINANCE_ALPHA8_SGIS));
741
1092
  rb_define_const(module, "GL_DUAL_TEXTURE_SELECT_SGIS", INT2NUM(GL_DUAL_TEXTURE_SELECT_SGIS));
742
1093
  rb_define_const(module, "GL_DUDV_ATI", INT2NUM(GL_DUDV_ATI));
1094
+ rb_define_const(module, "GL_DUP_FIRST_CUBIC_CURVE_TO_NV", INT2NUM(GL_DUP_FIRST_CUBIC_CURVE_TO_NV));
1095
+ rb_define_const(module, "GL_DUP_LAST_CUBIC_CURVE_TO_NV", INT2NUM(GL_DUP_LAST_CUBIC_CURVE_TO_NV));
743
1096
  rb_define_const(module, "GL_DYNAMIC_ATI", INT2NUM(GL_DYNAMIC_ATI));
744
1097
  rb_define_const(module, "GL_DYNAMIC_COPY", INT2NUM(GL_DYNAMIC_COPY));
745
1098
  rb_define_const(module, "GL_DYNAMIC_COPY_ARB", INT2NUM(GL_DYNAMIC_COPY_ARB));
@@ -750,10 +1103,12 @@ void gl_init_enums(VALUE module)
750
1103
  rb_define_const(module, "GL_EDGEFLAG_BIT_PGI", INT2NUM(GL_EDGEFLAG_BIT_PGI));
751
1104
  rb_define_const(module, "GL_EDGE_FLAG", INT2NUM(GL_EDGE_FLAG));
752
1105
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY", INT2NUM(GL_EDGE_FLAG_ARRAY));
1106
+ rb_define_const(module, "GL_EDGE_FLAG_ARRAY_ADDRESS_NV", INT2NUM(GL_EDGE_FLAG_ARRAY_ADDRESS_NV));
753
1107
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING", INT2NUM(GL_EDGE_FLAG_ARRAY_BUFFER_BINDING));
754
1108
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB));
755
1109
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_COUNT_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_COUNT_EXT));
756
1110
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_EXT));
1111
+ rb_define_const(module, "GL_EDGE_FLAG_ARRAY_LENGTH_NV", INT2NUM(GL_EDGE_FLAG_ARRAY_LENGTH_NV));
757
1112
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_LIST_IBM", INT2NUM(GL_EDGE_FLAG_ARRAY_LIST_IBM));
758
1113
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM));
759
1114
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_POINTER", INT2NUM(GL_EDGE_FLAG_ARRAY_POINTER));
@@ -761,16 +1116,21 @@ void gl_init_enums(VALUE module)
761
1116
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_STRIDE", INT2NUM(GL_EDGE_FLAG_ARRAY_STRIDE));
762
1117
  rb_define_const(module, "GL_EDGE_FLAG_ARRAY_STRIDE_EXT", INT2NUM(GL_EDGE_FLAG_ARRAY_STRIDE_EXT));
763
1118
  rb_define_const(module, "GL_EIGHTH_BIT_ATI", INT2NUM(GL_EIGHTH_BIT_ATI));
1119
+ rb_define_const(module, "GL_ELEMENT_ARRAY_ADDRESS_NV", INT2NUM(GL_ELEMENT_ARRAY_ADDRESS_NV));
764
1120
  rb_define_const(module, "GL_ELEMENT_ARRAY_APPLE", INT2NUM(GL_ELEMENT_ARRAY_APPLE));
765
1121
  rb_define_const(module, "GL_ELEMENT_ARRAY_ATI", INT2NUM(GL_ELEMENT_ARRAY_ATI));
1122
+ rb_define_const(module, "GL_ELEMENT_ARRAY_BARRIER_BIT", INT2NUM(GL_ELEMENT_ARRAY_BARRIER_BIT));
1123
+ rb_define_const(module, "GL_ELEMENT_ARRAY_BARRIER_BIT_EXT", INT2NUM(GL_ELEMENT_ARRAY_BARRIER_BIT_EXT));
766
1124
  rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER", INT2NUM(GL_ELEMENT_ARRAY_BUFFER));
767
1125
  rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_ARB", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_ARB));
768
1126
  rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_BINDING", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_BINDING));
769
1127
  rb_define_const(module, "GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB));
1128
+ rb_define_const(module, "GL_ELEMENT_ARRAY_LENGTH_NV", INT2NUM(GL_ELEMENT_ARRAY_LENGTH_NV));
770
1129
  rb_define_const(module, "GL_ELEMENT_ARRAY_POINTER_APPLE", INT2NUM(GL_ELEMENT_ARRAY_POINTER_APPLE));
771
1130
  rb_define_const(module, "GL_ELEMENT_ARRAY_POINTER_ATI", INT2NUM(GL_ELEMENT_ARRAY_POINTER_ATI));
772
1131
  rb_define_const(module, "GL_ELEMENT_ARRAY_TYPE_APPLE", INT2NUM(GL_ELEMENT_ARRAY_TYPE_APPLE));
773
1132
  rb_define_const(module, "GL_ELEMENT_ARRAY_TYPE_ATI", INT2NUM(GL_ELEMENT_ARRAY_TYPE_ATI));
1133
+ rb_define_const(module, "GL_ELEMENT_ARRAY_UNIFIED_NV", INT2NUM(GL_ELEMENT_ARRAY_UNIFIED_NV));
774
1134
  rb_define_const(module, "GL_EMBOSS_CONSTANT_NV", INT2NUM(GL_EMBOSS_CONSTANT_NV));
775
1135
  rb_define_const(module, "GL_EMBOSS_LIGHT_NV", INT2NUM(GL_EMBOSS_LIGHT_NV));
776
1136
  rb_define_const(module, "GL_EMBOSS_MAP_NV", INT2NUM(GL_EMBOSS_MAP_NV));
@@ -778,10 +1138,28 @@ void gl_init_enums(VALUE module)
778
1138
  rb_define_const(module, "GL_ENABLE_BIT", INT2NUM(GL_ENABLE_BIT));
779
1139
  rb_define_const(module, "GL_EQUAL", INT2NUM(GL_EQUAL));
780
1140
  rb_define_const(module, "GL_EQUIV", INT2NUM(GL_EQUIV));
1141
+ rb_define_const(module, "GL_ETC1_RGB8_OES", INT2NUM(GL_ETC1_RGB8_OES));
1142
+ rb_define_const(module, "GL_ETC1_SRGB8_NV", INT2NUM(GL_ETC1_SRGB8_NV));
781
1143
  rb_define_const(module, "GL_EVAL_2D_NV", INT2NUM(GL_EVAL_2D_NV));
782
1144
  rb_define_const(module, "GL_EVAL_BIT", INT2NUM(GL_EVAL_BIT));
783
1145
  rb_define_const(module, "GL_EVAL_FRACTIONAL_TESSELLATION_NV", INT2NUM(GL_EVAL_FRACTIONAL_TESSELLATION_NV));
784
1146
  rb_define_const(module, "GL_EVAL_TRIANGULAR_2D_NV", INT2NUM(GL_EVAL_TRIANGULAR_2D_NV));
1147
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB0_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB0_NV));
1148
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB10_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB10_NV));
1149
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB11_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB11_NV));
1150
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB12_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB12_NV));
1151
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB13_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB13_NV));
1152
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB14_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB14_NV));
1153
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB15_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB15_NV));
1154
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB1_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB1_NV));
1155
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB2_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB2_NV));
1156
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB3_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB3_NV));
1157
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB4_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB4_NV));
1158
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB5_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB5_NV));
1159
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB6_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB6_NV));
1160
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB7_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB7_NV));
1161
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB8_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB8_NV));
1162
+ rb_define_const(module, "GL_EVAL_VERTEX_ATRRIB9_NV", INT2NUM(GL_EVAL_VERTEX_ATRRIB9_NV));
785
1163
  rb_define_const(module, "GL_EVAL_VERTEX_ATTRIB0_NV", INT2NUM(GL_EVAL_VERTEX_ATTRIB0_NV));
786
1164
  rb_define_const(module, "GL_EVAL_VERTEX_ATTRIB10_NV", INT2NUM(GL_EVAL_VERTEX_ATTRIB10_NV));
787
1165
  rb_define_const(module, "GL_EVAL_VERTEX_ATTRIB11_NV", INT2NUM(GL_EVAL_VERTEX_ATTRIB11_NV));
@@ -803,6 +1181,7 @@ void gl_init_enums(VALUE module)
803
1181
  rb_define_const(module, "GL_EXPAND_NEGATE_NV", INT2NUM(GL_EXPAND_NEGATE_NV));
804
1182
  rb_define_const(module, "GL_EXPAND_NORMAL_NV", INT2NUM(GL_EXPAND_NORMAL_NV));
805
1183
  rb_define_const(module, "GL_EXTENSIONS", INT2NUM(GL_EXTENSIONS));
1184
+ rb_define_const(module, "GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD", INT2NUM(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD));
806
1185
  rb_define_const(module, "GL_EXT_abgr", INT2NUM(GL_EXT_abgr));
807
1186
  rb_define_const(module, "GL_EXT_blend_color", INT2NUM(GL_EXT_blend_color));
808
1187
  rb_define_const(module, "GL_EXT_blend_logic_op", INT2NUM(GL_EXT_blend_logic_op));
@@ -831,6 +1210,10 @@ void gl_init_enums(VALUE module)
831
1210
  rb_define_const(module, "GL_EYE_POINT_SGIS", INT2NUM(GL_EYE_POINT_SGIS));
832
1211
  rb_define_const(module, "GL_EYE_RADIAL_NV", INT2NUM(GL_EYE_RADIAL_NV));
833
1212
  rb_define_const(module, "GL_E_TIMES_F_NV", INT2NUM(GL_E_TIMES_F_NV));
1213
+ rb_define_const(module, "GL_FACTOR_ALPHA_MODULATE_IMG", INT2NUM(GL_FACTOR_ALPHA_MODULATE_IMG));
1214
+ rb_define_const(module, "GL_FACTOR_MAX_AMD", INT2NUM(GL_FACTOR_MAX_AMD));
1215
+ rb_define_const(module, "GL_FACTOR_MIN_AMD", INT2NUM(GL_FACTOR_MIN_AMD));
1216
+ rb_define_const(module, "GL_FAILURE_NV", INT2NUM(GL_FAILURE_NV));
834
1217
  rb_define_const(module, "GL_FASTEST", INT2NUM(GL_FASTEST));
835
1218
  rb_define_const(module, "GL_FEEDBACK", INT2NUM(GL_FEEDBACK));
836
1219
  rb_define_const(module, "GL_FEEDBACK_BUFFER_POINTER", INT2NUM(GL_FEEDBACK_BUFFER_POINTER));
@@ -840,12 +1223,25 @@ void gl_init_enums(VALUE module)
840
1223
  rb_define_const(module, "GL_FENCE_CONDITION_NV", INT2NUM(GL_FENCE_CONDITION_NV));
841
1224
  rb_define_const(module, "GL_FENCE_STATUS_NV", INT2NUM(GL_FENCE_STATUS_NV));
842
1225
  rb_define_const(module, "GL_FIELDS_NV", INT2NUM(GL_FIELDS_NV));
1226
+ rb_define_const(module, "GL_FIELD_LOWER_NV", INT2NUM(GL_FIELD_LOWER_NV));
1227
+ rb_define_const(module, "GL_FIELD_UPPER_NV", INT2NUM(GL_FIELD_UPPER_NV));
1228
+ rb_define_const(module, "GL_FILE_NAME_NV", INT2NUM(GL_FILE_NAME_NV));
843
1229
  rb_define_const(module, "GL_FILL", INT2NUM(GL_FILL));
1230
+ rb_define_const(module, "GL_FILTER", INT2NUM(GL_FILTER));
844
1231
  rb_define_const(module, "GL_FILTER4_SGIS", INT2NUM(GL_FILTER4_SGIS));
1232
+ rb_define_const(module, "GL_FIRST_TO_REST_NV", INT2NUM(GL_FIRST_TO_REST_NV));
1233
+ rb_define_const(module, "GL_FIRST_VERTEX_CONVENTION", INT2NUM(GL_FIRST_VERTEX_CONVENTION));
1234
+ rb_define_const(module, "GL_FIRST_VERTEX_CONVENTION_EXT", INT2NUM(GL_FIRST_VERTEX_CONVENTION_EXT));
1235
+ rb_define_const(module, "GL_FIXED", INT2NUM(GL_FIXED));
1236
+ rb_define_const(module, "GL_FIXED_OES", INT2NUM(GL_FIXED_OES));
845
1237
  rb_define_const(module, "GL_FIXED_ONLY", INT2NUM(GL_FIXED_ONLY));
846
1238
  rb_define_const(module, "GL_FIXED_ONLY_ARB", INT2NUM(GL_FIXED_ONLY_ARB));
847
1239
  rb_define_const(module, "GL_FLAT", INT2NUM(GL_FLAT));
848
1240
  rb_define_const(module, "GL_FLOAT", INT2NUM(GL_FLOAT));
1241
+ rb_define_const(module, "GL_FLOAT16_NV", INT2NUM(GL_FLOAT16_NV));
1242
+ rb_define_const(module, "GL_FLOAT16_VEC2_NV", INT2NUM(GL_FLOAT16_VEC2_NV));
1243
+ rb_define_const(module, "GL_FLOAT16_VEC3_NV", INT2NUM(GL_FLOAT16_VEC3_NV));
1244
+ rb_define_const(module, "GL_FLOAT16_VEC4_NV", INT2NUM(GL_FLOAT16_VEC4_NV));
849
1245
  rb_define_const(module, "GL_FLOAT_32_UNSIGNED_INT_24_8_REV", INT2NUM(GL_FLOAT_32_UNSIGNED_INT_24_8_REV));
850
1246
  rb_define_const(module, "GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV", INT2NUM(GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV));
851
1247
  rb_define_const(module, "GL_FLOAT_CLEAR_COLOR_VALUE_NV", INT2NUM(GL_FLOAT_CLEAR_COLOR_VALUE_NV));
@@ -901,7 +1297,9 @@ void gl_init_enums(VALUE module)
901
1297
  rb_define_const(module, "GL_FOG_COORDINATE_SOURCE", INT2NUM(GL_FOG_COORDINATE_SOURCE));
902
1298
  rb_define_const(module, "GL_FOG_COORDINATE_SOURCE_EXT", INT2NUM(GL_FOG_COORDINATE_SOURCE_EXT));
903
1299
  rb_define_const(module, "GL_FOG_COORD_ARRAY", INT2NUM(GL_FOG_COORD_ARRAY));
1300
+ rb_define_const(module, "GL_FOG_COORD_ARRAY_ADDRESS_NV", INT2NUM(GL_FOG_COORD_ARRAY_ADDRESS_NV));
904
1301
  rb_define_const(module, "GL_FOG_COORD_ARRAY_BUFFER_BINDING", INT2NUM(GL_FOG_COORD_ARRAY_BUFFER_BINDING));
1302
+ rb_define_const(module, "GL_FOG_COORD_ARRAY_LENGTH_NV", INT2NUM(GL_FOG_COORD_ARRAY_LENGTH_NV));
905
1303
  rb_define_const(module, "GL_FOG_COORD_ARRAY_POINTER", INT2NUM(GL_FOG_COORD_ARRAY_POINTER));
906
1304
  rb_define_const(module, "GL_FOG_COORD_ARRAY_STRIDE", INT2NUM(GL_FOG_COORD_ARRAY_STRIDE));
907
1305
  rb_define_const(module, "GL_FOG_COORD_ARRAY_TYPE", INT2NUM(GL_FOG_COORD_ARRAY_TYPE));
@@ -912,6 +1310,7 @@ void gl_init_enums(VALUE module)
912
1310
  rb_define_const(module, "GL_FOG_FACTOR_TO_ALPHA_SGIX", INT2NUM(GL_FOG_FACTOR_TO_ALPHA_SGIX));
913
1311
  rb_define_const(module, "GL_FOG_FUNC_POINTS_SGIS", INT2NUM(GL_FOG_FUNC_POINTS_SGIS));
914
1312
  rb_define_const(module, "GL_FOG_FUNC_SGIS", INT2NUM(GL_FOG_FUNC_SGIS));
1313
+ rb_define_const(module, "GL_FOG_GEN_MODE_NV", INT2NUM(GL_FOG_GEN_MODE_NV));
915
1314
  rb_define_const(module, "GL_FOG_HINT", INT2NUM(GL_FOG_HINT));
916
1315
  rb_define_const(module, "GL_FOG_INDEX", INT2NUM(GL_FOG_INDEX));
917
1316
  rb_define_const(module, "GL_FOG_MODE", INT2NUM(GL_FOG_MODE));
@@ -921,15 +1320,35 @@ void gl_init_enums(VALUE module)
921
1320
  rb_define_const(module, "GL_FOG_SCALE_VALUE_SGIX", INT2NUM(GL_FOG_SCALE_VALUE_SGIX));
922
1321
  rb_define_const(module, "GL_FOG_SPECULAR_TEXTURE_WIN", INT2NUM(GL_FOG_SPECULAR_TEXTURE_WIN));
923
1322
  rb_define_const(module, "GL_FOG_START", INT2NUM(GL_FOG_START));
1323
+ rb_define_const(module, "GL_FONT_ASCENDER_BIT_NV", INT2NUM(GL_FONT_ASCENDER_BIT_NV));
1324
+ rb_define_const(module, "GL_FONT_DESCENDER_BIT_NV", INT2NUM(GL_FONT_DESCENDER_BIT_NV));
1325
+ rb_define_const(module, "GL_FONT_HAS_KERNING_BIT_NV", INT2NUM(GL_FONT_HAS_KERNING_BIT_NV));
1326
+ rb_define_const(module, "GL_FONT_HEIGHT_BIT_NV", INT2NUM(GL_FONT_HEIGHT_BIT_NV));
1327
+ rb_define_const(module, "GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV", INT2NUM(GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV));
1328
+ rb_define_const(module, "GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV", INT2NUM(GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV));
1329
+ rb_define_const(module, "GL_FONT_UNDERLINE_POSITION_BIT_NV", INT2NUM(GL_FONT_UNDERLINE_POSITION_BIT_NV));
1330
+ rb_define_const(module, "GL_FONT_UNDERLINE_THICKNESS_BIT_NV", INT2NUM(GL_FONT_UNDERLINE_THICKNESS_BIT_NV));
1331
+ rb_define_const(module, "GL_FONT_UNITS_PER_EM_BIT_NV", INT2NUM(GL_FONT_UNITS_PER_EM_BIT_NV));
1332
+ rb_define_const(module, "GL_FONT_X_MAX_BOUNDS_BIT_NV", INT2NUM(GL_FONT_X_MAX_BOUNDS_BIT_NV));
1333
+ rb_define_const(module, "GL_FONT_X_MIN_BOUNDS_BIT_NV", INT2NUM(GL_FONT_X_MIN_BOUNDS_BIT_NV));
1334
+ rb_define_const(module, "GL_FONT_Y_MAX_BOUNDS_BIT_NV", INT2NUM(GL_FONT_Y_MAX_BOUNDS_BIT_NV));
1335
+ rb_define_const(module, "GL_FONT_Y_MIN_BOUNDS_BIT_NV", INT2NUM(GL_FONT_Y_MIN_BOUNDS_BIT_NV));
924
1336
  rb_define_const(module, "GL_FORCE_BLUE_TO_ONE_NV", INT2NUM(GL_FORCE_BLUE_TO_ONE_NV));
925
1337
  rb_define_const(module, "GL_FORMAT_SUBSAMPLE_244_244_OML", INT2NUM(GL_FORMAT_SUBSAMPLE_244_244_OML));
926
1338
  rb_define_const(module, "GL_FORMAT_SUBSAMPLE_24_24_OML", INT2NUM(GL_FORMAT_SUBSAMPLE_24_24_OML));
1339
+ rb_define_const(module, "GL_FRACTIONAL_EVEN", INT2NUM(GL_FRACTIONAL_EVEN));
1340
+ rb_define_const(module, "GL_FRACTIONAL_ODD", INT2NUM(GL_FRACTIONAL_ODD));
1341
+ rb_define_const(module, "GL_FRAGMENTS_INSTRUMENT_COUNTERS_SGIX", INT2NUM(GL_FRAGMENTS_INSTRUMENT_COUNTERS_SGIX));
1342
+ rb_define_const(module, "GL_FRAGMENTS_INSTRUMENT_MAX_SGIX", INT2NUM(GL_FRAGMENTS_INSTRUMENT_MAX_SGIX));
1343
+ rb_define_const(module, "GL_FRAGMENTS_INSTRUMENT_SGIX", INT2NUM(GL_FRAGMENTS_INSTRUMENT_SGIX));
1344
+ rb_define_const(module, "GL_FRAGMENT_ALPHA_MODULATE_IMG", INT2NUM(GL_FRAGMENT_ALPHA_MODULATE_IMG));
927
1345
  rb_define_const(module, "GL_FRAGMENT_COLOR_EXT", INT2NUM(GL_FRAGMENT_COLOR_EXT));
928
1346
  rb_define_const(module, "GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX", INT2NUM(GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX));
929
1347
  rb_define_const(module, "GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX", INT2NUM(GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX));
930
1348
  rb_define_const(module, "GL_FRAGMENT_COLOR_MATERIAL_SGIX", INT2NUM(GL_FRAGMENT_COLOR_MATERIAL_SGIX));
931
1349
  rb_define_const(module, "GL_FRAGMENT_DEPTH", INT2NUM(GL_FRAGMENT_DEPTH));
932
1350
  rb_define_const(module, "GL_FRAGMENT_DEPTH_EXT", INT2NUM(GL_FRAGMENT_DEPTH_EXT));
1351
+ rb_define_const(module, "GL_FRAGMENT_INTERPOLATION_OFFSET_BITS", INT2NUM(GL_FRAGMENT_INTERPOLATION_OFFSET_BITS));
933
1352
  rb_define_const(module, "GL_FRAGMENT_LIGHT0_SGIX", INT2NUM(GL_FRAGMENT_LIGHT0_SGIX));
934
1353
  rb_define_const(module, "GL_FRAGMENT_LIGHT1_SGIX", INT2NUM(GL_FRAGMENT_LIGHT1_SGIX));
935
1354
  rb_define_const(module, "GL_FRAGMENT_LIGHT2_SGIX", INT2NUM(GL_FRAGMENT_LIGHT2_SGIX));
@@ -947,63 +1366,110 @@ void gl_init_enums(VALUE module)
947
1366
  rb_define_const(module, "GL_FRAGMENT_NORMAL_EXT", INT2NUM(GL_FRAGMENT_NORMAL_EXT));
948
1367
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_ARB", INT2NUM(GL_FRAGMENT_PROGRAM_ARB));
949
1368
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_BINDING_NV", INT2NUM(GL_FRAGMENT_PROGRAM_BINDING_NV));
1369
+ rb_define_const(module, "GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA", INT2NUM(GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA));
1370
+ rb_define_const(module, "GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA", INT2NUM(GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA));
1371
+ rb_define_const(module, "GL_FRAGMENT_PROGRAM_CALLBACK_MESA", INT2NUM(GL_FRAGMENT_PROGRAM_CALLBACK_MESA));
1372
+ rb_define_const(module, "GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV", INT2NUM(GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV));
950
1373
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_NV", INT2NUM(GL_FRAGMENT_PROGRAM_NV));
951
1374
  rb_define_const(module, "GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV));
1375
+ rb_define_const(module, "GL_FRAGMENT_PROGRAM_POSITION_MESA", INT2NUM(GL_FRAGMENT_PROGRAM_POSITION_MESA));
952
1376
  rb_define_const(module, "GL_FRAGMENT_SHADER", INT2NUM(GL_FRAGMENT_SHADER));
953
1377
  rb_define_const(module, "GL_FRAGMENT_SHADER_ARB", INT2NUM(GL_FRAGMENT_SHADER_ARB));
954
1378
  rb_define_const(module, "GL_FRAGMENT_SHADER_ATI", INT2NUM(GL_FRAGMENT_SHADER_ATI));
1379
+ rb_define_const(module, "GL_FRAGMENT_SHADER_BIT", INT2NUM(GL_FRAGMENT_SHADER_BIT));
1380
+ rb_define_const(module, "GL_FRAGMENT_SHADER_BIT_EXT", INT2NUM(GL_FRAGMENT_SHADER_BIT_EXT));
955
1381
  rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT));
956
1382
  rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB));
1383
+ rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES));
1384
+ rb_define_const(module, "GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT", INT2NUM(GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT));
1385
+ rb_define_const(module, "GL_FRAGMENT_SUBROUTINE", INT2NUM(GL_FRAGMENT_SUBROUTINE));
1386
+ rb_define_const(module, "GL_FRAGMENT_SUBROUTINE_UNIFORM", INT2NUM(GL_FRAGMENT_SUBROUTINE_UNIFORM));
1387
+ rb_define_const(module, "GL_FRAGMENT_TEXTURE", INT2NUM(GL_FRAGMENT_TEXTURE));
957
1388
  rb_define_const(module, "GL_FRAMEBUFFER", INT2NUM(GL_FRAMEBUFFER));
958
1389
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE));
1390
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_ANGLE));
959
1391
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE));
960
1392
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING));
961
1393
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE));
1394
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT));
962
1395
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE));
963
1396
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE));
1397
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_LAYERED", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_LAYERED));
964
1398
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB));
965
1399
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT));
966
1400
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME));
967
1401
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT));
1402
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES));
968
1403
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE));
969
1404
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT));
1405
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES));
970
1406
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE));
971
1407
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE));
972
1408
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT));
1409
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES));
973
1410
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE));
974
1411
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT));
1412
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES));
975
1413
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER));
976
1414
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT));
977
1415
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL));
978
1416
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT));
1417
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES));
1418
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT));
1419
+ rb_define_const(module, "GL_FRAMEBUFFER_BARRIER_BIT", INT2NUM(GL_FRAMEBUFFER_BARRIER_BIT));
1420
+ rb_define_const(module, "GL_FRAMEBUFFER_BARRIER_BIT_EXT", INT2NUM(GL_FRAMEBUFFER_BARRIER_BIT_EXT));
979
1421
  rb_define_const(module, "GL_FRAMEBUFFER_BINDING", INT2NUM(GL_FRAMEBUFFER_BINDING));
1422
+ rb_define_const(module, "GL_FRAMEBUFFER_BINDING_ANGLE", INT2NUM(GL_FRAMEBUFFER_BINDING_ANGLE));
980
1423
  rb_define_const(module, "GL_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_FRAMEBUFFER_BINDING_EXT));
1424
+ rb_define_const(module, "GL_FRAMEBUFFER_BINDING_OES", INT2NUM(GL_FRAMEBUFFER_BINDING_OES));
1425
+ rb_define_const(module, "GL_FRAMEBUFFER_BLEND", INT2NUM(GL_FRAMEBUFFER_BLEND));
981
1426
  rb_define_const(module, "GL_FRAMEBUFFER_COMPLETE", INT2NUM(GL_FRAMEBUFFER_COMPLETE));
982
1427
  rb_define_const(module, "GL_FRAMEBUFFER_COMPLETE_EXT", INT2NUM(GL_FRAMEBUFFER_COMPLETE_EXT));
1428
+ rb_define_const(module, "GL_FRAMEBUFFER_COMPLETE_OES", INT2NUM(GL_FRAMEBUFFER_COMPLETE_OES));
983
1429
  rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT", INT2NUM(GL_FRAMEBUFFER_DEFAULT));
1430
+ rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS", INT2NUM(GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS));
1431
+ rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT_HEIGHT", INT2NUM(GL_FRAMEBUFFER_DEFAULT_HEIGHT));
1432
+ rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT_LAYERS", INT2NUM(GL_FRAMEBUFFER_DEFAULT_LAYERS));
1433
+ rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT_SAMPLES", INT2NUM(GL_FRAMEBUFFER_DEFAULT_SAMPLES));
1434
+ rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT_WIDTH", INT2NUM(GL_FRAMEBUFFER_DEFAULT_WIDTH));
984
1435
  rb_define_const(module, "GL_FRAMEBUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_EXT));
985
1436
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT));
986
1437
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT));
1438
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES));
987
1439
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT));
1440
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES));
988
1441
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER));
989
1442
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT));
1443
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES));
990
1444
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT));
1445
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES));
991
1446
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB));
992
1447
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT));
1448
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS));
993
1449
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB));
994
1450
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT));
995
1451
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT));
996
1452
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT));
1453
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES));
997
1454
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE));
1455
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE));
998
1456
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT));
1457
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG));
1458
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV));
999
1459
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER));
1000
1460
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT));
1461
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES));
1462
+ rb_define_const(module, "GL_FRAMEBUFFER_OES", INT2NUM(GL_FRAMEBUFFER_OES));
1463
+ rb_define_const(module, "GL_FRAMEBUFFER_RENDERABLE", INT2NUM(GL_FRAMEBUFFER_RENDERABLE));
1464
+ rb_define_const(module, "GL_FRAMEBUFFER_RENDERABLE_LAYERED", INT2NUM(GL_FRAMEBUFFER_RENDERABLE_LAYERED));
1001
1465
  rb_define_const(module, "GL_FRAMEBUFFER_SRGB", INT2NUM(GL_FRAMEBUFFER_SRGB));
1002
1466
  rb_define_const(module, "GL_FRAMEBUFFER_SRGB_CAPABLE_EXT", INT2NUM(GL_FRAMEBUFFER_SRGB_CAPABLE_EXT));
1003
1467
  rb_define_const(module, "GL_FRAMEBUFFER_SRGB_EXT", INT2NUM(GL_FRAMEBUFFER_SRGB_EXT));
1004
1468
  rb_define_const(module, "GL_FRAMEBUFFER_UNDEFINED", INT2NUM(GL_FRAMEBUFFER_UNDEFINED));
1469
+ rb_define_const(module, "GL_FRAMEBUFFER_UNDEFINED_OES", INT2NUM(GL_FRAMEBUFFER_UNDEFINED_OES));
1005
1470
  rb_define_const(module, "GL_FRAMEBUFFER_UNSUPPORTED", INT2NUM(GL_FRAMEBUFFER_UNSUPPORTED));
1006
1471
  rb_define_const(module, "GL_FRAMEBUFFER_UNSUPPORTED_EXT", INT2NUM(GL_FRAMEBUFFER_UNSUPPORTED_EXT));
1472
+ rb_define_const(module, "GL_FRAMEBUFFER_UNSUPPORTED_OES", INT2NUM(GL_FRAMEBUFFER_UNSUPPORTED_OES));
1007
1473
  rb_define_const(module, "GL_FRAMEZOOM_FACTOR_SGIX", INT2NUM(GL_FRAMEZOOM_FACTOR_SGIX));
1008
1474
  rb_define_const(module, "GL_FRAMEZOOM_SGIX", INT2NUM(GL_FRAMEZOOM_SGIX));
1009
1475
  rb_define_const(module, "GL_FRAME_NV", INT2NUM(GL_FRAME_NV));
@@ -1014,12 +1480,17 @@ void gl_init_enums(VALUE module)
1014
1480
  rb_define_const(module, "GL_FRONT_RIGHT", INT2NUM(GL_FRONT_RIGHT));
1015
1481
  rb_define_const(module, "GL_FULL_RANGE_EXT", INT2NUM(GL_FULL_RANGE_EXT));
1016
1482
  rb_define_const(module, "GL_FULL_STIPPLE_HINT_PGI", INT2NUM(GL_FULL_STIPPLE_HINT_PGI));
1483
+ rb_define_const(module, "GL_FULL_SUPPORT", INT2NUM(GL_FULL_SUPPORT));
1017
1484
  rb_define_const(module, "GL_FUNC_ADD", INT2NUM(GL_FUNC_ADD));
1018
1485
  rb_define_const(module, "GL_FUNC_ADD_EXT", INT2NUM(GL_FUNC_ADD_EXT));
1486
+ rb_define_const(module, "GL_FUNC_ADD_OES", INT2NUM(GL_FUNC_ADD_OES));
1019
1487
  rb_define_const(module, "GL_FUNC_REVERSE_SUBTRACT", INT2NUM(GL_FUNC_REVERSE_SUBTRACT));
1020
1488
  rb_define_const(module, "GL_FUNC_REVERSE_SUBTRACT_EXT", INT2NUM(GL_FUNC_REVERSE_SUBTRACT_EXT));
1489
+ rb_define_const(module, "GL_FUNC_REVERSE_SUBTRACT_OES", INT2NUM(GL_FUNC_REVERSE_SUBTRACT_OES));
1021
1490
  rb_define_const(module, "GL_FUNC_SUBTRACT", INT2NUM(GL_FUNC_SUBTRACT));
1022
1491
  rb_define_const(module, "GL_FUNC_SUBTRACT_EXT", INT2NUM(GL_FUNC_SUBTRACT_EXT));
1492
+ rb_define_const(module, "GL_FUNC_SUBTRACT_OES", INT2NUM(GL_FUNC_SUBTRACT_OES));
1493
+ rb_define_const(module, "GL_GCCSO_SHADER_BINARY_FJ", INT2NUM(GL_GCCSO_SHADER_BINARY_FJ));
1023
1494
  rb_define_const(module, "GL_GENERATE_MIPMAP", INT2NUM(GL_GENERATE_MIPMAP));
1024
1495
  rb_define_const(module, "GL_GENERATE_MIPMAP_HINT", INT2NUM(GL_GENERATE_MIPMAP_HINT));
1025
1496
  rb_define_const(module, "GL_GENERATE_MIPMAP_HINT_SGIS", INT2NUM(GL_GENERATE_MIPMAP_HINT_SGIS));
@@ -1027,19 +1498,41 @@ void gl_init_enums(VALUE module)
1027
1498
  rb_define_const(module, "GL_GENERIC_ATTRIB_NV", INT2NUM(GL_GENERIC_ATTRIB_NV));
1028
1499
  rb_define_const(module, "GL_GEOMETRY_DEFORMATION_BIT_SGIX", INT2NUM(GL_GEOMETRY_DEFORMATION_BIT_SGIX));
1029
1500
  rb_define_const(module, "GL_GEOMETRY_DEFORMATION_SGIX", INT2NUM(GL_GEOMETRY_DEFORMATION_SGIX));
1501
+ rb_define_const(module, "GL_GEOMETRY_INPUT_TYPE", INT2NUM(GL_GEOMETRY_INPUT_TYPE));
1030
1502
  rb_define_const(module, "GL_GEOMETRY_INPUT_TYPE_ARB", INT2NUM(GL_GEOMETRY_INPUT_TYPE_ARB));
1031
1503
  rb_define_const(module, "GL_GEOMETRY_INPUT_TYPE_EXT", INT2NUM(GL_GEOMETRY_INPUT_TYPE_EXT));
1504
+ rb_define_const(module, "GL_GEOMETRY_OUTPUT_TYPE", INT2NUM(GL_GEOMETRY_OUTPUT_TYPE));
1032
1505
  rb_define_const(module, "GL_GEOMETRY_OUTPUT_TYPE_ARB", INT2NUM(GL_GEOMETRY_OUTPUT_TYPE_ARB));
1033
1506
  rb_define_const(module, "GL_GEOMETRY_OUTPUT_TYPE_EXT", INT2NUM(GL_GEOMETRY_OUTPUT_TYPE_EXT));
1034
1507
  rb_define_const(module, "GL_GEOMETRY_PROGRAM_NV", INT2NUM(GL_GEOMETRY_PROGRAM_NV));
1035
1508
  rb_define_const(module, "GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV));
1509
+ rb_define_const(module, "GL_GEOMETRY_SHADER", INT2NUM(GL_GEOMETRY_SHADER));
1036
1510
  rb_define_const(module, "GL_GEOMETRY_SHADER_ARB", INT2NUM(GL_GEOMETRY_SHADER_ARB));
1511
+ rb_define_const(module, "GL_GEOMETRY_SHADER_BIT", INT2NUM(GL_GEOMETRY_SHADER_BIT));
1037
1512
  rb_define_const(module, "GL_GEOMETRY_SHADER_EXT", INT2NUM(GL_GEOMETRY_SHADER_EXT));
1513
+ rb_define_const(module, "GL_GEOMETRY_SHADER_INVOCATIONS", INT2NUM(GL_GEOMETRY_SHADER_INVOCATIONS));
1514
+ rb_define_const(module, "GL_GEOMETRY_SUBROUTINE", INT2NUM(GL_GEOMETRY_SUBROUTINE));
1515
+ rb_define_const(module, "GL_GEOMETRY_SUBROUTINE_UNIFORM", INT2NUM(GL_GEOMETRY_SUBROUTINE_UNIFORM));
1516
+ rb_define_const(module, "GL_GEOMETRY_TEXTURE", INT2NUM(GL_GEOMETRY_TEXTURE));
1517
+ rb_define_const(module, "GL_GEOMETRY_VERTICES_OUT", INT2NUM(GL_GEOMETRY_VERTICES_OUT));
1038
1518
  rb_define_const(module, "GL_GEOMETRY_VERTICES_OUT_ARB", INT2NUM(GL_GEOMETRY_VERTICES_OUT_ARB));
1039
1519
  rb_define_const(module, "GL_GEOMETRY_VERTICES_OUT_EXT", INT2NUM(GL_GEOMETRY_VERTICES_OUT_EXT));
1040
1520
  rb_define_const(module, "GL_GEQUAL", INT2NUM(GL_GEQUAL));
1521
+ rb_define_const(module, "GL_GET_TEXTURE_IMAGE_FORMAT", INT2NUM(GL_GET_TEXTURE_IMAGE_FORMAT));
1522
+ rb_define_const(module, "GL_GET_TEXTURE_IMAGE_TYPE", INT2NUM(GL_GET_TEXTURE_IMAGE_TYPE));
1041
1523
  rb_define_const(module, "GL_GLOBAL_ALPHA_FACTOR_SUN", INT2NUM(GL_GLOBAL_ALPHA_FACTOR_SUN));
1042
1524
  rb_define_const(module, "GL_GLOBAL_ALPHA_SUN", INT2NUM(GL_GLOBAL_ALPHA_SUN));
1525
+ rb_define_const(module, "GL_GLYPH_HAS_KERNING_BIT_NV", INT2NUM(GL_GLYPH_HAS_KERNING_BIT_NV));
1526
+ rb_define_const(module, "GL_GLYPH_HEIGHT_BIT_NV", INT2NUM(GL_GLYPH_HEIGHT_BIT_NV));
1527
+ rb_define_const(module, "GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV", INT2NUM(GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV));
1528
+ rb_define_const(module, "GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV", INT2NUM(GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV));
1529
+ rb_define_const(module, "GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV", INT2NUM(GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV));
1530
+ rb_define_const(module, "GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV", INT2NUM(GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV));
1531
+ rb_define_const(module, "GL_GLYPH_VERTICAL_BEARING_X_BIT_NV", INT2NUM(GL_GLYPH_VERTICAL_BEARING_X_BIT_NV));
1532
+ rb_define_const(module, "GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV", INT2NUM(GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV));
1533
+ rb_define_const(module, "GL_GLYPH_WIDTH_BIT_NV", INT2NUM(GL_GLYPH_WIDTH_BIT_NV));
1534
+ rb_define_const(module, "GL_GPU_ADDRESS_NV", INT2NUM(GL_GPU_ADDRESS_NV));
1535
+ rb_define_const(module, "GL_GPU_OPTIMIZED_QCOM", INT2NUM(GL_GPU_OPTIMIZED_QCOM));
1043
1536
  rb_define_const(module, "GL_GREATER", INT2NUM(GL_GREATER));
1044
1537
  rb_define_const(module, "GL_GREEN", INT2NUM(GL_GREEN));
1045
1538
  rb_define_const(module, "GL_GREEN_BIAS", INT2NUM(GL_GREEN_BIAS));
@@ -1050,12 +1543,17 @@ void gl_init_enums(VALUE module)
1050
1543
  rb_define_const(module, "GL_GREEN_MAX_CLAMP_INGR", INT2NUM(GL_GREEN_MAX_CLAMP_INGR));
1051
1544
  rb_define_const(module, "GL_GREEN_MIN_CLAMP_INGR", INT2NUM(GL_GREEN_MIN_CLAMP_INGR));
1052
1545
  rb_define_const(module, "GL_GREEN_SCALE", INT2NUM(GL_GREEN_SCALE));
1546
+ rb_define_const(module, "GL_GUILTY_CONTEXT_RESET_ARB", INT2NUM(GL_GUILTY_CONTEXT_RESET_ARB));
1547
+ rb_define_const(module, "GL_HALF_APPLE", INT2NUM(GL_HALF_APPLE));
1053
1548
  rb_define_const(module, "GL_HALF_BIAS_NEGATE_NV", INT2NUM(GL_HALF_BIAS_NEGATE_NV));
1054
1549
  rb_define_const(module, "GL_HALF_BIAS_NORMAL_NV", INT2NUM(GL_HALF_BIAS_NORMAL_NV));
1055
1550
  rb_define_const(module, "GL_HALF_BIT_ATI", INT2NUM(GL_HALF_BIT_ATI));
1056
1551
  rb_define_const(module, "GL_HALF_FLOAT", INT2NUM(GL_HALF_FLOAT));
1057
1552
  rb_define_const(module, "GL_HALF_FLOAT_ARB", INT2NUM(GL_HALF_FLOAT_ARB));
1058
1553
  rb_define_const(module, "GL_HALF_FLOAT_NV", INT2NUM(GL_HALF_FLOAT_NV));
1554
+ rb_define_const(module, "GL_HALF_FLOAT_OES", INT2NUM(GL_HALF_FLOAT_OES));
1555
+ rb_define_const(module, "GL_HIGH_FLOAT", INT2NUM(GL_HIGH_FLOAT));
1556
+ rb_define_const(module, "GL_HIGH_INT", INT2NUM(GL_HIGH_INT));
1059
1557
  rb_define_const(module, "GL_HILO16_NV", INT2NUM(GL_HILO16_NV));
1060
1558
  rb_define_const(module, "GL_HILO8_NV", INT2NUM(GL_HILO8_NV));
1061
1559
  rb_define_const(module, "GL_HILO_NV", INT2NUM(GL_HILO_NV));
@@ -1080,30 +1578,88 @@ void gl_init_enums(VALUE module)
1080
1578
  rb_define_const(module, "GL_HISTOGRAM_WIDTH_EXT", INT2NUM(GL_HISTOGRAM_WIDTH_EXT));
1081
1579
  rb_define_const(module, "GL_HI_BIAS_NV", INT2NUM(GL_HI_BIAS_NV));
1082
1580
  rb_define_const(module, "GL_HI_SCALE_NV", INT2NUM(GL_HI_SCALE_NV));
1581
+ rb_define_const(module, "GL_HORIZONTAL_LINE_TO_NV", INT2NUM(GL_HORIZONTAL_LINE_TO_NV));
1083
1582
  rb_define_const(module, "GL_IDENTITY_NV", INT2NUM(GL_IDENTITY_NV));
1084
1583
  rb_define_const(module, "GL_IGNORE_BORDER_HP", INT2NUM(GL_IGNORE_BORDER_HP));
1584
+ rb_define_const(module, "GL_IMAGE_1D", INT2NUM(GL_IMAGE_1D));
1585
+ rb_define_const(module, "GL_IMAGE_1D_ARRAY", INT2NUM(GL_IMAGE_1D_ARRAY));
1586
+ rb_define_const(module, "GL_IMAGE_1D_ARRAY_EXT", INT2NUM(GL_IMAGE_1D_ARRAY_EXT));
1587
+ rb_define_const(module, "GL_IMAGE_1D_EXT", INT2NUM(GL_IMAGE_1D_EXT));
1588
+ rb_define_const(module, "GL_IMAGE_2D", INT2NUM(GL_IMAGE_2D));
1589
+ rb_define_const(module, "GL_IMAGE_2D_ARRAY", INT2NUM(GL_IMAGE_2D_ARRAY));
1590
+ rb_define_const(module, "GL_IMAGE_2D_ARRAY_EXT", INT2NUM(GL_IMAGE_2D_ARRAY_EXT));
1591
+ rb_define_const(module, "GL_IMAGE_2D_EXT", INT2NUM(GL_IMAGE_2D_EXT));
1592
+ rb_define_const(module, "GL_IMAGE_2D_MULTISAMPLE", INT2NUM(GL_IMAGE_2D_MULTISAMPLE));
1593
+ rb_define_const(module, "GL_IMAGE_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_IMAGE_2D_MULTISAMPLE_ARRAY));
1594
+ rb_define_const(module, "GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT", INT2NUM(GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT));
1595
+ rb_define_const(module, "GL_IMAGE_2D_MULTISAMPLE_EXT", INT2NUM(GL_IMAGE_2D_MULTISAMPLE_EXT));
1596
+ rb_define_const(module, "GL_IMAGE_2D_RECT", INT2NUM(GL_IMAGE_2D_RECT));
1597
+ rb_define_const(module, "GL_IMAGE_2D_RECT_EXT", INT2NUM(GL_IMAGE_2D_RECT_EXT));
1598
+ rb_define_const(module, "GL_IMAGE_3D", INT2NUM(GL_IMAGE_3D));
1599
+ rb_define_const(module, "GL_IMAGE_3D_EXT", INT2NUM(GL_IMAGE_3D_EXT));
1600
+ rb_define_const(module, "GL_IMAGE_BINDING_ACCESS", INT2NUM(GL_IMAGE_BINDING_ACCESS));
1601
+ rb_define_const(module, "GL_IMAGE_BINDING_ACCESS_EXT", INT2NUM(GL_IMAGE_BINDING_ACCESS_EXT));
1602
+ rb_define_const(module, "GL_IMAGE_BINDING_FORMAT", INT2NUM(GL_IMAGE_BINDING_FORMAT));
1603
+ rb_define_const(module, "GL_IMAGE_BINDING_FORMAT_EXT", INT2NUM(GL_IMAGE_BINDING_FORMAT_EXT));
1604
+ rb_define_const(module, "GL_IMAGE_BINDING_LAYER", INT2NUM(GL_IMAGE_BINDING_LAYER));
1605
+ rb_define_const(module, "GL_IMAGE_BINDING_LAYERED", INT2NUM(GL_IMAGE_BINDING_LAYERED));
1606
+ rb_define_const(module, "GL_IMAGE_BINDING_LAYERED_EXT", INT2NUM(GL_IMAGE_BINDING_LAYERED_EXT));
1607
+ rb_define_const(module, "GL_IMAGE_BINDING_LAYER_EXT", INT2NUM(GL_IMAGE_BINDING_LAYER_EXT));
1608
+ rb_define_const(module, "GL_IMAGE_BINDING_LEVEL", INT2NUM(GL_IMAGE_BINDING_LEVEL));
1609
+ rb_define_const(module, "GL_IMAGE_BINDING_LEVEL_EXT", INT2NUM(GL_IMAGE_BINDING_LEVEL_EXT));
1610
+ rb_define_const(module, "GL_IMAGE_BINDING_NAME", INT2NUM(GL_IMAGE_BINDING_NAME));
1611
+ rb_define_const(module, "GL_IMAGE_BINDING_NAME_EXT", INT2NUM(GL_IMAGE_BINDING_NAME_EXT));
1612
+ rb_define_const(module, "GL_IMAGE_BUFFER", INT2NUM(GL_IMAGE_BUFFER));
1613
+ rb_define_const(module, "GL_IMAGE_BUFFER_EXT", INT2NUM(GL_IMAGE_BUFFER_EXT));
1614
+ rb_define_const(module, "GL_IMAGE_CLASS_10_10_10_2", INT2NUM(GL_IMAGE_CLASS_10_10_10_2));
1615
+ rb_define_const(module, "GL_IMAGE_CLASS_11_11_10", INT2NUM(GL_IMAGE_CLASS_11_11_10));
1616
+ rb_define_const(module, "GL_IMAGE_CLASS_1_X_16", INT2NUM(GL_IMAGE_CLASS_1_X_16));
1617
+ rb_define_const(module, "GL_IMAGE_CLASS_1_X_32", INT2NUM(GL_IMAGE_CLASS_1_X_32));
1618
+ rb_define_const(module, "GL_IMAGE_CLASS_1_X_8", INT2NUM(GL_IMAGE_CLASS_1_X_8));
1619
+ rb_define_const(module, "GL_IMAGE_CLASS_2_X_16", INT2NUM(GL_IMAGE_CLASS_2_X_16));
1620
+ rb_define_const(module, "GL_IMAGE_CLASS_2_X_32", INT2NUM(GL_IMAGE_CLASS_2_X_32));
1621
+ rb_define_const(module, "GL_IMAGE_CLASS_2_X_8", INT2NUM(GL_IMAGE_CLASS_2_X_8));
1622
+ rb_define_const(module, "GL_IMAGE_CLASS_4_X_16", INT2NUM(GL_IMAGE_CLASS_4_X_16));
1623
+ rb_define_const(module, "GL_IMAGE_CLASS_4_X_32", INT2NUM(GL_IMAGE_CLASS_4_X_32));
1624
+ rb_define_const(module, "GL_IMAGE_CLASS_4_X_8", INT2NUM(GL_IMAGE_CLASS_4_X_8));
1625
+ rb_define_const(module, "GL_IMAGE_COMPATIBILITY_CLASS", INT2NUM(GL_IMAGE_COMPATIBILITY_CLASS));
1626
+ rb_define_const(module, "GL_IMAGE_CUBE", INT2NUM(GL_IMAGE_CUBE));
1627
+ rb_define_const(module, "GL_IMAGE_CUBE_EXT", INT2NUM(GL_IMAGE_CUBE_EXT));
1628
+ rb_define_const(module, "GL_IMAGE_CUBE_MAP_ARRAY", INT2NUM(GL_IMAGE_CUBE_MAP_ARRAY));
1629
+ rb_define_const(module, "GL_IMAGE_CUBE_MAP_ARRAY_EXT", INT2NUM(GL_IMAGE_CUBE_MAP_ARRAY_EXT));
1085
1630
  rb_define_const(module, "GL_IMAGE_CUBIC_WEIGHT_HP", INT2NUM(GL_IMAGE_CUBIC_WEIGHT_HP));
1631
+ rb_define_const(module, "GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS", INT2NUM(GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS));
1632
+ rb_define_const(module, "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE", INT2NUM(GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE));
1633
+ rb_define_const(module, "GL_IMAGE_FORMAT_COMPATIBILITY_TYPE", INT2NUM(GL_IMAGE_FORMAT_COMPATIBILITY_TYPE));
1086
1634
  rb_define_const(module, "GL_IMAGE_MAG_FILTER_HP", INT2NUM(GL_IMAGE_MAG_FILTER_HP));
1087
1635
  rb_define_const(module, "GL_IMAGE_MIN_FILTER_HP", INT2NUM(GL_IMAGE_MIN_FILTER_HP));
1636
+ rb_define_const(module, "GL_IMAGE_PIXEL_FORMAT", INT2NUM(GL_IMAGE_PIXEL_FORMAT));
1637
+ rb_define_const(module, "GL_IMAGE_PIXEL_TYPE", INT2NUM(GL_IMAGE_PIXEL_TYPE));
1088
1638
  rb_define_const(module, "GL_IMAGE_ROTATE_ANGLE_HP", INT2NUM(GL_IMAGE_ROTATE_ANGLE_HP));
1089
1639
  rb_define_const(module, "GL_IMAGE_ROTATE_ORIGIN_X_HP", INT2NUM(GL_IMAGE_ROTATE_ORIGIN_X_HP));
1090
1640
  rb_define_const(module, "GL_IMAGE_ROTATE_ORIGIN_Y_HP", INT2NUM(GL_IMAGE_ROTATE_ORIGIN_Y_HP));
1091
1641
  rb_define_const(module, "GL_IMAGE_SCALE_X_HP", INT2NUM(GL_IMAGE_SCALE_X_HP));
1092
1642
  rb_define_const(module, "GL_IMAGE_SCALE_Y_HP", INT2NUM(GL_IMAGE_SCALE_Y_HP));
1643
+ rb_define_const(module, "GL_IMAGE_TEXEL_SIZE", INT2NUM(GL_IMAGE_TEXEL_SIZE));
1093
1644
  rb_define_const(module, "GL_IMAGE_TRANSFORM_2D_HP", INT2NUM(GL_IMAGE_TRANSFORM_2D_HP));
1094
1645
  rb_define_const(module, "GL_IMAGE_TRANSLATE_X_HP", INT2NUM(GL_IMAGE_TRANSLATE_X_HP));
1095
1646
  rb_define_const(module, "GL_IMAGE_TRANSLATE_Y_HP", INT2NUM(GL_IMAGE_TRANSLATE_Y_HP));
1647
+ rb_define_const(module, "GL_IMPLEMENTATION_COLOR_READ_FORMAT", INT2NUM(GL_IMPLEMENTATION_COLOR_READ_FORMAT));
1096
1648
  rb_define_const(module, "GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES", INT2NUM(GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES));
1649
+ rb_define_const(module, "GL_IMPLEMENTATION_COLOR_READ_TYPE", INT2NUM(GL_IMPLEMENTATION_COLOR_READ_TYPE));
1097
1650
  rb_define_const(module, "GL_IMPLEMENTATION_COLOR_READ_TYPE_OES", INT2NUM(GL_IMPLEMENTATION_COLOR_READ_TYPE_OES));
1098
1651
  rb_define_const(module, "GL_INCR", INT2NUM(GL_INCR));
1099
1652
  rb_define_const(module, "GL_INCR_WRAP", INT2NUM(GL_INCR_WRAP));
1100
1653
  rb_define_const(module, "GL_INCR_WRAP_EXT", INT2NUM(GL_INCR_WRAP_EXT));
1654
+ rb_define_const(module, "GL_INCR_WRAP_OES", INT2NUM(GL_INCR_WRAP_OES));
1101
1655
  rb_define_const(module, "GL_INDEX", INT2NUM(GL_INDEX));
1102
1656
  rb_define_const(module, "GL_INDEX_ARRAY", INT2NUM(GL_INDEX_ARRAY));
1657
+ rb_define_const(module, "GL_INDEX_ARRAY_ADDRESS_NV", INT2NUM(GL_INDEX_ARRAY_ADDRESS_NV));
1103
1658
  rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING));
1104
1659
  rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING_ARB));
1105
1660
  rb_define_const(module, "GL_INDEX_ARRAY_COUNT_EXT", INT2NUM(GL_INDEX_ARRAY_COUNT_EXT));
1106
1661
  rb_define_const(module, "GL_INDEX_ARRAY_EXT", INT2NUM(GL_INDEX_ARRAY_EXT));
1662
+ rb_define_const(module, "GL_INDEX_ARRAY_LENGTH_NV", INT2NUM(GL_INDEX_ARRAY_LENGTH_NV));
1107
1663
  rb_define_const(module, "GL_INDEX_ARRAY_LIST_IBM", INT2NUM(GL_INDEX_ARRAY_LIST_IBM));
1108
1664
  rb_define_const(module, "GL_INDEX_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_INDEX_ARRAY_LIST_STRIDE_IBM));
1109
1665
  rb_define_const(module, "GL_INDEX_ARRAY_POINTER", INT2NUM(GL_INDEX_ARRAY_POINTER));
@@ -1127,9 +1683,22 @@ void gl_init_enums(VALUE module)
1127
1683
  rb_define_const(module, "GL_INDEX_TEST_REF_EXT", INT2NUM(GL_INDEX_TEST_REF_EXT));
1128
1684
  rb_define_const(module, "GL_INDEX_WRITEMASK", INT2NUM(GL_INDEX_WRITEMASK));
1129
1685
  rb_define_const(module, "GL_INFO_LOG_LENGTH", INT2NUM(GL_INFO_LOG_LENGTH));
1686
+ rb_define_const(module, "GL_INNOCENT_CONTEXT_RESET_ARB", INT2NUM(GL_INNOCENT_CONTEXT_RESET_ARB));
1130
1687
  rb_define_const(module, "GL_INSTRUMENT_BUFFER_POINTER_SGIX", INT2NUM(GL_INSTRUMENT_BUFFER_POINTER_SGIX));
1131
1688
  rb_define_const(module, "GL_INSTRUMENT_MEASUREMENTS_SGIX", INT2NUM(GL_INSTRUMENT_MEASUREMENTS_SGIX));
1132
1689
  rb_define_const(module, "GL_INT", INT2NUM(GL_INT));
1690
+ rb_define_const(module, "GL_INT16_NV", INT2NUM(GL_INT16_NV));
1691
+ rb_define_const(module, "GL_INT16_VEC2_NV", INT2NUM(GL_INT16_VEC2_NV));
1692
+ rb_define_const(module, "GL_INT16_VEC3_NV", INT2NUM(GL_INT16_VEC3_NV));
1693
+ rb_define_const(module, "GL_INT16_VEC4_NV", INT2NUM(GL_INT16_VEC4_NV));
1694
+ rb_define_const(module, "GL_INT64_NV", INT2NUM(GL_INT64_NV));
1695
+ rb_define_const(module, "GL_INT64_VEC2_NV", INT2NUM(GL_INT64_VEC2_NV));
1696
+ rb_define_const(module, "GL_INT64_VEC3_NV", INT2NUM(GL_INT64_VEC3_NV));
1697
+ rb_define_const(module, "GL_INT64_VEC4_NV", INT2NUM(GL_INT64_VEC4_NV));
1698
+ rb_define_const(module, "GL_INT8_NV", INT2NUM(GL_INT8_NV));
1699
+ rb_define_const(module, "GL_INT8_VEC2_NV", INT2NUM(GL_INT8_VEC2_NV));
1700
+ rb_define_const(module, "GL_INT8_VEC3_NV", INT2NUM(GL_INT8_VEC3_NV));
1701
+ rb_define_const(module, "GL_INT8_VEC4_NV", INT2NUM(GL_INT8_VEC4_NV));
1133
1702
  rb_define_const(module, "GL_INTENSITY", INT2NUM(GL_INTENSITY));
1134
1703
  rb_define_const(module, "GL_INTENSITY12", INT2NUM(GL_INTENSITY12));
1135
1704
  rb_define_const(module, "GL_INTENSITY12_EXT", INT2NUM(GL_INTENSITY12_EXT));
@@ -1138,6 +1707,7 @@ void gl_init_enums(VALUE module)
1138
1707
  rb_define_const(module, "GL_INTENSITY16I_EXT", INT2NUM(GL_INTENSITY16I_EXT));
1139
1708
  rb_define_const(module, "GL_INTENSITY16UI_EXT", INT2NUM(GL_INTENSITY16UI_EXT));
1140
1709
  rb_define_const(module, "GL_INTENSITY16_EXT", INT2NUM(GL_INTENSITY16_EXT));
1710
+ rb_define_const(module, "GL_INTENSITY16_SNORM", INT2NUM(GL_INTENSITY16_SNORM));
1141
1711
  rb_define_const(module, "GL_INTENSITY32F_ARB", INT2NUM(GL_INTENSITY32F_ARB));
1142
1712
  rb_define_const(module, "GL_INTENSITY32I_EXT", INT2NUM(GL_INTENSITY32I_EXT));
1143
1713
  rb_define_const(module, "GL_INTENSITY32UI_EXT", INT2NUM(GL_INTENSITY32UI_EXT));
@@ -1147,9 +1717,13 @@ void gl_init_enums(VALUE module)
1147
1717
  rb_define_const(module, "GL_INTENSITY8I_EXT", INT2NUM(GL_INTENSITY8I_EXT));
1148
1718
  rb_define_const(module, "GL_INTENSITY8UI_EXT", INT2NUM(GL_INTENSITY8UI_EXT));
1149
1719
  rb_define_const(module, "GL_INTENSITY8_EXT", INT2NUM(GL_INTENSITY8_EXT));
1720
+ rb_define_const(module, "GL_INTENSITY8_SNORM", INT2NUM(GL_INTENSITY8_SNORM));
1150
1721
  rb_define_const(module, "GL_INTENSITY_EXT", INT2NUM(GL_INTENSITY_EXT));
1722
+ rb_define_const(module, "GL_INTENSITY_FLOAT16_APPLE", INT2NUM(GL_INTENSITY_FLOAT16_APPLE));
1151
1723
  rb_define_const(module, "GL_INTENSITY_FLOAT16_ATI", INT2NUM(GL_INTENSITY_FLOAT16_ATI));
1724
+ rb_define_const(module, "GL_INTENSITY_FLOAT32_APPLE", INT2NUM(GL_INTENSITY_FLOAT32_APPLE));
1152
1725
  rb_define_const(module, "GL_INTENSITY_FLOAT32_ATI", INT2NUM(GL_INTENSITY_FLOAT32_ATI));
1726
+ rb_define_const(module, "GL_INTENSITY_SNORM", INT2NUM(GL_INTENSITY_SNORM));
1153
1727
  rb_define_const(module, "GL_INTERLACE_OML", INT2NUM(GL_INTERLACE_OML));
1154
1728
  rb_define_const(module, "GL_INTERLACE_READ_INGR", INT2NUM(GL_INTERLACE_READ_INGR));
1155
1729
  rb_define_const(module, "GL_INTERLACE_READ_OML", INT2NUM(GL_INTERLACE_READ_OML));
@@ -1157,9 +1731,48 @@ void gl_init_enums(VALUE module)
1157
1731
  rb_define_const(module, "GL_INTERLEAVED_ATTRIBS", INT2NUM(GL_INTERLEAVED_ATTRIBS));
1158
1732
  rb_define_const(module, "GL_INTERLEAVED_ATTRIBS_EXT", INT2NUM(GL_INTERLEAVED_ATTRIBS_EXT));
1159
1733
  rb_define_const(module, "GL_INTERLEAVED_ATTRIBS_NV", INT2NUM(GL_INTERLEAVED_ATTRIBS_NV));
1734
+ rb_define_const(module, "GL_INTERNALFORMAT_ALPHA_SIZE", INT2NUM(GL_INTERNALFORMAT_ALPHA_SIZE));
1735
+ rb_define_const(module, "GL_INTERNALFORMAT_ALPHA_TYPE", INT2NUM(GL_INTERNALFORMAT_ALPHA_TYPE));
1736
+ rb_define_const(module, "GL_INTERNALFORMAT_BLUE_SIZE", INT2NUM(GL_INTERNALFORMAT_BLUE_SIZE));
1737
+ rb_define_const(module, "GL_INTERNALFORMAT_BLUE_TYPE", INT2NUM(GL_INTERNALFORMAT_BLUE_TYPE));
1738
+ rb_define_const(module, "GL_INTERNALFORMAT_DEPTH_SIZE", INT2NUM(GL_INTERNALFORMAT_DEPTH_SIZE));
1739
+ rb_define_const(module, "GL_INTERNALFORMAT_DEPTH_TYPE", INT2NUM(GL_INTERNALFORMAT_DEPTH_TYPE));
1740
+ rb_define_const(module, "GL_INTERNALFORMAT_GREEN_SIZE", INT2NUM(GL_INTERNALFORMAT_GREEN_SIZE));
1741
+ rb_define_const(module, "GL_INTERNALFORMAT_GREEN_TYPE", INT2NUM(GL_INTERNALFORMAT_GREEN_TYPE));
1742
+ rb_define_const(module, "GL_INTERNALFORMAT_PREFERRED", INT2NUM(GL_INTERNALFORMAT_PREFERRED));
1743
+ rb_define_const(module, "GL_INTERNALFORMAT_RED_SIZE", INT2NUM(GL_INTERNALFORMAT_RED_SIZE));
1744
+ rb_define_const(module, "GL_INTERNALFORMAT_RED_TYPE", INT2NUM(GL_INTERNALFORMAT_RED_TYPE));
1745
+ rb_define_const(module, "GL_INTERNALFORMAT_SHARED_SIZE", INT2NUM(GL_INTERNALFORMAT_SHARED_SIZE));
1746
+ rb_define_const(module, "GL_INTERNALFORMAT_STENCIL_SIZE", INT2NUM(GL_INTERNALFORMAT_STENCIL_SIZE));
1747
+ rb_define_const(module, "GL_INTERNALFORMAT_STENCIL_TYPE", INT2NUM(GL_INTERNALFORMAT_STENCIL_TYPE));
1748
+ rb_define_const(module, "GL_INTERNALFORMAT_SUPPORTED", INT2NUM(GL_INTERNALFORMAT_SUPPORTED));
1160
1749
  rb_define_const(module, "GL_INTERPOLATE", INT2NUM(GL_INTERPOLATE));
1161
1750
  rb_define_const(module, "GL_INTERPOLATE_ARB", INT2NUM(GL_INTERPOLATE_ARB));
1162
1751
  rb_define_const(module, "GL_INTERPOLATE_EXT", INT2NUM(GL_INTERPOLATE_EXT));
1752
+ rb_define_const(module, "GL_INT_10_10_10_2_OES", INT2NUM(GL_INT_10_10_10_2_OES));
1753
+ rb_define_const(module, "GL_INT_2_10_10_10_REV", INT2NUM(GL_INT_2_10_10_10_REV));
1754
+ rb_define_const(module, "GL_INT_IMAGE_1D", INT2NUM(GL_INT_IMAGE_1D));
1755
+ rb_define_const(module, "GL_INT_IMAGE_1D_ARRAY", INT2NUM(GL_INT_IMAGE_1D_ARRAY));
1756
+ rb_define_const(module, "GL_INT_IMAGE_1D_ARRAY_EXT", INT2NUM(GL_INT_IMAGE_1D_ARRAY_EXT));
1757
+ rb_define_const(module, "GL_INT_IMAGE_1D_EXT", INT2NUM(GL_INT_IMAGE_1D_EXT));
1758
+ rb_define_const(module, "GL_INT_IMAGE_2D", INT2NUM(GL_INT_IMAGE_2D));
1759
+ rb_define_const(module, "GL_INT_IMAGE_2D_ARRAY", INT2NUM(GL_INT_IMAGE_2D_ARRAY));
1760
+ rb_define_const(module, "GL_INT_IMAGE_2D_ARRAY_EXT", INT2NUM(GL_INT_IMAGE_2D_ARRAY_EXT));
1761
+ rb_define_const(module, "GL_INT_IMAGE_2D_EXT", INT2NUM(GL_INT_IMAGE_2D_EXT));
1762
+ rb_define_const(module, "GL_INT_IMAGE_2D_MULTISAMPLE", INT2NUM(GL_INT_IMAGE_2D_MULTISAMPLE));
1763
+ rb_define_const(module, "GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY));
1764
+ rb_define_const(module, "GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT", INT2NUM(GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT));
1765
+ rb_define_const(module, "GL_INT_IMAGE_2D_MULTISAMPLE_EXT", INT2NUM(GL_INT_IMAGE_2D_MULTISAMPLE_EXT));
1766
+ rb_define_const(module, "GL_INT_IMAGE_2D_RECT", INT2NUM(GL_INT_IMAGE_2D_RECT));
1767
+ rb_define_const(module, "GL_INT_IMAGE_2D_RECT_EXT", INT2NUM(GL_INT_IMAGE_2D_RECT_EXT));
1768
+ rb_define_const(module, "GL_INT_IMAGE_3D", INT2NUM(GL_INT_IMAGE_3D));
1769
+ rb_define_const(module, "GL_INT_IMAGE_3D_EXT", INT2NUM(GL_INT_IMAGE_3D_EXT));
1770
+ rb_define_const(module, "GL_INT_IMAGE_BUFFER", INT2NUM(GL_INT_IMAGE_BUFFER));
1771
+ rb_define_const(module, "GL_INT_IMAGE_BUFFER_EXT", INT2NUM(GL_INT_IMAGE_BUFFER_EXT));
1772
+ rb_define_const(module, "GL_INT_IMAGE_CUBE", INT2NUM(GL_INT_IMAGE_CUBE));
1773
+ rb_define_const(module, "GL_INT_IMAGE_CUBE_EXT", INT2NUM(GL_INT_IMAGE_CUBE_EXT));
1774
+ rb_define_const(module, "GL_INT_IMAGE_CUBE_MAP_ARRAY", INT2NUM(GL_INT_IMAGE_CUBE_MAP_ARRAY));
1775
+ rb_define_const(module, "GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT", INT2NUM(GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT));
1163
1776
  rb_define_const(module, "GL_INT_SAMPLER_1D", INT2NUM(GL_INT_SAMPLER_1D));
1164
1777
  rb_define_const(module, "GL_INT_SAMPLER_1D_ARRAY", INT2NUM(GL_INT_SAMPLER_1D_ARRAY));
1165
1778
  rb_define_const(module, "GL_INT_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_INT_SAMPLER_1D_ARRAY_EXT));
@@ -1168,12 +1781,19 @@ void gl_init_enums(VALUE module)
1168
1781
  rb_define_const(module, "GL_INT_SAMPLER_2D_ARRAY", INT2NUM(GL_INT_SAMPLER_2D_ARRAY));
1169
1782
  rb_define_const(module, "GL_INT_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_INT_SAMPLER_2D_ARRAY_EXT));
1170
1783
  rb_define_const(module, "GL_INT_SAMPLER_2D_EXT", INT2NUM(GL_INT_SAMPLER_2D_EXT));
1784
+ rb_define_const(module, "GL_INT_SAMPLER_2D_MULTISAMPLE", INT2NUM(GL_INT_SAMPLER_2D_MULTISAMPLE));
1785
+ rb_define_const(module, "GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY));
1786
+ rb_define_const(module, "GL_INT_SAMPLER_2D_RECT", INT2NUM(GL_INT_SAMPLER_2D_RECT));
1171
1787
  rb_define_const(module, "GL_INT_SAMPLER_2D_RECT_EXT", INT2NUM(GL_INT_SAMPLER_2D_RECT_EXT));
1172
1788
  rb_define_const(module, "GL_INT_SAMPLER_3D", INT2NUM(GL_INT_SAMPLER_3D));
1173
1789
  rb_define_const(module, "GL_INT_SAMPLER_3D_EXT", INT2NUM(GL_INT_SAMPLER_3D_EXT));
1790
+ rb_define_const(module, "GL_INT_SAMPLER_BUFFER", INT2NUM(GL_INT_SAMPLER_BUFFER));
1791
+ rb_define_const(module, "GL_INT_SAMPLER_BUFFER_AMD", INT2NUM(GL_INT_SAMPLER_BUFFER_AMD));
1174
1792
  rb_define_const(module, "GL_INT_SAMPLER_BUFFER_EXT", INT2NUM(GL_INT_SAMPLER_BUFFER_EXT));
1175
1793
  rb_define_const(module, "GL_INT_SAMPLER_CUBE", INT2NUM(GL_INT_SAMPLER_CUBE));
1176
1794
  rb_define_const(module, "GL_INT_SAMPLER_CUBE_EXT", INT2NUM(GL_INT_SAMPLER_CUBE_EXT));
1795
+ rb_define_const(module, "GL_INT_SAMPLER_CUBE_MAP_ARRAY", INT2NUM(GL_INT_SAMPLER_CUBE_MAP_ARRAY));
1796
+ rb_define_const(module, "GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB", INT2NUM(GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB));
1177
1797
  rb_define_const(module, "GL_INT_SAMPLER_RENDERBUFFER_NV", INT2NUM(GL_INT_SAMPLER_RENDERBUFFER_NV));
1178
1798
  rb_define_const(module, "GL_INT_VEC2", INT2NUM(GL_INT_VEC2));
1179
1799
  rb_define_const(module, "GL_INT_VEC2_ARB", INT2NUM(GL_INT_VEC2_ARB));
@@ -1184,6 +1804,8 @@ void gl_init_enums(VALUE module)
1184
1804
  rb_define_const(module, "GL_INVALID_ENUM", INT2NUM(GL_INVALID_ENUM));
1185
1805
  rb_define_const(module, "GL_INVALID_FRAMEBUFFER_OPERATION", INT2NUM(GL_INVALID_FRAMEBUFFER_OPERATION));
1186
1806
  rb_define_const(module, "GL_INVALID_FRAMEBUFFER_OPERATION_EXT", INT2NUM(GL_INVALID_FRAMEBUFFER_OPERATION_EXT));
1807
+ rb_define_const(module, "GL_INVALID_FRAMEBUFFER_OPERATION_OES", INT2NUM(GL_INVALID_FRAMEBUFFER_OPERATION_OES));
1808
+ rb_define_const(module, "GL_INVALID_INDEX", INT2NUM(GL_INVALID_INDEX));
1187
1809
  rb_define_const(module, "GL_INVALID_OPERATION", INT2NUM(GL_INVALID_OPERATION));
1188
1810
  rb_define_const(module, "GL_INVALID_VALUE", INT2NUM(GL_INVALID_VALUE));
1189
1811
  rb_define_const(module, "GL_INVARIANT_DATATYPE_EXT", INT2NUM(GL_INVARIANT_DATATYPE_EXT));
@@ -1194,11 +1816,25 @@ void gl_init_enums(VALUE module)
1194
1816
  rb_define_const(module, "GL_INVERT", INT2NUM(GL_INVERT));
1195
1817
  rb_define_const(module, "GL_INVERTED_SCREEN_W_REND", INT2NUM(GL_INVERTED_SCREEN_W_REND));
1196
1818
  rb_define_const(module, "GL_IR_INSTRUMENT1_SGIX", INT2NUM(GL_IR_INSTRUMENT1_SGIX));
1819
+ rb_define_const(module, "GL_ISOLINES", INT2NUM(GL_ISOLINES));
1820
+ rb_define_const(module, "GL_IS_PER_PATCH", INT2NUM(GL_IS_PER_PATCH));
1821
+ rb_define_const(module, "GL_IS_ROW_MAJOR", INT2NUM(GL_IS_ROW_MAJOR));
1822
+ rb_define_const(module, "GL_ITALIC_BIT_NV", INT2NUM(GL_ITALIC_BIT_NV));
1197
1823
  rb_define_const(module, "GL_IUI_N3F_V2F_EXT", INT2NUM(GL_IUI_N3F_V2F_EXT));
1198
1824
  rb_define_const(module, "GL_IUI_N3F_V3F_EXT", INT2NUM(GL_IUI_N3F_V3F_EXT));
1199
1825
  rb_define_const(module, "GL_IUI_V2F_EXT", INT2NUM(GL_IUI_V2F_EXT));
1200
1826
  rb_define_const(module, "GL_IUI_V3F_EXT", INT2NUM(GL_IUI_V3F_EXT));
1201
1827
  rb_define_const(module, "GL_KEEP", INT2NUM(GL_KEEP));
1828
+ rb_define_const(module, "GL_LARGE_CCW_ARC_TO_NV", INT2NUM(GL_LARGE_CCW_ARC_TO_NV));
1829
+ rb_define_const(module, "GL_LARGE_CW_ARC_TO_NV", INT2NUM(GL_LARGE_CW_ARC_TO_NV));
1830
+ rb_define_const(module, "GL_LAST_VERTEX_CONVENTION", INT2NUM(GL_LAST_VERTEX_CONVENTION));
1831
+ rb_define_const(module, "GL_LAST_VERTEX_CONVENTION_EXT", INT2NUM(GL_LAST_VERTEX_CONVENTION_EXT));
1832
+ rb_define_const(module, "GL_LAST_VIDEO_CAPTURE_STATUS_NV", INT2NUM(GL_LAST_VIDEO_CAPTURE_STATUS_NV));
1833
+ rb_define_const(module, "GL_LAYER_NV", INT2NUM(GL_LAYER_NV));
1834
+ rb_define_const(module, "GL_LAYER_PROVOKING_VERTEX", INT2NUM(GL_LAYER_PROVOKING_VERTEX));
1835
+ rb_define_const(module, "GL_LAYOUT_DEFAULT_INTEL", INT2NUM(GL_LAYOUT_DEFAULT_INTEL));
1836
+ rb_define_const(module, "GL_LAYOUT_LINEAR_CPU_CACHED_INTEL", INT2NUM(GL_LAYOUT_LINEAR_CPU_CACHED_INTEL));
1837
+ rb_define_const(module, "GL_LAYOUT_LINEAR_INTEL", INT2NUM(GL_LAYOUT_LINEAR_INTEL));
1202
1838
  rb_define_const(module, "GL_LEFT", INT2NUM(GL_LEFT));
1203
1839
  rb_define_const(module, "GL_LEQUAL", INT2NUM(GL_LEQUAL));
1204
1840
  rb_define_const(module, "GL_LERP_ATI", INT2NUM(GL_LERP_ATI));
@@ -1234,10 +1870,12 @@ void gl_init_enums(VALUE module)
1234
1870
  rb_define_const(module, "GL_LINEAR_SHARPEN_COLOR_SGIS", INT2NUM(GL_LINEAR_SHARPEN_COLOR_SGIS));
1235
1871
  rb_define_const(module, "GL_LINEAR_SHARPEN_SGIS", INT2NUM(GL_LINEAR_SHARPEN_SGIS));
1236
1872
  rb_define_const(module, "GL_LINES", INT2NUM(GL_LINES));
1873
+ rb_define_const(module, "GL_LINES_ADJACENCY", INT2NUM(GL_LINES_ADJACENCY));
1237
1874
  rb_define_const(module, "GL_LINES_ADJACENCY_ARB", INT2NUM(GL_LINES_ADJACENCY_ARB));
1238
1875
  rb_define_const(module, "GL_LINES_ADJACENCY_EXT", INT2NUM(GL_LINES_ADJACENCY_EXT));
1239
1876
  rb_define_const(module, "GL_LINE_BIT", INT2NUM(GL_LINE_BIT));
1240
1877
  rb_define_const(module, "GL_LINE_LOOP", INT2NUM(GL_LINE_LOOP));
1878
+ rb_define_const(module, "GL_LINE_QUALITY_HINT_SGIX", INT2NUM(GL_LINE_QUALITY_HINT_SGIX));
1241
1879
  rb_define_const(module, "GL_LINE_RESET_TOKEN", INT2NUM(GL_LINE_RESET_TOKEN));
1242
1880
  rb_define_const(module, "GL_LINE_SMOOTH", INT2NUM(GL_LINE_SMOOTH));
1243
1881
  rb_define_const(module, "GL_LINE_SMOOTH_HINT", INT2NUM(GL_LINE_SMOOTH_HINT));
@@ -1245,9 +1883,11 @@ void gl_init_enums(VALUE module)
1245
1883
  rb_define_const(module, "GL_LINE_STIPPLE_PATTERN", INT2NUM(GL_LINE_STIPPLE_PATTERN));
1246
1884
  rb_define_const(module, "GL_LINE_STIPPLE_REPEAT", INT2NUM(GL_LINE_STIPPLE_REPEAT));
1247
1885
  rb_define_const(module, "GL_LINE_STRIP", INT2NUM(GL_LINE_STRIP));
1886
+ rb_define_const(module, "GL_LINE_STRIP_ADJACENCY", INT2NUM(GL_LINE_STRIP_ADJACENCY));
1248
1887
  rb_define_const(module, "GL_LINE_STRIP_ADJACENCY_ARB", INT2NUM(GL_LINE_STRIP_ADJACENCY_ARB));
1249
1888
  rb_define_const(module, "GL_LINE_STRIP_ADJACENCY_EXT", INT2NUM(GL_LINE_STRIP_ADJACENCY_EXT));
1250
1889
  rb_define_const(module, "GL_LINE_TOKEN", INT2NUM(GL_LINE_TOKEN));
1890
+ rb_define_const(module, "GL_LINE_TO_NV", INT2NUM(GL_LINE_TO_NV));
1251
1891
  rb_define_const(module, "GL_LINE_WIDTH", INT2NUM(GL_LINE_WIDTH));
1252
1892
  rb_define_const(module, "GL_LINE_WIDTH_GRANULARITY", INT2NUM(GL_LINE_WIDTH_GRANULARITY));
1253
1893
  rb_define_const(module, "GL_LINE_WIDTH_RANGE", INT2NUM(GL_LINE_WIDTH_RANGE));
@@ -1262,9 +1902,14 @@ void gl_init_enums(VALUE module)
1262
1902
  rb_define_const(module, "GL_LOCAL_CONSTANT_EXT", INT2NUM(GL_LOCAL_CONSTANT_EXT));
1263
1903
  rb_define_const(module, "GL_LOCAL_CONSTANT_VALUE_EXT", INT2NUM(GL_LOCAL_CONSTANT_VALUE_EXT));
1264
1904
  rb_define_const(module, "GL_LOCAL_EXT", INT2NUM(GL_LOCAL_EXT));
1905
+ rb_define_const(module, "GL_LOCATION", INT2NUM(GL_LOCATION));
1906
+ rb_define_const(module, "GL_LOCATION_INDEX", INT2NUM(GL_LOCATION_INDEX));
1265
1907
  rb_define_const(module, "GL_LOGIC_OP", INT2NUM(GL_LOGIC_OP));
1266
1908
  rb_define_const(module, "GL_LOGIC_OP_MODE", INT2NUM(GL_LOGIC_OP_MODE));
1909
+ rb_define_const(module, "GL_LOSE_CONTEXT_ON_RESET_ARB", INT2NUM(GL_LOSE_CONTEXT_ON_RESET_ARB));
1267
1910
  rb_define_const(module, "GL_LOWER_LEFT", INT2NUM(GL_LOWER_LEFT));
1911
+ rb_define_const(module, "GL_LOW_FLOAT", INT2NUM(GL_LOW_FLOAT));
1912
+ rb_define_const(module, "GL_LOW_INT", INT2NUM(GL_LOW_INT));
1268
1913
  rb_define_const(module, "GL_LO_BIAS_NV", INT2NUM(GL_LO_BIAS_NV));
1269
1914
  rb_define_const(module, "GL_LO_SCALE_NV", INT2NUM(GL_LO_SCALE_NV));
1270
1915
  rb_define_const(module, "GL_LUMINANCE", INT2NUM(GL_LUMINANCE));
@@ -1280,7 +1925,9 @@ void gl_init_enums(VALUE module)
1280
1925
  rb_define_const(module, "GL_LUMINANCE16UI_EXT", INT2NUM(GL_LUMINANCE16UI_EXT));
1281
1926
  rb_define_const(module, "GL_LUMINANCE16_ALPHA16", INT2NUM(GL_LUMINANCE16_ALPHA16));
1282
1927
  rb_define_const(module, "GL_LUMINANCE16_ALPHA16_EXT", INT2NUM(GL_LUMINANCE16_ALPHA16_EXT));
1928
+ rb_define_const(module, "GL_LUMINANCE16_ALPHA16_SNORM", INT2NUM(GL_LUMINANCE16_ALPHA16_SNORM));
1283
1929
  rb_define_const(module, "GL_LUMINANCE16_EXT", INT2NUM(GL_LUMINANCE16_EXT));
1930
+ rb_define_const(module, "GL_LUMINANCE16_SNORM", INT2NUM(GL_LUMINANCE16_SNORM));
1284
1931
  rb_define_const(module, "GL_LUMINANCE32F_ARB", INT2NUM(GL_LUMINANCE32F_ARB));
1285
1932
  rb_define_const(module, "GL_LUMINANCE32I_EXT", INT2NUM(GL_LUMINANCE32I_EXT));
1286
1933
  rb_define_const(module, "GL_LUMINANCE32UI_EXT", INT2NUM(GL_LUMINANCE32UI_EXT));
@@ -1295,7 +1942,9 @@ void gl_init_enums(VALUE module)
1295
1942
  rb_define_const(module, "GL_LUMINANCE8UI_EXT", INT2NUM(GL_LUMINANCE8UI_EXT));
1296
1943
  rb_define_const(module, "GL_LUMINANCE8_ALPHA8", INT2NUM(GL_LUMINANCE8_ALPHA8));
1297
1944
  rb_define_const(module, "GL_LUMINANCE8_ALPHA8_EXT", INT2NUM(GL_LUMINANCE8_ALPHA8_EXT));
1945
+ rb_define_const(module, "GL_LUMINANCE8_ALPHA8_SNORM", INT2NUM(GL_LUMINANCE8_ALPHA8_SNORM));
1298
1946
  rb_define_const(module, "GL_LUMINANCE8_EXT", INT2NUM(GL_LUMINANCE8_EXT));
1947
+ rb_define_const(module, "GL_LUMINANCE8_SNORM", INT2NUM(GL_LUMINANCE8_SNORM));
1299
1948
  rb_define_const(module, "GL_LUMINANCE_ALPHA", INT2NUM(GL_LUMINANCE_ALPHA));
1300
1949
  rb_define_const(module, "GL_LUMINANCE_ALPHA16F_ARB", INT2NUM(GL_LUMINANCE_ALPHA16F_ARB));
1301
1950
  rb_define_const(module, "GL_LUMINANCE_ALPHA16I_EXT", INT2NUM(GL_LUMINANCE_ALPHA16I_EXT));
@@ -1305,16 +1954,24 @@ void gl_init_enums(VALUE module)
1305
1954
  rb_define_const(module, "GL_LUMINANCE_ALPHA32UI_EXT", INT2NUM(GL_LUMINANCE_ALPHA32UI_EXT));
1306
1955
  rb_define_const(module, "GL_LUMINANCE_ALPHA8I_EXT", INT2NUM(GL_LUMINANCE_ALPHA8I_EXT));
1307
1956
  rb_define_const(module, "GL_LUMINANCE_ALPHA8UI_EXT", INT2NUM(GL_LUMINANCE_ALPHA8UI_EXT));
1957
+ rb_define_const(module, "GL_LUMINANCE_ALPHA_FLOAT16_APPLE", INT2NUM(GL_LUMINANCE_ALPHA_FLOAT16_APPLE));
1308
1958
  rb_define_const(module, "GL_LUMINANCE_ALPHA_FLOAT16_ATI", INT2NUM(GL_LUMINANCE_ALPHA_FLOAT16_ATI));
1959
+ rb_define_const(module, "GL_LUMINANCE_ALPHA_FLOAT32_APPLE", INT2NUM(GL_LUMINANCE_ALPHA_FLOAT32_APPLE));
1309
1960
  rb_define_const(module, "GL_LUMINANCE_ALPHA_FLOAT32_ATI", INT2NUM(GL_LUMINANCE_ALPHA_FLOAT32_ATI));
1310
1961
  rb_define_const(module, "GL_LUMINANCE_ALPHA_INTEGER_EXT", INT2NUM(GL_LUMINANCE_ALPHA_INTEGER_EXT));
1962
+ rb_define_const(module, "GL_LUMINANCE_ALPHA_SNORM", INT2NUM(GL_LUMINANCE_ALPHA_SNORM));
1963
+ rb_define_const(module, "GL_LUMINANCE_FLOAT16_APPLE", INT2NUM(GL_LUMINANCE_FLOAT16_APPLE));
1311
1964
  rb_define_const(module, "GL_LUMINANCE_FLOAT16_ATI", INT2NUM(GL_LUMINANCE_FLOAT16_ATI));
1965
+ rb_define_const(module, "GL_LUMINANCE_FLOAT32_APPLE", INT2NUM(GL_LUMINANCE_FLOAT32_APPLE));
1312
1966
  rb_define_const(module, "GL_LUMINANCE_FLOAT32_ATI", INT2NUM(GL_LUMINANCE_FLOAT32_ATI));
1313
1967
  rb_define_const(module, "GL_LUMINANCE_INTEGER_EXT", INT2NUM(GL_LUMINANCE_INTEGER_EXT));
1968
+ rb_define_const(module, "GL_LUMINANCE_SNORM", INT2NUM(GL_LUMINANCE_SNORM));
1314
1969
  rb_define_const(module, "GL_MAD_ATI", INT2NUM(GL_MAD_ATI));
1315
1970
  rb_define_const(module, "GL_MAGNITUDE_BIAS_NV", INT2NUM(GL_MAGNITUDE_BIAS_NV));
1316
1971
  rb_define_const(module, "GL_MAGNITUDE_SCALE_NV", INT2NUM(GL_MAGNITUDE_SCALE_NV));
1317
1972
  rb_define_const(module, "GL_MAJOR_VERSION", INT2NUM(GL_MAJOR_VERSION));
1973
+ rb_define_const(module, "GL_MALI_SHADER_BINARY_ARM", INT2NUM(GL_MALI_SHADER_BINARY_ARM));
1974
+ rb_define_const(module, "GL_MANUAL_GENERATE_MIPMAP", INT2NUM(GL_MANUAL_GENERATE_MIPMAP));
1318
1975
  rb_define_const(module, "GL_MAP1_BINORMAL_EXT", INT2NUM(GL_MAP1_BINORMAL_EXT));
1319
1976
  rb_define_const(module, "GL_MAP1_COLOR_4", INT2NUM(GL_MAP1_COLOR_4));
1320
1977
  rb_define_const(module, "GL_MAP1_GRID_DOMAIN", INT2NUM(GL_MAP1_GRID_DOMAIN));
@@ -1377,13 +2034,19 @@ void gl_init_enums(VALUE module)
1377
2034
  rb_define_const(module, "GL_MAP_ATTRIB_V_ORDER_NV", INT2NUM(GL_MAP_ATTRIB_V_ORDER_NV));
1378
2035
  rb_define_const(module, "GL_MAP_COLOR", INT2NUM(GL_MAP_COLOR));
1379
2036
  rb_define_const(module, "GL_MAP_FLUSH_EXPLICIT_BIT", INT2NUM(GL_MAP_FLUSH_EXPLICIT_BIT));
2037
+ rb_define_const(module, "GL_MAP_FLUSH_EXPLICIT_BIT_EXT", INT2NUM(GL_MAP_FLUSH_EXPLICIT_BIT_EXT));
1380
2038
  rb_define_const(module, "GL_MAP_INVALIDATE_BUFFER_BIT", INT2NUM(GL_MAP_INVALIDATE_BUFFER_BIT));
2039
+ rb_define_const(module, "GL_MAP_INVALIDATE_BUFFER_BIT_EXT", INT2NUM(GL_MAP_INVALIDATE_BUFFER_BIT_EXT));
1381
2040
  rb_define_const(module, "GL_MAP_INVALIDATE_RANGE_BIT", INT2NUM(GL_MAP_INVALIDATE_RANGE_BIT));
2041
+ rb_define_const(module, "GL_MAP_INVALIDATE_RANGE_BIT_EXT", INT2NUM(GL_MAP_INVALIDATE_RANGE_BIT_EXT));
1382
2042
  rb_define_const(module, "GL_MAP_READ_BIT", INT2NUM(GL_MAP_READ_BIT));
2043
+ rb_define_const(module, "GL_MAP_READ_BIT_EXT", INT2NUM(GL_MAP_READ_BIT_EXT));
1383
2044
  rb_define_const(module, "GL_MAP_STENCIL", INT2NUM(GL_MAP_STENCIL));
1384
2045
  rb_define_const(module, "GL_MAP_TESSELLATION_NV", INT2NUM(GL_MAP_TESSELLATION_NV));
1385
2046
  rb_define_const(module, "GL_MAP_UNSYNCHRONIZED_BIT", INT2NUM(GL_MAP_UNSYNCHRONIZED_BIT));
2047
+ rb_define_const(module, "GL_MAP_UNSYNCHRONIZED_BIT_EXT", INT2NUM(GL_MAP_UNSYNCHRONIZED_BIT_EXT));
1386
2048
  rb_define_const(module, "GL_MAP_WRITE_BIT", INT2NUM(GL_MAP_WRITE_BIT));
2049
+ rb_define_const(module, "GL_MAP_WRITE_BIT_EXT", INT2NUM(GL_MAP_WRITE_BIT_EXT));
1387
2050
  rb_define_const(module, "GL_MATERIAL_SIDE_HINT_PGI", INT2NUM(GL_MATERIAL_SIDE_HINT_PGI));
1388
2051
  rb_define_const(module, "GL_MATRIX0_ARB", INT2NUM(GL_MATRIX0_ARB));
1389
2052
  rb_define_const(module, "GL_MATRIX0_NV", INT2NUM(GL_MATRIX0_NV));
@@ -1427,12 +2090,20 @@ void gl_init_enums(VALUE module)
1427
2090
  rb_define_const(module, "GL_MATRIX9_ARB", INT2NUM(GL_MATRIX9_ARB));
1428
2091
  rb_define_const(module, "GL_MATRIX_EXT", INT2NUM(GL_MATRIX_EXT));
1429
2092
  rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_ARB", INT2NUM(GL_MATRIX_INDEX_ARRAY_ARB));
2093
+ rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES", INT2NUM(GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES));
2094
+ rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_OES", INT2NUM(GL_MATRIX_INDEX_ARRAY_OES));
1430
2095
  rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_POINTER_ARB", INT2NUM(GL_MATRIX_INDEX_ARRAY_POINTER_ARB));
2096
+ rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_POINTER_OES", INT2NUM(GL_MATRIX_INDEX_ARRAY_POINTER_OES));
1431
2097
  rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_SIZE_ARB", INT2NUM(GL_MATRIX_INDEX_ARRAY_SIZE_ARB));
2098
+ rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_SIZE_OES", INT2NUM(GL_MATRIX_INDEX_ARRAY_SIZE_OES));
1432
2099
  rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_STRIDE_ARB", INT2NUM(GL_MATRIX_INDEX_ARRAY_STRIDE_ARB));
2100
+ rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_STRIDE_OES", INT2NUM(GL_MATRIX_INDEX_ARRAY_STRIDE_OES));
1433
2101
  rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_TYPE_ARB", INT2NUM(GL_MATRIX_INDEX_ARRAY_TYPE_ARB));
2102
+ rb_define_const(module, "GL_MATRIX_INDEX_ARRAY_TYPE_OES", INT2NUM(GL_MATRIX_INDEX_ARRAY_TYPE_OES));
1434
2103
  rb_define_const(module, "GL_MATRIX_MODE", INT2NUM(GL_MATRIX_MODE));
1435
2104
  rb_define_const(module, "GL_MATRIX_PALETTE_ARB", INT2NUM(GL_MATRIX_PALETTE_ARB));
2105
+ rb_define_const(module, "GL_MATRIX_PALETTE_OES", INT2NUM(GL_MATRIX_PALETTE_OES));
2106
+ rb_define_const(module, "GL_MATRIX_STRIDE", INT2NUM(GL_MATRIX_STRIDE));
1436
2107
  rb_define_const(module, "GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI", INT2NUM(GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI));
1437
2108
  rb_define_const(module, "GL_MAT_AMBIENT_BIT_PGI", INT2NUM(GL_MAT_AMBIENT_BIT_PGI));
1438
2109
  rb_define_const(module, "GL_MAT_COLOR_INDEXES_BIT_PGI", INT2NUM(GL_MAT_COLOR_INDEXES_BIT_PGI));
@@ -1443,6 +2114,7 @@ void gl_init_enums(VALUE module)
1443
2114
  rb_define_const(module, "GL_MAX", INT2NUM(GL_MAX));
1444
2115
  rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE", INT2NUM(GL_MAX_3D_TEXTURE_SIZE));
1445
2116
  rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE_EXT", INT2NUM(GL_MAX_3D_TEXTURE_SIZE_EXT));
2117
+ rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE_OES", INT2NUM(GL_MAX_3D_TEXTURE_SIZE_OES));
1446
2118
  rb_define_const(module, "GL_MAX_4D_TEXTURE_SIZE_SGIS", INT2NUM(GL_MAX_4D_TEXTURE_SIZE_SGIS));
1447
2119
  rb_define_const(module, "GL_MAX_ACTIVE_LIGHTS_SGIX", INT2NUM(GL_MAX_ACTIVE_LIGHTS_SGIX));
1448
2120
  rb_define_const(module, "GL_MAX_ARRAY_TEXTURE_LAYERS", INT2NUM(GL_MAX_ARRAY_TEXTURE_LAYERS));
@@ -1451,6 +2123,8 @@ void gl_init_enums(VALUE module)
1451
2123
  rb_define_const(module, "GL_MAX_ASYNC_HISTOGRAM_SGIX", INT2NUM(GL_MAX_ASYNC_HISTOGRAM_SGIX));
1452
2124
  rb_define_const(module, "GL_MAX_ASYNC_READ_PIXELS_SGIX", INT2NUM(GL_MAX_ASYNC_READ_PIXELS_SGIX));
1453
2125
  rb_define_const(module, "GL_MAX_ASYNC_TEX_IMAGE_SGIX", INT2NUM(GL_MAX_ASYNC_TEX_IMAGE_SGIX));
2126
+ rb_define_const(module, "GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS", INT2NUM(GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS));
2127
+ rb_define_const(module, "GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE", INT2NUM(GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE));
1454
2128
  rb_define_const(module, "GL_MAX_ATTRIB_STACK_DEPTH", INT2NUM(GL_MAX_ATTRIB_STACK_DEPTH));
1455
2129
  rb_define_const(module, "GL_MAX_BINDABLE_UNIFORM_SIZE_EXT", INT2NUM(GL_MAX_BINDABLE_UNIFORM_SIZE_EXT));
1456
2130
  rb_define_const(module, "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", INT2NUM(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH));
@@ -1460,10 +2134,38 @@ void gl_init_enums(VALUE module)
1460
2134
  rb_define_const(module, "GL_MAX_CLIP_PLANES", INT2NUM(GL_MAX_CLIP_PLANES));
1461
2135
  rb_define_const(module, "GL_MAX_COLOR_ATTACHMENTS", INT2NUM(GL_MAX_COLOR_ATTACHMENTS));
1462
2136
  rb_define_const(module, "GL_MAX_COLOR_ATTACHMENTS_EXT", INT2NUM(GL_MAX_COLOR_ATTACHMENTS_EXT));
2137
+ rb_define_const(module, "GL_MAX_COLOR_ATTACHMENTS_NV", INT2NUM(GL_MAX_COLOR_ATTACHMENTS_NV));
1463
2138
  rb_define_const(module, "GL_MAX_COLOR_MATRIX_STACK_DEPTH", INT2NUM(GL_MAX_COLOR_MATRIX_STACK_DEPTH));
1464
2139
  rb_define_const(module, "GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI", INT2NUM(GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI));
2140
+ rb_define_const(module, "GL_MAX_COLOR_TEXTURE_SAMPLES", INT2NUM(GL_MAX_COLOR_TEXTURE_SAMPLES));
2141
+ rb_define_const(module, "GL_MAX_COMBINED_ATOMIC_COUNTERS", INT2NUM(GL_MAX_COMBINED_ATOMIC_COUNTERS));
2142
+ rb_define_const(module, "GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS));
2143
+ rb_define_const(module, "GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS));
2144
+ rb_define_const(module, "GL_MAX_COMBINED_DIMENSIONS", INT2NUM(GL_MAX_COMBINED_DIMENSIONS));
2145
+ rb_define_const(module, "GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS));
2146
+ rb_define_const(module, "GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS));
2147
+ rb_define_const(module, "GL_MAX_COMBINED_IMAGE_UNIFORMS", INT2NUM(GL_MAX_COMBINED_IMAGE_UNIFORMS));
2148
+ rb_define_const(module, "GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS", INT2NUM(GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS));
2149
+ rb_define_const(module, "GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT", INT2NUM(GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT));
2150
+ rb_define_const(module, "GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES", INT2NUM(GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES));
2151
+ rb_define_const(module, "GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS));
2152
+ rb_define_const(module, "GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS));
2153
+ rb_define_const(module, "GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS));
1465
2154
  rb_define_const(module, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS));
1466
2155
  rb_define_const(module, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB));
2156
+ rb_define_const(module, "GL_MAX_COMBINED_UNIFORM_BLOCKS", INT2NUM(GL_MAX_COMBINED_UNIFORM_BLOCKS));
2157
+ rb_define_const(module, "GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS));
2158
+ rb_define_const(module, "GL_MAX_COMPUTE_ATOMIC_COUNTERS", INT2NUM(GL_MAX_COMPUTE_ATOMIC_COUNTERS));
2159
+ rb_define_const(module, "GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS));
2160
+ rb_define_const(module, "GL_MAX_COMPUTE_IMAGE_UNIFORMS", INT2NUM(GL_MAX_COMPUTE_IMAGE_UNIFORMS));
2161
+ rb_define_const(module, "GL_MAX_COMPUTE_LOCAL_INVOCATIONS", INT2NUM(GL_MAX_COMPUTE_LOCAL_INVOCATIONS));
2162
+ rb_define_const(module, "GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS));
2163
+ rb_define_const(module, "GL_MAX_COMPUTE_SHARED_MEMORY_SIZE", INT2NUM(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE));
2164
+ rb_define_const(module, "GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS));
2165
+ rb_define_const(module, "GL_MAX_COMPUTE_UNIFORM_BLOCKS", INT2NUM(GL_MAX_COMPUTE_UNIFORM_BLOCKS));
2166
+ rb_define_const(module, "GL_MAX_COMPUTE_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_COMPUTE_UNIFORM_COMPONENTS));
2167
+ rb_define_const(module, "GL_MAX_COMPUTE_WORK_GROUP_COUNT", INT2NUM(GL_MAX_COMPUTE_WORK_GROUP_COUNT));
2168
+ rb_define_const(module, "GL_MAX_COMPUTE_WORK_GROUP_SIZE", INT2NUM(GL_MAX_COMPUTE_WORK_GROUP_SIZE));
1467
2169
  rb_define_const(module, "GL_MAX_CONVOLUTION_HEIGHT", INT2NUM(GL_MAX_CONVOLUTION_HEIGHT));
1468
2170
  rb_define_const(module, "GL_MAX_CONVOLUTION_HEIGHT_EXT", INT2NUM(GL_MAX_CONVOLUTION_HEIGHT_EXT));
1469
2171
  rb_define_const(module, "GL_MAX_CONVOLUTION_WIDTH", INT2NUM(GL_MAX_CONVOLUTION_WIDTH));
@@ -1471,48 +2173,103 @@ void gl_init_enums(VALUE module)
1471
2173
  rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE));
1472
2174
  rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB));
1473
2175
  rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT));
2176
+ rb_define_const(module, "GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES", INT2NUM(GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES));
2177
+ rb_define_const(module, "GL_MAX_DEBUG_GROUP_STACK_DEPTH", INT2NUM(GL_MAX_DEBUG_GROUP_STACK_DEPTH));
2178
+ rb_define_const(module, "GL_MAX_DEBUG_LOGGED_MESSAGES", INT2NUM(GL_MAX_DEBUG_LOGGED_MESSAGES));
2179
+ rb_define_const(module, "GL_MAX_DEBUG_LOGGED_MESSAGES_AMD", INT2NUM(GL_MAX_DEBUG_LOGGED_MESSAGES_AMD));
2180
+ rb_define_const(module, "GL_MAX_DEBUG_LOGGED_MESSAGES_ARB", INT2NUM(GL_MAX_DEBUG_LOGGED_MESSAGES_ARB));
2181
+ rb_define_const(module, "GL_MAX_DEBUG_MESSAGE_LENGTH", INT2NUM(GL_MAX_DEBUG_MESSAGE_LENGTH));
2182
+ rb_define_const(module, "GL_MAX_DEBUG_MESSAGE_LENGTH_AMD", INT2NUM(GL_MAX_DEBUG_MESSAGE_LENGTH_AMD));
2183
+ rb_define_const(module, "GL_MAX_DEBUG_MESSAGE_LENGTH_ARB", INT2NUM(GL_MAX_DEBUG_MESSAGE_LENGTH_ARB));
2184
+ rb_define_const(module, "GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV", INT2NUM(GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV));
2185
+ rb_define_const(module, "GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV", INT2NUM(GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV));
1474
2186
  rb_define_const(module, "GL_MAX_DEFORMATION_ORDER_SGIX", INT2NUM(GL_MAX_DEFORMATION_ORDER_SGIX));
2187
+ rb_define_const(module, "GL_MAX_DEPTH", INT2NUM(GL_MAX_DEPTH));
2188
+ rb_define_const(module, "GL_MAX_DEPTH_TEXTURE_SAMPLES", INT2NUM(GL_MAX_DEPTH_TEXTURE_SAMPLES));
1475
2189
  rb_define_const(module, "GL_MAX_DRAW_BUFFERS", INT2NUM(GL_MAX_DRAW_BUFFERS));
1476
2190
  rb_define_const(module, "GL_MAX_DRAW_BUFFERS_ARB", INT2NUM(GL_MAX_DRAW_BUFFERS_ARB));
1477
2191
  rb_define_const(module, "GL_MAX_DRAW_BUFFERS_ATI", INT2NUM(GL_MAX_DRAW_BUFFERS_ATI));
2192
+ rb_define_const(module, "GL_MAX_DRAW_BUFFERS_NV", INT2NUM(GL_MAX_DRAW_BUFFERS_NV));
2193
+ rb_define_const(module, "GL_MAX_DUAL_SOURCE_DRAW_BUFFERS", INT2NUM(GL_MAX_DUAL_SOURCE_DRAW_BUFFERS));
1478
2194
  rb_define_const(module, "GL_MAX_ELEMENTS_INDICES", INT2NUM(GL_MAX_ELEMENTS_INDICES));
1479
2195
  rb_define_const(module, "GL_MAX_ELEMENTS_INDICES_EXT", INT2NUM(GL_MAX_ELEMENTS_INDICES_EXT));
1480
2196
  rb_define_const(module, "GL_MAX_ELEMENTS_VERTICES", INT2NUM(GL_MAX_ELEMENTS_VERTICES));
1481
2197
  rb_define_const(module, "GL_MAX_ELEMENTS_VERTICES_EXT", INT2NUM(GL_MAX_ELEMENTS_VERTICES_EXT));
2198
+ rb_define_const(module, "GL_MAX_ELEMENT_INDEX", INT2NUM(GL_MAX_ELEMENT_INDEX));
1482
2199
  rb_define_const(module, "GL_MAX_EVAL_ORDER", INT2NUM(GL_MAX_EVAL_ORDER));
1483
2200
  rb_define_const(module, "GL_MAX_EXT", INT2NUM(GL_MAX_EXT));
1484
2201
  rb_define_const(module, "GL_MAX_FOG_FUNC_POINTS_SGIS", INT2NUM(GL_MAX_FOG_FUNC_POINTS_SGIS));
2202
+ rb_define_const(module, "GL_MAX_FRAGMENT_ATOMIC_COUNTERS", INT2NUM(GL_MAX_FRAGMENT_ATOMIC_COUNTERS));
2203
+ rb_define_const(module, "GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS));
1485
2204
  rb_define_const(module, "GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT));
2205
+ rb_define_const(module, "GL_MAX_FRAGMENT_IMAGE_UNIFORMS", INT2NUM(GL_MAX_FRAGMENT_IMAGE_UNIFORMS));
2206
+ rb_define_const(module, "GL_MAX_FRAGMENT_INPUT_COMPONENTS", INT2NUM(GL_MAX_FRAGMENT_INPUT_COMPONENTS));
2207
+ rb_define_const(module, "GL_MAX_FRAGMENT_INTERPOLATION_OFFSET", INT2NUM(GL_MAX_FRAGMENT_INTERPOLATION_OFFSET));
2208
+ rb_define_const(module, "GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV", INT2NUM(GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV));
1486
2209
  rb_define_const(module, "GL_MAX_FRAGMENT_LIGHTS_SGIX", INT2NUM(GL_MAX_FRAGMENT_LIGHTS_SGIX));
1487
2210
  rb_define_const(module, "GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV", INT2NUM(GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV));
2211
+ rb_define_const(module, "GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS));
2212
+ rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_BLOCKS", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_BLOCKS));
1488
2213
  rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS));
1489
2214
  rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB));
2215
+ rb_define_const(module, "GL_MAX_FRAGMENT_UNIFORM_VECTORS", INT2NUM(GL_MAX_FRAGMENT_UNIFORM_VECTORS));
2216
+ rb_define_const(module, "GL_MAX_FRAMEBUFFER_HEIGHT", INT2NUM(GL_MAX_FRAMEBUFFER_HEIGHT));
2217
+ rb_define_const(module, "GL_MAX_FRAMEBUFFER_LAYERS", INT2NUM(GL_MAX_FRAMEBUFFER_LAYERS));
2218
+ rb_define_const(module, "GL_MAX_FRAMEBUFFER_SAMPLES", INT2NUM(GL_MAX_FRAMEBUFFER_SAMPLES));
2219
+ rb_define_const(module, "GL_MAX_FRAMEBUFFER_WIDTH", INT2NUM(GL_MAX_FRAMEBUFFER_WIDTH));
1490
2220
  rb_define_const(module, "GL_MAX_FRAMEZOOM_FACTOR_SGIX", INT2NUM(GL_MAX_FRAMEZOOM_FACTOR_SGIX));
1491
2221
  rb_define_const(module, "GL_MAX_GENERAL_COMBINERS_NV", INT2NUM(GL_MAX_GENERAL_COMBINERS_NV));
2222
+ rb_define_const(module, "GL_MAX_GEOMETRY_ATOMIC_COUNTERS", INT2NUM(GL_MAX_GEOMETRY_ATOMIC_COUNTERS));
2223
+ rb_define_const(module, "GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS));
1492
2224
  rb_define_const(module, "GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT));
2225
+ rb_define_const(module, "GL_MAX_GEOMETRY_IMAGE_UNIFORMS", INT2NUM(GL_MAX_GEOMETRY_IMAGE_UNIFORMS));
2226
+ rb_define_const(module, "GL_MAX_GEOMETRY_INPUT_COMPONENTS", INT2NUM(GL_MAX_GEOMETRY_INPUT_COMPONENTS));
2227
+ rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_COMPONENTS", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_COMPONENTS));
2228
+ rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_VERTICES", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_VERTICES));
1493
2229
  rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB));
1494
2230
  rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT));
2231
+ rb_define_const(module, "GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV", INT2NUM(GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV));
2232
+ rb_define_const(module, "GL_MAX_GEOMETRY_SHADER_INVOCATIONS", INT2NUM(GL_MAX_GEOMETRY_SHADER_INVOCATIONS));
2233
+ rb_define_const(module, "GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS));
2234
+ rb_define_const(module, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS));
1495
2235
  rb_define_const(module, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB));
1496
2236
  rb_define_const(module, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT", INT2NUM(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT));
2237
+ rb_define_const(module, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS", INT2NUM(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS));
1497
2238
  rb_define_const(module, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB", INT2NUM(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB));
1498
2239
  rb_define_const(module, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT));
2240
+ rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_BLOCKS", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_BLOCKS));
2241
+ rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS));
1499
2242
  rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB));
1500
2243
  rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT));
1501
2244
  rb_define_const(module, "GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB", INT2NUM(GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB));
1502
2245
  rb_define_const(module, "GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT));
2246
+ rb_define_const(module, "GL_MAX_HEIGHT", INT2NUM(GL_MAX_HEIGHT));
2247
+ rb_define_const(module, "GL_MAX_IMAGE_SAMPLES", INT2NUM(GL_MAX_IMAGE_SAMPLES));
2248
+ rb_define_const(module, "GL_MAX_IMAGE_SAMPLES_EXT", INT2NUM(GL_MAX_IMAGE_SAMPLES_EXT));
2249
+ rb_define_const(module, "GL_MAX_IMAGE_UNITS", INT2NUM(GL_MAX_IMAGE_UNITS));
2250
+ rb_define_const(module, "GL_MAX_IMAGE_UNITS_EXT", INT2NUM(GL_MAX_IMAGE_UNITS_EXT));
2251
+ rb_define_const(module, "GL_MAX_INTEGER_SAMPLES", INT2NUM(GL_MAX_INTEGER_SAMPLES));
2252
+ rb_define_const(module, "GL_MAX_LABEL_LENGTH", INT2NUM(GL_MAX_LABEL_LENGTH));
2253
+ rb_define_const(module, "GL_MAX_LAYERS", INT2NUM(GL_MAX_LAYERS));
1503
2254
  rb_define_const(module, "GL_MAX_LIGHTS", INT2NUM(GL_MAX_LIGHTS));
1504
2255
  rb_define_const(module, "GL_MAX_LIST_NESTING", INT2NUM(GL_MAX_LIST_NESTING));
1505
2256
  rb_define_const(module, "GL_MAX_MAP_TESSELLATION_NV", INT2NUM(GL_MAX_MAP_TESSELLATION_NV));
1506
2257
  rb_define_const(module, "GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB", INT2NUM(GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB));
1507
2258
  rb_define_const(module, "GL_MAX_MODELVIEW_STACK_DEPTH", INT2NUM(GL_MAX_MODELVIEW_STACK_DEPTH));
1508
2259
  rb_define_const(module, "GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV", INT2NUM(GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV));
2260
+ rb_define_const(module, "GL_MAX_MULTIVIEW_BUFFERS_EXT", INT2NUM(GL_MAX_MULTIVIEW_BUFFERS_EXT));
2261
+ rb_define_const(module, "GL_MAX_NAME_LENGTH", INT2NUM(GL_MAX_NAME_LENGTH));
1509
2262
  rb_define_const(module, "GL_MAX_NAME_STACK_DEPTH", INT2NUM(GL_MAX_NAME_STACK_DEPTH));
2263
+ rb_define_const(module, "GL_MAX_NUM_ACTIVE_VARIABLES", INT2NUM(GL_MAX_NUM_ACTIVE_VARIABLES));
2264
+ rb_define_const(module, "GL_MAX_NUM_COMPATIBLE_SUBROUTINES", INT2NUM(GL_MAX_NUM_COMPATIBLE_SUBROUTINES));
1510
2265
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT));
1511
2266
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT));
1512
2267
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT));
1513
2268
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
1514
2269
  rb_define_const(module, "GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT", INT2NUM(GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT));
1515
2270
  rb_define_const(module, "GL_MAX_PALETTE_MATRICES_ARB", INT2NUM(GL_MAX_PALETTE_MATRICES_ARB));
2271
+ rb_define_const(module, "GL_MAX_PALETTE_MATRICES_OES", INT2NUM(GL_MAX_PALETTE_MATRICES_OES));
2272
+ rb_define_const(module, "GL_MAX_PATCH_VERTICES", INT2NUM(GL_MAX_PATCH_VERTICES));
1516
2273
  rb_define_const(module, "GL_MAX_PIXEL_MAP_TABLE", INT2NUM(GL_MAX_PIXEL_MAP_TABLE));
1517
2274
  rb_define_const(module, "GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT", INT2NUM(GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT));
1518
2275
  rb_define_const(module, "GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI", INT2NUM(GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI));
@@ -1544,24 +2301,70 @@ void gl_init_enums(VALUE module)
1544
2301
  rb_define_const(module, "GL_MAX_PROGRAM_PARAMETERS_ARB", INT2NUM(GL_MAX_PROGRAM_PARAMETERS_ARB));
1545
2302
  rb_define_const(module, "GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV", INT2NUM(GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV));
1546
2303
  rb_define_const(module, "GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV", INT2NUM(GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV));
2304
+ rb_define_const(module, "GL_MAX_PROGRAM_PATCH_ATTRIBS_NV", INT2NUM(GL_MAX_PROGRAM_PATCH_ATTRIBS_NV));
1547
2305
  rb_define_const(module, "GL_MAX_PROGRAM_RESULT_COMPONENTS_NV", INT2NUM(GL_MAX_PROGRAM_RESULT_COMPONENTS_NV));
2306
+ rb_define_const(module, "GL_MAX_PROGRAM_SUBROUTINE_NUM_NV", INT2NUM(GL_MAX_PROGRAM_SUBROUTINE_NUM_NV));
2307
+ rb_define_const(module, "GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV", INT2NUM(GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV));
1548
2308
  rb_define_const(module, "GL_MAX_PROGRAM_TEMPORARIES_ARB", INT2NUM(GL_MAX_PROGRAM_TEMPORARIES_ARB));
1549
2309
  rb_define_const(module, "GL_MAX_PROGRAM_TEXEL_OFFSET", INT2NUM(GL_MAX_PROGRAM_TEXEL_OFFSET));
1550
2310
  rb_define_const(module, "GL_MAX_PROGRAM_TEXEL_OFFSET_NV", INT2NUM(GL_MAX_PROGRAM_TEXEL_OFFSET_NV));
2311
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS", INT2NUM(GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS));
2312
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB", INT2NUM(GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB));
2313
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET", INT2NUM(GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET));
2314
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB", INT2NUM(GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB));
2315
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV", INT2NUM(GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV));
1551
2316
  rb_define_const(module, "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB));
1552
2317
  rb_define_const(module, "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB));
1553
2318
  rb_define_const(module, "GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV", INT2NUM(GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV));
1554
2319
  rb_define_const(module, "GL_MAX_PROJECTION_STACK_DEPTH", INT2NUM(GL_MAX_PROJECTION_STACK_DEPTH));
1555
2320
  rb_define_const(module, "GL_MAX_RATIONAL_EVAL_ORDER_NV", INT2NUM(GL_MAX_RATIONAL_EVAL_ORDER_NV));
2321
+ rb_define_const(module, "GL_MAX_RECTANGLE_TEXTURE_SIZE", INT2NUM(GL_MAX_RECTANGLE_TEXTURE_SIZE));
1556
2322
  rb_define_const(module, "GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB", INT2NUM(GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB));
1557
2323
  rb_define_const(module, "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV", INT2NUM(GL_MAX_RECTANGLE_TEXTURE_SIZE_NV));
1558
2324
  rb_define_const(module, "GL_MAX_RENDERBUFFER_SIZE", INT2NUM(GL_MAX_RENDERBUFFER_SIZE));
1559
2325
  rb_define_const(module, "GL_MAX_RENDERBUFFER_SIZE_EXT", INT2NUM(GL_MAX_RENDERBUFFER_SIZE_EXT));
2326
+ rb_define_const(module, "GL_MAX_RENDERBUFFER_SIZE_OES", INT2NUM(GL_MAX_RENDERBUFFER_SIZE_OES));
1560
2327
  rb_define_const(module, "GL_MAX_SAMPLES", INT2NUM(GL_MAX_SAMPLES));
2328
+ rb_define_const(module, "GL_MAX_SAMPLES_ANGLE", INT2NUM(GL_MAX_SAMPLES_ANGLE));
1561
2329
  rb_define_const(module, "GL_MAX_SAMPLES_EXT", INT2NUM(GL_MAX_SAMPLES_EXT));
2330
+ rb_define_const(module, "GL_MAX_SAMPLES_IMG", INT2NUM(GL_MAX_SAMPLES_IMG));
2331
+ rb_define_const(module, "GL_MAX_SAMPLES_NV", INT2NUM(GL_MAX_SAMPLES_NV));
2332
+ rb_define_const(module, "GL_MAX_SAMPLE_MASK_WORDS", INT2NUM(GL_MAX_SAMPLE_MASK_WORDS));
1562
2333
  rb_define_const(module, "GL_MAX_SAMPLE_MASK_WORDS_NV", INT2NUM(GL_MAX_SAMPLE_MASK_WORDS_NV));
2334
+ rb_define_const(module, "GL_MAX_SERVER_WAIT_TIMEOUT", INT2NUM(GL_MAX_SERVER_WAIT_TIMEOUT));
2335
+ rb_define_const(module, "GL_MAX_SERVER_WAIT_TIMEOUT_APPLE", INT2NUM(GL_MAX_SERVER_WAIT_TIMEOUT_APPLE));
2336
+ rb_define_const(module, "GL_MAX_SHADER_BUFFER_ADDRESS_NV", INT2NUM(GL_MAX_SHADER_BUFFER_ADDRESS_NV));
2337
+ rb_define_const(module, "GL_MAX_SHADER_STORAGE_BLOCK_SIZE", INT2NUM(GL_MAX_SHADER_STORAGE_BLOCK_SIZE));
2338
+ rb_define_const(module, "GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS", INT2NUM(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS));
1563
2339
  rb_define_const(module, "GL_MAX_SHININESS_NV", INT2NUM(GL_MAX_SHININESS_NV));
2340
+ rb_define_const(module, "GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD", INT2NUM(GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD));
2341
+ rb_define_const(module, "GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS", INT2NUM(GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS));
2342
+ rb_define_const(module, "GL_MAX_SPARSE_TEXTURE_SIZE_AMD", INT2NUM(GL_MAX_SPARSE_TEXTURE_SIZE_AMD));
1564
2343
  rb_define_const(module, "GL_MAX_SPOT_EXPONENT_NV", INT2NUM(GL_MAX_SPOT_EXPONENT_NV));
2344
+ rb_define_const(module, "GL_MAX_SUBROUTINES", INT2NUM(GL_MAX_SUBROUTINES));
2345
+ rb_define_const(module, "GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS", INT2NUM(GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS));
2346
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS", INT2NUM(GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS));
2347
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS));
2348
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS", INT2NUM(GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS));
2349
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_INPUT_COMPONENTS", INT2NUM(GL_MAX_TESS_CONTROL_INPUT_COMPONENTS));
2350
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS", INT2NUM(GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS));
2351
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS));
2352
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS));
2353
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS", INT2NUM(GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS));
2354
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS", INT2NUM(GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS));
2355
+ rb_define_const(module, "GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS));
2356
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS", INT2NUM(GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS));
2357
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS));
2358
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS", INT2NUM(GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS));
2359
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS", INT2NUM(GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS));
2360
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS", INT2NUM(GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS));
2361
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS));
2362
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS));
2363
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS", INT2NUM(GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS));
2364
+ rb_define_const(module, "GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS));
2365
+ rb_define_const(module, "GL_MAX_TESS_GEN_LEVEL", INT2NUM(GL_MAX_TESS_GEN_LEVEL));
2366
+ rb_define_const(module, "GL_MAX_TESS_PATCH_COMPONENTS", INT2NUM(GL_MAX_TESS_PATCH_COMPONENTS));
2367
+ rb_define_const(module, "GL_MAX_TEXTURE_BUFFER_SIZE", INT2NUM(GL_MAX_TEXTURE_BUFFER_SIZE));
1565
2368
  rb_define_const(module, "GL_MAX_TEXTURE_BUFFER_SIZE_ARB", INT2NUM(GL_MAX_TEXTURE_BUFFER_SIZE_ARB));
1566
2369
  rb_define_const(module, "GL_MAX_TEXTURE_BUFFER_SIZE_EXT", INT2NUM(GL_MAX_TEXTURE_BUFFER_SIZE_EXT));
1567
2370
  rb_define_const(module, "GL_MAX_TEXTURE_COORDS", INT2NUM(GL_MAX_TEXTURE_COORDS));
@@ -1579,38 +2382,58 @@ void gl_init_enums(VALUE module)
1579
2382
  rb_define_const(module, "GL_MAX_TEXTURE_UNITS_ARB", INT2NUM(GL_MAX_TEXTURE_UNITS_ARB));
1580
2383
  rb_define_const(module, "GL_MAX_TRACK_MATRICES_NV", INT2NUM(GL_MAX_TRACK_MATRICES_NV));
1581
2384
  rb_define_const(module, "GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV", INT2NUM(GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV));
1582
- rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV));
2385
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_BUFFERS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_BUFFERS));
1583
2386
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS));
1584
2387
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT));
2388
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV));
1585
2389
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS));
1586
2390
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT));
1587
2391
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV));
1588
2392
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS));
1589
2393
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT));
1590
2394
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV));
2395
+ rb_define_const(module, "GL_MAX_UNIFORM_BLOCK_SIZE", INT2NUM(GL_MAX_UNIFORM_BLOCK_SIZE));
2396
+ rb_define_const(module, "GL_MAX_UNIFORM_BUFFER_BINDINGS", INT2NUM(GL_MAX_UNIFORM_BUFFER_BINDINGS));
2397
+ rb_define_const(module, "GL_MAX_UNIFORM_LOCATIONS", INT2NUM(GL_MAX_UNIFORM_LOCATIONS));
1591
2398
  rb_define_const(module, "GL_MAX_VARYING_COMPONENTS", INT2NUM(GL_MAX_VARYING_COMPONENTS));
1592
2399
  rb_define_const(module, "GL_MAX_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_VARYING_COMPONENTS_EXT));
1593
2400
  rb_define_const(module, "GL_MAX_VARYING_FLOATS", INT2NUM(GL_MAX_VARYING_FLOATS));
1594
2401
  rb_define_const(module, "GL_MAX_VARYING_FLOATS_ARB", INT2NUM(GL_MAX_VARYING_FLOATS_ARB));
2402
+ rb_define_const(module, "GL_MAX_VARYING_VECTORS", INT2NUM(GL_MAX_VARYING_VECTORS));
1595
2403
  rb_define_const(module, "GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV", INT2NUM(GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV));
2404
+ rb_define_const(module, "GL_MAX_VERTEX_ATOMIC_COUNTERS", INT2NUM(GL_MAX_VERTEX_ATOMIC_COUNTERS));
2405
+ rb_define_const(module, "GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS", INT2NUM(GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS));
1596
2406
  rb_define_const(module, "GL_MAX_VERTEX_ATTRIBS", INT2NUM(GL_MAX_VERTEX_ATTRIBS));
1597
2407
  rb_define_const(module, "GL_MAX_VERTEX_ATTRIBS_ARB", INT2NUM(GL_MAX_VERTEX_ATTRIBS_ARB));
2408
+ rb_define_const(module, "GL_MAX_VERTEX_ATTRIB_BINDINGS", INT2NUM(GL_MAX_VERTEX_ATTRIB_BINDINGS));
2409
+ rb_define_const(module, "GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET", INT2NUM(GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET));
1598
2410
  rb_define_const(module, "GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT));
1599
2411
  rb_define_const(module, "GL_MAX_VERTEX_HINT_PGI", INT2NUM(GL_MAX_VERTEX_HINT_PGI));
2412
+ rb_define_const(module, "GL_MAX_VERTEX_IMAGE_UNIFORMS", INT2NUM(GL_MAX_VERTEX_IMAGE_UNIFORMS));
2413
+ rb_define_const(module, "GL_MAX_VERTEX_OUTPUT_COMPONENTS", INT2NUM(GL_MAX_VERTEX_OUTPUT_COMPONENTS));
1600
2414
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT));
1601
2415
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_INVARIANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_INVARIANTS_EXT));
1602
2416
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_LOCALS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_LOCALS_EXT));
1603
2417
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT));
2418
+ rb_define_const(module, "GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS", INT2NUM(GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS));
1604
2419
  rb_define_const(module, "GL_MAX_VERTEX_SHADER_VARIANTS_EXT", INT2NUM(GL_MAX_VERTEX_SHADER_VARIANTS_EXT));
2420
+ rb_define_const(module, "GL_MAX_VERTEX_STREAMS", INT2NUM(GL_MAX_VERTEX_STREAMS));
1605
2421
  rb_define_const(module, "GL_MAX_VERTEX_STREAMS_ATI", INT2NUM(GL_MAX_VERTEX_STREAMS_ATI));
1606
2422
  rb_define_const(module, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS", INT2NUM(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS));
1607
2423
  rb_define_const(module, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB));
2424
+ rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_BLOCKS", INT2NUM(GL_MAX_VERTEX_UNIFORM_BLOCKS));
1608
2425
  rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS));
1609
2426
  rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB));
2427
+ rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_VECTORS", INT2NUM(GL_MAX_VERTEX_UNIFORM_VECTORS));
1610
2428
  rb_define_const(module, "GL_MAX_VERTEX_UNITS_ARB", INT2NUM(GL_MAX_VERTEX_UNITS_ARB));
2429
+ rb_define_const(module, "GL_MAX_VERTEX_UNITS_OES", INT2NUM(GL_MAX_VERTEX_UNITS_OES));
1611
2430
  rb_define_const(module, "GL_MAX_VERTEX_VARYING_COMPONENTS_ARB", INT2NUM(GL_MAX_VERTEX_VARYING_COMPONENTS_ARB));
1612
2431
  rb_define_const(module, "GL_MAX_VERTEX_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_VERTEX_VARYING_COMPONENTS_EXT));
2432
+ rb_define_const(module, "GL_MAX_VIEWPORTS", INT2NUM(GL_MAX_VIEWPORTS));
1613
2433
  rb_define_const(module, "GL_MAX_VIEWPORT_DIMS", INT2NUM(GL_MAX_VIEWPORT_DIMS));
2434
+ rb_define_const(module, "GL_MAX_WIDTH", INT2NUM(GL_MAX_WIDTH));
2435
+ rb_define_const(module, "GL_MEDIUM_FLOAT", INT2NUM(GL_MEDIUM_FLOAT));
2436
+ rb_define_const(module, "GL_MEDIUM_INT", INT2NUM(GL_MEDIUM_INT));
1614
2437
  rb_define_const(module, "GL_MIN", INT2NUM(GL_MIN));
1615
2438
  rb_define_const(module, "GL_MINMAX", INT2NUM(GL_MINMAX));
1616
2439
  rb_define_const(module, "GL_MINMAX_EXT", INT2NUM(GL_MINMAX_EXT));
@@ -1620,16 +2443,30 @@ void gl_init_enums(VALUE module)
1620
2443
  rb_define_const(module, "GL_MINMAX_SINK_EXT", INT2NUM(GL_MINMAX_SINK_EXT));
1621
2444
  rb_define_const(module, "GL_MINOR_VERSION", INT2NUM(GL_MINOR_VERSION));
1622
2445
  rb_define_const(module, "GL_MIN_EXT", INT2NUM(GL_MIN_EXT));
2446
+ rb_define_const(module, "GL_MIN_FRAGMENT_INTERPOLATION_OFFSET", INT2NUM(GL_MIN_FRAGMENT_INTERPOLATION_OFFSET));
2447
+ rb_define_const(module, "GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV", INT2NUM(GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV));
2448
+ rb_define_const(module, "GL_MIN_LOD_WARNING_AMD", INT2NUM(GL_MIN_LOD_WARNING_AMD));
2449
+ rb_define_const(module, "GL_MIN_MAP_BUFFER_ALIGNMENT", INT2NUM(GL_MIN_MAP_BUFFER_ALIGNMENT));
1623
2450
  rb_define_const(module, "GL_MIN_PROGRAM_TEXEL_OFFSET", INT2NUM(GL_MIN_PROGRAM_TEXEL_OFFSET));
1624
2451
  rb_define_const(module, "GL_MIN_PROGRAM_TEXEL_OFFSET_NV", INT2NUM(GL_MIN_PROGRAM_TEXEL_OFFSET_NV));
2452
+ rb_define_const(module, "GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET", INT2NUM(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET));
2453
+ rb_define_const(module, "GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB", INT2NUM(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB));
2454
+ rb_define_const(module, "GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV", INT2NUM(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV));
2455
+ rb_define_const(module, "GL_MIN_SAMPLE_SHADING_VALUE", INT2NUM(GL_MIN_SAMPLE_SHADING_VALUE));
2456
+ rb_define_const(module, "GL_MIN_SAMPLE_SHADING_VALUE_ARB", INT2NUM(GL_MIN_SAMPLE_SHADING_VALUE_ARB));
2457
+ rb_define_const(module, "GL_MIN_SPARSE_LEVEL_AMD", INT2NUM(GL_MIN_SPARSE_LEVEL_AMD));
2458
+ rb_define_const(module, "GL_MIPMAP", INT2NUM(GL_MIPMAP));
1625
2459
  rb_define_const(module, "GL_MIRRORED_REPEAT", INT2NUM(GL_MIRRORED_REPEAT));
1626
2460
  rb_define_const(module, "GL_MIRRORED_REPEAT_ARB", INT2NUM(GL_MIRRORED_REPEAT_ARB));
1627
2461
  rb_define_const(module, "GL_MIRRORED_REPEAT_IBM", INT2NUM(GL_MIRRORED_REPEAT_IBM));
2462
+ rb_define_const(module, "GL_MIRRORED_REPEAT_OES", INT2NUM(GL_MIRRORED_REPEAT_OES));
1628
2463
  rb_define_const(module, "GL_MIRROR_CLAMP_ATI", INT2NUM(GL_MIRROR_CLAMP_ATI));
1629
2464
  rb_define_const(module, "GL_MIRROR_CLAMP_EXT", INT2NUM(GL_MIRROR_CLAMP_EXT));
1630
2465
  rb_define_const(module, "GL_MIRROR_CLAMP_TO_BORDER_EXT", INT2NUM(GL_MIRROR_CLAMP_TO_BORDER_EXT));
1631
2466
  rb_define_const(module, "GL_MIRROR_CLAMP_TO_EDGE_ATI", INT2NUM(GL_MIRROR_CLAMP_TO_EDGE_ATI));
1632
2467
  rb_define_const(module, "GL_MIRROR_CLAMP_TO_EDGE_EXT", INT2NUM(GL_MIRROR_CLAMP_TO_EDGE_EXT));
2468
+ rb_define_const(module, "GL_MITER_REVERT_NV", INT2NUM(GL_MITER_REVERT_NV));
2469
+ rb_define_const(module, "GL_MITER_TRUNCATE_NV", INT2NUM(GL_MITER_TRUNCATE_NV));
1633
2470
  rb_define_const(module, "GL_MODELVIEW", INT2NUM(GL_MODELVIEW));
1634
2471
  rb_define_const(module, "GL_MODELVIEW0_ARB", INT2NUM(GL_MODELVIEW0_ARB));
1635
2472
  rb_define_const(module, "GL_MODELVIEW0_EXT", INT2NUM(GL_MODELVIEW0_EXT));
@@ -1670,12 +2507,18 @@ void gl_init_enums(VALUE module)
1670
2507
  rb_define_const(module, "GL_MODELVIEW8_ARB", INT2NUM(GL_MODELVIEW8_ARB));
1671
2508
  rb_define_const(module, "GL_MODELVIEW9_ARB", INT2NUM(GL_MODELVIEW9_ARB));
1672
2509
  rb_define_const(module, "GL_MODELVIEW_MATRIX", INT2NUM(GL_MODELVIEW_MATRIX));
2510
+ rb_define_const(module, "GL_MODELVIEW_MATRIX1_EXT", INT2NUM(GL_MODELVIEW_MATRIX1_EXT));
2511
+ rb_define_const(module, "GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES", INT2NUM(GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES));
1673
2512
  rb_define_const(module, "GL_MODELVIEW_PROJECTION_NV", INT2NUM(GL_MODELVIEW_PROJECTION_NV));
1674
2513
  rb_define_const(module, "GL_MODELVIEW_STACK_DEPTH", INT2NUM(GL_MODELVIEW_STACK_DEPTH));
1675
2514
  rb_define_const(module, "GL_MODULATE", INT2NUM(GL_MODULATE));
1676
2515
  rb_define_const(module, "GL_MODULATE_ADD_ATI", INT2NUM(GL_MODULATE_ADD_ATI));
2516
+ rb_define_const(module, "GL_MODULATE_COLOR_IMG", INT2NUM(GL_MODULATE_COLOR_IMG));
1677
2517
  rb_define_const(module, "GL_MODULATE_SIGNED_ADD_ATI", INT2NUM(GL_MODULATE_SIGNED_ADD_ATI));
1678
2518
  rb_define_const(module, "GL_MODULATE_SUBTRACT_ATI", INT2NUM(GL_MODULATE_SUBTRACT_ATI));
2519
+ rb_define_const(module, "GL_MOVE_TO_CONTINUES_NV", INT2NUM(GL_MOVE_TO_CONTINUES_NV));
2520
+ rb_define_const(module, "GL_MOVE_TO_NV", INT2NUM(GL_MOVE_TO_NV));
2521
+ rb_define_const(module, "GL_MOVE_TO_RESETS_NV", INT2NUM(GL_MOVE_TO_RESETS_NV));
1679
2522
  rb_define_const(module, "GL_MOV_ATI", INT2NUM(GL_MOV_ATI));
1680
2523
  rb_define_const(module, "GL_MULT", INT2NUM(GL_MULT));
1681
2524
  rb_define_const(module, "GL_MULTISAMPLE", INT2NUM(GL_MULTISAMPLE));
@@ -1689,9 +2532,13 @@ void gl_init_enums(VALUE module)
1689
2532
  rb_define_const(module, "GL_MULTISAMPLE_EXT", INT2NUM(GL_MULTISAMPLE_EXT));
1690
2533
  rb_define_const(module, "GL_MULTISAMPLE_FILTER_HINT_NV", INT2NUM(GL_MULTISAMPLE_FILTER_HINT_NV));
1691
2534
  rb_define_const(module, "GL_MULTISAMPLE_SGIS", INT2NUM(GL_MULTISAMPLE_SGIS));
2535
+ rb_define_const(module, "GL_MULTIVIEW_EXT", INT2NUM(GL_MULTIVIEW_EXT));
1692
2536
  rb_define_const(module, "GL_MUL_ATI", INT2NUM(GL_MUL_ATI));
1693
2537
  rb_define_const(module, "GL_MVP_MATRIX_EXT", INT2NUM(GL_MVP_MATRIX_EXT));
1694
2538
  rb_define_const(module, "GL_N3F_V3F", INT2NUM(GL_N3F_V3F));
2539
+ rb_define_const(module, "GL_NAMED_STRING_LENGTH_ARB", INT2NUM(GL_NAMED_STRING_LENGTH_ARB));
2540
+ rb_define_const(module, "GL_NAMED_STRING_TYPE_ARB", INT2NUM(GL_NAMED_STRING_TYPE_ARB));
2541
+ rb_define_const(module, "GL_NAME_LENGTH", INT2NUM(GL_NAME_LENGTH));
1695
2542
  rb_define_const(module, "GL_NAME_STACK_DEPTH", INT2NUM(GL_NAME_STACK_DEPTH));
1696
2543
  rb_define_const(module, "GL_NAND", INT2NUM(GL_NAND));
1697
2544
  rb_define_const(module, "GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI", INT2NUM(GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI));
@@ -1709,6 +2556,8 @@ void gl_init_enums(VALUE module)
1709
2556
  rb_define_const(module, "GL_NEGATIVE_Y_EXT", INT2NUM(GL_NEGATIVE_Y_EXT));
1710
2557
  rb_define_const(module, "GL_NEGATIVE_Z_EXT", INT2NUM(GL_NEGATIVE_Z_EXT));
1711
2558
  rb_define_const(module, "GL_NEVER", INT2NUM(GL_NEVER));
2559
+ rb_define_const(module, "GL_NEXT_BUFFER_NV", INT2NUM(GL_NEXT_BUFFER_NV));
2560
+ rb_define_const(module, "GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV", INT2NUM(GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV));
1712
2561
  rb_define_const(module, "GL_NICEST", INT2NUM(GL_NICEST));
1713
2562
  rb_define_const(module, "GL_NONE", INT2NUM(GL_NONE));
1714
2563
  rb_define_const(module, "GL_NOOP", INT2NUM(GL_NOOP));
@@ -1716,10 +2565,12 @@ void gl_init_enums(VALUE module)
1716
2565
  rb_define_const(module, "GL_NORMALIZE", INT2NUM(GL_NORMALIZE));
1717
2566
  rb_define_const(module, "GL_NORMALIZED_RANGE_EXT", INT2NUM(GL_NORMALIZED_RANGE_EXT));
1718
2567
  rb_define_const(module, "GL_NORMAL_ARRAY", INT2NUM(GL_NORMAL_ARRAY));
2568
+ rb_define_const(module, "GL_NORMAL_ARRAY_ADDRESS_NV", INT2NUM(GL_NORMAL_ARRAY_ADDRESS_NV));
1719
2569
  rb_define_const(module, "GL_NORMAL_ARRAY_BUFFER_BINDING", INT2NUM(GL_NORMAL_ARRAY_BUFFER_BINDING));
1720
2570
  rb_define_const(module, "GL_NORMAL_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_NORMAL_ARRAY_BUFFER_BINDING_ARB));
1721
2571
  rb_define_const(module, "GL_NORMAL_ARRAY_COUNT_EXT", INT2NUM(GL_NORMAL_ARRAY_COUNT_EXT));
1722
2572
  rb_define_const(module, "GL_NORMAL_ARRAY_EXT", INT2NUM(GL_NORMAL_ARRAY_EXT));
2573
+ rb_define_const(module, "GL_NORMAL_ARRAY_LENGTH_NV", INT2NUM(GL_NORMAL_ARRAY_LENGTH_NV));
1723
2574
  rb_define_const(module, "GL_NORMAL_ARRAY_LIST_IBM", INT2NUM(GL_NORMAL_ARRAY_LIST_IBM));
1724
2575
  rb_define_const(module, "GL_NORMAL_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_NORMAL_ARRAY_LIST_STRIDE_IBM));
1725
2576
  rb_define_const(module, "GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL));
@@ -1734,8 +2585,12 @@ void gl_init_enums(VALUE module)
1734
2585
  rb_define_const(module, "GL_NORMAL_MAP_ARB", INT2NUM(GL_NORMAL_MAP_ARB));
1735
2586
  rb_define_const(module, "GL_NORMAL_MAP_EXT", INT2NUM(GL_NORMAL_MAP_EXT));
1736
2587
  rb_define_const(module, "GL_NORMAL_MAP_NV", INT2NUM(GL_NORMAL_MAP_NV));
2588
+ rb_define_const(module, "GL_NORMAL_MAP_OES", INT2NUM(GL_NORMAL_MAP_OES));
1737
2589
  rb_define_const(module, "GL_NOTEQUAL", INT2NUM(GL_NOTEQUAL));
1738
2590
  rb_define_const(module, "GL_NO_ERROR", INT2NUM(GL_NO_ERROR));
2591
+ rb_define_const(module, "GL_NO_RESET_NOTIFICATION_ARB", INT2NUM(GL_NO_RESET_NOTIFICATION_ARB));
2592
+ rb_define_const(module, "GL_NUM_ACTIVE_VARIABLES", INT2NUM(GL_NUM_ACTIVE_VARIABLES));
2593
+ rb_define_const(module, "GL_NUM_COMPATIBLE_SUBROUTINES", INT2NUM(GL_NUM_COMPATIBLE_SUBROUTINES));
1739
2594
  rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS));
1740
2595
  rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB));
1741
2596
  rb_define_const(module, "GL_NUM_EXTENSIONS", INT2NUM(GL_NUM_EXTENSIONS));
@@ -1748,6 +2603,12 @@ void gl_init_enums(VALUE module)
1748
2603
  rb_define_const(module, "GL_NUM_INSTRUCTIONS_TOTAL_ATI", INT2NUM(GL_NUM_INSTRUCTIONS_TOTAL_ATI));
1749
2604
  rb_define_const(module, "GL_NUM_LOOPBACK_COMPONENTS_ATI", INT2NUM(GL_NUM_LOOPBACK_COMPONENTS_ATI));
1750
2605
  rb_define_const(module, "GL_NUM_PASSES_ATI", INT2NUM(GL_NUM_PASSES_ATI));
2606
+ rb_define_const(module, "GL_NUM_PROGRAM_BINARY_FORMATS", INT2NUM(GL_NUM_PROGRAM_BINARY_FORMATS));
2607
+ rb_define_const(module, "GL_NUM_PROGRAM_BINARY_FORMATS_OES", INT2NUM(GL_NUM_PROGRAM_BINARY_FORMATS_OES));
2608
+ rb_define_const(module, "GL_NUM_SAMPLE_COUNTS", INT2NUM(GL_NUM_SAMPLE_COUNTS));
2609
+ rb_define_const(module, "GL_NUM_SHADER_BINARY_FORMATS", INT2NUM(GL_NUM_SHADER_BINARY_FORMATS));
2610
+ rb_define_const(module, "GL_NUM_SHADING_LANGUAGE_VERSIONS", INT2NUM(GL_NUM_SHADING_LANGUAGE_VERSIONS));
2611
+ rb_define_const(module, "GL_NUM_VIDEO_CAPTURE_STREAMS_NV", INT2NUM(GL_NUM_VIDEO_CAPTURE_STREAMS_NV));
1751
2612
  rb_define_const(module, "GL_OBJECT_ACTIVE_ATTRIBUTES_ARB", INT2NUM(GL_OBJECT_ACTIVE_ATTRIBUTES_ARB));
1752
2613
  rb_define_const(module, "GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB", INT2NUM(GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB));
1753
2614
  rb_define_const(module, "GL_OBJECT_ACTIVE_UNIFORMS_ARB", INT2NUM(GL_OBJECT_ACTIVE_UNIFORMS_ARB));
@@ -1767,10 +2628,13 @@ void gl_init_enums(VALUE module)
1767
2628
  rb_define_const(module, "GL_OBJECT_POINT_SGIS", INT2NUM(GL_OBJECT_POINT_SGIS));
1768
2629
  rb_define_const(module, "GL_OBJECT_SHADER_SOURCE_LENGTH_ARB", INT2NUM(GL_OBJECT_SHADER_SOURCE_LENGTH_ARB));
1769
2630
  rb_define_const(module, "GL_OBJECT_SUBTYPE_ARB", INT2NUM(GL_OBJECT_SUBTYPE_ARB));
2631
+ rb_define_const(module, "GL_OBJECT_TYPE", INT2NUM(GL_OBJECT_TYPE));
2632
+ rb_define_const(module, "GL_OBJECT_TYPE_APPLE", INT2NUM(GL_OBJECT_TYPE_APPLE));
1770
2633
  rb_define_const(module, "GL_OBJECT_TYPE_ARB", INT2NUM(GL_OBJECT_TYPE_ARB));
1771
2634
  rb_define_const(module, "GL_OBJECT_VALIDATE_STATUS_ARB", INT2NUM(GL_OBJECT_VALIDATE_STATUS_ARB));
1772
2635
  rb_define_const(module, "GL_OCCLUSION_TEST_HP", INT2NUM(GL_OCCLUSION_TEST_HP));
1773
2636
  rb_define_const(module, "GL_OCCLUSION_TEST_RESULT_HP", INT2NUM(GL_OCCLUSION_TEST_RESULT_HP));
2637
+ rb_define_const(module, "GL_OFFSET", INT2NUM(GL_OFFSET));
1774
2638
  rb_define_const(module, "GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV", INT2NUM(GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV));
1775
2639
  rb_define_const(module, "GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV", INT2NUM(GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV));
1776
2640
  rb_define_const(module, "GL_OFFSET_HILO_TEXTURE_2D_NV", INT2NUM(GL_OFFSET_HILO_TEXTURE_2D_NV));
@@ -1796,6 +2660,8 @@ void gl_init_enums(VALUE module)
1796
2660
  rb_define_const(module, "GL_ONE_MINUS_CONSTANT_COLOR_EXT", INT2NUM(GL_ONE_MINUS_CONSTANT_COLOR_EXT));
1797
2661
  rb_define_const(module, "GL_ONE_MINUS_DST_ALPHA", INT2NUM(GL_ONE_MINUS_DST_ALPHA));
1798
2662
  rb_define_const(module, "GL_ONE_MINUS_DST_COLOR", INT2NUM(GL_ONE_MINUS_DST_COLOR));
2663
+ rb_define_const(module, "GL_ONE_MINUS_SRC1_ALPHA", INT2NUM(GL_ONE_MINUS_SRC1_ALPHA));
2664
+ rb_define_const(module, "GL_ONE_MINUS_SRC1_COLOR", INT2NUM(GL_ONE_MINUS_SRC1_COLOR));
1799
2665
  rb_define_const(module, "GL_ONE_MINUS_SRC_ALPHA", INT2NUM(GL_ONE_MINUS_SRC_ALPHA));
1800
2666
  rb_define_const(module, "GL_ONE_MINUS_SRC_COLOR", INT2NUM(GL_ONE_MINUS_SRC_COLOR));
1801
2667
  rb_define_const(module, "GL_OPERAND0_ALPHA", INT2NUM(GL_OPERAND0_ALPHA));
@@ -1885,13 +2751,21 @@ void gl_init_enums(VALUE module)
1885
2751
  rb_define_const(module, "GL_OUT_OF_MEMORY", INT2NUM(GL_OUT_OF_MEMORY));
1886
2752
  rb_define_const(module, "GL_PACK_ALIGNMENT", INT2NUM(GL_PACK_ALIGNMENT));
1887
2753
  rb_define_const(module, "GL_PACK_CMYK_HINT_EXT", INT2NUM(GL_PACK_CMYK_HINT_EXT));
2754
+ rb_define_const(module, "GL_PACK_COMPRESSED_BLOCK_DEPTH", INT2NUM(GL_PACK_COMPRESSED_BLOCK_DEPTH));
2755
+ rb_define_const(module, "GL_PACK_COMPRESSED_BLOCK_HEIGHT", INT2NUM(GL_PACK_COMPRESSED_BLOCK_HEIGHT));
2756
+ rb_define_const(module, "GL_PACK_COMPRESSED_BLOCK_SIZE", INT2NUM(GL_PACK_COMPRESSED_BLOCK_SIZE));
2757
+ rb_define_const(module, "GL_PACK_COMPRESSED_BLOCK_WIDTH", INT2NUM(GL_PACK_COMPRESSED_BLOCK_WIDTH));
2758
+ rb_define_const(module, "GL_PACK_COMPRESSED_SIZE_SGIX", INT2NUM(GL_PACK_COMPRESSED_SIZE_SGIX));
1888
2759
  rb_define_const(module, "GL_PACK_IMAGE_DEPTH_SGIS", INT2NUM(GL_PACK_IMAGE_DEPTH_SGIS));
1889
2760
  rb_define_const(module, "GL_PACK_IMAGE_HEIGHT", INT2NUM(GL_PACK_IMAGE_HEIGHT));
1890
2761
  rb_define_const(module, "GL_PACK_IMAGE_HEIGHT_EXT", INT2NUM(GL_PACK_IMAGE_HEIGHT_EXT));
1891
2762
  rb_define_const(module, "GL_PACK_INVERT_MESA", INT2NUM(GL_PACK_INVERT_MESA));
1892
2763
  rb_define_const(module, "GL_PACK_LSB_FIRST", INT2NUM(GL_PACK_LSB_FIRST));
2764
+ rb_define_const(module, "GL_PACK_MAX_COMPRESSED_SIZE_SGIX", INT2NUM(GL_PACK_MAX_COMPRESSED_SIZE_SGIX));
1893
2765
  rb_define_const(module, "GL_PACK_RESAMPLE_OML", INT2NUM(GL_PACK_RESAMPLE_OML));
1894
2766
  rb_define_const(module, "GL_PACK_RESAMPLE_SGIX", INT2NUM(GL_PACK_RESAMPLE_SGIX));
2767
+ rb_define_const(module, "GL_PACK_REVERSE_ROW_ORDER_ANGLE", INT2NUM(GL_PACK_REVERSE_ROW_ORDER_ANGLE));
2768
+ rb_define_const(module, "GL_PACK_ROW_BYTES_APPLE", INT2NUM(GL_PACK_ROW_BYTES_APPLE));
1895
2769
  rb_define_const(module, "GL_PACK_ROW_LENGTH", INT2NUM(GL_PACK_ROW_LENGTH));
1896
2770
  rb_define_const(module, "GL_PACK_SKIP_IMAGES", INT2NUM(GL_PACK_SKIP_IMAGES));
1897
2771
  rb_define_const(module, "GL_PACK_SKIP_IMAGES_EXT", INT2NUM(GL_PACK_SKIP_IMAGES_EXT));
@@ -1900,14 +2774,75 @@ void gl_init_enums(VALUE module)
1900
2774
  rb_define_const(module, "GL_PACK_SKIP_VOLUMES_SGIS", INT2NUM(GL_PACK_SKIP_VOLUMES_SGIS));
1901
2775
  rb_define_const(module, "GL_PACK_SUBSAMPLE_RATE_SGIX", INT2NUM(GL_PACK_SUBSAMPLE_RATE_SGIX));
1902
2776
  rb_define_const(module, "GL_PACK_SWAP_BYTES", INT2NUM(GL_PACK_SWAP_BYTES));
2777
+ rb_define_const(module, "GL_PALETTE4_R5_G6_B5_OES", INT2NUM(GL_PALETTE4_R5_G6_B5_OES));
2778
+ rb_define_const(module, "GL_PALETTE4_RGB5_A1_OES", INT2NUM(GL_PALETTE4_RGB5_A1_OES));
2779
+ rb_define_const(module, "GL_PALETTE4_RGB8_OES", INT2NUM(GL_PALETTE4_RGB8_OES));
2780
+ rb_define_const(module, "GL_PALETTE4_RGBA4_OES", INT2NUM(GL_PALETTE4_RGBA4_OES));
2781
+ rb_define_const(module, "GL_PALETTE4_RGBA8_OES", INT2NUM(GL_PALETTE4_RGBA8_OES));
2782
+ rb_define_const(module, "GL_PALETTE8_R5_G6_B5_OES", INT2NUM(GL_PALETTE8_R5_G6_B5_OES));
2783
+ rb_define_const(module, "GL_PALETTE8_RGB5_A1_OES", INT2NUM(GL_PALETTE8_RGB5_A1_OES));
2784
+ rb_define_const(module, "GL_PALETTE8_RGB8_OES", INT2NUM(GL_PALETTE8_RGB8_OES));
2785
+ rb_define_const(module, "GL_PALETTE8_RGBA4_OES", INT2NUM(GL_PALETTE8_RGBA4_OES));
2786
+ rb_define_const(module, "GL_PALETTE8_RGBA8_OES", INT2NUM(GL_PALETTE8_RGBA8_OES));
1903
2787
  rb_define_const(module, "GL_PARALLEL_ARRAYS_INTEL", INT2NUM(GL_PARALLEL_ARRAYS_INTEL));
2788
+ rb_define_const(module, "GL_PARTIAL_SUCCESS_NV", INT2NUM(GL_PARTIAL_SUCCESS_NV));
1904
2789
  rb_define_const(module, "GL_PASS_THROUGH_NV", INT2NUM(GL_PASS_THROUGH_NV));
1905
2790
  rb_define_const(module, "GL_PASS_THROUGH_TOKEN", INT2NUM(GL_PASS_THROUGH_TOKEN));
2791
+ rb_define_const(module, "GL_PATCHES", INT2NUM(GL_PATCHES));
2792
+ rb_define_const(module, "GL_PATCH_DEFAULT_INNER_LEVEL", INT2NUM(GL_PATCH_DEFAULT_INNER_LEVEL));
2793
+ rb_define_const(module, "GL_PATCH_DEFAULT_OUTER_LEVEL", INT2NUM(GL_PATCH_DEFAULT_OUTER_LEVEL));
2794
+ rb_define_const(module, "GL_PATCH_VERTICES", INT2NUM(GL_PATCH_VERTICES));
2795
+ rb_define_const(module, "GL_PATH_CLIENT_LENGTH_NV", INT2NUM(GL_PATH_CLIENT_LENGTH_NV));
2796
+ rb_define_const(module, "GL_PATH_COMMAND_COUNT_NV", INT2NUM(GL_PATH_COMMAND_COUNT_NV));
2797
+ rb_define_const(module, "GL_PATH_COMPUTED_LENGTH_NV", INT2NUM(GL_PATH_COMPUTED_LENGTH_NV));
2798
+ rb_define_const(module, "GL_PATH_COORD_COUNT_NV", INT2NUM(GL_PATH_COORD_COUNT_NV));
2799
+ rb_define_const(module, "GL_PATH_COVER_DEPTH_FUNC_NV", INT2NUM(GL_PATH_COVER_DEPTH_FUNC_NV));
2800
+ rb_define_const(module, "GL_PATH_DASH_ARRAY_COUNT_NV", INT2NUM(GL_PATH_DASH_ARRAY_COUNT_NV));
2801
+ rb_define_const(module, "GL_PATH_DASH_CAPS_NV", INT2NUM(GL_PATH_DASH_CAPS_NV));
2802
+ rb_define_const(module, "GL_PATH_DASH_OFFSET_NV", INT2NUM(GL_PATH_DASH_OFFSET_NV));
2803
+ rb_define_const(module, "GL_PATH_DASH_OFFSET_RESET_NV", INT2NUM(GL_PATH_DASH_OFFSET_RESET_NV));
2804
+ rb_define_const(module, "GL_PATH_END_CAPS_NV", INT2NUM(GL_PATH_END_CAPS_NV));
2805
+ rb_define_const(module, "GL_PATH_ERROR_POSITION_NV", INT2NUM(GL_PATH_ERROR_POSITION_NV));
2806
+ rb_define_const(module, "GL_PATH_FILL_BOUNDING_BOX_NV", INT2NUM(GL_PATH_FILL_BOUNDING_BOX_NV));
2807
+ rb_define_const(module, "GL_PATH_FILL_COVER_MODE_NV", INT2NUM(GL_PATH_FILL_COVER_MODE_NV));
2808
+ rb_define_const(module, "GL_PATH_FILL_MASK_NV", INT2NUM(GL_PATH_FILL_MASK_NV));
2809
+ rb_define_const(module, "GL_PATH_FILL_MODE_NV", INT2NUM(GL_PATH_FILL_MODE_NV));
2810
+ rb_define_const(module, "GL_PATH_FOG_GEN_MODE_NV", INT2NUM(GL_PATH_FOG_GEN_MODE_NV));
2811
+ rb_define_const(module, "GL_PATH_FORMAT_PS_NV", INT2NUM(GL_PATH_FORMAT_PS_NV));
2812
+ rb_define_const(module, "GL_PATH_FORMAT_SVG_NV", INT2NUM(GL_PATH_FORMAT_SVG_NV));
2813
+ rb_define_const(module, "GL_PATH_GEN_COEFF_NV", INT2NUM(GL_PATH_GEN_COEFF_NV));
2814
+ rb_define_const(module, "GL_PATH_GEN_COLOR_FORMAT_NV", INT2NUM(GL_PATH_GEN_COLOR_FORMAT_NV));
2815
+ rb_define_const(module, "GL_PATH_GEN_COMPONENTS_NV", INT2NUM(GL_PATH_GEN_COMPONENTS_NV));
2816
+ rb_define_const(module, "GL_PATH_GEN_MODE_NV", INT2NUM(GL_PATH_GEN_MODE_NV));
2817
+ rb_define_const(module, "GL_PATH_INITIAL_DASH_CAP_NV", INT2NUM(GL_PATH_INITIAL_DASH_CAP_NV));
2818
+ rb_define_const(module, "GL_PATH_INITIAL_END_CAP_NV", INT2NUM(GL_PATH_INITIAL_END_CAP_NV));
2819
+ rb_define_const(module, "GL_PATH_JOIN_STYLE_NV", INT2NUM(GL_PATH_JOIN_STYLE_NV));
2820
+ rb_define_const(module, "GL_PATH_MITER_LIMIT_NV", INT2NUM(GL_PATH_MITER_LIMIT_NV));
2821
+ rb_define_const(module, "GL_PATH_OBJECT_BOUNDING_BOX_NV", INT2NUM(GL_PATH_OBJECT_BOUNDING_BOX_NV));
2822
+ rb_define_const(module, "GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV", INT2NUM(GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV));
2823
+ rb_define_const(module, "GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV", INT2NUM(GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV));
2824
+ rb_define_const(module, "GL_PATH_STENCIL_FUNC_NV", INT2NUM(GL_PATH_STENCIL_FUNC_NV));
2825
+ rb_define_const(module, "GL_PATH_STENCIL_REF_NV", INT2NUM(GL_PATH_STENCIL_REF_NV));
2826
+ rb_define_const(module, "GL_PATH_STENCIL_VALUE_MASK_NV", INT2NUM(GL_PATH_STENCIL_VALUE_MASK_NV));
2827
+ rb_define_const(module, "GL_PATH_STROKE_BOUNDING_BOX_NV", INT2NUM(GL_PATH_STROKE_BOUNDING_BOX_NV));
2828
+ rb_define_const(module, "GL_PATH_STROKE_COVER_MODE_NV", INT2NUM(GL_PATH_STROKE_COVER_MODE_NV));
2829
+ rb_define_const(module, "GL_PATH_STROKE_MASK_NV", INT2NUM(GL_PATH_STROKE_MASK_NV));
2830
+ rb_define_const(module, "GL_PATH_STROKE_WIDTH_NV", INT2NUM(GL_PATH_STROKE_WIDTH_NV));
2831
+ rb_define_const(module, "GL_PATH_TERMINAL_DASH_CAP_NV", INT2NUM(GL_PATH_TERMINAL_DASH_CAP_NV));
2832
+ rb_define_const(module, "GL_PATH_TERMINAL_END_CAP_NV", INT2NUM(GL_PATH_TERMINAL_END_CAP_NV));
2833
+ rb_define_const(module, "GL_PERCENTAGE_AMD", INT2NUM(GL_PERCENTAGE_AMD));
2834
+ rb_define_const(module, "GL_PERFMON_GLOBAL_MODE_QCOM", INT2NUM(GL_PERFMON_GLOBAL_MODE_QCOM));
2835
+ rb_define_const(module, "GL_PERFMON_RESULT_AMD", INT2NUM(GL_PERFMON_RESULT_AMD));
2836
+ rb_define_const(module, "GL_PERFMON_RESULT_AVAILABLE_AMD", INT2NUM(GL_PERFMON_RESULT_AVAILABLE_AMD));
2837
+ rb_define_const(module, "GL_PERFMON_RESULT_SIZE_AMD", INT2NUM(GL_PERFMON_RESULT_SIZE_AMD));
2838
+ rb_define_const(module, "GL_PERFORMANCE_MONITOR_AMD", INT2NUM(GL_PERFORMANCE_MONITOR_AMD));
1906
2839
  rb_define_const(module, "GL_PERSPECTIVE_CORRECTION_HINT", INT2NUM(GL_PERSPECTIVE_CORRECTION_HINT));
1907
2840
  rb_define_const(module, "GL_PERTURB_EXT", INT2NUM(GL_PERTURB_EXT));
1908
2841
  rb_define_const(module, "GL_PER_STAGE_CONSTANTS_NV", INT2NUM(GL_PER_STAGE_CONSTANTS_NV));
1909
2842
  rb_define_const(module, "GL_PHONG_HINT_WIN", INT2NUM(GL_PHONG_HINT_WIN));
1910
2843
  rb_define_const(module, "GL_PHONG_WIN", INT2NUM(GL_PHONG_WIN));
2844
+ rb_define_const(module, "GL_PIXEL_BUFFER_BARRIER_BIT", INT2NUM(GL_PIXEL_BUFFER_BARRIER_BIT));
2845
+ rb_define_const(module, "GL_PIXEL_BUFFER_BARRIER_BIT_EXT", INT2NUM(GL_PIXEL_BUFFER_BARRIER_BIT_EXT));
1911
2846
  rb_define_const(module, "GL_PIXEL_COUNTER_BITS_NV", INT2NUM(GL_PIXEL_COUNTER_BITS_NV));
1912
2847
  rb_define_const(module, "GL_PIXEL_COUNT_AVAILABLE_NV", INT2NUM(GL_PIXEL_COUNT_AVAILABLE_NV));
1913
2848
  rb_define_const(module, "GL_PIXEL_COUNT_NV", INT2NUM(GL_PIXEL_COUNT_NV));
@@ -1992,6 +2927,11 @@ void gl_init_enums(VALUE module)
1992
2927
  rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE_EXT", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE_EXT));
1993
2928
  rb_define_const(module, "GL_POINT_FADE_THRESHOLD_SIZE_SGIS", INT2NUM(GL_POINT_FADE_THRESHOLD_SIZE_SGIS));
1994
2929
  rb_define_const(module, "GL_POINT_SIZE", INT2NUM(GL_POINT_SIZE));
2930
+ rb_define_const(module, "GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES", INT2NUM(GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES));
2931
+ rb_define_const(module, "GL_POINT_SIZE_ARRAY_OES", INT2NUM(GL_POINT_SIZE_ARRAY_OES));
2932
+ rb_define_const(module, "GL_POINT_SIZE_ARRAY_POINTER_OES", INT2NUM(GL_POINT_SIZE_ARRAY_POINTER_OES));
2933
+ rb_define_const(module, "GL_POINT_SIZE_ARRAY_STRIDE_OES", INT2NUM(GL_POINT_SIZE_ARRAY_STRIDE_OES));
2934
+ rb_define_const(module, "GL_POINT_SIZE_ARRAY_TYPE_OES", INT2NUM(GL_POINT_SIZE_ARRAY_TYPE_OES));
1995
2935
  rb_define_const(module, "GL_POINT_SIZE_GRANULARITY", INT2NUM(GL_POINT_SIZE_GRANULARITY));
1996
2936
  rb_define_const(module, "GL_POINT_SIZE_MAX", INT2NUM(GL_POINT_SIZE_MAX));
1997
2937
  rb_define_const(module, "GL_POINT_SIZE_MAX_ARB", INT2NUM(GL_POINT_SIZE_MAX_ARB));
@@ -2084,12 +3024,22 @@ void gl_init_enums(VALUE module)
2084
3024
  rb_define_const(module, "GL_PRIMITIVES_GENERATED_EXT", INT2NUM(GL_PRIMITIVES_GENERATED_EXT));
2085
3025
  rb_define_const(module, "GL_PRIMITIVES_GENERATED_NV", INT2NUM(GL_PRIMITIVES_GENERATED_NV));
2086
3026
  rb_define_const(module, "GL_PRIMITIVE_ID_NV", INT2NUM(GL_PRIMITIVE_ID_NV));
3027
+ rb_define_const(module, "GL_PRIMITIVE_RESTART", INT2NUM(GL_PRIMITIVE_RESTART));
3028
+ rb_define_const(module, "GL_PRIMITIVE_RESTART_FIXED_INDEX", INT2NUM(GL_PRIMITIVE_RESTART_FIXED_INDEX));
3029
+ rb_define_const(module, "GL_PRIMITIVE_RESTART_INDEX", INT2NUM(GL_PRIMITIVE_RESTART_INDEX));
2087
3030
  rb_define_const(module, "GL_PRIMITIVE_RESTART_INDEX_NV", INT2NUM(GL_PRIMITIVE_RESTART_INDEX_NV));
2088
3031
  rb_define_const(module, "GL_PRIMITIVE_RESTART_NV", INT2NUM(GL_PRIMITIVE_RESTART_NV));
3032
+ rb_define_const(module, "GL_PROGRAM", INT2NUM(GL_PROGRAM));
2089
3033
  rb_define_const(module, "GL_PROGRAM_ADDRESS_REGISTERS_ARB", INT2NUM(GL_PROGRAM_ADDRESS_REGISTERS_ARB));
2090
3034
  rb_define_const(module, "GL_PROGRAM_ALU_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_ALU_INSTRUCTIONS_ARB));
2091
3035
  rb_define_const(module, "GL_PROGRAM_ATTRIBS_ARB", INT2NUM(GL_PROGRAM_ATTRIBS_ARB));
2092
3036
  rb_define_const(module, "GL_PROGRAM_ATTRIB_COMPONENTS_NV", INT2NUM(GL_PROGRAM_ATTRIB_COMPONENTS_NV));
3037
+ rb_define_const(module, "GL_PROGRAM_BINARY_ANGLE", INT2NUM(GL_PROGRAM_BINARY_ANGLE));
3038
+ rb_define_const(module, "GL_PROGRAM_BINARY_FORMATS", INT2NUM(GL_PROGRAM_BINARY_FORMATS));
3039
+ rb_define_const(module, "GL_PROGRAM_BINARY_FORMATS_OES", INT2NUM(GL_PROGRAM_BINARY_FORMATS_OES));
3040
+ rb_define_const(module, "GL_PROGRAM_BINARY_LENGTH", INT2NUM(GL_PROGRAM_BINARY_LENGTH));
3041
+ rb_define_const(module, "GL_PROGRAM_BINARY_LENGTH_OES", INT2NUM(GL_PROGRAM_BINARY_LENGTH_OES));
3042
+ rb_define_const(module, "GL_PROGRAM_BINARY_RETRIEVABLE_HINT", INT2NUM(GL_PROGRAM_BINARY_RETRIEVABLE_HINT));
2093
3043
  rb_define_const(module, "GL_PROGRAM_BINDING_ARB", INT2NUM(GL_PROGRAM_BINDING_ARB));
2094
3044
  rb_define_const(module, "GL_PROGRAM_ERROR_POSITION_ARB", INT2NUM(GL_PROGRAM_ERROR_POSITION_ARB));
2095
3045
  rb_define_const(module, "GL_PROGRAM_ERROR_POSITION_NV", INT2NUM(GL_PROGRAM_ERROR_POSITION_NV));
@@ -2097,6 +3047,7 @@ void gl_init_enums(VALUE module)
2097
3047
  rb_define_const(module, "GL_PROGRAM_ERROR_STRING_NV", INT2NUM(GL_PROGRAM_ERROR_STRING_NV));
2098
3048
  rb_define_const(module, "GL_PROGRAM_FORMAT_ARB", INT2NUM(GL_PROGRAM_FORMAT_ARB));
2099
3049
  rb_define_const(module, "GL_PROGRAM_FORMAT_ASCII_ARB", INT2NUM(GL_PROGRAM_FORMAT_ASCII_ARB));
3050
+ rb_define_const(module, "GL_PROGRAM_INPUT", INT2NUM(GL_PROGRAM_INPUT));
2100
3051
  rb_define_const(module, "GL_PROGRAM_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_INSTRUCTIONS_ARB));
2101
3052
  rb_define_const(module, "GL_PROGRAM_LENGTH_ARB", INT2NUM(GL_PROGRAM_LENGTH_ARB));
2102
3053
  rb_define_const(module, "GL_PROGRAM_LENGTH_NV", INT2NUM(GL_PROGRAM_LENGTH_NV));
@@ -2111,12 +3062,21 @@ void gl_init_enums(VALUE module)
2111
3062
  rb_define_const(module, "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB", INT2NUM(GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB));
2112
3063
  rb_define_const(module, "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB));
2113
3064
  rb_define_const(module, "GL_PROGRAM_OBJECT_ARB", INT2NUM(GL_PROGRAM_OBJECT_ARB));
3065
+ rb_define_const(module, "GL_PROGRAM_OBJECT_EXT", INT2NUM(GL_PROGRAM_OBJECT_EXT));
3066
+ rb_define_const(module, "GL_PROGRAM_OUTPUT", INT2NUM(GL_PROGRAM_OUTPUT));
2114
3067
  rb_define_const(module, "GL_PROGRAM_PARAMETERS_ARB", INT2NUM(GL_PROGRAM_PARAMETERS_ARB));
2115
3068
  rb_define_const(module, "GL_PROGRAM_PARAMETER_NV", INT2NUM(GL_PROGRAM_PARAMETER_NV));
3069
+ rb_define_const(module, "GL_PROGRAM_PIPELINE", INT2NUM(GL_PROGRAM_PIPELINE));
3070
+ rb_define_const(module, "GL_PROGRAM_PIPELINE_BINDING", INT2NUM(GL_PROGRAM_PIPELINE_BINDING));
3071
+ rb_define_const(module, "GL_PROGRAM_PIPELINE_BINDING_EXT", INT2NUM(GL_PROGRAM_PIPELINE_BINDING_EXT));
3072
+ rb_define_const(module, "GL_PROGRAM_PIPELINE_OBJECT_EXT", INT2NUM(GL_PROGRAM_PIPELINE_OBJECT_EXT));
3073
+ rb_define_const(module, "GL_PROGRAM_POINT_SIZE", INT2NUM(GL_PROGRAM_POINT_SIZE));
2116
3074
  rb_define_const(module, "GL_PROGRAM_POINT_SIZE_ARB", INT2NUM(GL_PROGRAM_POINT_SIZE_ARB));
2117
3075
  rb_define_const(module, "GL_PROGRAM_POINT_SIZE_EXT", INT2NUM(GL_PROGRAM_POINT_SIZE_EXT));
2118
3076
  rb_define_const(module, "GL_PROGRAM_RESIDENT_NV", INT2NUM(GL_PROGRAM_RESIDENT_NV));
2119
3077
  rb_define_const(module, "GL_PROGRAM_RESULT_COMPONENTS_NV", INT2NUM(GL_PROGRAM_RESULT_COMPONENTS_NV));
3078
+ rb_define_const(module, "GL_PROGRAM_SEPARABLE", INT2NUM(GL_PROGRAM_SEPARABLE));
3079
+ rb_define_const(module, "GL_PROGRAM_SEPARABLE_EXT", INT2NUM(GL_PROGRAM_SEPARABLE_EXT));
2120
3080
  rb_define_const(module, "GL_PROGRAM_STRING_ARB", INT2NUM(GL_PROGRAM_STRING_ARB));
2121
3081
  rb_define_const(module, "GL_PROGRAM_STRING_NV", INT2NUM(GL_PROGRAM_STRING_NV));
2122
3082
  rb_define_const(module, "GL_PROGRAM_TARGET_NV", INT2NUM(GL_PROGRAM_TARGET_NV));
@@ -2126,7 +3086,10 @@ void gl_init_enums(VALUE module)
2126
3086
  rb_define_const(module, "GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB", INT2NUM(GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB));
2127
3087
  rb_define_const(module, "GL_PROJECTION", INT2NUM(GL_PROJECTION));
2128
3088
  rb_define_const(module, "GL_PROJECTION_MATRIX", INT2NUM(GL_PROJECTION_MATRIX));
3089
+ rb_define_const(module, "GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES", INT2NUM(GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES));
2129
3090
  rb_define_const(module, "GL_PROJECTION_STACK_DEPTH", INT2NUM(GL_PROJECTION_STACK_DEPTH));
3091
+ rb_define_const(module, "GL_PROVOKING_VERTEX", INT2NUM(GL_PROVOKING_VERTEX));
3092
+ rb_define_const(module, "GL_PROVOKING_VERTEX_EXT", INT2NUM(GL_PROVOKING_VERTEX_EXT));
2130
3093
  rb_define_const(module, "GL_PROXY_COLOR_TABLE", INT2NUM(GL_PROXY_COLOR_TABLE));
2131
3094
  rb_define_const(module, "GL_PROXY_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_COLOR_TABLE_SGI));
2132
3095
  rb_define_const(module, "GL_PROXY_HISTOGRAM", INT2NUM(GL_PROXY_HISTOGRAM));
@@ -2145,6 +3108,8 @@ void gl_init_enums(VALUE module)
2145
3108
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_ARRAY", INT2NUM(GL_PROXY_TEXTURE_2D_ARRAY));
2146
3109
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_ARRAY_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_ARRAY_EXT));
2147
3110
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_EXT));
3111
+ rb_define_const(module, "GL_PROXY_TEXTURE_2D_MULTISAMPLE", INT2NUM(GL_PROXY_TEXTURE_2D_MULTISAMPLE));
3112
+ rb_define_const(module, "GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY));
2148
3113
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_STACK_MESAX", INT2NUM(GL_PROXY_TEXTURE_2D_STACK_MESAX));
2149
3114
  rb_define_const(module, "GL_PROXY_TEXTURE_3D", INT2NUM(GL_PROXY_TEXTURE_3D));
2150
3115
  rb_define_const(module, "GL_PROXY_TEXTURE_3D_EXT", INT2NUM(GL_PROXY_TEXTURE_3D_EXT));
@@ -2152,12 +3117,19 @@ void gl_init_enums(VALUE module)
2152
3117
  rb_define_const(module, "GL_PROXY_TEXTURE_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_TEXTURE_COLOR_TABLE_SGI));
2153
3118
  rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP));
2154
3119
  rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP_ARB", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP_ARB));
3120
+ rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP_ARRAY", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP_ARRAY));
3121
+ rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB));
2155
3122
  rb_define_const(module, "GL_PROXY_TEXTURE_CUBE_MAP_EXT", INT2NUM(GL_PROXY_TEXTURE_CUBE_MAP_EXT));
3123
+ rb_define_const(module, "GL_PROXY_TEXTURE_RECTANGLE", INT2NUM(GL_PROXY_TEXTURE_RECTANGLE));
2156
3124
  rb_define_const(module, "GL_PROXY_TEXTURE_RECTANGLE_ARB", INT2NUM(GL_PROXY_TEXTURE_RECTANGLE_ARB));
2157
3125
  rb_define_const(module, "GL_PROXY_TEXTURE_RECTANGLE_NV", INT2NUM(GL_PROXY_TEXTURE_RECTANGLE_NV));
3126
+ rb_define_const(module, "GL_PURGEABLE_APPLE", INT2NUM(GL_PURGEABLE_APPLE));
2158
3127
  rb_define_const(module, "GL_Q", INT2NUM(GL_Q));
2159
3128
  rb_define_const(module, "GL_QUADRATIC_ATTENUATION", INT2NUM(GL_QUADRATIC_ATTENUATION));
3129
+ rb_define_const(module, "GL_QUADRATIC_CURVE_TO_NV", INT2NUM(GL_QUADRATIC_CURVE_TO_NV));
2160
3130
  rb_define_const(module, "GL_QUADS", INT2NUM(GL_QUADS));
3131
+ rb_define_const(module, "GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION", INT2NUM(GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION));
3132
+ rb_define_const(module, "GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT", INT2NUM(GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT));
2161
3133
  rb_define_const(module, "GL_QUAD_ALPHA4_SGIS", INT2NUM(GL_QUAD_ALPHA4_SGIS));
2162
3134
  rb_define_const(module, "GL_QUAD_ALPHA8_SGIS", INT2NUM(GL_QUAD_ALPHA8_SGIS));
2163
3135
  rb_define_const(module, "GL_QUAD_INTENSITY4_SGIS", INT2NUM(GL_QUAD_INTENSITY4_SGIS));
@@ -2168,6 +3140,9 @@ void gl_init_enums(VALUE module)
2168
3140
  rb_define_const(module, "GL_QUAD_STRIP", INT2NUM(GL_QUAD_STRIP));
2169
3141
  rb_define_const(module, "GL_QUAD_TEXTURE_SELECT_SGIS", INT2NUM(GL_QUAD_TEXTURE_SELECT_SGIS));
2170
3142
  rb_define_const(module, "GL_QUARTER_BIT_ATI", INT2NUM(GL_QUARTER_BIT_ATI));
3143
+ rb_define_const(module, "GL_QUERY", INT2NUM(GL_QUERY));
3144
+ rb_define_const(module, "GL_QUERY_BUFFER_AMD", INT2NUM(GL_QUERY_BUFFER_AMD));
3145
+ rb_define_const(module, "GL_QUERY_BUFFER_BINDING_AMD", INT2NUM(GL_QUERY_BUFFER_BINDING_AMD));
2171
3146
  rb_define_const(module, "GL_QUERY_BY_REGION_NO_WAIT", INT2NUM(GL_QUERY_BY_REGION_NO_WAIT));
2172
3147
  rb_define_const(module, "GL_QUERY_BY_REGION_NO_WAIT_NV", INT2NUM(GL_QUERY_BY_REGION_NO_WAIT_NV));
2173
3148
  rb_define_const(module, "GL_QUERY_BY_REGION_WAIT", INT2NUM(GL_QUERY_BY_REGION_WAIT));
@@ -2176,10 +3151,15 @@ void gl_init_enums(VALUE module)
2176
3151
  rb_define_const(module, "GL_QUERY_COUNTER_BITS_ARB", INT2NUM(GL_QUERY_COUNTER_BITS_ARB));
2177
3152
  rb_define_const(module, "GL_QUERY_NO_WAIT", INT2NUM(GL_QUERY_NO_WAIT));
2178
3153
  rb_define_const(module, "GL_QUERY_NO_WAIT_NV", INT2NUM(GL_QUERY_NO_WAIT_NV));
3154
+ rb_define_const(module, "GL_QUERY_OBJECT_AMD", INT2NUM(GL_QUERY_OBJECT_AMD));
3155
+ rb_define_const(module, "GL_QUERY_OBJECT_EXT", INT2NUM(GL_QUERY_OBJECT_EXT));
2179
3156
  rb_define_const(module, "GL_QUERY_RESULT", INT2NUM(GL_QUERY_RESULT));
2180
3157
  rb_define_const(module, "GL_QUERY_RESULT_ARB", INT2NUM(GL_QUERY_RESULT_ARB));
2181
3158
  rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE", INT2NUM(GL_QUERY_RESULT_AVAILABLE));
2182
3159
  rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE_ARB", INT2NUM(GL_QUERY_RESULT_AVAILABLE_ARB));
3160
+ rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE_EXT", INT2NUM(GL_QUERY_RESULT_AVAILABLE_EXT));
3161
+ rb_define_const(module, "GL_QUERY_RESULT_EXT", INT2NUM(GL_QUERY_RESULT_EXT));
3162
+ rb_define_const(module, "GL_QUERY_RESULT_NO_WAIT_AMD", INT2NUM(GL_QUERY_RESULT_NO_WAIT_AMD));
2183
3163
  rb_define_const(module, "GL_QUERY_WAIT", INT2NUM(GL_QUERY_WAIT));
2184
3164
  rb_define_const(module, "GL_QUERY_WAIT_NV", INT2NUM(GL_QUERY_WAIT_NV));
2185
3165
  rb_define_const(module, "GL_R", INT2NUM(GL_R));
@@ -2187,8 +3167,10 @@ void gl_init_enums(VALUE module)
2187
3167
  rb_define_const(module, "GL_R11F_G11F_B10F_EXT", INT2NUM(GL_R11F_G11F_B10F_EXT));
2188
3168
  rb_define_const(module, "GL_R16", INT2NUM(GL_R16));
2189
3169
  rb_define_const(module, "GL_R16F", INT2NUM(GL_R16F));
3170
+ rb_define_const(module, "GL_R16F_EXT", INT2NUM(GL_R16F_EXT));
2190
3171
  rb_define_const(module, "GL_R16I", INT2NUM(GL_R16I));
2191
3172
  rb_define_const(module, "GL_R16UI", INT2NUM(GL_R16UI));
3173
+ rb_define_const(module, "GL_R16_SNORM", INT2NUM(GL_R16_SNORM));
2192
3174
  rb_define_const(module, "GL_R1UI_C3F_V3F_SUN", INT2NUM(GL_R1UI_C3F_V3F_SUN));
2193
3175
  rb_define_const(module, "GL_R1UI_C4F_N3F_V3F_SUN", INT2NUM(GL_R1UI_C4F_N3F_V3F_SUN));
2194
3176
  rb_define_const(module, "GL_R1UI_C4UB_V3F_SUN", INT2NUM(GL_R1UI_C4UB_V3F_SUN));
@@ -2204,40 +3186,61 @@ void gl_init_enums(VALUE module)
2204
3186
  rb_define_const(module, "GL_R8", INT2NUM(GL_R8));
2205
3187
  rb_define_const(module, "GL_R8I", INT2NUM(GL_R8I));
2206
3188
  rb_define_const(module, "GL_R8UI", INT2NUM(GL_R8UI));
3189
+ rb_define_const(module, "GL_R8_EXT", INT2NUM(GL_R8_EXT));
3190
+ rb_define_const(module, "GL_R8_SNORM", INT2NUM(GL_R8_SNORM));
2207
3191
  rb_define_const(module, "GL_RASTERIZER_DISCARD", INT2NUM(GL_RASTERIZER_DISCARD));
2208
3192
  rb_define_const(module, "GL_RASTERIZER_DISCARD_EXT", INT2NUM(GL_RASTERIZER_DISCARD_EXT));
2209
3193
  rb_define_const(module, "GL_RASTERIZER_DISCARD_NV", INT2NUM(GL_RASTERIZER_DISCARD_NV));
2210
3194
  rb_define_const(module, "GL_RASTER_POSITION_UNCLIPPED_IBM", INT2NUM(GL_RASTER_POSITION_UNCLIPPED_IBM));
2211
3195
  rb_define_const(module, "GL_READ_BUFFER", INT2NUM(GL_READ_BUFFER));
3196
+ rb_define_const(module, "GL_READ_BUFFER_EXT", INT2NUM(GL_READ_BUFFER_EXT));
3197
+ rb_define_const(module, "GL_READ_BUFFER_NV", INT2NUM(GL_READ_BUFFER_NV));
2212
3198
  rb_define_const(module, "GL_READ_FRAMEBUFFER", INT2NUM(GL_READ_FRAMEBUFFER));
3199
+ rb_define_const(module, "GL_READ_FRAMEBUFFER_ANGLE", INT2NUM(GL_READ_FRAMEBUFFER_ANGLE));
2213
3200
  rb_define_const(module, "GL_READ_FRAMEBUFFER_BINDING", INT2NUM(GL_READ_FRAMEBUFFER_BINDING));
2214
3201
  rb_define_const(module, "GL_READ_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_READ_FRAMEBUFFER_BINDING_EXT));
3202
+ rb_define_const(module, "GL_READ_FRAMEBUFFER_BINDING_NV", INT2NUM(GL_READ_FRAMEBUFFER_BINDING_NV));
2215
3203
  rb_define_const(module, "GL_READ_FRAMEBUFFER_EXT", INT2NUM(GL_READ_FRAMEBUFFER_EXT));
3204
+ rb_define_const(module, "GL_READ_FRAMEBUFFER_NV", INT2NUM(GL_READ_FRAMEBUFFER_NV));
2216
3205
  rb_define_const(module, "GL_READ_ONLY", INT2NUM(GL_READ_ONLY));
2217
3206
  rb_define_const(module, "GL_READ_ONLY_ARB", INT2NUM(GL_READ_ONLY_ARB));
3207
+ rb_define_const(module, "GL_READ_PIXELS", INT2NUM(GL_READ_PIXELS));
3208
+ rb_define_const(module, "GL_READ_PIXELS_FORMAT", INT2NUM(GL_READ_PIXELS_FORMAT));
3209
+ rb_define_const(module, "GL_READ_PIXELS_TYPE", INT2NUM(GL_READ_PIXELS_TYPE));
2218
3210
  rb_define_const(module, "GL_READ_PIXEL_DATA_RANGE_LENGTH_NV", INT2NUM(GL_READ_PIXEL_DATA_RANGE_LENGTH_NV));
2219
3211
  rb_define_const(module, "GL_READ_PIXEL_DATA_RANGE_NV", INT2NUM(GL_READ_PIXEL_DATA_RANGE_NV));
2220
3212
  rb_define_const(module, "GL_READ_PIXEL_DATA_RANGE_POINTER_NV", INT2NUM(GL_READ_PIXEL_DATA_RANGE_POINTER_NV));
2221
3213
  rb_define_const(module, "GL_READ_WRITE", INT2NUM(GL_READ_WRITE));
2222
3214
  rb_define_const(module, "GL_READ_WRITE_ARB", INT2NUM(GL_READ_WRITE_ARB));
3215
+ rb_define_const(module, "GL_RECIP_ADD_SIGNED_ALPHA_IMG", INT2NUM(GL_RECIP_ADD_SIGNED_ALPHA_IMG));
2223
3216
  rb_define_const(module, "GL_RECLAIM_MEMORY_HINT_PGI", INT2NUM(GL_RECLAIM_MEMORY_HINT_PGI));
3217
+ rb_define_const(module, "GL_RECT_NV", INT2NUM(GL_RECT_NV));
2224
3218
  rb_define_const(module, "GL_RED", INT2NUM(GL_RED));
2225
3219
  rb_define_const(module, "GL_REDUCE", INT2NUM(GL_REDUCE));
2226
3220
  rb_define_const(module, "GL_REDUCE_EXT", INT2NUM(GL_REDUCE_EXT));
2227
3221
  rb_define_const(module, "GL_RED_BIAS", INT2NUM(GL_RED_BIAS));
2228
3222
  rb_define_const(module, "GL_RED_BITS", INT2NUM(GL_RED_BITS));
2229
3223
  rb_define_const(module, "GL_RED_BIT_ATI", INT2NUM(GL_RED_BIT_ATI));
3224
+ rb_define_const(module, "GL_RED_EXT", INT2NUM(GL_RED_EXT));
2230
3225
  rb_define_const(module, "GL_RED_INTEGER", INT2NUM(GL_RED_INTEGER));
2231
3226
  rb_define_const(module, "GL_RED_INTEGER_EXT", INT2NUM(GL_RED_INTEGER_EXT));
2232
3227
  rb_define_const(module, "GL_RED_MAX_CLAMP_INGR", INT2NUM(GL_RED_MAX_CLAMP_INGR));
2233
3228
  rb_define_const(module, "GL_RED_MIN_CLAMP_INGR", INT2NUM(GL_RED_MIN_CLAMP_INGR));
2234
3229
  rb_define_const(module, "GL_RED_SCALE", INT2NUM(GL_RED_SCALE));
3230
+ rb_define_const(module, "GL_RED_SNORM", INT2NUM(GL_RED_SNORM));
3231
+ rb_define_const(module, "GL_REFERENCED_BY_COMPUTE_SHADER", INT2NUM(GL_REFERENCED_BY_COMPUTE_SHADER));
3232
+ rb_define_const(module, "GL_REFERENCED_BY_FRAGMENT_SHADER", INT2NUM(GL_REFERENCED_BY_FRAGMENT_SHADER));
3233
+ rb_define_const(module, "GL_REFERENCED_BY_GEOMETRY_SHADER", INT2NUM(GL_REFERENCED_BY_GEOMETRY_SHADER));
3234
+ rb_define_const(module, "GL_REFERENCED_BY_TESS_CONTROL_SHADER", INT2NUM(GL_REFERENCED_BY_TESS_CONTROL_SHADER));
3235
+ rb_define_const(module, "GL_REFERENCED_BY_TESS_EVALUATION_SHADER", INT2NUM(GL_REFERENCED_BY_TESS_EVALUATION_SHADER));
3236
+ rb_define_const(module, "GL_REFERENCED_BY_VERTEX_SHADER", INT2NUM(GL_REFERENCED_BY_VERTEX_SHADER));
2235
3237
  rb_define_const(module, "GL_REFERENCE_PLANE_EQUATION_SGIX", INT2NUM(GL_REFERENCE_PLANE_EQUATION_SGIX));
2236
3238
  rb_define_const(module, "GL_REFERENCE_PLANE_SGIX", INT2NUM(GL_REFERENCE_PLANE_SGIX));
2237
3239
  rb_define_const(module, "GL_REFLECTION_MAP", INT2NUM(GL_REFLECTION_MAP));
2238
3240
  rb_define_const(module, "GL_REFLECTION_MAP_ARB", INT2NUM(GL_REFLECTION_MAP_ARB));
2239
3241
  rb_define_const(module, "GL_REFLECTION_MAP_EXT", INT2NUM(GL_REFLECTION_MAP_EXT));
2240
3242
  rb_define_const(module, "GL_REFLECTION_MAP_NV", INT2NUM(GL_REFLECTION_MAP_NV));
3243
+ rb_define_const(module, "GL_REFLECTION_MAP_OES", INT2NUM(GL_REFLECTION_MAP_OES));
2241
3244
  rb_define_const(module, "GL_REGISTER_COMBINERS_NV", INT2NUM(GL_REGISTER_COMBINERS_NV));
2242
3245
  rb_define_const(module, "GL_REG_0_ATI", INT2NUM(GL_REG_0_ATI));
2243
3246
  rb_define_const(module, "GL_REG_10_ATI", INT2NUM(GL_REG_10_ATI));
@@ -2271,34 +3274,65 @@ void gl_init_enums(VALUE module)
2271
3274
  rb_define_const(module, "GL_REG_7_ATI", INT2NUM(GL_REG_7_ATI));
2272
3275
  rb_define_const(module, "GL_REG_8_ATI", INT2NUM(GL_REG_8_ATI));
2273
3276
  rb_define_const(module, "GL_REG_9_ATI", INT2NUM(GL_REG_9_ATI));
3277
+ rb_define_const(module, "GL_RELATIVE_ARC_TO_NV", INT2NUM(GL_RELATIVE_ARC_TO_NV));
3278
+ rb_define_const(module, "GL_RELATIVE_CUBIC_CURVE_TO_NV", INT2NUM(GL_RELATIVE_CUBIC_CURVE_TO_NV));
3279
+ rb_define_const(module, "GL_RELATIVE_HORIZONTAL_LINE_TO_NV", INT2NUM(GL_RELATIVE_HORIZONTAL_LINE_TO_NV));
3280
+ rb_define_const(module, "GL_RELATIVE_LARGE_CCW_ARC_TO_NV", INT2NUM(GL_RELATIVE_LARGE_CCW_ARC_TO_NV));
3281
+ rb_define_const(module, "GL_RELATIVE_LARGE_CW_ARC_TO_NV", INT2NUM(GL_RELATIVE_LARGE_CW_ARC_TO_NV));
3282
+ rb_define_const(module, "GL_RELATIVE_LINE_TO_NV", INT2NUM(GL_RELATIVE_LINE_TO_NV));
3283
+ rb_define_const(module, "GL_RELATIVE_MOVE_TO_NV", INT2NUM(GL_RELATIVE_MOVE_TO_NV));
3284
+ rb_define_const(module, "GL_RELATIVE_QUADRATIC_CURVE_TO_NV", INT2NUM(GL_RELATIVE_QUADRATIC_CURVE_TO_NV));
3285
+ rb_define_const(module, "GL_RELATIVE_SMALL_CCW_ARC_TO_NV", INT2NUM(GL_RELATIVE_SMALL_CCW_ARC_TO_NV));
3286
+ rb_define_const(module, "GL_RELATIVE_SMALL_CW_ARC_TO_NV", INT2NUM(GL_RELATIVE_SMALL_CW_ARC_TO_NV));
3287
+ rb_define_const(module, "GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV", INT2NUM(GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV));
3288
+ rb_define_const(module, "GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV", INT2NUM(GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV));
3289
+ rb_define_const(module, "GL_RELATIVE_VERTICAL_LINE_TO_NV", INT2NUM(GL_RELATIVE_VERTICAL_LINE_TO_NV));
3290
+ rb_define_const(module, "GL_RELEASED_APPLE", INT2NUM(GL_RELEASED_APPLE));
2274
3291
  rb_define_const(module, "GL_RENDER", INT2NUM(GL_RENDER));
2275
3292
  rb_define_const(module, "GL_RENDERBUFFER", INT2NUM(GL_RENDERBUFFER));
2276
3293
  rb_define_const(module, "GL_RENDERBUFFER_ALPHA_SIZE", INT2NUM(GL_RENDERBUFFER_ALPHA_SIZE));
2277
3294
  rb_define_const(module, "GL_RENDERBUFFER_ALPHA_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_ALPHA_SIZE_EXT));
3295
+ rb_define_const(module, "GL_RENDERBUFFER_ALPHA_SIZE_OES", INT2NUM(GL_RENDERBUFFER_ALPHA_SIZE_OES));
2278
3296
  rb_define_const(module, "GL_RENDERBUFFER_BINDING", INT2NUM(GL_RENDERBUFFER_BINDING));
3297
+ rb_define_const(module, "GL_RENDERBUFFER_BINDING_ANGLE", INT2NUM(GL_RENDERBUFFER_BINDING_ANGLE));
2279
3298
  rb_define_const(module, "GL_RENDERBUFFER_BINDING_EXT", INT2NUM(GL_RENDERBUFFER_BINDING_EXT));
3299
+ rb_define_const(module, "GL_RENDERBUFFER_BINDING_OES", INT2NUM(GL_RENDERBUFFER_BINDING_OES));
2280
3300
  rb_define_const(module, "GL_RENDERBUFFER_BLUE_SIZE", INT2NUM(GL_RENDERBUFFER_BLUE_SIZE));
2281
3301
  rb_define_const(module, "GL_RENDERBUFFER_BLUE_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_BLUE_SIZE_EXT));
3302
+ rb_define_const(module, "GL_RENDERBUFFER_BLUE_SIZE_OES", INT2NUM(GL_RENDERBUFFER_BLUE_SIZE_OES));
2282
3303
  rb_define_const(module, "GL_RENDERBUFFER_COLOR_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_COLOR_SAMPLES_NV));
2283
3304
  rb_define_const(module, "GL_RENDERBUFFER_COVERAGE_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_COVERAGE_SAMPLES_NV));
2284
3305
  rb_define_const(module, "GL_RENDERBUFFER_DEPTH_SIZE", INT2NUM(GL_RENDERBUFFER_DEPTH_SIZE));
2285
3306
  rb_define_const(module, "GL_RENDERBUFFER_DEPTH_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_DEPTH_SIZE_EXT));
3307
+ rb_define_const(module, "GL_RENDERBUFFER_DEPTH_SIZE_OES", INT2NUM(GL_RENDERBUFFER_DEPTH_SIZE_OES));
2286
3308
  rb_define_const(module, "GL_RENDERBUFFER_EXT", INT2NUM(GL_RENDERBUFFER_EXT));
3309
+ rb_define_const(module, "GL_RENDERBUFFER_FREE_MEMORY_ATI", INT2NUM(GL_RENDERBUFFER_FREE_MEMORY_ATI));
2287
3310
  rb_define_const(module, "GL_RENDERBUFFER_GREEN_SIZE", INT2NUM(GL_RENDERBUFFER_GREEN_SIZE));
2288
3311
  rb_define_const(module, "GL_RENDERBUFFER_GREEN_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_GREEN_SIZE_EXT));
3312
+ rb_define_const(module, "GL_RENDERBUFFER_GREEN_SIZE_OES", INT2NUM(GL_RENDERBUFFER_GREEN_SIZE_OES));
2289
3313
  rb_define_const(module, "GL_RENDERBUFFER_HEIGHT", INT2NUM(GL_RENDERBUFFER_HEIGHT));
2290
3314
  rb_define_const(module, "GL_RENDERBUFFER_HEIGHT_EXT", INT2NUM(GL_RENDERBUFFER_HEIGHT_EXT));
3315
+ rb_define_const(module, "GL_RENDERBUFFER_HEIGHT_OES", INT2NUM(GL_RENDERBUFFER_HEIGHT_OES));
2291
3316
  rb_define_const(module, "GL_RENDERBUFFER_INTERNAL_FORMAT", INT2NUM(GL_RENDERBUFFER_INTERNAL_FORMAT));
2292
3317
  rb_define_const(module, "GL_RENDERBUFFER_INTERNAL_FORMAT_EXT", INT2NUM(GL_RENDERBUFFER_INTERNAL_FORMAT_EXT));
3318
+ rb_define_const(module, "GL_RENDERBUFFER_INTERNAL_FORMAT_OES", INT2NUM(GL_RENDERBUFFER_INTERNAL_FORMAT_OES));
3319
+ rb_define_const(module, "GL_RENDERBUFFER_OES", INT2NUM(GL_RENDERBUFFER_OES));
2293
3320
  rb_define_const(module, "GL_RENDERBUFFER_RED_SIZE", INT2NUM(GL_RENDERBUFFER_RED_SIZE));
2294
3321
  rb_define_const(module, "GL_RENDERBUFFER_RED_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_RED_SIZE_EXT));
3322
+ rb_define_const(module, "GL_RENDERBUFFER_RED_SIZE_OES", INT2NUM(GL_RENDERBUFFER_RED_SIZE_OES));
2295
3323
  rb_define_const(module, "GL_RENDERBUFFER_SAMPLES", INT2NUM(GL_RENDERBUFFER_SAMPLES));
3324
+ rb_define_const(module, "GL_RENDERBUFFER_SAMPLES_ANGLE", INT2NUM(GL_RENDERBUFFER_SAMPLES_ANGLE));
2296
3325
  rb_define_const(module, "GL_RENDERBUFFER_SAMPLES_EXT", INT2NUM(GL_RENDERBUFFER_SAMPLES_EXT));
3326
+ rb_define_const(module, "GL_RENDERBUFFER_SAMPLES_IMG", INT2NUM(GL_RENDERBUFFER_SAMPLES_IMG));
3327
+ rb_define_const(module, "GL_RENDERBUFFER_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_SAMPLES_NV));
2297
3328
  rb_define_const(module, "GL_RENDERBUFFER_STENCIL_SIZE", INT2NUM(GL_RENDERBUFFER_STENCIL_SIZE));
2298
3329
  rb_define_const(module, "GL_RENDERBUFFER_STENCIL_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_STENCIL_SIZE_EXT));
3330
+ rb_define_const(module, "GL_RENDERBUFFER_STENCIL_SIZE_OES", INT2NUM(GL_RENDERBUFFER_STENCIL_SIZE_OES));
2299
3331
  rb_define_const(module, "GL_RENDERBUFFER_WIDTH", INT2NUM(GL_RENDERBUFFER_WIDTH));
2300
3332
  rb_define_const(module, "GL_RENDERBUFFER_WIDTH_EXT", INT2NUM(GL_RENDERBUFFER_WIDTH_EXT));
3333
+ rb_define_const(module, "GL_RENDERBUFFER_WIDTH_OES", INT2NUM(GL_RENDERBUFFER_WIDTH_OES));
2301
3334
  rb_define_const(module, "GL_RENDERER", INT2NUM(GL_RENDERER));
3335
+ rb_define_const(module, "GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM", INT2NUM(GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM));
2302
3336
  rb_define_const(module, "GL_RENDER_MODE", INT2NUM(GL_RENDER_MODE));
2303
3337
  rb_define_const(module, "GL_REPEAT", INT2NUM(GL_REPEAT));
2304
3338
  rb_define_const(module, "GL_REPLACE", INT2NUM(GL_REPLACE));
@@ -2310,8 +3344,10 @@ void gl_init_enums(VALUE module)
2310
3344
  rb_define_const(module, "GL_REPLACE_EXT", INT2NUM(GL_REPLACE_EXT));
2311
3345
  rb_define_const(module, "GL_REPLACE_MIDDLE_SUN", INT2NUM(GL_REPLACE_MIDDLE_SUN));
2312
3346
  rb_define_const(module, "GL_REPLACE_OLDEST_SUN", INT2NUM(GL_REPLACE_OLDEST_SUN));
3347
+ rb_define_const(module, "GL_REPLACE_VALUE_AMD", INT2NUM(GL_REPLACE_VALUE_AMD));
2313
3348
  rb_define_const(module, "GL_REPLICATE_BORDER", INT2NUM(GL_REPLICATE_BORDER));
2314
3349
  rb_define_const(module, "GL_REPLICATE_BORDER_HP", INT2NUM(GL_REPLICATE_BORDER_HP));
3350
+ rb_define_const(module, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES", INT2NUM(GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES));
2315
3351
  rb_define_const(module, "GL_RESAMPLE_AVERAGE_OML", INT2NUM(GL_RESAMPLE_AVERAGE_OML));
2316
3352
  rb_define_const(module, "GL_RESAMPLE_DECIMATE_OML", INT2NUM(GL_RESAMPLE_DECIMATE_OML));
2317
3353
  rb_define_const(module, "GL_RESAMPLE_DECIMATE_SGIX", INT2NUM(GL_RESAMPLE_DECIMATE_SGIX));
@@ -2321,22 +3357,30 @@ void gl_init_enums(VALUE module)
2321
3357
  rb_define_const(module, "GL_RESAMPLE_ZERO_FILL_SGIX", INT2NUM(GL_RESAMPLE_ZERO_FILL_SGIX));
2322
3358
  rb_define_const(module, "GL_RESCALE_NORMAL", INT2NUM(GL_RESCALE_NORMAL));
2323
3359
  rb_define_const(module, "GL_RESCALE_NORMAL_EXT", INT2NUM(GL_RESCALE_NORMAL_EXT));
3360
+ rb_define_const(module, "GL_RESET_NOTIFICATION_STRATEGY_ARB", INT2NUM(GL_RESET_NOTIFICATION_STRATEGY_ARB));
3361
+ rb_define_const(module, "GL_RESTART_PATH_NV", INT2NUM(GL_RESTART_PATH_NV));
2324
3362
  rb_define_const(module, "GL_RESTART_SUN", INT2NUM(GL_RESTART_SUN));
3363
+ rb_define_const(module, "GL_RETAINED_APPLE", INT2NUM(GL_RETAINED_APPLE));
2325
3364
  rb_define_const(module, "GL_RETURN", INT2NUM(GL_RETURN));
2326
3365
  rb_define_const(module, "GL_RG", INT2NUM(GL_RG));
2327
3366
  rb_define_const(module, "GL_RG16", INT2NUM(GL_RG16));
2328
3367
  rb_define_const(module, "GL_RG16F", INT2NUM(GL_RG16F));
3368
+ rb_define_const(module, "GL_RG16F_EXT", INT2NUM(GL_RG16F_EXT));
2329
3369
  rb_define_const(module, "GL_RG16I", INT2NUM(GL_RG16I));
2330
3370
  rb_define_const(module, "GL_RG16UI", INT2NUM(GL_RG16UI));
3371
+ rb_define_const(module, "GL_RG16_SNORM", INT2NUM(GL_RG16_SNORM));
2331
3372
  rb_define_const(module, "GL_RG32F", INT2NUM(GL_RG32F));
2332
3373
  rb_define_const(module, "GL_RG32I", INT2NUM(GL_RG32I));
2333
3374
  rb_define_const(module, "GL_RG32UI", INT2NUM(GL_RG32UI));
2334
3375
  rb_define_const(module, "GL_RG8", INT2NUM(GL_RG8));
2335
3376
  rb_define_const(module, "GL_RG8I", INT2NUM(GL_RG8I));
2336
3377
  rb_define_const(module, "GL_RG8UI", INT2NUM(GL_RG8UI));
3378
+ rb_define_const(module, "GL_RG8_EXT", INT2NUM(GL_RG8_EXT));
3379
+ rb_define_const(module, "GL_RG8_SNORM", INT2NUM(GL_RG8_SNORM));
2337
3380
  rb_define_const(module, "GL_RGB", INT2NUM(GL_RGB));
2338
3381
  rb_define_const(module, "GL_RGB10", INT2NUM(GL_RGB10));
2339
3382
  rb_define_const(module, "GL_RGB10_A2", INT2NUM(GL_RGB10_A2));
3383
+ rb_define_const(module, "GL_RGB10_A2UI", INT2NUM(GL_RGB10_A2UI));
2340
3384
  rb_define_const(module, "GL_RGB10_A2_EXT", INT2NUM(GL_RGB10_A2_EXT));
2341
3385
  rb_define_const(module, "GL_RGB10_EXT", INT2NUM(GL_RGB10_EXT));
2342
3386
  rb_define_const(module, "GL_RGB12", INT2NUM(GL_RGB12));
@@ -2344,11 +3388,13 @@ void gl_init_enums(VALUE module)
2344
3388
  rb_define_const(module, "GL_RGB16", INT2NUM(GL_RGB16));
2345
3389
  rb_define_const(module, "GL_RGB16F", INT2NUM(GL_RGB16F));
2346
3390
  rb_define_const(module, "GL_RGB16F_ARB", INT2NUM(GL_RGB16F_ARB));
3391
+ rb_define_const(module, "GL_RGB16F_EXT", INT2NUM(GL_RGB16F_EXT));
2347
3392
  rb_define_const(module, "GL_RGB16I", INT2NUM(GL_RGB16I));
2348
3393
  rb_define_const(module, "GL_RGB16I_EXT", INT2NUM(GL_RGB16I_EXT));
2349
3394
  rb_define_const(module, "GL_RGB16UI", INT2NUM(GL_RGB16UI));
2350
3395
  rb_define_const(module, "GL_RGB16UI_EXT", INT2NUM(GL_RGB16UI_EXT));
2351
3396
  rb_define_const(module, "GL_RGB16_EXT", INT2NUM(GL_RGB16_EXT));
3397
+ rb_define_const(module, "GL_RGB16_SNORM", INT2NUM(GL_RGB16_SNORM));
2352
3398
  rb_define_const(module, "GL_RGB2_EXT", INT2NUM(GL_RGB2_EXT));
2353
3399
  rb_define_const(module, "GL_RGB32F", INT2NUM(GL_RGB32F));
2354
3400
  rb_define_const(module, "GL_RGB32F_ARB", INT2NUM(GL_RGB32F_ARB));
@@ -2360,8 +3406,11 @@ void gl_init_enums(VALUE module)
2360
3406
  rb_define_const(module, "GL_RGB4_EXT", INT2NUM(GL_RGB4_EXT));
2361
3407
  rb_define_const(module, "GL_RGB4_S3TC", INT2NUM(GL_RGB4_S3TC));
2362
3408
  rb_define_const(module, "GL_RGB5", INT2NUM(GL_RGB5));
3409
+ rb_define_const(module, "GL_RGB565", INT2NUM(GL_RGB565));
3410
+ rb_define_const(module, "GL_RGB565_OES", INT2NUM(GL_RGB565_OES));
2363
3411
  rb_define_const(module, "GL_RGB5_A1", INT2NUM(GL_RGB5_A1));
2364
3412
  rb_define_const(module, "GL_RGB5_A1_EXT", INT2NUM(GL_RGB5_A1_EXT));
3413
+ rb_define_const(module, "GL_RGB5_A1_OES", INT2NUM(GL_RGB5_A1_OES));
2365
3414
  rb_define_const(module, "GL_RGB5_EXT", INT2NUM(GL_RGB5_EXT));
2366
3415
  rb_define_const(module, "GL_RGB8", INT2NUM(GL_RGB8));
2367
3416
  rb_define_const(module, "GL_RGB8I", INT2NUM(GL_RGB8I));
@@ -2369,6 +3418,7 @@ void gl_init_enums(VALUE module)
2369
3418
  rb_define_const(module, "GL_RGB8UI", INT2NUM(GL_RGB8UI));
2370
3419
  rb_define_const(module, "GL_RGB8UI_EXT", INT2NUM(GL_RGB8UI_EXT));
2371
3420
  rb_define_const(module, "GL_RGB8_EXT", INT2NUM(GL_RGB8_EXT));
3421
+ rb_define_const(module, "GL_RGB8_SNORM", INT2NUM(GL_RGB8_SNORM));
2372
3422
  rb_define_const(module, "GL_RGB9_E5", INT2NUM(GL_RGB9_E5));
2373
3423
  rb_define_const(module, "GL_RGB9_E5_EXT", INT2NUM(GL_RGB9_E5_EXT));
2374
3424
  rb_define_const(module, "GL_RGBA", INT2NUM(GL_RGBA));
@@ -2377,11 +3427,13 @@ void gl_init_enums(VALUE module)
2377
3427
  rb_define_const(module, "GL_RGBA16", INT2NUM(GL_RGBA16));
2378
3428
  rb_define_const(module, "GL_RGBA16F", INT2NUM(GL_RGBA16F));
2379
3429
  rb_define_const(module, "GL_RGBA16F_ARB", INT2NUM(GL_RGBA16F_ARB));
3430
+ rb_define_const(module, "GL_RGBA16F_EXT", INT2NUM(GL_RGBA16F_EXT));
2380
3431
  rb_define_const(module, "GL_RGBA16I", INT2NUM(GL_RGBA16I));
2381
3432
  rb_define_const(module, "GL_RGBA16I_EXT", INT2NUM(GL_RGBA16I_EXT));
2382
3433
  rb_define_const(module, "GL_RGBA16UI", INT2NUM(GL_RGBA16UI));
2383
3434
  rb_define_const(module, "GL_RGBA16UI_EXT", INT2NUM(GL_RGBA16UI_EXT));
2384
3435
  rb_define_const(module, "GL_RGBA16_EXT", INT2NUM(GL_RGBA16_EXT));
3436
+ rb_define_const(module, "GL_RGBA16_SNORM", INT2NUM(GL_RGBA16_SNORM));
2385
3437
  rb_define_const(module, "GL_RGBA2", INT2NUM(GL_RGBA2));
2386
3438
  rb_define_const(module, "GL_RGBA2_EXT", INT2NUM(GL_RGBA2_EXT));
2387
3439
  rb_define_const(module, "GL_RGBA32F", INT2NUM(GL_RGBA32F));
@@ -2391,7 +3443,9 @@ void gl_init_enums(VALUE module)
2391
3443
  rb_define_const(module, "GL_RGBA32UI", INT2NUM(GL_RGBA32UI));
2392
3444
  rb_define_const(module, "GL_RGBA32UI_EXT", INT2NUM(GL_RGBA32UI_EXT));
2393
3445
  rb_define_const(module, "GL_RGBA4", INT2NUM(GL_RGBA4));
3446
+ rb_define_const(module, "GL_RGBA4_DXT5_S3TC", INT2NUM(GL_RGBA4_DXT5_S3TC));
2394
3447
  rb_define_const(module, "GL_RGBA4_EXT", INT2NUM(GL_RGBA4_EXT));
3448
+ rb_define_const(module, "GL_RGBA4_OES", INT2NUM(GL_RGBA4_OES));
2395
3449
  rb_define_const(module, "GL_RGBA4_S3TC", INT2NUM(GL_RGBA4_S3TC));
2396
3450
  rb_define_const(module, "GL_RGBA8", INT2NUM(GL_RGBA8));
2397
3451
  rb_define_const(module, "GL_RGBA8I", INT2NUM(GL_RGBA8I));
@@ -2399,17 +3453,26 @@ void gl_init_enums(VALUE module)
2399
3453
  rb_define_const(module, "GL_RGBA8UI", INT2NUM(GL_RGBA8UI));
2400
3454
  rb_define_const(module, "GL_RGBA8UI_EXT", INT2NUM(GL_RGBA8UI_EXT));
2401
3455
  rb_define_const(module, "GL_RGBA8_EXT", INT2NUM(GL_RGBA8_EXT));
3456
+ rb_define_const(module, "GL_RGBA8_SNORM", INT2NUM(GL_RGBA8_SNORM));
3457
+ rb_define_const(module, "GL_RGBA_DXT5_S3TC", INT2NUM(GL_RGBA_DXT5_S3TC));
3458
+ rb_define_const(module, "GL_RGBA_FLOAT16_APPLE", INT2NUM(GL_RGBA_FLOAT16_APPLE));
2402
3459
  rb_define_const(module, "GL_RGBA_FLOAT16_ATI", INT2NUM(GL_RGBA_FLOAT16_ATI));
3460
+ rb_define_const(module, "GL_RGBA_FLOAT32_APPLE", INT2NUM(GL_RGBA_FLOAT32_APPLE));
2403
3461
  rb_define_const(module, "GL_RGBA_FLOAT32_ATI", INT2NUM(GL_RGBA_FLOAT32_ATI));
2404
3462
  rb_define_const(module, "GL_RGBA_FLOAT_MODE_ARB", INT2NUM(GL_RGBA_FLOAT_MODE_ARB));
3463
+ rb_define_const(module, "GL_RGBA_FLOAT_MODE_ATI", INT2NUM(GL_RGBA_FLOAT_MODE_ATI));
2405
3464
  rb_define_const(module, "GL_RGBA_INTEGER", INT2NUM(GL_RGBA_INTEGER));
2406
3465
  rb_define_const(module, "GL_RGBA_INTEGER_EXT", INT2NUM(GL_RGBA_INTEGER_EXT));
2407
3466
  rb_define_const(module, "GL_RGBA_INTEGER_MODE_EXT", INT2NUM(GL_RGBA_INTEGER_MODE_EXT));
2408
3467
  rb_define_const(module, "GL_RGBA_MODE", INT2NUM(GL_RGBA_MODE));
2409
3468
  rb_define_const(module, "GL_RGBA_S3TC", INT2NUM(GL_RGBA_S3TC));
2410
3469
  rb_define_const(module, "GL_RGBA_SIGNED_COMPONENTS_EXT", INT2NUM(GL_RGBA_SIGNED_COMPONENTS_EXT));
3470
+ rb_define_const(module, "GL_RGBA_SNORM", INT2NUM(GL_RGBA_SNORM));
2411
3471
  rb_define_const(module, "GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV", INT2NUM(GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV));
3472
+ rb_define_const(module, "GL_RGB_422_APPLE", INT2NUM(GL_RGB_422_APPLE));
3473
+ rb_define_const(module, "GL_RGB_FLOAT16_APPLE", INT2NUM(GL_RGB_FLOAT16_APPLE));
2412
3474
  rb_define_const(module, "GL_RGB_FLOAT16_ATI", INT2NUM(GL_RGB_FLOAT16_ATI));
3475
+ rb_define_const(module, "GL_RGB_FLOAT32_APPLE", INT2NUM(GL_RGB_FLOAT32_APPLE));
2413
3476
  rb_define_const(module, "GL_RGB_FLOAT32_ATI", INT2NUM(GL_RGB_FLOAT32_ATI));
2414
3477
  rb_define_const(module, "GL_RGB_INTEGER", INT2NUM(GL_RGB_INTEGER));
2415
3478
  rb_define_const(module, "GL_RGB_INTEGER_EXT", INT2NUM(GL_RGB_INTEGER_EXT));
@@ -2417,9 +3480,14 @@ void gl_init_enums(VALUE module)
2417
3480
  rb_define_const(module, "GL_RGB_SCALE", INT2NUM(GL_RGB_SCALE));
2418
3481
  rb_define_const(module, "GL_RGB_SCALE_ARB", INT2NUM(GL_RGB_SCALE_ARB));
2419
3482
  rb_define_const(module, "GL_RGB_SCALE_EXT", INT2NUM(GL_RGB_SCALE_EXT));
3483
+ rb_define_const(module, "GL_RGB_SNORM", INT2NUM(GL_RGB_SNORM));
3484
+ rb_define_const(module, "GL_RG_EXT", INT2NUM(GL_RG_EXT));
2420
3485
  rb_define_const(module, "GL_RG_INTEGER", INT2NUM(GL_RG_INTEGER));
3486
+ rb_define_const(module, "GL_RG_SNORM", INT2NUM(GL_RG_SNORM));
2421
3487
  rb_define_const(module, "GL_RIGHT", INT2NUM(GL_RIGHT));
3488
+ rb_define_const(module, "GL_ROUND_NV", INT2NUM(GL_ROUND_NV));
2422
3489
  rb_define_const(module, "GL_S", INT2NUM(GL_S));
3490
+ rb_define_const(module, "GL_SAMPLER", INT2NUM(GL_SAMPLER));
2423
3491
  rb_define_const(module, "GL_SAMPLER_1D", INT2NUM(GL_SAMPLER_1D));
2424
3492
  rb_define_const(module, "GL_SAMPLER_1D_ARB", INT2NUM(GL_SAMPLER_1D_ARB));
2425
3493
  rb_define_const(module, "GL_SAMPLER_1D_ARRAY", INT2NUM(GL_SAMPLER_1D_ARRAY));
@@ -2434,17 +3502,34 @@ void gl_init_enums(VALUE module)
2434
3502
  rb_define_const(module, "GL_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_SAMPLER_2D_ARRAY_EXT));
2435
3503
  rb_define_const(module, "GL_SAMPLER_2D_ARRAY_SHADOW", INT2NUM(GL_SAMPLER_2D_ARRAY_SHADOW));
2436
3504
  rb_define_const(module, "GL_SAMPLER_2D_ARRAY_SHADOW_EXT", INT2NUM(GL_SAMPLER_2D_ARRAY_SHADOW_EXT));
3505
+ rb_define_const(module, "GL_SAMPLER_2D_ARRAY_SHADOW_NV", INT2NUM(GL_SAMPLER_2D_ARRAY_SHADOW_NV));
3506
+ rb_define_const(module, "GL_SAMPLER_2D_MULTISAMPLE", INT2NUM(GL_SAMPLER_2D_MULTISAMPLE));
3507
+ rb_define_const(module, "GL_SAMPLER_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_SAMPLER_2D_MULTISAMPLE_ARRAY));
3508
+ rb_define_const(module, "GL_SAMPLER_2D_RECT", INT2NUM(GL_SAMPLER_2D_RECT));
2437
3509
  rb_define_const(module, "GL_SAMPLER_2D_RECT_ARB", INT2NUM(GL_SAMPLER_2D_RECT_ARB));
3510
+ rb_define_const(module, "GL_SAMPLER_2D_RECT_SHADOW", INT2NUM(GL_SAMPLER_2D_RECT_SHADOW));
2438
3511
  rb_define_const(module, "GL_SAMPLER_2D_RECT_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_RECT_SHADOW_ARB));
2439
3512
  rb_define_const(module, "GL_SAMPLER_2D_SHADOW", INT2NUM(GL_SAMPLER_2D_SHADOW));
2440
3513
  rb_define_const(module, "GL_SAMPLER_2D_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_SHADOW_ARB));
3514
+ rb_define_const(module, "GL_SAMPLER_2D_SHADOW_EXT", INT2NUM(GL_SAMPLER_2D_SHADOW_EXT));
2441
3515
  rb_define_const(module, "GL_SAMPLER_3D", INT2NUM(GL_SAMPLER_3D));
2442
3516
  rb_define_const(module, "GL_SAMPLER_3D_ARB", INT2NUM(GL_SAMPLER_3D_ARB));
3517
+ rb_define_const(module, "GL_SAMPLER_3D_OES", INT2NUM(GL_SAMPLER_3D_OES));
3518
+ rb_define_const(module, "GL_SAMPLER_BINDING", INT2NUM(GL_SAMPLER_BINDING));
3519
+ rb_define_const(module, "GL_SAMPLER_BUFFER", INT2NUM(GL_SAMPLER_BUFFER));
3520
+ rb_define_const(module, "GL_SAMPLER_BUFFER_AMD", INT2NUM(GL_SAMPLER_BUFFER_AMD));
2443
3521
  rb_define_const(module, "GL_SAMPLER_BUFFER_EXT", INT2NUM(GL_SAMPLER_BUFFER_EXT));
2444
3522
  rb_define_const(module, "GL_SAMPLER_CUBE", INT2NUM(GL_SAMPLER_CUBE));
2445
3523
  rb_define_const(module, "GL_SAMPLER_CUBE_ARB", INT2NUM(GL_SAMPLER_CUBE_ARB));
3524
+ rb_define_const(module, "GL_SAMPLER_CUBE_MAP_ARRAY", INT2NUM(GL_SAMPLER_CUBE_MAP_ARRAY));
3525
+ rb_define_const(module, "GL_SAMPLER_CUBE_MAP_ARRAY_ARB", INT2NUM(GL_SAMPLER_CUBE_MAP_ARRAY_ARB));
3526
+ rb_define_const(module, "GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW", INT2NUM(GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW));
3527
+ rb_define_const(module, "GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB", INT2NUM(GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB));
2446
3528
  rb_define_const(module, "GL_SAMPLER_CUBE_SHADOW", INT2NUM(GL_SAMPLER_CUBE_SHADOW));
2447
3529
  rb_define_const(module, "GL_SAMPLER_CUBE_SHADOW_EXT", INT2NUM(GL_SAMPLER_CUBE_SHADOW_EXT));
3530
+ rb_define_const(module, "GL_SAMPLER_CUBE_SHADOW_NV", INT2NUM(GL_SAMPLER_CUBE_SHADOW_NV));
3531
+ rb_define_const(module, "GL_SAMPLER_EXTERNAL_OES", INT2NUM(GL_SAMPLER_EXTERNAL_OES));
3532
+ rb_define_const(module, "GL_SAMPLER_OBJECT_AMD", INT2NUM(GL_SAMPLER_OBJECT_AMD));
2448
3533
  rb_define_const(module, "GL_SAMPLER_RENDERBUFFER_NV", INT2NUM(GL_SAMPLER_RENDERBUFFER_NV));
2449
3534
  rb_define_const(module, "GL_SAMPLES", INT2NUM(GL_SAMPLES));
2450
3535
  rb_define_const(module, "GL_SAMPLES_3DFX", INT2NUM(GL_SAMPLES_3DFX));
@@ -2472,20 +3557,27 @@ void gl_init_enums(VALUE module)
2472
3557
  rb_define_const(module, "GL_SAMPLE_COVERAGE_INVERT_ARB", INT2NUM(GL_SAMPLE_COVERAGE_INVERT_ARB));
2473
3558
  rb_define_const(module, "GL_SAMPLE_COVERAGE_VALUE", INT2NUM(GL_SAMPLE_COVERAGE_VALUE));
2474
3559
  rb_define_const(module, "GL_SAMPLE_COVERAGE_VALUE_ARB", INT2NUM(GL_SAMPLE_COVERAGE_VALUE_ARB));
3560
+ rb_define_const(module, "GL_SAMPLE_MASK", INT2NUM(GL_SAMPLE_MASK));
2475
3561
  rb_define_const(module, "GL_SAMPLE_MASK_EXT", INT2NUM(GL_SAMPLE_MASK_EXT));
2476
3562
  rb_define_const(module, "GL_SAMPLE_MASK_INVERT_EXT", INT2NUM(GL_SAMPLE_MASK_INVERT_EXT));
2477
3563
  rb_define_const(module, "GL_SAMPLE_MASK_INVERT_SGIS", INT2NUM(GL_SAMPLE_MASK_INVERT_SGIS));
2478
3564
  rb_define_const(module, "GL_SAMPLE_MASK_NV", INT2NUM(GL_SAMPLE_MASK_NV));
2479
3565
  rb_define_const(module, "GL_SAMPLE_MASK_SGIS", INT2NUM(GL_SAMPLE_MASK_SGIS));
3566
+ rb_define_const(module, "GL_SAMPLE_MASK_VALUE", INT2NUM(GL_SAMPLE_MASK_VALUE));
2480
3567
  rb_define_const(module, "GL_SAMPLE_MASK_VALUE_EXT", INT2NUM(GL_SAMPLE_MASK_VALUE_EXT));
2481
3568
  rb_define_const(module, "GL_SAMPLE_MASK_VALUE_NV", INT2NUM(GL_SAMPLE_MASK_VALUE_NV));
2482
3569
  rb_define_const(module, "GL_SAMPLE_MASK_VALUE_SGIS", INT2NUM(GL_SAMPLE_MASK_VALUE_SGIS));
2483
3570
  rb_define_const(module, "GL_SAMPLE_PATTERN_EXT", INT2NUM(GL_SAMPLE_PATTERN_EXT));
2484
3571
  rb_define_const(module, "GL_SAMPLE_PATTERN_SGIS", INT2NUM(GL_SAMPLE_PATTERN_SGIS));
3572
+ rb_define_const(module, "GL_SAMPLE_POSITION", INT2NUM(GL_SAMPLE_POSITION));
2485
3573
  rb_define_const(module, "GL_SAMPLE_POSITION_NV", INT2NUM(GL_SAMPLE_POSITION_NV));
3574
+ rb_define_const(module, "GL_SAMPLE_SHADING", INT2NUM(GL_SAMPLE_SHADING));
3575
+ rb_define_const(module, "GL_SAMPLE_SHADING_ARB", INT2NUM(GL_SAMPLE_SHADING_ARB));
2486
3576
  rb_define_const(module, "GL_SATURATE_BIT_ATI", INT2NUM(GL_SATURATE_BIT_ATI));
2487
3577
  rb_define_const(module, "GL_SCALAR_EXT", INT2NUM(GL_SCALAR_EXT));
2488
3578
  rb_define_const(module, "GL_SCALEBIAS_HINT_SGIX", INT2NUM(GL_SCALEBIAS_HINT_SGIX));
3579
+ rb_define_const(module, "GL_SCALED_RESOLVE_FASTEST_EXT", INT2NUM(GL_SCALED_RESOLVE_FASTEST_EXT));
3580
+ rb_define_const(module, "GL_SCALED_RESOLVE_NICEST_EXT", INT2NUM(GL_SCALED_RESOLVE_NICEST_EXT));
2489
3581
  rb_define_const(module, "GL_SCALE_BY_FOUR_NV", INT2NUM(GL_SCALE_BY_FOUR_NV));
2490
3582
  rb_define_const(module, "GL_SCALE_BY_ONE_HALF_NV", INT2NUM(GL_SCALE_BY_ONE_HALF_NV));
2491
3583
  rb_define_const(module, "GL_SCALE_BY_TWO_NV", INT2NUM(GL_SCALE_BY_TWO_NV));
@@ -2494,9 +3586,11 @@ void gl_init_enums(VALUE module)
2494
3586
  rb_define_const(module, "GL_SCISSOR_TEST", INT2NUM(GL_SCISSOR_TEST));
2495
3587
  rb_define_const(module, "GL_SCREEN_COORDINATES_REND", INT2NUM(GL_SCREEN_COORDINATES_REND));
2496
3588
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY", INT2NUM(GL_SECONDARY_COLOR_ARRAY));
3589
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV", INT2NUM(GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV));
2497
3590
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING", INT2NUM(GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING));
2498
3591
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB));
2499
3592
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_EXT", INT2NUM(GL_SECONDARY_COLOR_ARRAY_EXT));
3593
+ rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_LENGTH_NV", INT2NUM(GL_SECONDARY_COLOR_ARRAY_LENGTH_NV));
2500
3594
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_LIST_IBM", INT2NUM(GL_SECONDARY_COLOR_ARRAY_LIST_IBM));
2501
3595
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM));
2502
3596
  rb_define_const(module, "GL_SECONDARY_COLOR_ARRAY_POINTER", INT2NUM(GL_SECONDARY_COLOR_ARRAY_POINTER));
@@ -2520,6 +3614,7 @@ void gl_init_enums(VALUE module)
2520
3614
  rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR", INT2NUM(GL_SEPARATE_SPECULAR_COLOR));
2521
3615
  rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR_EXT", INT2NUM(GL_SEPARATE_SPECULAR_COLOR_EXT));
2522
3616
  rb_define_const(module, "GL_SET", INT2NUM(GL_SET));
3617
+ rb_define_const(module, "GL_SET_AMD", INT2NUM(GL_SET_AMD));
2523
3618
  rb_define_const(module, "GL_SGIS_detail_texture", INT2NUM(GL_SGIS_detail_texture));
2524
3619
  rb_define_const(module, "GL_SGIS_fog_function", INT2NUM(GL_SGIS_fog_function));
2525
3620
  rb_define_const(module, "GL_SGIS_generate_mipmap", INT2NUM(GL_SGIS_generate_mipmap));
@@ -2573,10 +3668,32 @@ void gl_init_enums(VALUE module)
2573
3668
  rb_define_const(module, "GL_SGI_color_matrix", INT2NUM(GL_SGI_color_matrix));
2574
3669
  rb_define_const(module, "GL_SGI_color_table", INT2NUM(GL_SGI_color_table));
2575
3670
  rb_define_const(module, "GL_SGI_texture_color_table", INT2NUM(GL_SGI_texture_color_table));
3671
+ rb_define_const(module, "GL_SGX_BINARY_IMG", INT2NUM(GL_SGX_BINARY_IMG));
3672
+ rb_define_const(module, "GL_SGX_PROGRAM_BINARY_IMG", INT2NUM(GL_SGX_PROGRAM_BINARY_IMG));
3673
+ rb_define_const(module, "GL_SHADER", INT2NUM(GL_SHADER));
3674
+ rb_define_const(module, "GL_SHADER_BINARY_DMP", INT2NUM(GL_SHADER_BINARY_DMP));
3675
+ rb_define_const(module, "GL_SHADER_BINARY_FORMATS", INT2NUM(GL_SHADER_BINARY_FORMATS));
3676
+ rb_define_const(module, "GL_SHADER_BINARY_VIV", INT2NUM(GL_SHADER_BINARY_VIV));
3677
+ rb_define_const(module, "GL_SHADER_COMPILER", INT2NUM(GL_SHADER_COMPILER));
2576
3678
  rb_define_const(module, "GL_SHADER_CONSISTENT_NV", INT2NUM(GL_SHADER_CONSISTENT_NV));
3679
+ rb_define_const(module, "GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV", INT2NUM(GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV));
3680
+ rb_define_const(module, "GL_SHADER_IMAGE_ACCESS_BARRIER_BIT", INT2NUM(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT));
3681
+ rb_define_const(module, "GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT", INT2NUM(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT));
3682
+ rb_define_const(module, "GL_SHADER_IMAGE_ATOMIC", INT2NUM(GL_SHADER_IMAGE_ATOMIC));
3683
+ rb_define_const(module, "GL_SHADER_IMAGE_LOAD", INT2NUM(GL_SHADER_IMAGE_LOAD));
3684
+ rb_define_const(module, "GL_SHADER_IMAGE_STORE", INT2NUM(GL_SHADER_IMAGE_STORE));
3685
+ rb_define_const(module, "GL_SHADER_INCLUDE_ARB", INT2NUM(GL_SHADER_INCLUDE_ARB));
2577
3686
  rb_define_const(module, "GL_SHADER_OBJECT_ARB", INT2NUM(GL_SHADER_OBJECT_ARB));
3687
+ rb_define_const(module, "GL_SHADER_OBJECT_EXT", INT2NUM(GL_SHADER_OBJECT_EXT));
2578
3688
  rb_define_const(module, "GL_SHADER_OPERATION_NV", INT2NUM(GL_SHADER_OPERATION_NV));
2579
3689
  rb_define_const(module, "GL_SHADER_SOURCE_LENGTH", INT2NUM(GL_SHADER_SOURCE_LENGTH));
3690
+ rb_define_const(module, "GL_SHADER_STORAGE_BARRIER_BIT", INT2NUM(GL_SHADER_STORAGE_BARRIER_BIT));
3691
+ rb_define_const(module, "GL_SHADER_STORAGE_BLOCK", INT2NUM(GL_SHADER_STORAGE_BLOCK));
3692
+ rb_define_const(module, "GL_SHADER_STORAGE_BUFFER", INT2NUM(GL_SHADER_STORAGE_BUFFER));
3693
+ rb_define_const(module, "GL_SHADER_STORAGE_BUFFER_BINDING", INT2NUM(GL_SHADER_STORAGE_BUFFER_BINDING));
3694
+ rb_define_const(module, "GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT", INT2NUM(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT));
3695
+ rb_define_const(module, "GL_SHADER_STORAGE_BUFFER_SIZE", INT2NUM(GL_SHADER_STORAGE_BUFFER_SIZE));
3696
+ rb_define_const(module, "GL_SHADER_STORAGE_BUFFER_START", INT2NUM(GL_SHADER_STORAGE_BUFFER_START));
2580
3697
  rb_define_const(module, "GL_SHADER_TYPE", INT2NUM(GL_SHADER_TYPE));
2581
3698
  rb_define_const(module, "GL_SHADE_MODEL", INT2NUM(GL_SHADE_MODEL));
2582
3699
  rb_define_const(module, "GL_SHADING_LANGUAGE_VERSION", INT2NUM(GL_SHADING_LANGUAGE_VERSION));
@@ -2587,6 +3704,8 @@ void gl_init_enums(VALUE module)
2587
3704
  rb_define_const(module, "GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS", INT2NUM(GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS));
2588
3705
  rb_define_const(module, "GL_SHININESS", INT2NUM(GL_SHININESS));
2589
3706
  rb_define_const(module, "GL_SHORT", INT2NUM(GL_SHORT));
3707
+ rb_define_const(module, "GL_SIGNALED", INT2NUM(GL_SIGNALED));
3708
+ rb_define_const(module, "GL_SIGNALED_APPLE", INT2NUM(GL_SIGNALED_APPLE));
2590
3709
  rb_define_const(module, "GL_SIGNED_ALPHA8_NV", INT2NUM(GL_SIGNED_ALPHA8_NV));
2591
3710
  rb_define_const(module, "GL_SIGNED_ALPHA_NV", INT2NUM(GL_SIGNED_ALPHA_NV));
2592
3711
  rb_define_const(module, "GL_SIGNED_HILO16_NV", INT2NUM(GL_SIGNED_HILO16_NV));
@@ -2600,28 +3719,50 @@ void gl_init_enums(VALUE module)
2600
3719
  rb_define_const(module, "GL_SIGNED_LUMINANCE_ALPHA_NV", INT2NUM(GL_SIGNED_LUMINANCE_ALPHA_NV));
2601
3720
  rb_define_const(module, "GL_SIGNED_LUMINANCE_NV", INT2NUM(GL_SIGNED_LUMINANCE_NV));
2602
3721
  rb_define_const(module, "GL_SIGNED_NEGATE_NV", INT2NUM(GL_SIGNED_NEGATE_NV));
3722
+ rb_define_const(module, "GL_SIGNED_NORMALIZED", INT2NUM(GL_SIGNED_NORMALIZED));
2603
3723
  rb_define_const(module, "GL_SIGNED_RGB8_NV", INT2NUM(GL_SIGNED_RGB8_NV));
2604
3724
  rb_define_const(module, "GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV", INT2NUM(GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV));
2605
3725
  rb_define_const(module, "GL_SIGNED_RGBA8_NV", INT2NUM(GL_SIGNED_RGBA8_NV));
2606
3726
  rb_define_const(module, "GL_SIGNED_RGBA_NV", INT2NUM(GL_SIGNED_RGBA_NV));
2607
3727
  rb_define_const(module, "GL_SIGNED_RGB_NV", INT2NUM(GL_SIGNED_RGB_NV));
2608
3728
  rb_define_const(module, "GL_SIGNED_RGB_UNSIGNED_ALPHA_NV", INT2NUM(GL_SIGNED_RGB_UNSIGNED_ALPHA_NV));
3729
+ rb_define_const(module, "GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST", INT2NUM(GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST));
3730
+ rb_define_const(module, "GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE", INT2NUM(GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE));
3731
+ rb_define_const(module, "GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST", INT2NUM(GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST));
3732
+ rb_define_const(module, "GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE", INT2NUM(GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE));
2609
3733
  rb_define_const(module, "GL_SINGLE_COLOR", INT2NUM(GL_SINGLE_COLOR));
2610
3734
  rb_define_const(module, "GL_SINGLE_COLOR_EXT", INT2NUM(GL_SINGLE_COLOR_EXT));
3735
+ rb_define_const(module, "GL_SKIP_COMPONENTS1_NV", INT2NUM(GL_SKIP_COMPONENTS1_NV));
3736
+ rb_define_const(module, "GL_SKIP_COMPONENTS2_NV", INT2NUM(GL_SKIP_COMPONENTS2_NV));
3737
+ rb_define_const(module, "GL_SKIP_COMPONENTS3_NV", INT2NUM(GL_SKIP_COMPONENTS3_NV));
3738
+ rb_define_const(module, "GL_SKIP_COMPONENTS4_NV", INT2NUM(GL_SKIP_COMPONENTS4_NV));
3739
+ rb_define_const(module, "GL_SKIP_DECODE_EXT", INT2NUM(GL_SKIP_DECODE_EXT));
3740
+ rb_define_const(module, "GL_SKIP_MISSING_GLYPH_NV", INT2NUM(GL_SKIP_MISSING_GLYPH_NV));
2611
3741
  rb_define_const(module, "GL_SLICE_ACCUM_SUN", INT2NUM(GL_SLICE_ACCUM_SUN));
3742
+ rb_define_const(module, "GL_SLIM10U_SGIX", INT2NUM(GL_SLIM10U_SGIX));
3743
+ rb_define_const(module, "GL_SLIM12S_SGIX", INT2NUM(GL_SLIM12S_SGIX));
3744
+ rb_define_const(module, "GL_SLIM8U_SGIX", INT2NUM(GL_SLIM8U_SGIX));
2612
3745
  rb_define_const(module, "GL_SLUMINANCE", INT2NUM(GL_SLUMINANCE));
2613
3746
  rb_define_const(module, "GL_SLUMINANCE8", INT2NUM(GL_SLUMINANCE8));
2614
3747
  rb_define_const(module, "GL_SLUMINANCE8_ALPHA8", INT2NUM(GL_SLUMINANCE8_ALPHA8));
2615
3748
  rb_define_const(module, "GL_SLUMINANCE8_ALPHA8_EXT", INT2NUM(GL_SLUMINANCE8_ALPHA8_EXT));
3749
+ rb_define_const(module, "GL_SLUMINANCE8_ALPHA8_NV", INT2NUM(GL_SLUMINANCE8_ALPHA8_NV));
2616
3750
  rb_define_const(module, "GL_SLUMINANCE8_EXT", INT2NUM(GL_SLUMINANCE8_EXT));
3751
+ rb_define_const(module, "GL_SLUMINANCE8_NV", INT2NUM(GL_SLUMINANCE8_NV));
2617
3752
  rb_define_const(module, "GL_SLUMINANCE_ALPHA", INT2NUM(GL_SLUMINANCE_ALPHA));
2618
3753
  rb_define_const(module, "GL_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_SLUMINANCE_ALPHA_EXT));
3754
+ rb_define_const(module, "GL_SLUMINANCE_ALPHA_NV", INT2NUM(GL_SLUMINANCE_ALPHA_NV));
2619
3755
  rb_define_const(module, "GL_SLUMINANCE_EXT", INT2NUM(GL_SLUMINANCE_EXT));
3756
+ rb_define_const(module, "GL_SLUMINANCE_NV", INT2NUM(GL_SLUMINANCE_NV));
3757
+ rb_define_const(module, "GL_SMALL_CCW_ARC_TO_NV", INT2NUM(GL_SMALL_CCW_ARC_TO_NV));
3758
+ rb_define_const(module, "GL_SMALL_CW_ARC_TO_NV", INT2NUM(GL_SMALL_CW_ARC_TO_NV));
2620
3759
  rb_define_const(module, "GL_SMOOTH", INT2NUM(GL_SMOOTH));
3760
+ rb_define_const(module, "GL_SMOOTH_CUBIC_CURVE_TO_NV", INT2NUM(GL_SMOOTH_CUBIC_CURVE_TO_NV));
2621
3761
  rb_define_const(module, "GL_SMOOTH_LINE_WIDTH_GRANULARITY", INT2NUM(GL_SMOOTH_LINE_WIDTH_GRANULARITY));
2622
3762
  rb_define_const(module, "GL_SMOOTH_LINE_WIDTH_RANGE", INT2NUM(GL_SMOOTH_LINE_WIDTH_RANGE));
2623
3763
  rb_define_const(module, "GL_SMOOTH_POINT_SIZE_GRANULARITY", INT2NUM(GL_SMOOTH_POINT_SIZE_GRANULARITY));
2624
3764
  rb_define_const(module, "GL_SMOOTH_POINT_SIZE_RANGE", INT2NUM(GL_SMOOTH_POINT_SIZE_RANGE));
3765
+ rb_define_const(module, "GL_SMOOTH_QUADRATIC_CURVE_TO_NV", INT2NUM(GL_SMOOTH_QUADRATIC_CURVE_TO_NV));
2625
3766
  rb_define_const(module, "GL_SOURCE0_ALPHA", INT2NUM(GL_SOURCE0_ALPHA));
2626
3767
  rb_define_const(module, "GL_SOURCE0_ALPHA_ARB", INT2NUM(GL_SOURCE0_ALPHA_ARB));
2627
3768
  rb_define_const(module, "GL_SOURCE0_ALPHA_EXT", INT2NUM(GL_SOURCE0_ALPHA_EXT));
@@ -2657,9 +3798,11 @@ void gl_init_enums(VALUE module)
2657
3798
  rb_define_const(module, "GL_SPRITE_OBJECT_ALIGNED_SGIX", INT2NUM(GL_SPRITE_OBJECT_ALIGNED_SGIX));
2658
3799
  rb_define_const(module, "GL_SPRITE_SGIX", INT2NUM(GL_SPRITE_SGIX));
2659
3800
  rb_define_const(module, "GL_SPRITE_TRANSLATION_SGIX", INT2NUM(GL_SPRITE_TRANSLATION_SGIX));
3801
+ rb_define_const(module, "GL_SQUARE_NV", INT2NUM(GL_SQUARE_NV));
2660
3802
  rb_define_const(module, "GL_SRC0_ALPHA", INT2NUM(GL_SRC0_ALPHA));
2661
3803
  rb_define_const(module, "GL_SRC0_RGB", INT2NUM(GL_SRC0_RGB));
2662
3804
  rb_define_const(module, "GL_SRC1_ALPHA", INT2NUM(GL_SRC1_ALPHA));
3805
+ rb_define_const(module, "GL_SRC1_COLOR", INT2NUM(GL_SRC1_COLOR));
2663
3806
  rb_define_const(module, "GL_SRC1_RGB", INT2NUM(GL_SRC1_RGB));
2664
3807
  rb_define_const(module, "GL_SRC2_ALPHA", INT2NUM(GL_SRC2_ALPHA));
2665
3808
  rb_define_const(module, "GL_SRC2_RGB", INT2NUM(GL_SRC2_RGB));
@@ -2671,11 +3814,17 @@ void gl_init_enums(VALUE module)
2671
3814
  rb_define_const(module, "GL_SRGB8_ALPHA8", INT2NUM(GL_SRGB8_ALPHA8));
2672
3815
  rb_define_const(module, "GL_SRGB8_ALPHA8_EXT", INT2NUM(GL_SRGB8_ALPHA8_EXT));
2673
3816
  rb_define_const(module, "GL_SRGB8_EXT", INT2NUM(GL_SRGB8_EXT));
3817
+ rb_define_const(module, "GL_SRGB8_NV", INT2NUM(GL_SRGB8_NV));
2674
3818
  rb_define_const(module, "GL_SRGB_ALPHA", INT2NUM(GL_SRGB_ALPHA));
2675
3819
  rb_define_const(module, "GL_SRGB_ALPHA_EXT", INT2NUM(GL_SRGB_ALPHA_EXT));
3820
+ rb_define_const(module, "GL_SRGB_DECODE_ARB", INT2NUM(GL_SRGB_DECODE_ARB));
2676
3821
  rb_define_const(module, "GL_SRGB_EXT", INT2NUM(GL_SRGB_EXT));
3822
+ rb_define_const(module, "GL_SRGB_READ", INT2NUM(GL_SRGB_READ));
3823
+ rb_define_const(module, "GL_SRGB_WRITE", INT2NUM(GL_SRGB_WRITE));
2677
3824
  rb_define_const(module, "GL_STACK_OVERFLOW", INT2NUM(GL_STACK_OVERFLOW));
2678
3825
  rb_define_const(module, "GL_STACK_UNDERFLOW", INT2NUM(GL_STACK_UNDERFLOW));
3826
+ rb_define_const(module, "GL_STANDARD_FONT_NAME_NV", INT2NUM(GL_STANDARD_FONT_NAME_NV));
3827
+ rb_define_const(module, "GL_STATE_RESTORE", INT2NUM(GL_STATE_RESTORE));
2679
3828
  rb_define_const(module, "GL_STATIC_ATI", INT2NUM(GL_STATIC_ATI));
2680
3829
  rb_define_const(module, "GL_STATIC_COPY", INT2NUM(GL_STATIC_COPY));
2681
3830
  rb_define_const(module, "GL_STATIC_COPY_ARB", INT2NUM(GL_STATIC_COPY_ARB));
@@ -2686,10 +3835,12 @@ void gl_init_enums(VALUE module)
2686
3835
  rb_define_const(module, "GL_STENCIL", INT2NUM(GL_STENCIL));
2687
3836
  rb_define_const(module, "GL_STENCIL_ATTACHMENT", INT2NUM(GL_STENCIL_ATTACHMENT));
2688
3837
  rb_define_const(module, "GL_STENCIL_ATTACHMENT_EXT", INT2NUM(GL_STENCIL_ATTACHMENT_EXT));
3838
+ rb_define_const(module, "GL_STENCIL_ATTACHMENT_OES", INT2NUM(GL_STENCIL_ATTACHMENT_OES));
2689
3839
  rb_define_const(module, "GL_STENCIL_BACK_FAIL", INT2NUM(GL_STENCIL_BACK_FAIL));
2690
3840
  rb_define_const(module, "GL_STENCIL_BACK_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_FAIL_ATI));
2691
3841
  rb_define_const(module, "GL_STENCIL_BACK_FUNC", INT2NUM(GL_STENCIL_BACK_FUNC));
2692
3842
  rb_define_const(module, "GL_STENCIL_BACK_FUNC_ATI", INT2NUM(GL_STENCIL_BACK_FUNC_ATI));
3843
+ rb_define_const(module, "GL_STENCIL_BACK_OP_VALUE_AMD", INT2NUM(GL_STENCIL_BACK_OP_VALUE_AMD));
2693
3844
  rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_FAIL", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_FAIL));
2694
3845
  rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI));
2695
3846
  rb_define_const(module, "GL_STENCIL_BACK_PASS_DEPTH_PASS", INT2NUM(GL_STENCIL_BACK_PASS_DEPTH_PASS));
@@ -2698,10 +3849,11 @@ void gl_init_enums(VALUE module)
2698
3849
  rb_define_const(module, "GL_STENCIL_BACK_VALUE_MASK", INT2NUM(GL_STENCIL_BACK_VALUE_MASK));
2699
3850
  rb_define_const(module, "GL_STENCIL_BACK_WRITEMASK", INT2NUM(GL_STENCIL_BACK_WRITEMASK));
2700
3851
  rb_define_const(module, "GL_STENCIL_BITS", INT2NUM(GL_STENCIL_BITS));
2701
- rb_define_const(module, "GL_STENCIL_BUFFER", INT2NUM(GL_STENCIL_BUFFER));
2702
3852
  rb_define_const(module, "GL_STENCIL_BUFFER_BIT", INT2NUM(GL_STENCIL_BUFFER_BIT));
2703
3853
  rb_define_const(module, "GL_STENCIL_CLEAR_TAG_VALUE_EXT", INT2NUM(GL_STENCIL_CLEAR_TAG_VALUE_EXT));
2704
3854
  rb_define_const(module, "GL_STENCIL_CLEAR_VALUE", INT2NUM(GL_STENCIL_CLEAR_VALUE));
3855
+ rb_define_const(module, "GL_STENCIL_COMPONENTS", INT2NUM(GL_STENCIL_COMPONENTS));
3856
+ rb_define_const(module, "GL_STENCIL_EXT", INT2NUM(GL_STENCIL_EXT));
2705
3857
  rb_define_const(module, "GL_STENCIL_FAIL", INT2NUM(GL_STENCIL_FAIL));
2706
3858
  rb_define_const(module, "GL_STENCIL_FUNC", INT2NUM(GL_STENCIL_FUNC));
2707
3859
  rb_define_const(module, "GL_STENCIL_INDEX", INT2NUM(GL_STENCIL_INDEX));
@@ -2709,13 +3861,18 @@ void gl_init_enums(VALUE module)
2709
3861
  rb_define_const(module, "GL_STENCIL_INDEX16", INT2NUM(GL_STENCIL_INDEX16));
2710
3862
  rb_define_const(module, "GL_STENCIL_INDEX16_EXT", INT2NUM(GL_STENCIL_INDEX16_EXT));
2711
3863
  rb_define_const(module, "GL_STENCIL_INDEX1_EXT", INT2NUM(GL_STENCIL_INDEX1_EXT));
3864
+ rb_define_const(module, "GL_STENCIL_INDEX1_OES", INT2NUM(GL_STENCIL_INDEX1_OES));
2712
3865
  rb_define_const(module, "GL_STENCIL_INDEX4", INT2NUM(GL_STENCIL_INDEX4));
2713
3866
  rb_define_const(module, "GL_STENCIL_INDEX4_EXT", INT2NUM(GL_STENCIL_INDEX4_EXT));
3867
+ rb_define_const(module, "GL_STENCIL_INDEX4_OES", INT2NUM(GL_STENCIL_INDEX4_OES));
2714
3868
  rb_define_const(module, "GL_STENCIL_INDEX8", INT2NUM(GL_STENCIL_INDEX8));
2715
3869
  rb_define_const(module, "GL_STENCIL_INDEX8_EXT", INT2NUM(GL_STENCIL_INDEX8_EXT));
3870
+ rb_define_const(module, "GL_STENCIL_INDEX8_OES", INT2NUM(GL_STENCIL_INDEX8_OES));
3871
+ rb_define_const(module, "GL_STENCIL_OP_VALUE_AMD", INT2NUM(GL_STENCIL_OP_VALUE_AMD));
2716
3872
  rb_define_const(module, "GL_STENCIL_PASS_DEPTH_FAIL", INT2NUM(GL_STENCIL_PASS_DEPTH_FAIL));
2717
3873
  rb_define_const(module, "GL_STENCIL_PASS_DEPTH_PASS", INT2NUM(GL_STENCIL_PASS_DEPTH_PASS));
2718
3874
  rb_define_const(module, "GL_STENCIL_REF", INT2NUM(GL_STENCIL_REF));
3875
+ rb_define_const(module, "GL_STENCIL_RENDERABLE", INT2NUM(GL_STENCIL_RENDERABLE));
2719
3876
  rb_define_const(module, "GL_STENCIL_TAG_BITS_EXT", INT2NUM(GL_STENCIL_TAG_BITS_EXT));
2720
3877
  rb_define_const(module, "GL_STENCIL_TEST", INT2NUM(GL_STENCIL_TEST));
2721
3878
  rb_define_const(module, "GL_STENCIL_TEST_TWO_SIDE_EXT", INT2NUM(GL_STENCIL_TEST_TWO_SIDE_EXT));
@@ -2723,6 +3880,8 @@ void gl_init_enums(VALUE module)
2723
3880
  rb_define_const(module, "GL_STENCIL_WRITEMASK", INT2NUM(GL_STENCIL_WRITEMASK));
2724
3881
  rb_define_const(module, "GL_STEREO", INT2NUM(GL_STEREO));
2725
3882
  rb_define_const(module, "GL_STORAGE_CACHED_APPLE", INT2NUM(GL_STORAGE_CACHED_APPLE));
3883
+ rb_define_const(module, "GL_STORAGE_CLIENT_APPLE", INT2NUM(GL_STORAGE_CLIENT_APPLE));
3884
+ rb_define_const(module, "GL_STORAGE_PRIVATE_APPLE", INT2NUM(GL_STORAGE_PRIVATE_APPLE));
2726
3885
  rb_define_const(module, "GL_STORAGE_SHARED_APPLE", INT2NUM(GL_STORAGE_SHARED_APPLE));
2727
3886
  rb_define_const(module, "GL_STREAM_COPY", INT2NUM(GL_STREAM_COPY));
2728
3887
  rb_define_const(module, "GL_STREAM_COPY_ARB", INT2NUM(GL_STREAM_COPY_ARB));
@@ -2734,15 +3893,37 @@ void gl_init_enums(VALUE module)
2734
3893
  rb_define_const(module, "GL_STRICT_LIGHTING_HINT_PGI", INT2NUM(GL_STRICT_LIGHTING_HINT_PGI));
2735
3894
  rb_define_const(module, "GL_STRICT_SCISSOR_HINT_PGI", INT2NUM(GL_STRICT_SCISSOR_HINT_PGI));
2736
3895
  rb_define_const(module, "GL_SUBPIXEL_BITS", INT2NUM(GL_SUBPIXEL_BITS));
3896
+ rb_define_const(module, "GL_SUBSAMPLE_DISTANCE_AMD", INT2NUM(GL_SUBSAMPLE_DISTANCE_AMD));
2737
3897
  rb_define_const(module, "GL_SUBTRACT", INT2NUM(GL_SUBTRACT));
2738
3898
  rb_define_const(module, "GL_SUBTRACT_ARB", INT2NUM(GL_SUBTRACT_ARB));
2739
3899
  rb_define_const(module, "GL_SUB_ATI", INT2NUM(GL_SUB_ATI));
3900
+ rb_define_const(module, "GL_SUCCESS_NV", INT2NUM(GL_SUCCESS_NV));
3901
+ rb_define_const(module, "GL_SURFACE_MAPPED_NV", INT2NUM(GL_SURFACE_MAPPED_NV));
3902
+ rb_define_const(module, "GL_SURFACE_REGISTERED_NV", INT2NUM(GL_SURFACE_REGISTERED_NV));
3903
+ rb_define_const(module, "GL_SURFACE_STATE_NV", INT2NUM(GL_SURFACE_STATE_NV));
2740
3904
  rb_define_const(module, "GL_SWIZZLE_STQ_ATI", INT2NUM(GL_SWIZZLE_STQ_ATI));
2741
3905
  rb_define_const(module, "GL_SWIZZLE_STQ_DQ_ATI", INT2NUM(GL_SWIZZLE_STQ_DQ_ATI));
2742
3906
  rb_define_const(module, "GL_SWIZZLE_STRQ_ATI", INT2NUM(GL_SWIZZLE_STRQ_ATI));
2743
3907
  rb_define_const(module, "GL_SWIZZLE_STRQ_DQ_ATI", INT2NUM(GL_SWIZZLE_STRQ_DQ_ATI));
2744
3908
  rb_define_const(module, "GL_SWIZZLE_STR_ATI", INT2NUM(GL_SWIZZLE_STR_ATI));
2745
3909
  rb_define_const(module, "GL_SWIZZLE_STR_DR_ATI", INT2NUM(GL_SWIZZLE_STR_DR_ATI));
3910
+ rb_define_const(module, "GL_SYNC_CL_EVENT_ARB", INT2NUM(GL_SYNC_CL_EVENT_ARB));
3911
+ rb_define_const(module, "GL_SYNC_CL_EVENT_COMPLETE_ARB", INT2NUM(GL_SYNC_CL_EVENT_COMPLETE_ARB));
3912
+ rb_define_const(module, "GL_SYNC_CONDITION", INT2NUM(GL_SYNC_CONDITION));
3913
+ rb_define_const(module, "GL_SYNC_CONDITION_APPLE", INT2NUM(GL_SYNC_CONDITION_APPLE));
3914
+ rb_define_const(module, "GL_SYNC_FENCE", INT2NUM(GL_SYNC_FENCE));
3915
+ rb_define_const(module, "GL_SYNC_FENCE_APPLE", INT2NUM(GL_SYNC_FENCE_APPLE));
3916
+ rb_define_const(module, "GL_SYNC_FLAGS", INT2NUM(GL_SYNC_FLAGS));
3917
+ rb_define_const(module, "GL_SYNC_FLAGS_APPLE", INT2NUM(GL_SYNC_FLAGS_APPLE));
3918
+ rb_define_const(module, "GL_SYNC_FLUSH_COMMANDS_BIT", INT2NUM(GL_SYNC_FLUSH_COMMANDS_BIT));
3919
+ rb_define_const(module, "GL_SYNC_FLUSH_COMMANDS_BIT_APPLE", INT2NUM(GL_SYNC_FLUSH_COMMANDS_BIT_APPLE));
3920
+ rb_define_const(module, "GL_SYNC_GPU_COMMANDS_COMPLETE", INT2NUM(GL_SYNC_GPU_COMMANDS_COMPLETE));
3921
+ rb_define_const(module, "GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE", INT2NUM(GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE));
3922
+ rb_define_const(module, "GL_SYNC_OBJECT_APPLE", INT2NUM(GL_SYNC_OBJECT_APPLE));
3923
+ rb_define_const(module, "GL_SYNC_STATUS", INT2NUM(GL_SYNC_STATUS));
3924
+ rb_define_const(module, "GL_SYNC_STATUS_APPLE", INT2NUM(GL_SYNC_STATUS_APPLE));
3925
+ rb_define_const(module, "GL_SYNC_X11_FENCE_EXT", INT2NUM(GL_SYNC_X11_FENCE_EXT));
3926
+ rb_define_const(module, "GL_SYSTEM_FONT_NAME_NV", INT2NUM(GL_SYSTEM_FONT_NAME_NV));
2746
3927
  rb_define_const(module, "GL_T", INT2NUM(GL_T));
2747
3928
  rb_define_const(module, "GL_T2F_C3F_V3F", INT2NUM(GL_T2F_C3F_V3F));
2748
3929
  rb_define_const(module, "GL_T2F_C4F_N3F_V3F", INT2NUM(GL_T2F_C4F_N3F_V3F));
@@ -2761,6 +3942,27 @@ void gl_init_enums(VALUE module)
2761
3942
  rb_define_const(module, "GL_TANGENT_ARRAY_POINTER_EXT", INT2NUM(GL_TANGENT_ARRAY_POINTER_EXT));
2762
3943
  rb_define_const(module, "GL_TANGENT_ARRAY_STRIDE_EXT", INT2NUM(GL_TANGENT_ARRAY_STRIDE_EXT));
2763
3944
  rb_define_const(module, "GL_TANGENT_ARRAY_TYPE_EXT", INT2NUM(GL_TANGENT_ARRAY_TYPE_EXT));
3945
+ rb_define_const(module, "GL_TESSELLATION_FACTOR_AMD", INT2NUM(GL_TESSELLATION_FACTOR_AMD));
3946
+ rb_define_const(module, "GL_TESSELLATION_MODE_AMD", INT2NUM(GL_TESSELLATION_MODE_AMD));
3947
+ rb_define_const(module, "GL_TESS_CONTROL_OUTPUT_VERTICES", INT2NUM(GL_TESS_CONTROL_OUTPUT_VERTICES));
3948
+ rb_define_const(module, "GL_TESS_CONTROL_PROGRAM_NV", INT2NUM(GL_TESS_CONTROL_PROGRAM_NV));
3949
+ rb_define_const(module, "GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV));
3950
+ rb_define_const(module, "GL_TESS_CONTROL_SHADER", INT2NUM(GL_TESS_CONTROL_SHADER));
3951
+ rb_define_const(module, "GL_TESS_CONTROL_SHADER_BIT", INT2NUM(GL_TESS_CONTROL_SHADER_BIT));
3952
+ rb_define_const(module, "GL_TESS_CONTROL_SUBROUTINE", INT2NUM(GL_TESS_CONTROL_SUBROUTINE));
3953
+ rb_define_const(module, "GL_TESS_CONTROL_SUBROUTINE_UNIFORM", INT2NUM(GL_TESS_CONTROL_SUBROUTINE_UNIFORM));
3954
+ rb_define_const(module, "GL_TESS_CONTROL_TEXTURE", INT2NUM(GL_TESS_CONTROL_TEXTURE));
3955
+ rb_define_const(module, "GL_TESS_EVALUATION_PROGRAM_NV", INT2NUM(GL_TESS_EVALUATION_PROGRAM_NV));
3956
+ rb_define_const(module, "GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV));
3957
+ rb_define_const(module, "GL_TESS_EVALUATION_SHADER", INT2NUM(GL_TESS_EVALUATION_SHADER));
3958
+ rb_define_const(module, "GL_TESS_EVALUATION_SHADER_BIT", INT2NUM(GL_TESS_EVALUATION_SHADER_BIT));
3959
+ rb_define_const(module, "GL_TESS_EVALUATION_SUBROUTINE", INT2NUM(GL_TESS_EVALUATION_SUBROUTINE));
3960
+ rb_define_const(module, "GL_TESS_EVALUATION_SUBROUTINE_UNIFORM", INT2NUM(GL_TESS_EVALUATION_SUBROUTINE_UNIFORM));
3961
+ rb_define_const(module, "GL_TESS_EVALUATION_TEXTURE", INT2NUM(GL_TESS_EVALUATION_TEXTURE));
3962
+ rb_define_const(module, "GL_TESS_GEN_MODE", INT2NUM(GL_TESS_GEN_MODE));
3963
+ rb_define_const(module, "GL_TESS_GEN_POINT_MODE", INT2NUM(GL_TESS_GEN_POINT_MODE));
3964
+ rb_define_const(module, "GL_TESS_GEN_SPACING", INT2NUM(GL_TESS_GEN_SPACING));
3965
+ rb_define_const(module, "GL_TESS_GEN_VERTEX_ORDER", INT2NUM(GL_TESS_GEN_VERTEX_ORDER));
2764
3966
  rb_define_const(module, "GL_TEXCOORD1_BIT_PGI", INT2NUM(GL_TEXCOORD1_BIT_PGI));
2765
3967
  rb_define_const(module, "GL_TEXCOORD2_BIT_PGI", INT2NUM(GL_TEXCOORD2_BIT_PGI));
2766
3968
  rb_define_const(module, "GL_TEXCOORD3_BIT_PGI", INT2NUM(GL_TEXCOORD3_BIT_PGI));
@@ -2840,14 +4042,19 @@ void gl_init_enums(VALUE module)
2840
4042
  rb_define_const(module, "GL_TEXTURE_2D_ARRAY", INT2NUM(GL_TEXTURE_2D_ARRAY));
2841
4043
  rb_define_const(module, "GL_TEXTURE_2D_ARRAY_EXT", INT2NUM(GL_TEXTURE_2D_ARRAY_EXT));
2842
4044
  rb_define_const(module, "GL_TEXTURE_2D_BINDING_EXT", INT2NUM(GL_TEXTURE_2D_BINDING_EXT));
4045
+ rb_define_const(module, "GL_TEXTURE_2D_MULTISAMPLE", INT2NUM(GL_TEXTURE_2D_MULTISAMPLE));
4046
+ rb_define_const(module, "GL_TEXTURE_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_TEXTURE_2D_MULTISAMPLE_ARRAY));
2843
4047
  rb_define_const(module, "GL_TEXTURE_2D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_BINDING_MESAX));
2844
4048
  rb_define_const(module, "GL_TEXTURE_2D_STACK_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_MESAX));
2845
4049
  rb_define_const(module, "GL_TEXTURE_3D", INT2NUM(GL_TEXTURE_3D));
2846
4050
  rb_define_const(module, "GL_TEXTURE_3D_BINDING_EXT", INT2NUM(GL_TEXTURE_3D_BINDING_EXT));
4051
+ rb_define_const(module, "GL_TEXTURE_3D_BINDING_OES", INT2NUM(GL_TEXTURE_3D_BINDING_OES));
2847
4052
  rb_define_const(module, "GL_TEXTURE_3D_EXT", INT2NUM(GL_TEXTURE_3D_EXT));
4053
+ rb_define_const(module, "GL_TEXTURE_3D_OES", INT2NUM(GL_TEXTURE_3D_OES));
2848
4054
  rb_define_const(module, "GL_TEXTURE_4DSIZE_SGIS", INT2NUM(GL_TEXTURE_4DSIZE_SGIS));
2849
4055
  rb_define_const(module, "GL_TEXTURE_4D_BINDING_SGIS", INT2NUM(GL_TEXTURE_4D_BINDING_SGIS));
2850
4056
  rb_define_const(module, "GL_TEXTURE_4D_SGIS", INT2NUM(GL_TEXTURE_4D_SGIS));
4057
+ rb_define_const(module, "GL_TEXTURE_ALPHA_MODULATE_IMG", INT2NUM(GL_TEXTURE_ALPHA_MODULATE_IMG));
2851
4058
  rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE", INT2NUM(GL_TEXTURE_ALPHA_SIZE));
2852
4059
  rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE_EXT", INT2NUM(GL_TEXTURE_ALPHA_SIZE_EXT));
2853
4060
  rb_define_const(module, "GL_TEXTURE_ALPHA_TYPE", INT2NUM(GL_TEXTURE_ALPHA_TYPE));
@@ -2861,12 +4068,20 @@ void gl_init_enums(VALUE module)
2861
4068
  rb_define_const(module, "GL_TEXTURE_BINDING_2D", INT2NUM(GL_TEXTURE_BINDING_2D));
2862
4069
  rb_define_const(module, "GL_TEXTURE_BINDING_2D_ARRAY", INT2NUM(GL_TEXTURE_BINDING_2D_ARRAY));
2863
4070
  rb_define_const(module, "GL_TEXTURE_BINDING_2D_ARRAY_EXT", INT2NUM(GL_TEXTURE_BINDING_2D_ARRAY_EXT));
4071
+ rb_define_const(module, "GL_TEXTURE_BINDING_2D_MULTISAMPLE", INT2NUM(GL_TEXTURE_BINDING_2D_MULTISAMPLE));
4072
+ rb_define_const(module, "GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY));
2864
4073
  rb_define_const(module, "GL_TEXTURE_BINDING_3D", INT2NUM(GL_TEXTURE_BINDING_3D));
4074
+ rb_define_const(module, "GL_TEXTURE_BINDING_BUFFER", INT2NUM(GL_TEXTURE_BINDING_BUFFER));
2865
4075
  rb_define_const(module, "GL_TEXTURE_BINDING_BUFFER_ARB", INT2NUM(GL_TEXTURE_BINDING_BUFFER_ARB));
2866
4076
  rb_define_const(module, "GL_TEXTURE_BINDING_BUFFER_EXT", INT2NUM(GL_TEXTURE_BINDING_BUFFER_EXT));
2867
4077
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP));
2868
4078
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_ARB", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_ARB));
4079
+ rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_ARRAY", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY));
4080
+ rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB));
2869
4081
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_EXT", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_EXT));
4082
+ rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_OES", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_OES));
4083
+ rb_define_const(module, "GL_TEXTURE_BINDING_EXTERNAL_OES", INT2NUM(GL_TEXTURE_BINDING_EXTERNAL_OES));
4084
+ rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE));
2870
4085
  rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE_ARB", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE_ARB));
2871
4086
  rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE_NV", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE_NV));
2872
4087
  rb_define_const(module, "GL_TEXTURE_BINDING_RENDERBUFFER_NV", INT2NUM(GL_TEXTURE_BINDING_RENDERBUFFER_NV));
@@ -2877,41 +4092,55 @@ void gl_init_enums(VALUE module)
2877
4092
  rb_define_const(module, "GL_TEXTURE_BLUE_TYPE_ARB", INT2NUM(GL_TEXTURE_BLUE_TYPE_ARB));
2878
4093
  rb_define_const(module, "GL_TEXTURE_BORDER", INT2NUM(GL_TEXTURE_BORDER));
2879
4094
  rb_define_const(module, "GL_TEXTURE_BORDER_COLOR", INT2NUM(GL_TEXTURE_BORDER_COLOR));
4095
+ rb_define_const(module, "GL_TEXTURE_BORDER_COLOR_NV", INT2NUM(GL_TEXTURE_BORDER_COLOR_NV));
2880
4096
  rb_define_const(module, "GL_TEXTURE_BORDER_VALUES_NV", INT2NUM(GL_TEXTURE_BORDER_VALUES_NV));
4097
+ rb_define_const(module, "GL_TEXTURE_BUFFER", INT2NUM(GL_TEXTURE_BUFFER));
2881
4098
  rb_define_const(module, "GL_TEXTURE_BUFFER_ARB", INT2NUM(GL_TEXTURE_BUFFER_ARB));
4099
+ rb_define_const(module, "GL_TEXTURE_BUFFER_DATA_STORE_BINDING", INT2NUM(GL_TEXTURE_BUFFER_DATA_STORE_BINDING));
2882
4100
  rb_define_const(module, "GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB", INT2NUM(GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB));
2883
4101
  rb_define_const(module, "GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT", INT2NUM(GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT));
2884
4102
  rb_define_const(module, "GL_TEXTURE_BUFFER_EXT", INT2NUM(GL_TEXTURE_BUFFER_EXT));
2885
4103
  rb_define_const(module, "GL_TEXTURE_BUFFER_FORMAT_ARB", INT2NUM(GL_TEXTURE_BUFFER_FORMAT_ARB));
2886
4104
  rb_define_const(module, "GL_TEXTURE_BUFFER_FORMAT_EXT", INT2NUM(GL_TEXTURE_BUFFER_FORMAT_EXT));
4105
+ rb_define_const(module, "GL_TEXTURE_BUFFER_OFFSET", INT2NUM(GL_TEXTURE_BUFFER_OFFSET));
4106
+ rb_define_const(module, "GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT", INT2NUM(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT));
4107
+ rb_define_const(module, "GL_TEXTURE_BUFFER_SIZE", INT2NUM(GL_TEXTURE_BUFFER_SIZE));
2887
4108
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_CENTER_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_CENTER_SGIX));
2888
4109
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_DEPTH_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_DEPTH_SGIX));
2889
4110
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_FRAME_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_FRAME_SGIX));
2890
4111
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX));
2891
4112
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_OFFSET_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_OFFSET_SGIX));
2892
4113
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX));
4114
+ rb_define_const(module, "GL_TEXTURE_COLOR_SAMPLES_NV", INT2NUM(GL_TEXTURE_COLOR_SAMPLES_NV));
2893
4115
  rb_define_const(module, "GL_TEXTURE_COLOR_TABLE_SGI", INT2NUM(GL_TEXTURE_COLOR_TABLE_SGI));
2894
4116
  rb_define_const(module, "GL_TEXTURE_COLOR_WRITEMASK_SGIS", INT2NUM(GL_TEXTURE_COLOR_WRITEMASK_SGIS));
2895
4117
  rb_define_const(module, "GL_TEXTURE_COMPARE_FAIL_VALUE_ARB", INT2NUM(GL_TEXTURE_COMPARE_FAIL_VALUE_ARB));
2896
4118
  rb_define_const(module, "GL_TEXTURE_COMPARE_FUNC", INT2NUM(GL_TEXTURE_COMPARE_FUNC));
2897
4119
  rb_define_const(module, "GL_TEXTURE_COMPARE_FUNC_ARB", INT2NUM(GL_TEXTURE_COMPARE_FUNC_ARB));
4120
+ rb_define_const(module, "GL_TEXTURE_COMPARE_FUNC_EXT", INT2NUM(GL_TEXTURE_COMPARE_FUNC_EXT));
2898
4121
  rb_define_const(module, "GL_TEXTURE_COMPARE_MODE", INT2NUM(GL_TEXTURE_COMPARE_MODE));
2899
4122
  rb_define_const(module, "GL_TEXTURE_COMPARE_MODE_ARB", INT2NUM(GL_TEXTURE_COMPARE_MODE_ARB));
4123
+ rb_define_const(module, "GL_TEXTURE_COMPARE_MODE_EXT", INT2NUM(GL_TEXTURE_COMPARE_MODE_EXT));
2900
4124
  rb_define_const(module, "GL_TEXTURE_COMPARE_OPERATOR_SGIX", INT2NUM(GL_TEXTURE_COMPARE_OPERATOR_SGIX));
2901
4125
  rb_define_const(module, "GL_TEXTURE_COMPARE_SGIX", INT2NUM(GL_TEXTURE_COMPARE_SGIX));
2902
4126
  rb_define_const(module, "GL_TEXTURE_COMPONENTS", INT2NUM(GL_TEXTURE_COMPONENTS));
2903
4127
  rb_define_const(module, "GL_TEXTURE_COMPRESSED", INT2NUM(GL_TEXTURE_COMPRESSED));
2904
4128
  rb_define_const(module, "GL_TEXTURE_COMPRESSED_ARB", INT2NUM(GL_TEXTURE_COMPRESSED_ARB));
4129
+ rb_define_const(module, "GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT", INT2NUM(GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT));
4130
+ rb_define_const(module, "GL_TEXTURE_COMPRESSED_BLOCK_SIZE", INT2NUM(GL_TEXTURE_COMPRESSED_BLOCK_SIZE));
4131
+ rb_define_const(module, "GL_TEXTURE_COMPRESSED_BLOCK_WIDTH", INT2NUM(GL_TEXTURE_COMPRESSED_BLOCK_WIDTH));
2905
4132
  rb_define_const(module, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE", INT2NUM(GL_TEXTURE_COMPRESSED_IMAGE_SIZE));
2906
4133
  rb_define_const(module, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB", INT2NUM(GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB));
2907
4134
  rb_define_const(module, "GL_TEXTURE_COMPRESSION_HINT", INT2NUM(GL_TEXTURE_COMPRESSION_HINT));
2908
4135
  rb_define_const(module, "GL_TEXTURE_COMPRESSION_HINT_ARB", INT2NUM(GL_TEXTURE_COMPRESSION_HINT_ARB));
2909
4136
  rb_define_const(module, "GL_TEXTURE_CONSTANT_DATA_SUNX", INT2NUM(GL_TEXTURE_CONSTANT_DATA_SUNX));
2910
4137
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY", INT2NUM(GL_TEXTURE_COORD_ARRAY));
4138
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_ADDRESS_NV", INT2NUM(GL_TEXTURE_COORD_ARRAY_ADDRESS_NV));
2911
4139
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING", INT2NUM(GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING));
2912
4140
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB));
2913
4141
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_COUNT_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_COUNT_EXT));
2914
4142
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_EXT));
4143
+ rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_LENGTH_NV", INT2NUM(GL_TEXTURE_COORD_ARRAY_LENGTH_NV));
2915
4144
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_LIST_IBM", INT2NUM(GL_TEXTURE_COORD_ARRAY_LIST_IBM));
2916
4145
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM));
2917
4146
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL));
@@ -2924,31 +4153,44 @@ void gl_init_enums(VALUE module)
2924
4153
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_TYPE", INT2NUM(GL_TEXTURE_COORD_ARRAY_TYPE));
2925
4154
  rb_define_const(module, "GL_TEXTURE_COORD_ARRAY_TYPE_EXT", INT2NUM(GL_TEXTURE_COORD_ARRAY_TYPE_EXT));
2926
4155
  rb_define_const(module, "GL_TEXTURE_COORD_NV", INT2NUM(GL_TEXTURE_COORD_NV));
4156
+ rb_define_const(module, "GL_TEXTURE_COVERAGE_SAMPLES_NV", INT2NUM(GL_TEXTURE_COVERAGE_SAMPLES_NV));
4157
+ rb_define_const(module, "GL_TEXTURE_CROP_RECT_OES", INT2NUM(GL_TEXTURE_CROP_RECT_OES));
2927
4158
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP", INT2NUM(GL_TEXTURE_CUBE_MAP));
2928
4159
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_ARB));
4160
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_ARRAY", INT2NUM(GL_TEXTURE_CUBE_MAP_ARRAY));
4161
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_ARRAY_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_ARRAY_ARB));
2929
4162
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_EXT));
2930
4163
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X));
2931
4164
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB));
2932
4165
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT));
4166
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES));
2933
4167
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y));
2934
4168
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB));
2935
4169
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT));
4170
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES));
2936
4171
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z));
2937
4172
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB));
2938
4173
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT));
4174
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES));
4175
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_OES));
2939
4176
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X));
2940
4177
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB));
2941
4178
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT));
4179
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES));
2942
4180
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y));
2943
4181
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB));
2944
4182
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT));
4183
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES));
2945
4184
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z));
2946
4185
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB));
2947
4186
  rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT));
4187
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES", INT2NUM(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES));
4188
+ rb_define_const(module, "GL_TEXTURE_CUBE_MAP_SEAMLESS", INT2NUM(GL_TEXTURE_CUBE_MAP_SEAMLESS));
2948
4189
  rb_define_const(module, "GL_TEXTURE_DEFORMATION_BIT_SGIX", INT2NUM(GL_TEXTURE_DEFORMATION_BIT_SGIX));
2949
4190
  rb_define_const(module, "GL_TEXTURE_DEFORMATION_SGIX", INT2NUM(GL_TEXTURE_DEFORMATION_SGIX));
2950
4191
  rb_define_const(module, "GL_TEXTURE_DEPTH", INT2NUM(GL_TEXTURE_DEPTH));
2951
4192
  rb_define_const(module, "GL_TEXTURE_DEPTH_EXT", INT2NUM(GL_TEXTURE_DEPTH_EXT));
4193
+ rb_define_const(module, "GL_TEXTURE_DEPTH_QCOM", INT2NUM(GL_TEXTURE_DEPTH_QCOM));
2952
4194
  rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE", INT2NUM(GL_TEXTURE_DEPTH_SIZE));
2953
4195
  rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE_ARB", INT2NUM(GL_TEXTURE_DEPTH_SIZE_ARB));
2954
4196
  rb_define_const(module, "GL_TEXTURE_DEPTH_TYPE", INT2NUM(GL_TEXTURE_DEPTH_TYPE));
@@ -2959,14 +4201,23 @@ void gl_init_enums(VALUE module)
2959
4201
  rb_define_const(module, "GL_TEXTURE_ENV_BIAS_SGIX", INT2NUM(GL_TEXTURE_ENV_BIAS_SGIX));
2960
4202
  rb_define_const(module, "GL_TEXTURE_ENV_COLOR", INT2NUM(GL_TEXTURE_ENV_COLOR));
2961
4203
  rb_define_const(module, "GL_TEXTURE_ENV_MODE", INT2NUM(GL_TEXTURE_ENV_MODE));
4204
+ rb_define_const(module, "GL_TEXTURE_EXTERNAL_OES", INT2NUM(GL_TEXTURE_EXTERNAL_OES));
4205
+ rb_define_const(module, "GL_TEXTURE_FETCH_BARRIER_BIT", INT2NUM(GL_TEXTURE_FETCH_BARRIER_BIT));
4206
+ rb_define_const(module, "GL_TEXTURE_FETCH_BARRIER_BIT_EXT", INT2NUM(GL_TEXTURE_FETCH_BARRIER_BIT_EXT));
2962
4207
  rb_define_const(module, "GL_TEXTURE_FILTER4_SIZE_SGIS", INT2NUM(GL_TEXTURE_FILTER4_SIZE_SGIS));
2963
4208
  rb_define_const(module, "GL_TEXTURE_FILTER_CONTROL", INT2NUM(GL_TEXTURE_FILTER_CONTROL));
2964
4209
  rb_define_const(module, "GL_TEXTURE_FILTER_CONTROL_EXT", INT2NUM(GL_TEXTURE_FILTER_CONTROL_EXT));
4210
+ rb_define_const(module, "GL_TEXTURE_FIXED_SAMPLE_LOCATIONS", INT2NUM(GL_TEXTURE_FIXED_SAMPLE_LOCATIONS));
2965
4211
  rb_define_const(module, "GL_TEXTURE_FLOAT_COMPONENTS_NV", INT2NUM(GL_TEXTURE_FLOAT_COMPONENTS_NV));
4212
+ rb_define_const(module, "GL_TEXTURE_FORMAT_QCOM", INT2NUM(GL_TEXTURE_FORMAT_QCOM));
4213
+ rb_define_const(module, "GL_TEXTURE_FREE_MEMORY_ATI", INT2NUM(GL_TEXTURE_FREE_MEMORY_ATI));
4214
+ rb_define_const(module, "GL_TEXTURE_GATHER", INT2NUM(GL_TEXTURE_GATHER));
4215
+ rb_define_const(module, "GL_TEXTURE_GATHER_SHADOW", INT2NUM(GL_TEXTURE_GATHER_SHADOW));
2966
4216
  rb_define_const(module, "GL_TEXTURE_GEN_MODE", INT2NUM(GL_TEXTURE_GEN_MODE));
2967
4217
  rb_define_const(module, "GL_TEXTURE_GEN_Q", INT2NUM(GL_TEXTURE_GEN_Q));
2968
4218
  rb_define_const(module, "GL_TEXTURE_GEN_R", INT2NUM(GL_TEXTURE_GEN_R));
2969
4219
  rb_define_const(module, "GL_TEXTURE_GEN_S", INT2NUM(GL_TEXTURE_GEN_S));
4220
+ rb_define_const(module, "GL_TEXTURE_GEN_STR_OES", INT2NUM(GL_TEXTURE_GEN_STR_OES));
2970
4221
  rb_define_const(module, "GL_TEXTURE_GEN_T", INT2NUM(GL_TEXTURE_GEN_T));
2971
4222
  rb_define_const(module, "GL_TEXTURE_GEQUAL_R_SGIX", INT2NUM(GL_TEXTURE_GEQUAL_R_SGIX));
2972
4223
  rb_define_const(module, "GL_TEXTURE_GREEN_SIZE", INT2NUM(GL_TEXTURE_GREEN_SIZE));
@@ -2974,13 +4225,20 @@ void gl_init_enums(VALUE module)
2974
4225
  rb_define_const(module, "GL_TEXTURE_GREEN_TYPE", INT2NUM(GL_TEXTURE_GREEN_TYPE));
2975
4226
  rb_define_const(module, "GL_TEXTURE_GREEN_TYPE_ARB", INT2NUM(GL_TEXTURE_GREEN_TYPE_ARB));
2976
4227
  rb_define_const(module, "GL_TEXTURE_HEIGHT", INT2NUM(GL_TEXTURE_HEIGHT));
4228
+ rb_define_const(module, "GL_TEXTURE_HEIGHT_QCOM", INT2NUM(GL_TEXTURE_HEIGHT_QCOM));
2977
4229
  rb_define_const(module, "GL_TEXTURE_HI_SIZE_NV", INT2NUM(GL_TEXTURE_HI_SIZE_NV));
4230
+ rb_define_const(module, "GL_TEXTURE_IMAGE_FORMAT", INT2NUM(GL_TEXTURE_IMAGE_FORMAT));
4231
+ rb_define_const(module, "GL_TEXTURE_IMAGE_TYPE", INT2NUM(GL_TEXTURE_IMAGE_TYPE));
4232
+ rb_define_const(module, "GL_TEXTURE_IMAGE_VALID_QCOM", INT2NUM(GL_TEXTURE_IMAGE_VALID_QCOM));
4233
+ rb_define_const(module, "GL_TEXTURE_IMMUTABLE_FORMAT", INT2NUM(GL_TEXTURE_IMMUTABLE_FORMAT));
4234
+ rb_define_const(module, "GL_TEXTURE_IMMUTABLE_LEVELS", INT2NUM(GL_TEXTURE_IMMUTABLE_LEVELS));
2978
4235
  rb_define_const(module, "GL_TEXTURE_INDEX_SIZE_EXT", INT2NUM(GL_TEXTURE_INDEX_SIZE_EXT));
2979
4236
  rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE", INT2NUM(GL_TEXTURE_INTENSITY_SIZE));
2980
4237
  rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE_EXT", INT2NUM(GL_TEXTURE_INTENSITY_SIZE_EXT));
2981
4238
  rb_define_const(module, "GL_TEXTURE_INTENSITY_TYPE", INT2NUM(GL_TEXTURE_INTENSITY_TYPE));
2982
4239
  rb_define_const(module, "GL_TEXTURE_INTENSITY_TYPE_ARB", INT2NUM(GL_TEXTURE_INTENSITY_TYPE_ARB));
2983
4240
  rb_define_const(module, "GL_TEXTURE_INTERNAL_FORMAT", INT2NUM(GL_TEXTURE_INTERNAL_FORMAT));
4241
+ rb_define_const(module, "GL_TEXTURE_INTERNAL_FORMAT_QCOM", INT2NUM(GL_TEXTURE_INTERNAL_FORMAT_QCOM));
2984
4242
  rb_define_const(module, "GL_TEXTURE_LEQUAL_R_SGIX", INT2NUM(GL_TEXTURE_LEQUAL_R_SGIX));
2985
4243
  rb_define_const(module, "GL_TEXTURE_LIGHTING_MODE_HP", INT2NUM(GL_TEXTURE_LIGHTING_MODE_HP));
2986
4244
  rb_define_const(module, "GL_TEXTURE_LIGHT_EXT", INT2NUM(GL_TEXTURE_LIGHT_EXT));
@@ -2999,6 +4257,7 @@ void gl_init_enums(VALUE module)
2999
4257
  rb_define_const(module, "GL_TEXTURE_MATERIAL_FACE_EXT", INT2NUM(GL_TEXTURE_MATERIAL_FACE_EXT));
3000
4258
  rb_define_const(module, "GL_TEXTURE_MATERIAL_PARAMETER_EXT", INT2NUM(GL_TEXTURE_MATERIAL_PARAMETER_EXT));
3001
4259
  rb_define_const(module, "GL_TEXTURE_MATRIX", INT2NUM(GL_TEXTURE_MATRIX));
4260
+ rb_define_const(module, "GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES", INT2NUM(GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES));
3002
4261
  rb_define_const(module, "GL_TEXTURE_MAX_ANISOTROPY_EXT", INT2NUM(GL_TEXTURE_MAX_ANISOTROPY_EXT));
3003
4262
  rb_define_const(module, "GL_TEXTURE_MAX_CLAMP_R_SGIX", INT2NUM(GL_TEXTURE_MAX_CLAMP_R_SGIX));
3004
4263
  rb_define_const(module, "GL_TEXTURE_MAX_CLAMP_S_SGIX", INT2NUM(GL_TEXTURE_MAX_CLAMP_S_SGIX));
@@ -3007,15 +4266,21 @@ void gl_init_enums(VALUE module)
3007
4266
  rb_define_const(module, "GL_TEXTURE_MAX_LEVEL_SGIS", INT2NUM(GL_TEXTURE_MAX_LEVEL_SGIS));
3008
4267
  rb_define_const(module, "GL_TEXTURE_MAX_LOD", INT2NUM(GL_TEXTURE_MAX_LOD));
3009
4268
  rb_define_const(module, "GL_TEXTURE_MAX_LOD_SGIS", INT2NUM(GL_TEXTURE_MAX_LOD_SGIS));
4269
+ rb_define_const(module, "GL_TEXTURE_MEMORY_LAYOUT_INTEL", INT2NUM(GL_TEXTURE_MEMORY_LAYOUT_INTEL));
3010
4270
  rb_define_const(module, "GL_TEXTURE_MIN_FILTER", INT2NUM(GL_TEXTURE_MIN_FILTER));
3011
4271
  rb_define_const(module, "GL_TEXTURE_MIN_LOD", INT2NUM(GL_TEXTURE_MIN_LOD));
3012
4272
  rb_define_const(module, "GL_TEXTURE_MIN_LOD_SGIS", INT2NUM(GL_TEXTURE_MIN_LOD_SGIS));
3013
4273
  rb_define_const(module, "GL_TEXTURE_MULTI_BUFFER_HINT_SGIX", INT2NUM(GL_TEXTURE_MULTI_BUFFER_HINT_SGIX));
3014
4274
  rb_define_const(module, "GL_TEXTURE_NORMAL_EXT", INT2NUM(GL_TEXTURE_NORMAL_EXT));
4275
+ rb_define_const(module, "GL_TEXTURE_NUM_LEVELS_QCOM", INT2NUM(GL_TEXTURE_NUM_LEVELS_QCOM));
4276
+ rb_define_const(module, "GL_TEXTURE_OBJECT_VALID_QCOM", INT2NUM(GL_TEXTURE_OBJECT_VALID_QCOM));
3015
4277
  rb_define_const(module, "GL_TEXTURE_POST_SPECULAR_HP", INT2NUM(GL_TEXTURE_POST_SPECULAR_HP));
3016
4278
  rb_define_const(module, "GL_TEXTURE_PRE_SPECULAR_HP", INT2NUM(GL_TEXTURE_PRE_SPECULAR_HP));
3017
4279
  rb_define_const(module, "GL_TEXTURE_PRIORITY", INT2NUM(GL_TEXTURE_PRIORITY));
3018
4280
  rb_define_const(module, "GL_TEXTURE_PRIORITY_EXT", INT2NUM(GL_TEXTURE_PRIORITY_EXT));
4281
+ rb_define_const(module, "GL_TEXTURE_RANGE_LENGTH_APPLE", INT2NUM(GL_TEXTURE_RANGE_LENGTH_APPLE));
4282
+ rb_define_const(module, "GL_TEXTURE_RANGE_POINTER_APPLE", INT2NUM(GL_TEXTURE_RANGE_POINTER_APPLE));
4283
+ rb_define_const(module, "GL_TEXTURE_RECTANGLE", INT2NUM(GL_TEXTURE_RECTANGLE));
3019
4284
  rb_define_const(module, "GL_TEXTURE_RECTANGLE_ARB", INT2NUM(GL_TEXTURE_RECTANGLE_ARB));
3020
4285
  rb_define_const(module, "GL_TEXTURE_RECTANGLE_NV", INT2NUM(GL_TEXTURE_RECTANGLE_NV));
3021
4286
  rb_define_const(module, "GL_TEXTURE_RED_SIZE", INT2NUM(GL_TEXTURE_RED_SIZE));
@@ -3026,33 +4291,79 @@ void gl_init_enums(VALUE module)
3026
4291
  rb_define_const(module, "GL_TEXTURE_RENDERBUFFER_NV", INT2NUM(GL_TEXTURE_RENDERBUFFER_NV));
3027
4292
  rb_define_const(module, "GL_TEXTURE_RESIDENT", INT2NUM(GL_TEXTURE_RESIDENT));
3028
4293
  rb_define_const(module, "GL_TEXTURE_RESIDENT_EXT", INT2NUM(GL_TEXTURE_RESIDENT_EXT));
4294
+ rb_define_const(module, "GL_TEXTURE_SAMPLES", INT2NUM(GL_TEXTURE_SAMPLES));
4295
+ rb_define_const(module, "GL_TEXTURE_SAMPLES_IMG", INT2NUM(GL_TEXTURE_SAMPLES_IMG));
3029
4296
  rb_define_const(module, "GL_TEXTURE_SHADER_NV", INT2NUM(GL_TEXTURE_SHADER_NV));
4297
+ rb_define_const(module, "GL_TEXTURE_SHADOW", INT2NUM(GL_TEXTURE_SHADOW));
3030
4298
  rb_define_const(module, "GL_TEXTURE_SHARED_SIZE", INT2NUM(GL_TEXTURE_SHARED_SIZE));
3031
4299
  rb_define_const(module, "GL_TEXTURE_SHARED_SIZE_EXT", INT2NUM(GL_TEXTURE_SHARED_SIZE_EXT));
4300
+ rb_define_const(module, "GL_TEXTURE_SRGB_DECODE_EXT", INT2NUM(GL_TEXTURE_SRGB_DECODE_EXT));
3032
4301
  rb_define_const(module, "GL_TEXTURE_STACK_DEPTH", INT2NUM(GL_TEXTURE_STACK_DEPTH));
3033
4302
  rb_define_const(module, "GL_TEXTURE_STENCIL_SIZE", INT2NUM(GL_TEXTURE_STENCIL_SIZE));
3034
4303
  rb_define_const(module, "GL_TEXTURE_STENCIL_SIZE_EXT", INT2NUM(GL_TEXTURE_STENCIL_SIZE_EXT));
4304
+ rb_define_const(module, "GL_TEXTURE_STORAGE_HINT_APPLE", INT2NUM(GL_TEXTURE_STORAGE_HINT_APPLE));
4305
+ rb_define_const(module, "GL_TEXTURE_STORAGE_SPARSE_BIT_AMD", INT2NUM(GL_TEXTURE_STORAGE_SPARSE_BIT_AMD));
4306
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_A", INT2NUM(GL_TEXTURE_SWIZZLE_A));
3035
4307
  rb_define_const(module, "GL_TEXTURE_SWIZZLE_A_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_A_EXT));
4308
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_B", INT2NUM(GL_TEXTURE_SWIZZLE_B));
3036
4309
  rb_define_const(module, "GL_TEXTURE_SWIZZLE_B_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_B_EXT));
4310
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_G", INT2NUM(GL_TEXTURE_SWIZZLE_G));
3037
4311
  rb_define_const(module, "GL_TEXTURE_SWIZZLE_G_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_G_EXT));
4312
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_R", INT2NUM(GL_TEXTURE_SWIZZLE_R));
4313
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_RGBA", INT2NUM(GL_TEXTURE_SWIZZLE_RGBA));
3038
4314
  rb_define_const(module, "GL_TEXTURE_SWIZZLE_RGBA_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_RGBA_EXT));
3039
4315
  rb_define_const(module, "GL_TEXTURE_SWIZZLE_R_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_R_EXT));
4316
+ rb_define_const(module, "GL_TEXTURE_TARGET_QCOM", INT2NUM(GL_TEXTURE_TARGET_QCOM));
3040
4317
  rb_define_const(module, "GL_TEXTURE_TOO_LARGE_EXT", INT2NUM(GL_TEXTURE_TOO_LARGE_EXT));
4318
+ rb_define_const(module, "GL_TEXTURE_TYPE_QCOM", INT2NUM(GL_TEXTURE_TYPE_QCOM));
3041
4319
  rb_define_const(module, "GL_TEXTURE_UNSIGNED_REMAP_MODE_NV", INT2NUM(GL_TEXTURE_UNSIGNED_REMAP_MODE_NV));
4320
+ rb_define_const(module, "GL_TEXTURE_UPDATE_BARRIER_BIT", INT2NUM(GL_TEXTURE_UPDATE_BARRIER_BIT));
4321
+ rb_define_const(module, "GL_TEXTURE_UPDATE_BARRIER_BIT_EXT", INT2NUM(GL_TEXTURE_UPDATE_BARRIER_BIT_EXT));
4322
+ rb_define_const(module, "GL_TEXTURE_USAGE_ANGLE", INT2NUM(GL_TEXTURE_USAGE_ANGLE));
4323
+ rb_define_const(module, "GL_TEXTURE_VIEW", INT2NUM(GL_TEXTURE_VIEW));
4324
+ rb_define_const(module, "GL_TEXTURE_VIEW_MIN_LAYER", INT2NUM(GL_TEXTURE_VIEW_MIN_LAYER));
4325
+ rb_define_const(module, "GL_TEXTURE_VIEW_MIN_LEVEL", INT2NUM(GL_TEXTURE_VIEW_MIN_LEVEL));
4326
+ rb_define_const(module, "GL_TEXTURE_VIEW_NUM_LAYERS", INT2NUM(GL_TEXTURE_VIEW_NUM_LAYERS));
4327
+ rb_define_const(module, "GL_TEXTURE_VIEW_NUM_LEVELS", INT2NUM(GL_TEXTURE_VIEW_NUM_LEVELS));
3042
4328
  rb_define_const(module, "GL_TEXTURE_WIDTH", INT2NUM(GL_TEXTURE_WIDTH));
4329
+ rb_define_const(module, "GL_TEXTURE_WIDTH_QCOM", INT2NUM(GL_TEXTURE_WIDTH_QCOM));
3043
4330
  rb_define_const(module, "GL_TEXTURE_WRAP_Q_SGIS", INT2NUM(GL_TEXTURE_WRAP_Q_SGIS));
3044
4331
  rb_define_const(module, "GL_TEXTURE_WRAP_R", INT2NUM(GL_TEXTURE_WRAP_R));
3045
4332
  rb_define_const(module, "GL_TEXTURE_WRAP_R_EXT", INT2NUM(GL_TEXTURE_WRAP_R_EXT));
4333
+ rb_define_const(module, "GL_TEXTURE_WRAP_R_OES", INT2NUM(GL_TEXTURE_WRAP_R_OES));
3046
4334
  rb_define_const(module, "GL_TEXTURE_WRAP_S", INT2NUM(GL_TEXTURE_WRAP_S));
3047
4335
  rb_define_const(module, "GL_TEXTURE_WRAP_T", INT2NUM(GL_TEXTURE_WRAP_T));
3048
4336
  rb_define_const(module, "GL_TEXT_FRAGMENT_SHADER_ATI", INT2NUM(GL_TEXT_FRAGMENT_SHADER_ATI));
4337
+ rb_define_const(module, "GL_TIMEOUT_EXPIRED", INT2NUM(GL_TIMEOUT_EXPIRED));
4338
+ rb_define_const(module, "GL_TIMEOUT_EXPIRED_APPLE", INT2NUM(GL_TIMEOUT_EXPIRED_APPLE));
4339
+ rb_define_const(module, "GL_TIMEOUT_IGNORED", LL2NUM(GL_TIMEOUT_IGNORED));
4340
+ rb_define_const(module, "GL_TIMEOUT_IGNORED_APPLE", LL2NUM(GL_TIMEOUT_IGNORED_APPLE));
4341
+ rb_define_const(module, "GL_TIMESTAMP", INT2NUM(GL_TIMESTAMP));
4342
+ rb_define_const(module, "GL_TIME_ELAPSED", INT2NUM(GL_TIME_ELAPSED));
3049
4343
  rb_define_const(module, "GL_TIME_ELAPSED_EXT", INT2NUM(GL_TIME_ELAPSED_EXT));
4344
+ rb_define_const(module, "GL_TOP_LEVEL_ARRAY_SIZE", INT2NUM(GL_TOP_LEVEL_ARRAY_SIZE));
4345
+ rb_define_const(module, "GL_TOP_LEVEL_ARRAY_STRIDE", INT2NUM(GL_TOP_LEVEL_ARRAY_STRIDE));
4346
+ rb_define_const(module, "GL_TRACE_ALL_BITS_MESA", INT2NUM(GL_TRACE_ALL_BITS_MESA));
4347
+ rb_define_const(module, "GL_TRACE_ARRAYS_BIT_MESA", INT2NUM(GL_TRACE_ARRAYS_BIT_MESA));
4348
+ rb_define_const(module, "GL_TRACE_ERRORS_BIT_MESA", INT2NUM(GL_TRACE_ERRORS_BIT_MESA));
4349
+ rb_define_const(module, "GL_TRACE_MASK_MESA", INT2NUM(GL_TRACE_MASK_MESA));
4350
+ rb_define_const(module, "GL_TRACE_NAME_MESA", INT2NUM(GL_TRACE_NAME_MESA));
4351
+ rb_define_const(module, "GL_TRACE_OPERATIONS_BIT_MESA", INT2NUM(GL_TRACE_OPERATIONS_BIT_MESA));
4352
+ rb_define_const(module, "GL_TRACE_PIXELS_BIT_MESA", INT2NUM(GL_TRACE_PIXELS_BIT_MESA));
4353
+ rb_define_const(module, "GL_TRACE_PRIMITIVES_BIT_MESA", INT2NUM(GL_TRACE_PRIMITIVES_BIT_MESA));
4354
+ rb_define_const(module, "GL_TRACE_TEXTURES_BIT_MESA", INT2NUM(GL_TRACE_TEXTURES_BIT_MESA));
3050
4355
  rb_define_const(module, "GL_TRACK_MATRIX_NV", INT2NUM(GL_TRACK_MATRIX_NV));
3051
4356
  rb_define_const(module, "GL_TRACK_MATRIX_TRANSFORM_NV", INT2NUM(GL_TRACK_MATRIX_TRANSFORM_NV));
3052
4357
  rb_define_const(module, "GL_TRANSFORM_BIT", INT2NUM(GL_TRANSFORM_BIT));
4358
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK", INT2NUM(GL_TRANSFORM_FEEDBACK));
4359
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_ACTIVE", INT2NUM(GL_TRANSFORM_FEEDBACK_ACTIVE));
3053
4360
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_ATTRIBS_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_ATTRIBS_NV));
4361
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BARRIER_BIT", INT2NUM(GL_TRANSFORM_FEEDBACK_BARRIER_BIT));
4362
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT));
4363
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BINDING", INT2NUM(GL_TRANSFORM_FEEDBACK_BINDING));
3054
4364
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BINDING_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BINDING_NV));
3055
4365
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER));
4366
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE));
3056
4367
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV));
3057
4368
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING));
3058
4369
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT));
@@ -3062,6 +4373,7 @@ void gl_init_enums(VALUE module)
3062
4373
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT));
3063
4374
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV));
3064
4375
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_NV));
4376
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED));
3065
4377
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV));
3066
4378
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE));
3067
4379
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT));
@@ -3070,16 +4382,25 @@ void gl_init_enums(VALUE module)
3070
4382
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT));
3071
4383
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_START_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_START_NV));
3072
4384
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_NV));
4385
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PAUSED", INT2NUM(GL_TRANSFORM_FEEDBACK_PAUSED));
3073
4386
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN));
3074
4387
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT));
3075
4388
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV));
3076
4389
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_RECORD_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_RECORD_NV));
4390
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYING", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYING));
3077
4391
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS));
3078
4392
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS_EXT));
3079
4393
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS_NV));
3080
4394
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH));
3081
4395
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT));
3082
4396
  rb_define_const(module, "GL_TRANSFORM_HINT_APPLE", INT2NUM(GL_TRANSFORM_HINT_APPLE));
4397
+ rb_define_const(module, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE", INT2NUM(GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE));
4398
+ rb_define_const(module, "GL_TRANSLATE_2D_NV", INT2NUM(GL_TRANSLATE_2D_NV));
4399
+ rb_define_const(module, "GL_TRANSLATE_3D_NV", INT2NUM(GL_TRANSLATE_3D_NV));
4400
+ rb_define_const(module, "GL_TRANSLATE_X_NV", INT2NUM(GL_TRANSLATE_X_NV));
4401
+ rb_define_const(module, "GL_TRANSLATE_Y_NV", INT2NUM(GL_TRANSLATE_Y_NV));
4402
+ rb_define_const(module, "GL_TRANSPOSE_AFFINE_2D_NV", INT2NUM(GL_TRANSPOSE_AFFINE_2D_NV));
4403
+ rb_define_const(module, "GL_TRANSPOSE_AFFINE_3D_NV", INT2NUM(GL_TRANSPOSE_AFFINE_3D_NV));
3083
4404
  rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX));
3084
4405
  rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX_ARB));
3085
4406
  rb_define_const(module, "GL_TRANSPOSE_CURRENT_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_CURRENT_MATRIX_ARB));
@@ -3092,20 +4413,61 @@ void gl_init_enums(VALUE module)
3092
4413
  rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX));
3093
4414
  rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX_ARB));
3094
4415
  rb_define_const(module, "GL_TRIANGLES", INT2NUM(GL_TRIANGLES));
4416
+ rb_define_const(module, "GL_TRIANGLES_ADJACENCY", INT2NUM(GL_TRIANGLES_ADJACENCY));
3095
4417
  rb_define_const(module, "GL_TRIANGLES_ADJACENCY_ARB", INT2NUM(GL_TRIANGLES_ADJACENCY_ARB));
3096
4418
  rb_define_const(module, "GL_TRIANGLES_ADJACENCY_EXT", INT2NUM(GL_TRIANGLES_ADJACENCY_EXT));
3097
4419
  rb_define_const(module, "GL_TRIANGLE_FAN", INT2NUM(GL_TRIANGLE_FAN));
3098
4420
  rb_define_const(module, "GL_TRIANGLE_LIST_SUN", INT2NUM(GL_TRIANGLE_LIST_SUN));
3099
4421
  rb_define_const(module, "GL_TRIANGLE_MESH_SUN", INT2NUM(GL_TRIANGLE_MESH_SUN));
3100
4422
  rb_define_const(module, "GL_TRIANGLE_STRIP", INT2NUM(GL_TRIANGLE_STRIP));
4423
+ rb_define_const(module, "GL_TRIANGLE_STRIP_ADJACENCY", INT2NUM(GL_TRIANGLE_STRIP_ADJACENCY));
3101
4424
  rb_define_const(module, "GL_TRIANGLE_STRIP_ADJACENCY_ARB", INT2NUM(GL_TRIANGLE_STRIP_ADJACENCY_ARB));
3102
4425
  rb_define_const(module, "GL_TRIANGLE_STRIP_ADJACENCY_EXT", INT2NUM(GL_TRIANGLE_STRIP_ADJACENCY_EXT));
4426
+ rb_define_const(module, "GL_TRIANGULAR_NV", INT2NUM(GL_TRIANGULAR_NV));
4427
+ rb_define_const(module, "GL_TYPE", INT2NUM(GL_TYPE));
3103
4428
  rb_define_const(module, "GL_TYPE_RGBA_FLOAT_ATI", INT2NUM(GL_TYPE_RGBA_FLOAT_ATI));
4429
+ rb_define_const(module, "GL_UNDEFINED_APPLE", INT2NUM(GL_UNDEFINED_APPLE));
4430
+ rb_define_const(module, "GL_UNDEFINED_VERTEX", INT2NUM(GL_UNDEFINED_VERTEX));
4431
+ rb_define_const(module, "GL_UNIFORM", INT2NUM(GL_UNIFORM));
4432
+ rb_define_const(module, "GL_UNIFORM_ARRAY_STRIDE", INT2NUM(GL_UNIFORM_ARRAY_STRIDE));
4433
+ rb_define_const(module, "GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX", INT2NUM(GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX));
4434
+ rb_define_const(module, "GL_UNIFORM_BARRIER_BIT", INT2NUM(GL_UNIFORM_BARRIER_BIT));
4435
+ rb_define_const(module, "GL_UNIFORM_BARRIER_BIT_EXT", INT2NUM(GL_UNIFORM_BARRIER_BIT_EXT));
4436
+ rb_define_const(module, "GL_UNIFORM_BLOCK", INT2NUM(GL_UNIFORM_BLOCK));
4437
+ rb_define_const(module, "GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS", INT2NUM(GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS));
4438
+ rb_define_const(module, "GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES", INT2NUM(GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES));
4439
+ rb_define_const(module, "GL_UNIFORM_BLOCK_BINDING", INT2NUM(GL_UNIFORM_BLOCK_BINDING));
4440
+ rb_define_const(module, "GL_UNIFORM_BLOCK_DATA_SIZE", INT2NUM(GL_UNIFORM_BLOCK_DATA_SIZE));
4441
+ rb_define_const(module, "GL_UNIFORM_BLOCK_INDEX", INT2NUM(GL_UNIFORM_BLOCK_INDEX));
4442
+ rb_define_const(module, "GL_UNIFORM_BLOCK_NAME_LENGTH", INT2NUM(GL_UNIFORM_BLOCK_NAME_LENGTH));
4443
+ rb_define_const(module, "GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER", INT2NUM(GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER));
4444
+ rb_define_const(module, "GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER", INT2NUM(GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER));
4445
+ rb_define_const(module, "GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER", INT2NUM(GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER));
4446
+ rb_define_const(module, "GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER", INT2NUM(GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER));
4447
+ rb_define_const(module, "GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER", INT2NUM(GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER));
4448
+ rb_define_const(module, "GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER", INT2NUM(GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER));
4449
+ rb_define_const(module, "GL_UNIFORM_BUFFER", INT2NUM(GL_UNIFORM_BUFFER));
4450
+ rb_define_const(module, "GL_UNIFORM_BUFFER_BINDING", INT2NUM(GL_UNIFORM_BUFFER_BINDING));
3104
4451
  rb_define_const(module, "GL_UNIFORM_BUFFER_BINDING_EXT", INT2NUM(GL_UNIFORM_BUFFER_BINDING_EXT));
3105
4452
  rb_define_const(module, "GL_UNIFORM_BUFFER_EXT", INT2NUM(GL_UNIFORM_BUFFER_EXT));
4453
+ rb_define_const(module, "GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT", INT2NUM(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT));
4454
+ rb_define_const(module, "GL_UNIFORM_BUFFER_SIZE", INT2NUM(GL_UNIFORM_BUFFER_SIZE));
4455
+ rb_define_const(module, "GL_UNIFORM_BUFFER_START", INT2NUM(GL_UNIFORM_BUFFER_START));
4456
+ rb_define_const(module, "GL_UNIFORM_IS_ROW_MAJOR", INT2NUM(GL_UNIFORM_IS_ROW_MAJOR));
4457
+ rb_define_const(module, "GL_UNIFORM_MATRIX_STRIDE", INT2NUM(GL_UNIFORM_MATRIX_STRIDE));
4458
+ rb_define_const(module, "GL_UNIFORM_NAME_LENGTH", INT2NUM(GL_UNIFORM_NAME_LENGTH));
4459
+ rb_define_const(module, "GL_UNIFORM_OFFSET", INT2NUM(GL_UNIFORM_OFFSET));
4460
+ rb_define_const(module, "GL_UNIFORM_SIZE", INT2NUM(GL_UNIFORM_SIZE));
4461
+ rb_define_const(module, "GL_UNIFORM_TYPE", INT2NUM(GL_UNIFORM_TYPE));
4462
+ rb_define_const(module, "GL_UNKNOWN_CONTEXT_RESET_ARB", INT2NUM(GL_UNKNOWN_CONTEXT_RESET_ARB));
3106
4463
  rb_define_const(module, "GL_UNPACK_ALIGNMENT", INT2NUM(GL_UNPACK_ALIGNMENT));
3107
4464
  rb_define_const(module, "GL_UNPACK_CLIENT_STORAGE_APPLE", INT2NUM(GL_UNPACK_CLIENT_STORAGE_APPLE));
3108
4465
  rb_define_const(module, "GL_UNPACK_CMYK_HINT_EXT", INT2NUM(GL_UNPACK_CMYK_HINT_EXT));
4466
+ rb_define_const(module, "GL_UNPACK_COMPRESSED_BLOCK_DEPTH", INT2NUM(GL_UNPACK_COMPRESSED_BLOCK_DEPTH));
4467
+ rb_define_const(module, "GL_UNPACK_COMPRESSED_BLOCK_HEIGHT", INT2NUM(GL_UNPACK_COMPRESSED_BLOCK_HEIGHT));
4468
+ rb_define_const(module, "GL_UNPACK_COMPRESSED_BLOCK_SIZE", INT2NUM(GL_UNPACK_COMPRESSED_BLOCK_SIZE));
4469
+ rb_define_const(module, "GL_UNPACK_COMPRESSED_BLOCK_WIDTH", INT2NUM(GL_UNPACK_COMPRESSED_BLOCK_WIDTH));
4470
+ rb_define_const(module, "GL_UNPACK_COMPRESSED_SIZE_SGIX", INT2NUM(GL_UNPACK_COMPRESSED_SIZE_SGIX));
3109
4471
  rb_define_const(module, "GL_UNPACK_CONSTANT_DATA_SUNX", INT2NUM(GL_UNPACK_CONSTANT_DATA_SUNX));
3110
4472
  rb_define_const(module, "GL_UNPACK_IMAGE_DEPTH_SGIS", INT2NUM(GL_UNPACK_IMAGE_DEPTH_SGIS));
3111
4473
  rb_define_const(module, "GL_UNPACK_IMAGE_HEIGHT", INT2NUM(GL_UNPACK_IMAGE_HEIGHT));
@@ -3113,6 +4475,7 @@ void gl_init_enums(VALUE module)
3113
4475
  rb_define_const(module, "GL_UNPACK_LSB_FIRST", INT2NUM(GL_UNPACK_LSB_FIRST));
3114
4476
  rb_define_const(module, "GL_UNPACK_RESAMPLE_OML", INT2NUM(GL_UNPACK_RESAMPLE_OML));
3115
4477
  rb_define_const(module, "GL_UNPACK_RESAMPLE_SGIX", INT2NUM(GL_UNPACK_RESAMPLE_SGIX));
4478
+ rb_define_const(module, "GL_UNPACK_ROW_BYTES_APPLE", INT2NUM(GL_UNPACK_ROW_BYTES_APPLE));
3116
4479
  rb_define_const(module, "GL_UNPACK_ROW_LENGTH", INT2NUM(GL_UNPACK_ROW_LENGTH));
3117
4480
  rb_define_const(module, "GL_UNPACK_SKIP_IMAGES", INT2NUM(GL_UNPACK_SKIP_IMAGES));
3118
4481
  rb_define_const(module, "GL_UNPACK_SKIP_IMAGES_EXT", INT2NUM(GL_UNPACK_SKIP_IMAGES_EXT));
@@ -3121,6 +4484,8 @@ void gl_init_enums(VALUE module)
3121
4484
  rb_define_const(module, "GL_UNPACK_SKIP_VOLUMES_SGIS", INT2NUM(GL_UNPACK_SKIP_VOLUMES_SGIS));
3122
4485
  rb_define_const(module, "GL_UNPACK_SUBSAMPLE_RATE_SGIX", INT2NUM(GL_UNPACK_SUBSAMPLE_RATE_SGIX));
3123
4486
  rb_define_const(module, "GL_UNPACK_SWAP_BYTES", INT2NUM(GL_UNPACK_SWAP_BYTES));
4487
+ rb_define_const(module, "GL_UNSIGNALED", INT2NUM(GL_UNSIGNALED));
4488
+ rb_define_const(module, "GL_UNSIGNALED_APPLE", INT2NUM(GL_UNSIGNALED_APPLE));
3124
4489
  rb_define_const(module, "GL_UNSIGNED_BYTE", INT2NUM(GL_UNSIGNED_BYTE));
3125
4490
  rb_define_const(module, "GL_UNSIGNED_BYTE_2_3_3_REV", INT2NUM(GL_UNSIGNED_BYTE_2_3_3_REV));
3126
4491
  rb_define_const(module, "GL_UNSIGNED_BYTE_2_3_3_REV_EXT", INT2NUM(GL_UNSIGNED_BYTE_2_3_3_REV_EXT));
@@ -3128,22 +4493,62 @@ void gl_init_enums(VALUE module)
3128
4493
  rb_define_const(module, "GL_UNSIGNED_BYTE_3_3_2_EXT", INT2NUM(GL_UNSIGNED_BYTE_3_3_2_EXT));
3129
4494
  rb_define_const(module, "GL_UNSIGNED_IDENTITY_NV", INT2NUM(GL_UNSIGNED_IDENTITY_NV));
3130
4495
  rb_define_const(module, "GL_UNSIGNED_INT", INT2NUM(GL_UNSIGNED_INT));
4496
+ rb_define_const(module, "GL_UNSIGNED_INT16_NV", INT2NUM(GL_UNSIGNED_INT16_NV));
4497
+ rb_define_const(module, "GL_UNSIGNED_INT16_VEC2_NV", INT2NUM(GL_UNSIGNED_INT16_VEC2_NV));
4498
+ rb_define_const(module, "GL_UNSIGNED_INT16_VEC3_NV", INT2NUM(GL_UNSIGNED_INT16_VEC3_NV));
4499
+ rb_define_const(module, "GL_UNSIGNED_INT16_VEC4_NV", INT2NUM(GL_UNSIGNED_INT16_VEC4_NV));
4500
+ rb_define_const(module, "GL_UNSIGNED_INT64_AMD", INT2NUM(GL_UNSIGNED_INT64_AMD));
4501
+ rb_define_const(module, "GL_UNSIGNED_INT64_NV", INT2NUM(GL_UNSIGNED_INT64_NV));
4502
+ rb_define_const(module, "GL_UNSIGNED_INT64_VEC2_NV", INT2NUM(GL_UNSIGNED_INT64_VEC2_NV));
4503
+ rb_define_const(module, "GL_UNSIGNED_INT64_VEC3_NV", INT2NUM(GL_UNSIGNED_INT64_VEC3_NV));
4504
+ rb_define_const(module, "GL_UNSIGNED_INT64_VEC4_NV", INT2NUM(GL_UNSIGNED_INT64_VEC4_NV));
4505
+ rb_define_const(module, "GL_UNSIGNED_INT8_NV", INT2NUM(GL_UNSIGNED_INT8_NV));
4506
+ rb_define_const(module, "GL_UNSIGNED_INT8_VEC2_NV", INT2NUM(GL_UNSIGNED_INT8_VEC2_NV));
4507
+ rb_define_const(module, "GL_UNSIGNED_INT8_VEC3_NV", INT2NUM(GL_UNSIGNED_INT8_VEC3_NV));
4508
+ rb_define_const(module, "GL_UNSIGNED_INT8_VEC4_NV", INT2NUM(GL_UNSIGNED_INT8_VEC4_NV));
3131
4509
  rb_define_const(module, "GL_UNSIGNED_INT_10F_11F_11F_REV", INT2NUM(GL_UNSIGNED_INT_10F_11F_11F_REV));
3132
4510
  rb_define_const(module, "GL_UNSIGNED_INT_10F_11F_11F_REV_EXT", INT2NUM(GL_UNSIGNED_INT_10F_11F_11F_REV_EXT));
3133
4511
  rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2", INT2NUM(GL_UNSIGNED_INT_10_10_10_2));
3134
4512
  rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2_EXT", INT2NUM(GL_UNSIGNED_INT_10_10_10_2_EXT));
4513
+ rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2_OES", INT2NUM(GL_UNSIGNED_INT_10_10_10_2_OES));
3135
4514
  rb_define_const(module, "GL_UNSIGNED_INT_24_8", INT2NUM(GL_UNSIGNED_INT_24_8));
3136
4515
  rb_define_const(module, "GL_UNSIGNED_INT_24_8_EXT", INT2NUM(GL_UNSIGNED_INT_24_8_EXT));
4516
+ rb_define_const(module, "GL_UNSIGNED_INT_24_8_MESA", INT2NUM(GL_UNSIGNED_INT_24_8_MESA));
3137
4517
  rb_define_const(module, "GL_UNSIGNED_INT_24_8_NV", INT2NUM(GL_UNSIGNED_INT_24_8_NV));
4518
+ rb_define_const(module, "GL_UNSIGNED_INT_24_8_OES", INT2NUM(GL_UNSIGNED_INT_24_8_OES));
3138
4519
  rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV));
3139
4520
  rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV_EXT));
3140
4521
  rb_define_const(module, "GL_UNSIGNED_INT_5_9_9_9_REV", INT2NUM(GL_UNSIGNED_INT_5_9_9_9_REV));
3141
4522
  rb_define_const(module, "GL_UNSIGNED_INT_5_9_9_9_REV_EXT", INT2NUM(GL_UNSIGNED_INT_5_9_9_9_REV_EXT));
4523
+ rb_define_const(module, "GL_UNSIGNED_INT_8_24_REV_MESA", INT2NUM(GL_UNSIGNED_INT_8_24_REV_MESA));
3142
4524
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8", INT2NUM(GL_UNSIGNED_INT_8_8_8_8));
3143
4525
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_EXT));
3144
4526
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_REV", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_REV));
3145
4527
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_REV_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_REV_EXT));
3146
4528
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_S8_S8_REV_NV", INT2NUM(GL_UNSIGNED_INT_8_8_S8_S8_REV_NV));
4529
+ rb_define_const(module, "GL_UNSIGNED_INT_ATOMIC_COUNTER", INT2NUM(GL_UNSIGNED_INT_ATOMIC_COUNTER));
4530
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_1D", INT2NUM(GL_UNSIGNED_INT_IMAGE_1D));
4531
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_1D_ARRAY", INT2NUM(GL_UNSIGNED_INT_IMAGE_1D_ARRAY));
4532
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT));
4533
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_1D_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_1D_EXT));
4534
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D));
4535
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_ARRAY", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_ARRAY));
4536
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT));
4537
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_EXT));
4538
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE));
4539
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY));
4540
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT));
4541
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT));
4542
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_RECT", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_RECT));
4543
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT));
4544
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_3D", INT2NUM(GL_UNSIGNED_INT_IMAGE_3D));
4545
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_3D_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_3D_EXT));
4546
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_BUFFER", INT2NUM(GL_UNSIGNED_INT_IMAGE_BUFFER));
4547
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_BUFFER_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_BUFFER_EXT));
4548
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_CUBE", INT2NUM(GL_UNSIGNED_INT_IMAGE_CUBE));
4549
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_CUBE_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_CUBE_EXT));
4550
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY", INT2NUM(GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY));
4551
+ rb_define_const(module, "GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT));
3147
4552
  rb_define_const(module, "GL_UNSIGNED_INT_S8_S8_8_8_NV", INT2NUM(GL_UNSIGNED_INT_S8_S8_8_8_NV));
3148
4553
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D));
3149
4554
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D_ARRAY", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D_ARRAY));
@@ -3153,12 +4558,19 @@ void gl_init_enums(VALUE module)
3153
4558
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_ARRAY));
3154
4559
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT));
3155
4560
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_EXT));
4561
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE));
4562
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY));
4563
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_RECT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_RECT));
3156
4564
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT));
3157
4565
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_3D", INT2NUM(GL_UNSIGNED_INT_SAMPLER_3D));
3158
4566
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_3D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_3D_EXT));
4567
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_BUFFER", INT2NUM(GL_UNSIGNED_INT_SAMPLER_BUFFER));
4568
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD", INT2NUM(GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD));
3159
4569
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT));
3160
4570
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE));
3161
4571
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE_EXT));
4572
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY));
4573
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB));
3162
4574
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV", INT2NUM(GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV));
3163
4575
  rb_define_const(module, "GL_UNSIGNED_INT_VEC2", INT2NUM(GL_UNSIGNED_INT_VEC2));
3164
4576
  rb_define_const(module, "GL_UNSIGNED_INT_VEC2_EXT", INT2NUM(GL_UNSIGNED_INT_VEC2_EXT));
@@ -3167,9 +4579,13 @@ void gl_init_enums(VALUE module)
3167
4579
  rb_define_const(module, "GL_UNSIGNED_INT_VEC4", INT2NUM(GL_UNSIGNED_INT_VEC4));
3168
4580
  rb_define_const(module, "GL_UNSIGNED_INT_VEC4_EXT", INT2NUM(GL_UNSIGNED_INT_VEC4_EXT));
3169
4581
  rb_define_const(module, "GL_UNSIGNED_INVERT_NV", INT2NUM(GL_UNSIGNED_INVERT_NV));
4582
+ rb_define_const(module, "GL_UNSIGNED_NEGATE_NV", INT2NUM(GL_UNSIGNED_NEGATE_NV));
3170
4583
  rb_define_const(module, "GL_UNSIGNED_NORMALIZED", INT2NUM(GL_UNSIGNED_NORMALIZED));
3171
4584
  rb_define_const(module, "GL_UNSIGNED_NORMALIZED_ARB", INT2NUM(GL_UNSIGNED_NORMALIZED_ARB));
4585
+ rb_define_const(module, "GL_UNSIGNED_NORMALIZED_EXT", INT2NUM(GL_UNSIGNED_NORMALIZED_EXT));
3172
4586
  rb_define_const(module, "GL_UNSIGNED_SHORT", INT2NUM(GL_UNSIGNED_SHORT));
4587
+ rb_define_const(module, "GL_UNSIGNED_SHORT_15_1_MESA", INT2NUM(GL_UNSIGNED_SHORT_15_1_MESA));
4588
+ rb_define_const(module, "GL_UNSIGNED_SHORT_1_15_REV_MESA", INT2NUM(GL_UNSIGNED_SHORT_1_15_REV_MESA));
3173
4589
  rb_define_const(module, "GL_UNSIGNED_SHORT_1_5_5_5_REV", INT2NUM(GL_UNSIGNED_SHORT_1_5_5_5_REV));
3174
4590
  rb_define_const(module, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT", INT2NUM(GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT));
3175
4591
  rb_define_const(module, "GL_UNSIGNED_SHORT_4_4_4_4", INT2NUM(GL_UNSIGNED_SHORT_4_4_4_4));
@@ -3187,6 +4603,9 @@ void gl_init_enums(VALUE module)
3187
4603
  rb_define_const(module, "GL_UNSIGNED_SHORT_8_8_REV_APPLE", INT2NUM(GL_UNSIGNED_SHORT_8_8_REV_APPLE));
3188
4604
  rb_define_const(module, "GL_UNSIGNED_SHORT_8_8_REV_MESA", INT2NUM(GL_UNSIGNED_SHORT_8_8_REV_MESA));
3189
4605
  rb_define_const(module, "GL_UPPER_LEFT", INT2NUM(GL_UPPER_LEFT));
4606
+ rb_define_const(module, "GL_USE_MISSING_GLYPH_NV", INT2NUM(GL_USE_MISSING_GLYPH_NV));
4607
+ rb_define_const(module, "GL_UTF16_NV", INT2NUM(GL_UTF16_NV));
4608
+ rb_define_const(module, "GL_UTF8_NV", INT2NUM(GL_UTF8_NV));
3190
4609
  rb_define_const(module, "GL_V2F", INT2NUM(GL_V2F));
3191
4610
  rb_define_const(module, "GL_V3F", INT2NUM(GL_V3F));
3192
4611
  rb_define_const(module, "GL_VALIDATE_STATUS", INT2NUM(GL_VALIDATE_STATUS));
@@ -3204,6 +4623,7 @@ void gl_init_enums(VALUE module)
3204
4623
  rb_define_const(module, "GL_VARIANT_DATATYPE_EXT", INT2NUM(GL_VARIANT_DATATYPE_EXT));
3205
4624
  rb_define_const(module, "GL_VARIANT_EXT", INT2NUM(GL_VARIANT_EXT));
3206
4625
  rb_define_const(module, "GL_VARIANT_VALUE_EXT", INT2NUM(GL_VARIANT_VALUE_EXT));
4626
+ rb_define_const(module, "GL_VBO_FREE_MEMORY_ATI", INT2NUM(GL_VBO_FREE_MEMORY_ATI));
3207
4627
  rb_define_const(module, "GL_VECTOR_EXT", INT2NUM(GL_VECTOR_EXT));
3208
4628
  rb_define_const(module, "GL_VENDOR", INT2NUM(GL_VENDOR));
3209
4629
  rb_define_const(module, "GL_VERSION", INT2NUM(GL_VERSION));
@@ -3215,17 +4635,23 @@ void gl_init_enums(VALUE module)
3215
4635
  rb_define_const(module, "GL_VERSION_2_0", INT2NUM(GL_VERSION_2_0));
3216
4636
  rb_define_const(module, "GL_VERSION_2_1", INT2NUM(GL_VERSION_2_1));
3217
4637
  rb_define_const(module, "GL_VERSION_3_0", INT2NUM(GL_VERSION_3_0));
4638
+ rb_define_const(module, "GL_VERSION_3_1", INT2NUM(GL_VERSION_3_1));
4639
+ rb_define_const(module, "GL_VERSION_3_2", INT2NUM(GL_VERSION_3_2));
3218
4640
  rb_define_const(module, "GL_VERTEX23_BIT_PGI", INT2NUM(GL_VERTEX23_BIT_PGI));
3219
4641
  rb_define_const(module, "GL_VERTEX4_BIT_PGI", INT2NUM(GL_VERTEX4_BIT_PGI));
3220
4642
  rb_define_const(module, "GL_VERTEX_ARRAY", INT2NUM(GL_VERTEX_ARRAY));
4643
+ rb_define_const(module, "GL_VERTEX_ARRAY_ADDRESS_NV", INT2NUM(GL_VERTEX_ARRAY_ADDRESS_NV));
3221
4644
  rb_define_const(module, "GL_VERTEX_ARRAY_BINDING", INT2NUM(GL_VERTEX_ARRAY_BINDING));
3222
4645
  rb_define_const(module, "GL_VERTEX_ARRAY_BINDING_APPLE", INT2NUM(GL_VERTEX_ARRAY_BINDING_APPLE));
3223
4646
  rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING));
3224
4647
  rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING_ARB));
3225
4648
  rb_define_const(module, "GL_VERTEX_ARRAY_COUNT_EXT", INT2NUM(GL_VERTEX_ARRAY_COUNT_EXT));
3226
4649
  rb_define_const(module, "GL_VERTEX_ARRAY_EXT", INT2NUM(GL_VERTEX_ARRAY_EXT));
4650
+ rb_define_const(module, "GL_VERTEX_ARRAY_LENGTH_NV", INT2NUM(GL_VERTEX_ARRAY_LENGTH_NV));
3227
4651
  rb_define_const(module, "GL_VERTEX_ARRAY_LIST_IBM", INT2NUM(GL_VERTEX_ARRAY_LIST_IBM));
3228
4652
  rb_define_const(module, "GL_VERTEX_ARRAY_LIST_STRIDE_IBM", INT2NUM(GL_VERTEX_ARRAY_LIST_STRIDE_IBM));
4653
+ rb_define_const(module, "GL_VERTEX_ARRAY_OBJECT_AMD", INT2NUM(GL_VERTEX_ARRAY_OBJECT_AMD));
4654
+ rb_define_const(module, "GL_VERTEX_ARRAY_OBJECT_EXT", INT2NUM(GL_VERTEX_ARRAY_OBJECT_EXT));
3229
4655
  rb_define_const(module, "GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL", INT2NUM(GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL));
3230
4656
  rb_define_const(module, "GL_VERTEX_ARRAY_POINTER", INT2NUM(GL_VERTEX_ARRAY_POINTER));
3231
4657
  rb_define_const(module, "GL_VERTEX_ARRAY_POINTER_EXT", INT2NUM(GL_VERTEX_ARRAY_POINTER_EXT));
@@ -3260,12 +4686,21 @@ void gl_init_enums(VALUE module)
3260
4686
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY7_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY7_NV));
3261
4687
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY8_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY8_NV));
3262
4688
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY9_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY9_NV));
4689
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV));
4690
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT));
4691
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT));
3263
4692
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING));
3264
4693
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB));
4694
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_DIVISOR));
4695
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE));
4696
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB));
4697
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV));
3265
4698
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED));
3266
4699
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB));
3267
4700
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_INTEGER", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_INTEGER));
3268
4701
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV));
4702
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV));
4703
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_LONG", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_LONG));
3269
4704
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED));
3270
4705
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB));
3271
4706
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_POINTER", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_POINTER));
@@ -3276,6 +4711,22 @@ void gl_init_enums(VALUE module)
3276
4711
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB));
3277
4712
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_TYPE", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_TYPE));
3278
4713
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB));
4714
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV));
4715
+ rb_define_const(module, "GL_VERTEX_ATTRIB_BINDING", INT2NUM(GL_VERTEX_ATTRIB_BINDING));
4716
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP1_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP1_APPLE));
4717
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE));
4718
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE));
4719
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE));
4720
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE));
4721
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP2_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP2_APPLE));
4722
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE));
4723
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE));
4724
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE));
4725
+ rb_define_const(module, "GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE", INT2NUM(GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE));
4726
+ rb_define_const(module, "GL_VERTEX_ATTRIB_RELATIVE_OFFSET", INT2NUM(GL_VERTEX_ATTRIB_RELATIVE_OFFSET));
4727
+ rb_define_const(module, "GL_VERTEX_BINDING_DIVISOR", INT2NUM(GL_VERTEX_BINDING_DIVISOR));
4728
+ rb_define_const(module, "GL_VERTEX_BINDING_OFFSET", INT2NUM(GL_VERTEX_BINDING_OFFSET));
4729
+ rb_define_const(module, "GL_VERTEX_BINDING_STRIDE", INT2NUM(GL_VERTEX_BINDING_STRIDE));
3279
4730
  rb_define_const(module, "GL_VERTEX_BLEND_ARB", INT2NUM(GL_VERTEX_BLEND_ARB));
3280
4731
  rb_define_const(module, "GL_VERTEX_CONSISTENT_HINT_PGI", INT2NUM(GL_VERTEX_CONSISTENT_HINT_PGI));
3281
4732
  rb_define_const(module, "GL_VERTEX_DATA_HINT_PGI", INT2NUM(GL_VERTEX_DATA_HINT_PGI));
@@ -3284,17 +4735,23 @@ void gl_init_enums(VALUE module)
3284
4735
  rb_define_const(module, "GL_VERTEX_PRECLIP_SGIX", INT2NUM(GL_VERTEX_PRECLIP_SGIX));
3285
4736
  rb_define_const(module, "GL_VERTEX_PROGRAM_ARB", INT2NUM(GL_VERTEX_PROGRAM_ARB));
3286
4737
  rb_define_const(module, "GL_VERTEX_PROGRAM_BINDING_NV", INT2NUM(GL_VERTEX_PROGRAM_BINDING_NV));
4738
+ rb_define_const(module, "GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA", INT2NUM(GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA));
4739
+ rb_define_const(module, "GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA", INT2NUM(GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA));
4740
+ rb_define_const(module, "GL_VERTEX_PROGRAM_CALLBACK_MESA", INT2NUM(GL_VERTEX_PROGRAM_CALLBACK_MESA));
3287
4741
  rb_define_const(module, "GL_VERTEX_PROGRAM_NV", INT2NUM(GL_VERTEX_PROGRAM_NV));
3288
4742
  rb_define_const(module, "GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV));
3289
4743
  rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE));
3290
4744
  rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE_ARB", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE_ARB));
3291
4745
  rb_define_const(module, "GL_VERTEX_PROGRAM_POINT_SIZE_NV", INT2NUM(GL_VERTEX_PROGRAM_POINT_SIZE_NV));
4746
+ rb_define_const(module, "GL_VERTEX_PROGRAM_POSITION_MESA", INT2NUM(GL_VERTEX_PROGRAM_POSITION_MESA));
3292
4747
  rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE));
3293
4748
  rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE_ARB", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE_ARB));
3294
4749
  rb_define_const(module, "GL_VERTEX_PROGRAM_TWO_SIDE_NV", INT2NUM(GL_VERTEX_PROGRAM_TWO_SIDE_NV));
3295
4750
  rb_define_const(module, "GL_VERTEX_SHADER", INT2NUM(GL_VERTEX_SHADER));
3296
4751
  rb_define_const(module, "GL_VERTEX_SHADER_ARB", INT2NUM(GL_VERTEX_SHADER_ARB));
3297
4752
  rb_define_const(module, "GL_VERTEX_SHADER_BINDING_EXT", INT2NUM(GL_VERTEX_SHADER_BINDING_EXT));
4753
+ rb_define_const(module, "GL_VERTEX_SHADER_BIT", INT2NUM(GL_VERTEX_SHADER_BIT));
4754
+ rb_define_const(module, "GL_VERTEX_SHADER_BIT_EXT", INT2NUM(GL_VERTEX_SHADER_BIT_EXT));
3298
4755
  rb_define_const(module, "GL_VERTEX_SHADER_EXT", INT2NUM(GL_VERTEX_SHADER_EXT));
3299
4756
  rb_define_const(module, "GL_VERTEX_SHADER_INSTRUCTIONS_EXT", INT2NUM(GL_VERTEX_SHADER_INSTRUCTIONS_EXT));
3300
4757
  rb_define_const(module, "GL_VERTEX_SHADER_INVARIANTS_EXT", INT2NUM(GL_VERTEX_SHADER_INVARIANTS_EXT));
@@ -3312,41 +4769,102 @@ void gl_init_enums(VALUE module)
3312
4769
  rb_define_const(module, "GL_VERTEX_STREAM5_ATI", INT2NUM(GL_VERTEX_STREAM5_ATI));
3313
4770
  rb_define_const(module, "GL_VERTEX_STREAM6_ATI", INT2NUM(GL_VERTEX_STREAM6_ATI));
3314
4771
  rb_define_const(module, "GL_VERTEX_STREAM7_ATI", INT2NUM(GL_VERTEX_STREAM7_ATI));
4772
+ rb_define_const(module, "GL_VERTEX_SUBROUTINE", INT2NUM(GL_VERTEX_SUBROUTINE));
4773
+ rb_define_const(module, "GL_VERTEX_SUBROUTINE_UNIFORM", INT2NUM(GL_VERTEX_SUBROUTINE_UNIFORM));
4774
+ rb_define_const(module, "GL_VERTEX_TEXTURE", INT2NUM(GL_VERTEX_TEXTURE));
3315
4775
  rb_define_const(module, "GL_VERTEX_WEIGHTING_EXT", INT2NUM(GL_VERTEX_WEIGHTING_EXT));
3316
4776
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_EXT));
3317
4777
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT));
3318
4778
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT));
3319
4779
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT));
3320
4780
  rb_define_const(module, "GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT", INT2NUM(GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT));
4781
+ rb_define_const(module, "GL_VERTICAL_LINE_TO_NV", INT2NUM(GL_VERTICAL_LINE_TO_NV));
3321
4782
  rb_define_const(module, "GL_VIBRANCE_BIAS_NV", INT2NUM(GL_VIBRANCE_BIAS_NV));
3322
4783
  rb_define_const(module, "GL_VIBRANCE_SCALE_NV", INT2NUM(GL_VIBRANCE_SCALE_NV));
4784
+ rb_define_const(module, "GL_VIDEO_BUFFER_BINDING_NV", INT2NUM(GL_VIDEO_BUFFER_BINDING_NV));
4785
+ rb_define_const(module, "GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV", INT2NUM(GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV));
4786
+ rb_define_const(module, "GL_VIDEO_BUFFER_NV", INT2NUM(GL_VIDEO_BUFFER_NV));
4787
+ rb_define_const(module, "GL_VIDEO_BUFFER_PITCH_NV", INT2NUM(GL_VIDEO_BUFFER_PITCH_NV));
4788
+ rb_define_const(module, "GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV", INT2NUM(GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV));
4789
+ rb_define_const(module, "GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV", INT2NUM(GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV));
4790
+ rb_define_const(module, "GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV", INT2NUM(GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV));
4791
+ rb_define_const(module, "GL_VIDEO_CAPTURE_FRAME_WIDTH_NV", INT2NUM(GL_VIDEO_CAPTURE_FRAME_WIDTH_NV));
4792
+ rb_define_const(module, "GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV", INT2NUM(GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV));
4793
+ rb_define_const(module, "GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV", INT2NUM(GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV));
4794
+ rb_define_const(module, "GL_VIDEO_COLOR_CONVERSION_MATRIX_NV", INT2NUM(GL_VIDEO_COLOR_CONVERSION_MATRIX_NV));
4795
+ rb_define_const(module, "GL_VIDEO_COLOR_CONVERSION_MAX_NV", INT2NUM(GL_VIDEO_COLOR_CONVERSION_MAX_NV));
4796
+ rb_define_const(module, "GL_VIDEO_COLOR_CONVERSION_MIN_NV", INT2NUM(GL_VIDEO_COLOR_CONVERSION_MIN_NV));
4797
+ rb_define_const(module, "GL_VIDEO_COLOR_CONVERSION_OFFSET_NV", INT2NUM(GL_VIDEO_COLOR_CONVERSION_OFFSET_NV));
3323
4798
  rb_define_const(module, "GL_VIEWPORT", INT2NUM(GL_VIEWPORT));
3324
4799
  rb_define_const(module, "GL_VIEWPORT_BIT", INT2NUM(GL_VIEWPORT_BIT));
4800
+ rb_define_const(module, "GL_VIEWPORT_BOUNDS_RANGE", INT2NUM(GL_VIEWPORT_BOUNDS_RANGE));
4801
+ rb_define_const(module, "GL_VIEWPORT_INDEX_PROVOKING_VERTEX", INT2NUM(GL_VIEWPORT_INDEX_PROVOKING_VERTEX));
4802
+ rb_define_const(module, "GL_VIEWPORT_SUBPIXEL_BITS", INT2NUM(GL_VIEWPORT_SUBPIXEL_BITS));
4803
+ rb_define_const(module, "GL_VIEW_CLASS_128_BITS", INT2NUM(GL_VIEW_CLASS_128_BITS));
4804
+ rb_define_const(module, "GL_VIEW_CLASS_16_BITS", INT2NUM(GL_VIEW_CLASS_16_BITS));
4805
+ rb_define_const(module, "GL_VIEW_CLASS_24_BITS", INT2NUM(GL_VIEW_CLASS_24_BITS));
4806
+ rb_define_const(module, "GL_VIEW_CLASS_32_BITS", INT2NUM(GL_VIEW_CLASS_32_BITS));
4807
+ rb_define_const(module, "GL_VIEW_CLASS_48_BITS", INT2NUM(GL_VIEW_CLASS_48_BITS));
4808
+ rb_define_const(module, "GL_VIEW_CLASS_64_BITS", INT2NUM(GL_VIEW_CLASS_64_BITS));
4809
+ rb_define_const(module, "GL_VIEW_CLASS_8_BITS", INT2NUM(GL_VIEW_CLASS_8_BITS));
4810
+ rb_define_const(module, "GL_VIEW_CLASS_96_BITS", INT2NUM(GL_VIEW_CLASS_96_BITS));
4811
+ rb_define_const(module, "GL_VIEW_CLASS_BPTC_FLOAT", INT2NUM(GL_VIEW_CLASS_BPTC_FLOAT));
4812
+ rb_define_const(module, "GL_VIEW_CLASS_BPTC_UNORM", INT2NUM(GL_VIEW_CLASS_BPTC_UNORM));
4813
+ rb_define_const(module, "GL_VIEW_CLASS_RGTC1_RED", INT2NUM(GL_VIEW_CLASS_RGTC1_RED));
4814
+ rb_define_const(module, "GL_VIEW_CLASS_RGTC2_RG", INT2NUM(GL_VIEW_CLASS_RGTC2_RG));
4815
+ rb_define_const(module, "GL_VIEW_CLASS_S3TC_DXT1_RGB", INT2NUM(GL_VIEW_CLASS_S3TC_DXT1_RGB));
4816
+ rb_define_const(module, "GL_VIEW_CLASS_S3TC_DXT1_RGBA", INT2NUM(GL_VIEW_CLASS_S3TC_DXT1_RGBA));
4817
+ rb_define_const(module, "GL_VIEW_CLASS_S3TC_DXT3_RGBA", INT2NUM(GL_VIEW_CLASS_S3TC_DXT3_RGBA));
4818
+ rb_define_const(module, "GL_VIEW_CLASS_S3TC_DXT5_RGBA", INT2NUM(GL_VIEW_CLASS_S3TC_DXT5_RGBA));
4819
+ rb_define_const(module, "GL_VIEW_COMPATIBILITY_CLASS", INT2NUM(GL_VIEW_COMPATIBILITY_CLASS));
4820
+ rb_define_const(module, "GL_VIRTUAL_PAGE_SIZE_X_AMD", INT2NUM(GL_VIRTUAL_PAGE_SIZE_X_AMD));
4821
+ rb_define_const(module, "GL_VIRTUAL_PAGE_SIZE_Y_AMD", INT2NUM(GL_VIRTUAL_PAGE_SIZE_Y_AMD));
4822
+ rb_define_const(module, "GL_VIRTUAL_PAGE_SIZE_Z_AMD", INT2NUM(GL_VIRTUAL_PAGE_SIZE_Z_AMD));
4823
+ rb_define_const(module, "GL_VOLATILE_APPLE", INT2NUM(GL_VOLATILE_APPLE));
4824
+ rb_define_const(module, "GL_WAIT_FAILED", INT2NUM(GL_WAIT_FAILED));
4825
+ rb_define_const(module, "GL_WAIT_FAILED_APPLE", INT2NUM(GL_WAIT_FAILED_APPLE));
3325
4826
  rb_define_const(module, "GL_WEIGHT_ARRAY_ARB", INT2NUM(GL_WEIGHT_ARRAY_ARB));
3326
4827
  rb_define_const(module, "GL_WEIGHT_ARRAY_BUFFER_BINDING", INT2NUM(GL_WEIGHT_ARRAY_BUFFER_BINDING));
3327
4828
  rb_define_const(module, "GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB));
4829
+ rb_define_const(module, "GL_WEIGHT_ARRAY_BUFFER_BINDING_OES", INT2NUM(GL_WEIGHT_ARRAY_BUFFER_BINDING_OES));
4830
+ rb_define_const(module, "GL_WEIGHT_ARRAY_OES", INT2NUM(GL_WEIGHT_ARRAY_OES));
3328
4831
  rb_define_const(module, "GL_WEIGHT_ARRAY_POINTER_ARB", INT2NUM(GL_WEIGHT_ARRAY_POINTER_ARB));
4832
+ rb_define_const(module, "GL_WEIGHT_ARRAY_POINTER_OES", INT2NUM(GL_WEIGHT_ARRAY_POINTER_OES));
3329
4833
  rb_define_const(module, "GL_WEIGHT_ARRAY_SIZE_ARB", INT2NUM(GL_WEIGHT_ARRAY_SIZE_ARB));
4834
+ rb_define_const(module, "GL_WEIGHT_ARRAY_SIZE_OES", INT2NUM(GL_WEIGHT_ARRAY_SIZE_OES));
3330
4835
  rb_define_const(module, "GL_WEIGHT_ARRAY_STRIDE_ARB", INT2NUM(GL_WEIGHT_ARRAY_STRIDE_ARB));
4836
+ rb_define_const(module, "GL_WEIGHT_ARRAY_STRIDE_OES", INT2NUM(GL_WEIGHT_ARRAY_STRIDE_OES));
3331
4837
  rb_define_const(module, "GL_WEIGHT_ARRAY_TYPE_ARB", INT2NUM(GL_WEIGHT_ARRAY_TYPE_ARB));
4838
+ rb_define_const(module, "GL_WEIGHT_ARRAY_TYPE_OES", INT2NUM(GL_WEIGHT_ARRAY_TYPE_OES));
3332
4839
  rb_define_const(module, "GL_WEIGHT_SUM_UNITY_ARB", INT2NUM(GL_WEIGHT_SUM_UNITY_ARB));
3333
4840
  rb_define_const(module, "GL_WIDE_LINE_HINT_PGI", INT2NUM(GL_WIDE_LINE_HINT_PGI));
3334
4841
  rb_define_const(module, "GL_WRAP_BORDER_SUN", INT2NUM(GL_WRAP_BORDER_SUN));
4842
+ rb_define_const(module, "GL_WRITEONLY_RENDERING_QCOM", INT2NUM(GL_WRITEONLY_RENDERING_QCOM));
4843
+ rb_define_const(module, "GL_WRITE_DISCARD_NV", INT2NUM(GL_WRITE_DISCARD_NV));
3335
4844
  rb_define_const(module, "GL_WRITE_ONLY", INT2NUM(GL_WRITE_ONLY));
3336
4845
  rb_define_const(module, "GL_WRITE_ONLY_ARB", INT2NUM(GL_WRITE_ONLY_ARB));
4846
+ rb_define_const(module, "GL_WRITE_ONLY_OES", INT2NUM(GL_WRITE_ONLY_OES));
3337
4847
  rb_define_const(module, "GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV", INT2NUM(GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV));
3338
4848
  rb_define_const(module, "GL_WRITE_PIXEL_DATA_RANGE_NV", INT2NUM(GL_WRITE_PIXEL_DATA_RANGE_NV));
3339
4849
  rb_define_const(module, "GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV", INT2NUM(GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV));
3340
4850
  rb_define_const(module, "GL_W_EXT", INT2NUM(GL_W_EXT));
3341
4851
  rb_define_const(module, "GL_XOR", INT2NUM(GL_XOR));
3342
4852
  rb_define_const(module, "GL_X_EXT", INT2NUM(GL_X_EXT));
4853
+ rb_define_const(module, "GL_YCBAYCR8A_4224_NV", INT2NUM(GL_YCBAYCR8A_4224_NV));
3343
4854
  rb_define_const(module, "GL_YCBCR_422_APPLE", INT2NUM(GL_YCBCR_422_APPLE));
3344
4855
  rb_define_const(module, "GL_YCBCR_MESA", INT2NUM(GL_YCBCR_MESA));
4856
+ rb_define_const(module, "GL_YCBYCR8_422_NV", INT2NUM(GL_YCBYCR8_422_NV));
3345
4857
  rb_define_const(module, "GL_YCRCBA_SGIX", INT2NUM(GL_YCRCBA_SGIX));
3346
4858
  rb_define_const(module, "GL_YCRCB_422_SGIX", INT2NUM(GL_YCRCB_422_SGIX));
3347
4859
  rb_define_const(module, "GL_YCRCB_444_SGIX", INT2NUM(GL_YCRCB_444_SGIX));
3348
4860
  rb_define_const(module, "GL_YCRCB_SGIX", INT2NUM(GL_YCRCB_SGIX));
3349
4861
  rb_define_const(module, "GL_Y_EXT", INT2NUM(GL_Y_EXT));
4862
+ rb_define_const(module, "GL_Z400_BINARY_AMD", INT2NUM(GL_Z400_BINARY_AMD));
4863
+ rb_define_const(module, "GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV", INT2NUM(GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV));
4864
+ rb_define_const(module, "GL_Z4Y12Z4CB12Z4CR12_444_NV", INT2NUM(GL_Z4Y12Z4CB12Z4CR12_444_NV));
4865
+ rb_define_const(module, "GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV", INT2NUM(GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV));
4866
+ rb_define_const(module, "GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV", INT2NUM(GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV));
4867
+ rb_define_const(module, "GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV", INT2NUM(GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV));
3350
4868
  rb_define_const(module, "GL_ZERO", INT2NUM(GL_ZERO));
3351
4869
  rb_define_const(module, "GL_ZERO_EXT", INT2NUM(GL_ZERO_EXT));
3352
4870
  rb_define_const(module, "GL_ZOOM_X", INT2NUM(GL_ZOOM_X));