ruby-opengl 0.60.0 → 0.60.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/Rakefile +10 -2
  2. data/doc/extensions.txt +556 -0
  3. data/examples/NeHe/nehe_lesson02.rb +0 -0
  4. data/examples/NeHe/nehe_lesson03.rb +0 -0
  5. data/examples/NeHe/nehe_lesson04.rb +0 -0
  6. data/examples/NeHe/nehe_lesson05.rb +0 -0
  7. data/examples/RedBook/aapoly.rb +0 -0
  8. data/examples/RedBook/aargb.rb +0 -0
  9. data/examples/RedBook/accanti.rb +0 -0
  10. data/examples/RedBook/accpersp.rb +0 -0
  11. data/examples/RedBook/alpha.rb +0 -0
  12. data/examples/RedBook/alpha3D.rb +0 -0
  13. data/examples/RedBook/bezcurve.rb +0 -0
  14. data/examples/RedBook/bezmesh.rb +0 -0
  15. data/examples/RedBook/checker.rb +0 -0
  16. data/examples/RedBook/clip.rb +0 -0
  17. data/examples/RedBook/colormat.rb +0 -0
  18. data/examples/RedBook/cube.rb +0 -0
  19. data/examples/RedBook/depthcue.rb +0 -0
  20. data/examples/RedBook/dof.rb +0 -0
  21. data/examples/RedBook/double.rb +0 -0
  22. data/examples/RedBook/drawf.rb +0 -0
  23. data/examples/RedBook/feedback.rb +0 -0
  24. data/examples/RedBook/fog.rb +0 -0
  25. data/examples/RedBook/font.rb +0 -0
  26. data/examples/RedBook/hello.rb +0 -0
  27. data/examples/RedBook/image.rb +0 -0
  28. data/examples/RedBook/jitter.rb +0 -0
  29. data/examples/RedBook/lines.rb +0 -0
  30. data/examples/RedBook/list.rb +0 -0
  31. data/examples/RedBook/material.rb +0 -0
  32. data/examples/RedBook/mipmap.rb +0 -0
  33. data/examples/RedBook/model.rb +0 -0
  34. data/examples/RedBook/movelight.rb +0 -0
  35. data/examples/RedBook/pickdepth.rb +0 -0
  36. data/examples/RedBook/planet.rb +0 -0
  37. data/examples/RedBook/quadric.rb +0 -0
  38. data/examples/RedBook/robot.rb +0 -0
  39. data/examples/RedBook/select.rb +0 -0
  40. data/examples/RedBook/smooth.rb +0 -0
  41. data/examples/RedBook/stencil.rb +0 -0
  42. data/examples/RedBook/stroke.rb +0 -0
  43. data/examples/RedBook/surface.rb +0 -0
  44. data/examples/RedBook/teaambient.rb +0 -0
  45. data/examples/RedBook/teapots.rb +0 -0
  46. data/examples/RedBook/tess.rb +0 -0
  47. data/examples/RedBook/texbind.rb +0 -0
  48. data/examples/RedBook/texgen.rb +0 -0
  49. data/examples/RedBook/texturesurf.rb +0 -0
  50. data/examples/RedBook/varray.rb +0 -0
  51. data/examples/RedBook/wrap.rb +0 -0
  52. data/examples/misc/font-glut.rb +0 -0
  53. data/examples/misc/readpixel.rb +0 -0
  54. data/ext/common/conv.h +3 -3
  55. data/ext/common/funcdef.h +2 -2
  56. data/ext/common/gl-enums.h +885 -9
  57. data/ext/common/glu-enums.h +1 -7
  58. data/ext/gl/gl-1.0-1.1.c +27 -27
  59. data/ext/gl/gl-1.3.c +5 -5
  60. data/ext/gl/gl-1.4.c +6 -6
  61. data/ext/gl/gl-2.0.c +1 -1
  62. data/ext/gl/gl-enums.c +295 -1
  63. data/ext/gl/gl-ext-arb.c +1 -1
  64. data/ext/gl/gl-ext-ati.c +1 -1
  65. data/ext/gl/gl-ext-ext.c +9 -9
  66. data/ext/gl/gl-ext-nv.c +4 -4
  67. data/ext/glu/glu-enums.c +2 -2
  68. data/ext/glu/glu.c +4 -4
  69. data/ext/glut/glut.c +6 -4
  70. data/test/tc_func_12.rb +5 -5
  71. metadata +148 -139
  72. data/examples/misc/md2model.rb +0 -15
@@ -1,4 +1,4 @@
1
- /* This file was genereated on Mon Jul 23 15:17:36 +0200 2007
1
+ /* This file was genereated on Mon Feb 16 18:08:57 +0100 2009
2
2
  source: http://oss.sgi.com/cgi-bin/cvsweb.cgi/~checkout~/projects/ogl-sample/main/doc/registry/specs/enumglu.spec
3
3
  */
4
4
 
@@ -44,9 +44,6 @@
44
44
  #ifndef GLU_EXT_object_space_tess
45
45
  #define GLU_EXT_object_space_tess 1
46
46
  #endif
47
- #ifndef GLU_FALSE
48
- #define GLU_FALSE 0
49
- #endif
50
47
  #ifndef GLU_FILL
51
48
  #define GLU_FILL 100012
52
49
  #endif
@@ -440,9 +437,6 @@
440
437
  #ifndef GLU_TESS_WINDING_RULE
441
438
  #define GLU_TESS_WINDING_RULE 100140
442
439
  #endif
443
- #ifndef GLU_TRUE
444
- #define GLU_TRUE 1
445
- #endif
446
440
  #ifndef GLU_UNKNOWN
447
441
  #define GLU_UNKNOWN 100124
448
442
  #endif
data/ext/gl/gl-1.0-1.1.c CHANGED
@@ -902,7 +902,7 @@ VALUE obj; \
902
902
  rb_raise(rb_eArgError, "Pixel unpack buffer bound, but offset argument missing"); \
903
903
  map = (GLenum)NUM2INT(args[0]); \
904
904
  Check_Type(args[1],T_ARRAY); \
905
- size = RARRAY(args[1])->len; \
905
+ size = RARRAY_LEN(args[1]); \
906
906
  values = ALLOC_N(_vartype_,size); \
907
907
  _convert_(args[1],values,size); \
908
908
  glPixelMap##_type_##v(map,size,values); \
@@ -1985,7 +1985,7 @@ VALUE obj,arg1;
1985
1985
  VALUE ary;
1986
1986
  int i;
1987
1987
  ary = rb_Array(arg1);
1988
- size = RARRAY(ary)->len;
1988
+ size = RARRAY_LEN(ary);
1989
1989
  textures = ALLOC_N(GLuint,size);
1990
1990
  residences = ALLOC_N(GLboolean,size);
1991
1991
  ary2cuint(ary,textures,size);
@@ -2016,7 +2016,7 @@ VALUE obj,arg1,arg2;
2016
2016
  GLsizei size;
2017
2017
  Check_Type(arg1,T_ARRAY);
2018
2018
  Check_Type(arg2,T_ARRAY);
2019
- if ((size = RARRAY(arg1)->len) != RARRAY(arg2)->len)
2019
+ if ((size = RARRAY_LEN(arg1)) != RARRAY_LEN(arg2))
2020
2020
  rb_raise(rb_eArgError, "passed arrays must have the same length");
2021
2021
  textures = ALLOC_N(GLuint,size);
2022
2022
  priorities = ALLOC_N(GLclampf,size);
@@ -2058,15 +2058,15 @@ VALUE obj; \
2058
2058
  case 1: \
2059
2059
  if (TYPE(args[0]) == T_ARRAY) { \
2060
2060
  ary = RARRAY(args[0]); \
2061
- switch (ary->len) { \
2061
+ switch (RARRAY_LEN(ary)) { \
2062
2062
  case 3: \
2063
- gl_Color3##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2]); \
2063
+ gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \
2064
2064
  break; \
2065
2065
  case 4: \
2066
- gl_Color4##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2],ary->ptr[3]); \
2066
+ gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \
2067
2067
  break; \
2068
2068
  default: \
2069
- rb_raise(rb_eArgError, "array length:%li", ary->len); \
2069
+ rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \
2070
2070
  } \
2071
2071
  } \
2072
2072
  else \
@@ -2108,12 +2108,12 @@ VALUE obj; \
2108
2108
  case 1: \
2109
2109
  if (TYPE(args[0]) == T_ARRAY) { \
2110
2110
  ary = RARRAY(args[0]); \
2111
- switch (ary->len) { \
2111
+ switch (RARRAY_LEN(ary)) { \
2112
2112
  case 3: \
2113
- gl_Normal3##_type_(obj,ary->ptr[0], ary->ptr[1],ary->ptr[2]); \
2113
+ gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \
2114
2114
  break; \
2115
2115
  default: \
2116
- rb_raise(rb_eArgError, "array length:%li", ary->len); \
2116
+ rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \
2117
2117
  } \
2118
2118
  } \
2119
2119
  else \
@@ -2149,15 +2149,15 @@ VALUE obj; \
2149
2149
  case 1: \
2150
2150
  if (TYPE(args[0]) == T_ARRAY) { \
2151
2151
  ary = RARRAY(args[0]); \
2152
- switch (ary->len) { \
2152
+ switch (RARRAY_LEN(ary)) { \
2153
2153
  case 2: \
2154
- gl_RasterPos2##_type_(obj,ary->ptr[0],ary->ptr[1]); \
2154
+ gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \
2155
2155
  break; \
2156
2156
  case 3: \
2157
- gl_RasterPos3##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2]); \
2157
+ gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \
2158
2158
  break; \
2159
2159
  case 4: \
2160
- gl_RasterPos4##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2],ary->ptr[3]); \
2160
+ gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \
2161
2161
  break; \
2162
2162
  default: \
2163
2163
  rb_raise(rb_eArgError, "array length:%d", num); \
@@ -2202,12 +2202,12 @@ VALUE obj; \
2202
2202
  if (TYPE(args[0]) == T_ARRAY && TYPE(args[1]) == T_ARRAY) { \
2203
2203
  ary = RARRAY(args[0]); \
2204
2204
  ary2 = RARRAY(args[1]); \
2205
- switch (ary->len) { \
2205
+ switch (RARRAY_LEN(ary)) { \
2206
2206
  case 2: \
2207
- gl_Rect##_type_(obj,ary->ptr[0],ary->ptr[1],ary2->ptr[0],ary2->ptr[1]); \
2207
+ gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \
2208
2208
  break; \
2209
2209
  default: \
2210
- rb_raise(rb_eArgError, "array length:%li", ary->len); \
2210
+ rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \
2211
2211
  } \
2212
2212
  } \
2213
2213
  else \
@@ -2242,18 +2242,18 @@ VALUE obj; \
2242
2242
  case 1: \
2243
2243
  if (TYPE(args[0]) == T_ARRAY) { \
2244
2244
  ary = RARRAY(args[0]); \
2245
- switch (ary->len) { \
2245
+ switch (RARRAY_LEN(ary)) { \
2246
2246
  case 1: \
2247
- gl_TexCoord1##_type_(obj,ary->ptr[0]); \
2247
+ gl_TexCoord1##_type_(obj,RARRAY_PTR(ary)[0]); \
2248
2248
  break; \
2249
2249
  case 2: \
2250
- gl_TexCoord2##_type_(obj,ary->ptr[0],ary->ptr[1]); \
2250
+ gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \
2251
2251
  break; \
2252
2252
  case 3: \
2253
- gl_TexCoord3##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2]); \
2253
+ gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \
2254
2254
  break; \
2255
2255
  case 4: \
2256
- gl_TexCoord4##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2],ary->ptr[3]); \
2256
+ gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \
2257
2257
  break; \
2258
2258
  default: \
2259
2259
  rb_raise(rb_eArgError, "array length:%d", num); \
@@ -2297,18 +2297,18 @@ VALUE obj; \
2297
2297
  case 1: \
2298
2298
  if (TYPE(args[0]) == T_ARRAY) { \
2299
2299
  ary = RARRAY(args[0]); \
2300
- switch (ary->len) { \
2300
+ switch (RARRAY_LEN(ary)) { \
2301
2301
  case 2: \
2302
- gl_Vertex2##_type_(obj,ary->ptr[0],ary->ptr[1]); \
2302
+ gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \
2303
2303
  break; \
2304
2304
  case 3: \
2305
- gl_Vertex3##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2]); \
2305
+ gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \
2306
2306
  break; \
2307
2307
  case 4: \
2308
- gl_Vertex4##_type_(obj,ary->ptr[0],ary->ptr[1],ary->ptr[2],ary->ptr[3]); \
2308
+ gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \
2309
2309
  break; \
2310
2310
  default: \
2311
- rb_raise(rb_eRuntimeError, "glVertex vertex num error!:%li", ary->len); \
2311
+ rb_raise(rb_eRuntimeError, "glVertex vertex num error!:%li", RARRAY_LEN(ary)); \
2312
2312
  } \
2313
2313
  } \
2314
2314
  else \
data/ext/gl/gl-1.3.c CHANGED
@@ -51,18 +51,18 @@ VALUE obj; \
51
51
  case 2: \
52
52
  if (TYPE(args[1]) == T_ARRAY) { \
53
53
  ary = RARRAY(args[1]); \
54
- switch (ary->len) { \
54
+ switch (RARRAY_LEN(ary)) { \
55
55
  case 1: \
56
- gl_MultiTexCoord1##_type_(obj,args[0],ary->ptr[0]); \
56
+ gl_MultiTexCoord1##_type_(obj,args[0],RARRAY_PTR(ary)[0]); \
57
57
  break; \
58
58
  case 2: \
59
- gl_MultiTexCoord2##_type_(obj,args[0],ary->ptr[0],ary->ptr[1]); \
59
+ gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \
60
60
  break; \
61
61
  case 3: \
62
- gl_MultiTexCoord3##_type_(obj,args[0],ary->ptr[0],ary->ptr[1],ary->ptr[2]); \
62
+ gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \
63
63
  break; \
64
64
  case 4: \
65
- gl_MultiTexCoord4##_type_(obj,args[0],ary->ptr[0],ary->ptr[1],ary->ptr[2],ary->ptr[3]); \
65
+ gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \
66
66
  break; \
67
67
  default: \
68
68
  rb_raise(rb_eArgError, "array length:%d", num); \
data/ext/gl/gl-1.4.c CHANGED
@@ -102,8 +102,8 @@ VALUE obj,arg1,arg2,arg3;
102
102
  GLsizei *ary2;
103
103
  int len1,len2;
104
104
  LOAD_GL_FUNC(glMultiDrawArrays,"1.4")
105
- len1 = RARRAY(arg2)->len;
106
- len2 = RARRAY(arg3)->len;
105
+ len1 = RARRAY_LEN(arg2);
106
+ len2 = RARRAY_LEN(arg3);
107
107
  if (len1!=len2)
108
108
  rb_raise(rb_eArgError, "Passed arrays must have same length");
109
109
  mode = (GLenum)NUM2INT(arg1);
@@ -143,12 +143,12 @@ VALUE obj;
143
143
  type = (GLenum)NUM2INT(args[1]);
144
144
  Check_Type(args[2],T_ARRAY);
145
145
  ary = RARRAY(args[2]);
146
- size = ary->len;
146
+ size = RARRAY_LEN(ary);
147
147
  counts = ALLOC_N(GLsizei,size);
148
148
  indices = ALLOC_N(GLvoid*,size);
149
149
  for (i=0;i<size;i++) {
150
150
  VALUE data;
151
- data = pack_array_or_pass_string(type,ary->ptr[i]);
151
+ data = pack_array_or_pass_string(type,RARRAY_PTR(ary)[i]);
152
152
  indices[i] = RSTRING_PTR(data);
153
153
  counts[i] = RSTRING_LEN(data);
154
154
  }
@@ -163,10 +163,10 @@ VALUE obj;
163
163
  type = (GLenum)NUM2INT(args[1]);
164
164
  Check_Type(args[2],T_ARRAY);
165
165
  Check_Type(args[3],T_ARRAY);
166
- if (RARRAY(args[2])->len != RARRAY(args[3])->len)
166
+ if (RARRAY_LEN(args[2]) != RARRAY_LEN(args[3]))
167
167
  rb_raise(rb_eArgError, "Count and indices offset array must have same length");
168
168
 
169
- size = RARRAY(args[2])->len;
169
+ size = RARRAY_LEN(args[2]);
170
170
 
171
171
  counts = ALLOC_N(GLsizei,size);
172
172
  indices = ALLOC_N(GLvoid*,size);
data/ext/gl/gl-2.0.c CHANGED
@@ -64,7 +64,7 @@ VALUE obj,arg1;
64
64
  GLenum *buffers;
65
65
  LOAD_GL_FUNC(glDrawBuffers,"2.0")
66
66
  Check_Type(arg1,T_ARRAY);
67
- size = RARRAY(arg1)->len;
67
+ size = RARRAY_LEN(arg1);
68
68
  buffers = ALLOC_N(GLenum,size);
69
69
  ary2cuint(arg1,buffers,size);
70
70
  fptr_glDrawBuffers(size,buffers);
data/ext/gl/gl-enums.c CHANGED
@@ -1,4 +1,4 @@
1
- /* This file was genereated on Mon Jul 23 13:56:17 +0200 2007
1
+ /* This file was genereated on Mon Feb 16 18:08:56 +0100 2009
2
2
  source: http://www.opengl.org/registry/api/enum.spec
3
3
  source: http://www.opengl.org/registry/api/enumext.spec
4
4
  */
@@ -90,6 +90,7 @@ void gl_init_enums(VALUE module)
90
90
  rb_define_const(module, "GL_ALPHA_BITS", INT2NUM(GL_ALPHA_BITS));
91
91
  rb_define_const(module, "GL_ALPHA_FLOAT16_ATI", INT2NUM(GL_ALPHA_FLOAT16_ATI));
92
92
  rb_define_const(module, "GL_ALPHA_FLOAT32_ATI", INT2NUM(GL_ALPHA_FLOAT32_ATI));
93
+ rb_define_const(module, "GL_ALPHA_INTEGER", INT2NUM(GL_ALPHA_INTEGER));
93
94
  rb_define_const(module, "GL_ALPHA_INTEGER_EXT", INT2NUM(GL_ALPHA_INTEGER_EXT));
94
95
  rb_define_const(module, "GL_ALPHA_MAX_CLAMP_INGR", INT2NUM(GL_ALPHA_MAX_CLAMP_INGR));
95
96
  rb_define_const(module, "GL_ALPHA_MAX_SGIX", INT2NUM(GL_ALPHA_MAX_SGIX));
@@ -145,8 +146,10 @@ void gl_init_enums(VALUE module)
145
146
  rb_define_const(module, "GL_BGR", INT2NUM(GL_BGR));
146
147
  rb_define_const(module, "GL_BGRA", INT2NUM(GL_BGRA));
147
148
  rb_define_const(module, "GL_BGRA_EXT", INT2NUM(GL_BGRA_EXT));
149
+ rb_define_const(module, "GL_BGRA_INTEGER", INT2NUM(GL_BGRA_INTEGER));
148
150
  rb_define_const(module, "GL_BGRA_INTEGER_EXT", INT2NUM(GL_BGRA_INTEGER_EXT));
149
151
  rb_define_const(module, "GL_BGR_EXT", INT2NUM(GL_BGR_EXT));
152
+ rb_define_const(module, "GL_BGR_INTEGER", INT2NUM(GL_BGR_INTEGER));
150
153
  rb_define_const(module, "GL_BGR_INTEGER_EXT", INT2NUM(GL_BGR_INTEGER_EXT));
151
154
  rb_define_const(module, "GL_BIAS_BIT_ATI", INT2NUM(GL_BIAS_BIT_ATI));
152
155
  rb_define_const(module, "GL_BIAS_BY_NEGATIVE_ONE_HALF_NV", INT2NUM(GL_BIAS_BY_NEGATIVE_ONE_HALF_NV));
@@ -179,6 +182,7 @@ void gl_init_enums(VALUE module)
179
182
  rb_define_const(module, "GL_BLUE_BIAS", INT2NUM(GL_BLUE_BIAS));
180
183
  rb_define_const(module, "GL_BLUE_BITS", INT2NUM(GL_BLUE_BITS));
181
184
  rb_define_const(module, "GL_BLUE_BIT_ATI", INT2NUM(GL_BLUE_BIT_ATI));
185
+ rb_define_const(module, "GL_BLUE_INTEGER", INT2NUM(GL_BLUE_INTEGER));
182
186
  rb_define_const(module, "GL_BLUE_INTEGER_EXT", INT2NUM(GL_BLUE_INTEGER_EXT));
183
187
  rb_define_const(module, "GL_BLUE_MAX_CLAMP_INGR", INT2NUM(GL_BLUE_MAX_CLAMP_INGR));
184
188
  rb_define_const(module, "GL_BLUE_MIN_CLAMP_INGR", INT2NUM(GL_BLUE_MIN_CLAMP_INGR));
@@ -217,13 +221,16 @@ void gl_init_enums(VALUE module)
217
221
  rb_define_const(module, "GL_CALLIGRAPHIC_FRAGMENT_SGIX", INT2NUM(GL_CALLIGRAPHIC_FRAGMENT_SGIX));
218
222
  rb_define_const(module, "GL_CCW", INT2NUM(GL_CCW));
219
223
  rb_define_const(module, "GL_CLAMP", INT2NUM(GL_CLAMP));
224
+ rb_define_const(module, "GL_CLAMP_FRAGMENT_COLOR", INT2NUM(GL_CLAMP_FRAGMENT_COLOR));
220
225
  rb_define_const(module, "GL_CLAMP_FRAGMENT_COLOR_ARB", INT2NUM(GL_CLAMP_FRAGMENT_COLOR_ARB));
226
+ rb_define_const(module, "GL_CLAMP_READ_COLOR", INT2NUM(GL_CLAMP_READ_COLOR));
221
227
  rb_define_const(module, "GL_CLAMP_READ_COLOR_ARB", INT2NUM(GL_CLAMP_READ_COLOR_ARB));
222
228
  rb_define_const(module, "GL_CLAMP_TO_BORDER", INT2NUM(GL_CLAMP_TO_BORDER));
223
229
  rb_define_const(module, "GL_CLAMP_TO_BORDER_ARB", INT2NUM(GL_CLAMP_TO_BORDER_ARB));
224
230
  rb_define_const(module, "GL_CLAMP_TO_BORDER_SGIS", INT2NUM(GL_CLAMP_TO_BORDER_SGIS));
225
231
  rb_define_const(module, "GL_CLAMP_TO_EDGE", INT2NUM(GL_CLAMP_TO_EDGE));
226
232
  rb_define_const(module, "GL_CLAMP_TO_EDGE_SGIS", INT2NUM(GL_CLAMP_TO_EDGE_SGIS));
233
+ rb_define_const(module, "GL_CLAMP_VERTEX_COLOR", INT2NUM(GL_CLAMP_VERTEX_COLOR));
227
234
  rb_define_const(module, "GL_CLAMP_VERTEX_COLOR_ARB", INT2NUM(GL_CLAMP_VERTEX_COLOR_ARB));
228
235
  rb_define_const(module, "GL_CLEAR", INT2NUM(GL_CLEAR));
229
236
  rb_define_const(module, "GL_CLIENT_ACTIVE_TEXTURE", INT2NUM(GL_CLIENT_ACTIVE_TEXTURE));
@@ -232,6 +239,12 @@ void gl_init_enums(VALUE module)
232
239
  rb_define_const(module, "GL_CLIENT_ATTRIB_STACK_DEPTH", INT2NUM(GL_CLIENT_ATTRIB_STACK_DEPTH));
233
240
  rb_define_const(module, "GL_CLIENT_PIXEL_STORE_BIT", INT2NUM(GL_CLIENT_PIXEL_STORE_BIT));
234
241
  rb_define_const(module, "GL_CLIENT_VERTEX_ARRAY_BIT", INT2NUM(GL_CLIENT_VERTEX_ARRAY_BIT));
242
+ rb_define_const(module, "GL_CLIP_DISTANCE0", INT2NUM(GL_CLIP_DISTANCE0));
243
+ rb_define_const(module, "GL_CLIP_DISTANCE1", INT2NUM(GL_CLIP_DISTANCE1));
244
+ rb_define_const(module, "GL_CLIP_DISTANCE2", INT2NUM(GL_CLIP_DISTANCE2));
245
+ rb_define_const(module, "GL_CLIP_DISTANCE3", INT2NUM(GL_CLIP_DISTANCE3));
246
+ rb_define_const(module, "GL_CLIP_DISTANCE4", INT2NUM(GL_CLIP_DISTANCE4));
247
+ rb_define_const(module, "GL_CLIP_DISTANCE5", INT2NUM(GL_CLIP_DISTANCE5));
235
248
  rb_define_const(module, "GL_CLIP_DISTANCE_NV", INT2NUM(GL_CLIP_DISTANCE_NV));
236
249
  rb_define_const(module, "GL_CLIP_FAR_HINT_PGI", INT2NUM(GL_CLIP_FAR_HINT_PGI));
237
250
  rb_define_const(module, "GL_CLIP_NEAR_HINT_PGI", INT2NUM(GL_CLIP_NEAR_HINT_PGI));
@@ -267,21 +280,37 @@ void gl_init_enums(VALUE module)
267
280
  rb_define_const(module, "GL_COLOR_ARRAY_STRIDE_EXT", INT2NUM(GL_COLOR_ARRAY_STRIDE_EXT));
268
281
  rb_define_const(module, "GL_COLOR_ARRAY_TYPE", INT2NUM(GL_COLOR_ARRAY_TYPE));
269
282
  rb_define_const(module, "GL_COLOR_ARRAY_TYPE_EXT", INT2NUM(GL_COLOR_ARRAY_TYPE_EXT));
283
+ rb_define_const(module, "GL_COLOR_ATTACHMENT0", INT2NUM(GL_COLOR_ATTACHMENT0));
270
284
  rb_define_const(module, "GL_COLOR_ATTACHMENT0_EXT", INT2NUM(GL_COLOR_ATTACHMENT0_EXT));
285
+ rb_define_const(module, "GL_COLOR_ATTACHMENT1", INT2NUM(GL_COLOR_ATTACHMENT1));
286
+ rb_define_const(module, "GL_COLOR_ATTACHMENT10", INT2NUM(GL_COLOR_ATTACHMENT10));
271
287
  rb_define_const(module, "GL_COLOR_ATTACHMENT10_EXT", INT2NUM(GL_COLOR_ATTACHMENT10_EXT));
288
+ rb_define_const(module, "GL_COLOR_ATTACHMENT11", INT2NUM(GL_COLOR_ATTACHMENT11));
272
289
  rb_define_const(module, "GL_COLOR_ATTACHMENT11_EXT", INT2NUM(GL_COLOR_ATTACHMENT11_EXT));
290
+ rb_define_const(module, "GL_COLOR_ATTACHMENT12", INT2NUM(GL_COLOR_ATTACHMENT12));
273
291
  rb_define_const(module, "GL_COLOR_ATTACHMENT12_EXT", INT2NUM(GL_COLOR_ATTACHMENT12_EXT));
292
+ rb_define_const(module, "GL_COLOR_ATTACHMENT13", INT2NUM(GL_COLOR_ATTACHMENT13));
274
293
  rb_define_const(module, "GL_COLOR_ATTACHMENT13_EXT", INT2NUM(GL_COLOR_ATTACHMENT13_EXT));
294
+ rb_define_const(module, "GL_COLOR_ATTACHMENT14", INT2NUM(GL_COLOR_ATTACHMENT14));
275
295
  rb_define_const(module, "GL_COLOR_ATTACHMENT14_EXT", INT2NUM(GL_COLOR_ATTACHMENT14_EXT));
296
+ rb_define_const(module, "GL_COLOR_ATTACHMENT15", INT2NUM(GL_COLOR_ATTACHMENT15));
276
297
  rb_define_const(module, "GL_COLOR_ATTACHMENT15_EXT", INT2NUM(GL_COLOR_ATTACHMENT15_EXT));
277
298
  rb_define_const(module, "GL_COLOR_ATTACHMENT1_EXT", INT2NUM(GL_COLOR_ATTACHMENT1_EXT));
299
+ rb_define_const(module, "GL_COLOR_ATTACHMENT2", INT2NUM(GL_COLOR_ATTACHMENT2));
278
300
  rb_define_const(module, "GL_COLOR_ATTACHMENT2_EXT", INT2NUM(GL_COLOR_ATTACHMENT2_EXT));
301
+ rb_define_const(module, "GL_COLOR_ATTACHMENT3", INT2NUM(GL_COLOR_ATTACHMENT3));
279
302
  rb_define_const(module, "GL_COLOR_ATTACHMENT3_EXT", INT2NUM(GL_COLOR_ATTACHMENT3_EXT));
303
+ rb_define_const(module, "GL_COLOR_ATTACHMENT4", INT2NUM(GL_COLOR_ATTACHMENT4));
280
304
  rb_define_const(module, "GL_COLOR_ATTACHMENT4_EXT", INT2NUM(GL_COLOR_ATTACHMENT4_EXT));
305
+ rb_define_const(module, "GL_COLOR_ATTACHMENT5", INT2NUM(GL_COLOR_ATTACHMENT5));
281
306
  rb_define_const(module, "GL_COLOR_ATTACHMENT5_EXT", INT2NUM(GL_COLOR_ATTACHMENT5_EXT));
307
+ rb_define_const(module, "GL_COLOR_ATTACHMENT6", INT2NUM(GL_COLOR_ATTACHMENT6));
282
308
  rb_define_const(module, "GL_COLOR_ATTACHMENT6_EXT", INT2NUM(GL_COLOR_ATTACHMENT6_EXT));
309
+ rb_define_const(module, "GL_COLOR_ATTACHMENT7", INT2NUM(GL_COLOR_ATTACHMENT7));
283
310
  rb_define_const(module, "GL_COLOR_ATTACHMENT7_EXT", INT2NUM(GL_COLOR_ATTACHMENT7_EXT));
311
+ rb_define_const(module, "GL_COLOR_ATTACHMENT8", INT2NUM(GL_COLOR_ATTACHMENT8));
284
312
  rb_define_const(module, "GL_COLOR_ATTACHMENT8_EXT", INT2NUM(GL_COLOR_ATTACHMENT8_EXT));
313
+ rb_define_const(module, "GL_COLOR_ATTACHMENT9", INT2NUM(GL_COLOR_ATTACHMENT9));
285
314
  rb_define_const(module, "GL_COLOR_ATTACHMENT9_EXT", INT2NUM(GL_COLOR_ATTACHMENT9_EXT));
286
315
  rb_define_const(module, "GL_COLOR_BUFFER_BIT", INT2NUM(GL_COLOR_BUFFER_BIT));
287
316
  rb_define_const(module, "GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI", INT2NUM(GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI));
@@ -359,7 +388,9 @@ void gl_init_enums(VALUE module)
359
388
  rb_define_const(module, "GL_COMBINE_RGB_ARB", INT2NUM(GL_COMBINE_RGB_ARB));
360
389
  rb_define_const(module, "GL_COMBINE_RGB_EXT", INT2NUM(GL_COMBINE_RGB_EXT));
361
390
  rb_define_const(module, "GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT", INT2NUM(GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT));
391
+ rb_define_const(module, "GL_COMPARE_REF_TO_TEXTURE", INT2NUM(GL_COMPARE_REF_TO_TEXTURE));
362
392
  rb_define_const(module, "GL_COMPARE_R_TO_TEXTURE", INT2NUM(GL_COMPARE_R_TO_TEXTURE));
393
+ rb_define_const(module, "GL_COMPARE_R_TO_TEXTURE_ARB", INT2NUM(GL_COMPARE_R_TO_TEXTURE_ARB));
363
394
  rb_define_const(module, "GL_COMPILE", INT2NUM(GL_COMPILE));
364
395
  rb_define_const(module, "GL_COMPILE_AND_EXECUTE", INT2NUM(GL_COMPILE_AND_EXECUTE));
365
396
  rb_define_const(module, "GL_COMPILE_STATUS", INT2NUM(GL_COMPILE_STATUS));
@@ -373,8 +404,11 @@ void gl_init_enums(VALUE module)
373
404
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT", INT2NUM(GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT));
374
405
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_ARB", INT2NUM(GL_COMPRESSED_LUMINANCE_ARB));
375
406
  rb_define_const(module, "GL_COMPRESSED_LUMINANCE_LATC1_EXT", INT2NUM(GL_COMPRESSED_LUMINANCE_LATC1_EXT));
407
+ rb_define_const(module, "GL_COMPRESSED_RED", INT2NUM(GL_COMPRESSED_RED));
376
408
  rb_define_const(module, "GL_COMPRESSED_RED_GREEN_RGTC2_EXT", INT2NUM(GL_COMPRESSED_RED_GREEN_RGTC2_EXT));
409
+ rb_define_const(module, "GL_COMPRESSED_RED_RGTC1", INT2NUM(GL_COMPRESSED_RED_RGTC1));
377
410
  rb_define_const(module, "GL_COMPRESSED_RED_RGTC1_EXT", INT2NUM(GL_COMPRESSED_RED_RGTC1_EXT));
411
+ rb_define_const(module, "GL_COMPRESSED_RG", INT2NUM(GL_COMPRESSED_RG));
378
412
  rb_define_const(module, "GL_COMPRESSED_RGB", INT2NUM(GL_COMPRESSED_RGB));
379
413
  rb_define_const(module, "GL_COMPRESSED_RGBA", INT2NUM(GL_COMPRESSED_RGBA));
380
414
  rb_define_const(module, "GL_COMPRESSED_RGBA_ARB", INT2NUM(GL_COMPRESSED_RGBA_ARB));
@@ -385,10 +419,13 @@ void gl_init_enums(VALUE module)
385
419
  rb_define_const(module, "GL_COMPRESSED_RGB_ARB", INT2NUM(GL_COMPRESSED_RGB_ARB));
386
420
  rb_define_const(module, "GL_COMPRESSED_RGB_FXT1_3DFX", INT2NUM(GL_COMPRESSED_RGB_FXT1_3DFX));
387
421
  rb_define_const(module, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", INT2NUM(GL_COMPRESSED_RGB_S3TC_DXT1_EXT));
422
+ rb_define_const(module, "GL_COMPRESSED_RG_RGTC2", INT2NUM(GL_COMPRESSED_RG_RGTC2));
388
423
  rb_define_const(module, "GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT", INT2NUM(GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT));
389
424
  rb_define_const(module, "GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT", INT2NUM(GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT));
390
425
  rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT", INT2NUM(GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT));
426
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_RGTC1", INT2NUM(GL_COMPRESSED_SIGNED_RED_RGTC1));
391
427
  rb_define_const(module, "GL_COMPRESSED_SIGNED_RED_RGTC1_EXT", INT2NUM(GL_COMPRESSED_SIGNED_RED_RGTC1_EXT));
428
+ rb_define_const(module, "GL_COMPRESSED_SIGNED_RG_RGTC2", INT2NUM(GL_COMPRESSED_SIGNED_RG_RGTC2));
392
429
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE", INT2NUM(GL_COMPRESSED_SLUMINANCE));
393
430
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA));
394
431
  rb_define_const(module, "GL_COMPRESSED_SLUMINANCE_ALPHA_EXT", INT2NUM(GL_COMPRESSED_SLUMINANCE_ALPHA_EXT));
@@ -418,6 +455,8 @@ void gl_init_enums(VALUE module)
418
455
  rb_define_const(module, "GL_CONSTANT_COLOR_EXT", INT2NUM(GL_CONSTANT_COLOR_EXT));
419
456
  rb_define_const(module, "GL_CONSTANT_EXT", INT2NUM(GL_CONSTANT_EXT));
420
457
  rb_define_const(module, "GL_CONST_EYE_NV", INT2NUM(GL_CONST_EYE_NV));
458
+ rb_define_const(module, "GL_CONTEXT_FLAGS", INT2NUM(GL_CONTEXT_FLAGS));
459
+ rb_define_const(module, "GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT", INT2NUM(GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT));
421
460
  rb_define_const(module, "GL_CONVOLUTION_1D", INT2NUM(GL_CONVOLUTION_1D));
422
461
  rb_define_const(module, "GL_CONVOLUTION_1D_EXT", INT2NUM(GL_CONVOLUTION_1D_EXT));
423
462
  rb_define_const(module, "GL_CONVOLUTION_2D", INT2NUM(GL_CONVOLUTION_2D));
@@ -516,6 +555,7 @@ void gl_init_enums(VALUE module)
516
555
  rb_define_const(module, "GL_CURRENT_SECONDARY_COLOR_EXT", INT2NUM(GL_CURRENT_SECONDARY_COLOR_EXT));
517
556
  rb_define_const(module, "GL_CURRENT_TANGENT_EXT", INT2NUM(GL_CURRENT_TANGENT_EXT));
518
557
  rb_define_const(module, "GL_CURRENT_TEXTURE_COORDS", INT2NUM(GL_CURRENT_TEXTURE_COORDS));
558
+ rb_define_const(module, "GL_CURRENT_TIME_NV", INT2NUM(GL_CURRENT_TIME_NV));
519
559
  rb_define_const(module, "GL_CURRENT_VERTEX_ATTRIB", INT2NUM(GL_CURRENT_VERTEX_ATTRIB));
520
560
  rb_define_const(module, "GL_CURRENT_VERTEX_ATTRIB_ARB", INT2NUM(GL_CURRENT_VERTEX_ATTRIB_ARB));
521
561
  rb_define_const(module, "GL_CURRENT_VERTEX_EXT", INT2NUM(GL_CURRENT_VERTEX_EXT));
@@ -534,13 +574,17 @@ void gl_init_enums(VALUE module)
534
574
  rb_define_const(module, "GL_DEPENDENT_RGB_TEXTURE_3D_NV", INT2NUM(GL_DEPENDENT_RGB_TEXTURE_3D_NV));
535
575
  rb_define_const(module, "GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV", INT2NUM(GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV));
536
576
  rb_define_const(module, "GL_DEPTH", INT2NUM(GL_DEPTH));
577
+ rb_define_const(module, "GL_DEPTH24_STENCIL8", INT2NUM(GL_DEPTH24_STENCIL8));
537
578
  rb_define_const(module, "GL_DEPTH24_STENCIL8_EXT", INT2NUM(GL_DEPTH24_STENCIL8_EXT));
579
+ rb_define_const(module, "GL_DEPTH32F_STENCIL8", INT2NUM(GL_DEPTH32F_STENCIL8));
538
580
  rb_define_const(module, "GL_DEPTH32F_STENCIL8_NV", INT2NUM(GL_DEPTH32F_STENCIL8_NV));
581
+ rb_define_const(module, "GL_DEPTH_ATTACHMENT", INT2NUM(GL_DEPTH_ATTACHMENT));
539
582
  rb_define_const(module, "GL_DEPTH_ATTACHMENT_EXT", INT2NUM(GL_DEPTH_ATTACHMENT_EXT));
540
583
  rb_define_const(module, "GL_DEPTH_BIAS", INT2NUM(GL_DEPTH_BIAS));
541
584
  rb_define_const(module, "GL_DEPTH_BITS", INT2NUM(GL_DEPTH_BITS));
542
585
  rb_define_const(module, "GL_DEPTH_BOUNDS_EXT", INT2NUM(GL_DEPTH_BOUNDS_EXT));
543
586
  rb_define_const(module, "GL_DEPTH_BOUNDS_TEST_EXT", INT2NUM(GL_DEPTH_BOUNDS_TEST_EXT));
587
+ rb_define_const(module, "GL_DEPTH_BUFFER", INT2NUM(GL_DEPTH_BUFFER));
544
588
  rb_define_const(module, "GL_DEPTH_BUFFER_BIT", INT2NUM(GL_DEPTH_BUFFER_BIT));
545
589
  rb_define_const(module, "GL_DEPTH_BUFFER_FLOAT_MODE_NV", INT2NUM(GL_DEPTH_BUFFER_FLOAT_MODE_NV));
546
590
  rb_define_const(module, "GL_DEPTH_CLAMP_NV", INT2NUM(GL_DEPTH_CLAMP_NV));
@@ -553,6 +597,7 @@ void gl_init_enums(VALUE module)
553
597
  rb_define_const(module, "GL_DEPTH_COMPONENT24_ARB", INT2NUM(GL_DEPTH_COMPONENT24_ARB));
554
598
  rb_define_const(module, "GL_DEPTH_COMPONENT24_SGIX", INT2NUM(GL_DEPTH_COMPONENT24_SGIX));
555
599
  rb_define_const(module, "GL_DEPTH_COMPONENT32", INT2NUM(GL_DEPTH_COMPONENT32));
600
+ rb_define_const(module, "GL_DEPTH_COMPONENT32F", INT2NUM(GL_DEPTH_COMPONENT32F));
556
601
  rb_define_const(module, "GL_DEPTH_COMPONENT32F_NV", INT2NUM(GL_DEPTH_COMPONENT32F_NV));
557
602
  rb_define_const(module, "GL_DEPTH_COMPONENT32_ARB", INT2NUM(GL_DEPTH_COMPONENT32_ARB));
558
603
  rb_define_const(module, "GL_DEPTH_COMPONENT32_SGIX", INT2NUM(GL_DEPTH_COMPONENT32_SGIX));
@@ -562,6 +607,8 @@ void gl_init_enums(VALUE module)
562
607
  rb_define_const(module, "GL_DEPTH_PASS_INSTRUMENT_SGIX", INT2NUM(GL_DEPTH_PASS_INSTRUMENT_SGIX));
563
608
  rb_define_const(module, "GL_DEPTH_RANGE", INT2NUM(GL_DEPTH_RANGE));
564
609
  rb_define_const(module, "GL_DEPTH_SCALE", INT2NUM(GL_DEPTH_SCALE));
610
+ rb_define_const(module, "GL_DEPTH_STENCIL", INT2NUM(GL_DEPTH_STENCIL));
611
+ rb_define_const(module, "GL_DEPTH_STENCIL_ATTACHMENT", INT2NUM(GL_DEPTH_STENCIL_ATTACHMENT));
565
612
  rb_define_const(module, "GL_DEPTH_STENCIL_EXT", INT2NUM(GL_DEPTH_STENCIL_EXT));
566
613
  rb_define_const(module, "GL_DEPTH_STENCIL_NV", INT2NUM(GL_DEPTH_STENCIL_NV));
567
614
  rb_define_const(module, "GL_DEPTH_STENCIL_TO_BGRA_NV", INT2NUM(GL_DEPTH_STENCIL_TO_BGRA_NV));
@@ -656,6 +703,8 @@ void gl_init_enums(VALUE module)
656
703
  rb_define_const(module, "GL_DRAW_BUFFER9", INT2NUM(GL_DRAW_BUFFER9));
657
704
  rb_define_const(module, "GL_DRAW_BUFFER9_ARB", INT2NUM(GL_DRAW_BUFFER9_ARB));
658
705
  rb_define_const(module, "GL_DRAW_BUFFER9_ATI", INT2NUM(GL_DRAW_BUFFER9_ATI));
706
+ rb_define_const(module, "GL_DRAW_FRAMEBUFFER", INT2NUM(GL_DRAW_FRAMEBUFFER));
707
+ rb_define_const(module, "GL_DRAW_FRAMEBUFFER_BINDING", INT2NUM(GL_DRAW_FRAMEBUFFER_BINDING));
659
708
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_DRAW_FRAMEBUFFER_BINDING_EXT));
660
709
  rb_define_const(module, "GL_DRAW_FRAMEBUFFER_EXT", INT2NUM(GL_DRAW_FRAMEBUFFER_EXT));
661
710
  rb_define_const(module, "GL_DRAW_PIXELS_APPLE", INT2NUM(GL_DRAW_PIXELS_APPLE));
@@ -789,11 +838,14 @@ void gl_init_enums(VALUE module)
789
838
  rb_define_const(module, "GL_FENCE_APPLE", INT2NUM(GL_FENCE_APPLE));
790
839
  rb_define_const(module, "GL_FENCE_CONDITION_NV", INT2NUM(GL_FENCE_CONDITION_NV));
791
840
  rb_define_const(module, "GL_FENCE_STATUS_NV", INT2NUM(GL_FENCE_STATUS_NV));
841
+ rb_define_const(module, "GL_FIELDS_NV", INT2NUM(GL_FIELDS_NV));
792
842
  rb_define_const(module, "GL_FILL", INT2NUM(GL_FILL));
793
843
  rb_define_const(module, "GL_FILTER4_SGIS", INT2NUM(GL_FILTER4_SGIS));
844
+ rb_define_const(module, "GL_FIXED_ONLY", INT2NUM(GL_FIXED_ONLY));
794
845
  rb_define_const(module, "GL_FIXED_ONLY_ARB", INT2NUM(GL_FIXED_ONLY_ARB));
795
846
  rb_define_const(module, "GL_FLAT", INT2NUM(GL_FLAT));
796
847
  rb_define_const(module, "GL_FLOAT", INT2NUM(GL_FLOAT));
848
+ rb_define_const(module, "GL_FLOAT_32_UNSIGNED_INT_24_8_REV", INT2NUM(GL_FLOAT_32_UNSIGNED_INT_24_8_REV));
797
849
  rb_define_const(module, "GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV", INT2NUM(GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV));
798
850
  rb_define_const(module, "GL_FLOAT_CLEAR_COLOR_VALUE_NV", INT2NUM(GL_FLOAT_CLEAR_COLOR_VALUE_NV));
799
851
  rb_define_const(module, "GL_FLOAT_MAT2", INT2NUM(GL_FLOAT_MAT2));
@@ -901,30 +953,59 @@ void gl_init_enums(VALUE module)
901
953
  rb_define_const(module, "GL_FRAGMENT_SHADER_ATI", INT2NUM(GL_FRAGMENT_SHADER_ATI));
902
954
  rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT));
903
955
  rb_define_const(module, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB", INT2NUM(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB));
956
+ rb_define_const(module, "GL_FRAMEBUFFER", INT2NUM(GL_FRAMEBUFFER));
957
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE));
958
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE));
959
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING));
960
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE));
961
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE));
962
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE));
963
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB));
904
964
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT));
965
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME));
905
966
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT));
967
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE));
906
968
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT));
969
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE));
970
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE));
907
971
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT));
972
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE));
908
973
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT));
974
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER));
909
975
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT));
976
+ rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL));
910
977
  rb_define_const(module, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT", INT2NUM(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT));
978
+ rb_define_const(module, "GL_FRAMEBUFFER_BINDING", INT2NUM(GL_FRAMEBUFFER_BINDING));
911
979
  rb_define_const(module, "GL_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_FRAMEBUFFER_BINDING_EXT));
980
+ rb_define_const(module, "GL_FRAMEBUFFER_COMPLETE", INT2NUM(GL_FRAMEBUFFER_COMPLETE));
912
981
  rb_define_const(module, "GL_FRAMEBUFFER_COMPLETE_EXT", INT2NUM(GL_FRAMEBUFFER_COMPLETE_EXT));
982
+ rb_define_const(module, "GL_FRAMEBUFFER_DEFAULT", INT2NUM(GL_FRAMEBUFFER_DEFAULT));
913
983
  rb_define_const(module, "GL_FRAMEBUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_EXT));
984
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT));
914
985
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT));
915
986
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT));
987
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER));
916
988
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT));
917
989
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT));
990
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB));
918
991
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT));
992
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB));
919
993
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT));
994
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT));
920
995
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT));
996
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE));
921
997
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT));
998
+ rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER));
922
999
  rb_define_const(module, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT", INT2NUM(GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT));
1000
+ rb_define_const(module, "GL_FRAMEBUFFER_SRGB", INT2NUM(GL_FRAMEBUFFER_SRGB));
923
1001
  rb_define_const(module, "GL_FRAMEBUFFER_SRGB_CAPABLE_EXT", INT2NUM(GL_FRAMEBUFFER_SRGB_CAPABLE_EXT));
924
1002
  rb_define_const(module, "GL_FRAMEBUFFER_SRGB_EXT", INT2NUM(GL_FRAMEBUFFER_SRGB_EXT));
1003
+ rb_define_const(module, "GL_FRAMEBUFFER_UNDEFINED", INT2NUM(GL_FRAMEBUFFER_UNDEFINED));
1004
+ rb_define_const(module, "GL_FRAMEBUFFER_UNSUPPORTED", INT2NUM(GL_FRAMEBUFFER_UNSUPPORTED));
925
1005
  rb_define_const(module, "GL_FRAMEBUFFER_UNSUPPORTED_EXT", INT2NUM(GL_FRAMEBUFFER_UNSUPPORTED_EXT));
926
1006
  rb_define_const(module, "GL_FRAMEZOOM_FACTOR_SGIX", INT2NUM(GL_FRAMEZOOM_FACTOR_SGIX));
927
1007
  rb_define_const(module, "GL_FRAMEZOOM_SGIX", INT2NUM(GL_FRAMEZOOM_SGIX));
1008
+ rb_define_const(module, "GL_FRAME_NV", INT2NUM(GL_FRAME_NV));
928
1009
  rb_define_const(module, "GL_FRONT", INT2NUM(GL_FRONT));
929
1010
  rb_define_const(module, "GL_FRONT_AND_BACK", INT2NUM(GL_FRONT_AND_BACK));
930
1011
  rb_define_const(module, "GL_FRONT_FACE", INT2NUM(GL_FRONT_FACE));
@@ -945,11 +1026,15 @@ void gl_init_enums(VALUE module)
945
1026
  rb_define_const(module, "GL_GENERIC_ATTRIB_NV", INT2NUM(GL_GENERIC_ATTRIB_NV));
946
1027
  rb_define_const(module, "GL_GEOMETRY_DEFORMATION_BIT_SGIX", INT2NUM(GL_GEOMETRY_DEFORMATION_BIT_SGIX));
947
1028
  rb_define_const(module, "GL_GEOMETRY_DEFORMATION_SGIX", INT2NUM(GL_GEOMETRY_DEFORMATION_SGIX));
1029
+ rb_define_const(module, "GL_GEOMETRY_INPUT_TYPE_ARB", INT2NUM(GL_GEOMETRY_INPUT_TYPE_ARB));
948
1030
  rb_define_const(module, "GL_GEOMETRY_INPUT_TYPE_EXT", INT2NUM(GL_GEOMETRY_INPUT_TYPE_EXT));
1031
+ rb_define_const(module, "GL_GEOMETRY_OUTPUT_TYPE_ARB", INT2NUM(GL_GEOMETRY_OUTPUT_TYPE_ARB));
949
1032
  rb_define_const(module, "GL_GEOMETRY_OUTPUT_TYPE_EXT", INT2NUM(GL_GEOMETRY_OUTPUT_TYPE_EXT));
950
1033
  rb_define_const(module, "GL_GEOMETRY_PROGRAM_NV", INT2NUM(GL_GEOMETRY_PROGRAM_NV));
951
1034
  rb_define_const(module, "GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV", INT2NUM(GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV));
1035
+ rb_define_const(module, "GL_GEOMETRY_SHADER_ARB", INT2NUM(GL_GEOMETRY_SHADER_ARB));
952
1036
  rb_define_const(module, "GL_GEOMETRY_SHADER_EXT", INT2NUM(GL_GEOMETRY_SHADER_EXT));
1037
+ rb_define_const(module, "GL_GEOMETRY_VERTICES_OUT_ARB", INT2NUM(GL_GEOMETRY_VERTICES_OUT_ARB));
953
1038
  rb_define_const(module, "GL_GEOMETRY_VERTICES_OUT_EXT", INT2NUM(GL_GEOMETRY_VERTICES_OUT_EXT));
954
1039
  rb_define_const(module, "GL_GEQUAL", INT2NUM(GL_GEQUAL));
955
1040
  rb_define_const(module, "GL_GLOBAL_ALPHA_FACTOR_SUN", INT2NUM(GL_GLOBAL_ALPHA_FACTOR_SUN));
@@ -959,6 +1044,7 @@ void gl_init_enums(VALUE module)
959
1044
  rb_define_const(module, "GL_GREEN_BIAS", INT2NUM(GL_GREEN_BIAS));
960
1045
  rb_define_const(module, "GL_GREEN_BITS", INT2NUM(GL_GREEN_BITS));
961
1046
  rb_define_const(module, "GL_GREEN_BIT_ATI", INT2NUM(GL_GREEN_BIT_ATI));
1047
+ rb_define_const(module, "GL_GREEN_INTEGER", INT2NUM(GL_GREEN_INTEGER));
962
1048
  rb_define_const(module, "GL_GREEN_INTEGER_EXT", INT2NUM(GL_GREEN_INTEGER_EXT));
963
1049
  rb_define_const(module, "GL_GREEN_MAX_CLAMP_INGR", INT2NUM(GL_GREEN_MAX_CLAMP_INGR));
964
1050
  rb_define_const(module, "GL_GREEN_MIN_CLAMP_INGR", INT2NUM(GL_GREEN_MIN_CLAMP_INGR));
@@ -966,6 +1052,7 @@ void gl_init_enums(VALUE module)
966
1052
  rb_define_const(module, "GL_HALF_BIAS_NEGATE_NV", INT2NUM(GL_HALF_BIAS_NEGATE_NV));
967
1053
  rb_define_const(module, "GL_HALF_BIAS_NORMAL_NV", INT2NUM(GL_HALF_BIAS_NORMAL_NV));
968
1054
  rb_define_const(module, "GL_HALF_BIT_ATI", INT2NUM(GL_HALF_BIT_ATI));
1055
+ rb_define_const(module, "GL_HALF_FLOAT", INT2NUM(GL_HALF_FLOAT));
969
1056
  rb_define_const(module, "GL_HALF_FLOAT_ARB", INT2NUM(GL_HALF_FLOAT_ARB));
970
1057
  rb_define_const(module, "GL_HALF_FLOAT_NV", INT2NUM(GL_HALF_FLOAT_NV));
971
1058
  rb_define_const(module, "GL_HILO16_NV", INT2NUM(GL_HILO16_NV));
@@ -1010,6 +1097,7 @@ void gl_init_enums(VALUE module)
1010
1097
  rb_define_const(module, "GL_INCR", INT2NUM(GL_INCR));
1011
1098
  rb_define_const(module, "GL_INCR_WRAP", INT2NUM(GL_INCR_WRAP));
1012
1099
  rb_define_const(module, "GL_INCR_WRAP_EXT", INT2NUM(GL_INCR_WRAP_EXT));
1100
+ rb_define_const(module, "GL_INDEX", INT2NUM(GL_INDEX));
1013
1101
  rb_define_const(module, "GL_INDEX_ARRAY", INT2NUM(GL_INDEX_ARRAY));
1014
1102
  rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING));
1015
1103
  rb_define_const(module, "GL_INDEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_INDEX_ARRAY_BUFFER_BINDING_ARB));
@@ -1065,18 +1153,27 @@ void gl_init_enums(VALUE module)
1065
1153
  rb_define_const(module, "GL_INTERLACE_READ_INGR", INT2NUM(GL_INTERLACE_READ_INGR));
1066
1154
  rb_define_const(module, "GL_INTERLACE_READ_OML", INT2NUM(GL_INTERLACE_READ_OML));
1067
1155
  rb_define_const(module, "GL_INTERLACE_SGIX", INT2NUM(GL_INTERLACE_SGIX));
1156
+ rb_define_const(module, "GL_INTERLEAVED_ATTRIBS", INT2NUM(GL_INTERLEAVED_ATTRIBS));
1157
+ rb_define_const(module, "GL_INTERLEAVED_ATTRIBS_EXT", INT2NUM(GL_INTERLEAVED_ATTRIBS_EXT));
1068
1158
  rb_define_const(module, "GL_INTERLEAVED_ATTRIBS_NV", INT2NUM(GL_INTERLEAVED_ATTRIBS_NV));
1069
1159
  rb_define_const(module, "GL_INTERPOLATE", INT2NUM(GL_INTERPOLATE));
1070
1160
  rb_define_const(module, "GL_INTERPOLATE_ARB", INT2NUM(GL_INTERPOLATE_ARB));
1071
1161
  rb_define_const(module, "GL_INTERPOLATE_EXT", INT2NUM(GL_INTERPOLATE_EXT));
1162
+ rb_define_const(module, "GL_INT_SAMPLER_1D", INT2NUM(GL_INT_SAMPLER_1D));
1163
+ rb_define_const(module, "GL_INT_SAMPLER_1D_ARRAY", INT2NUM(GL_INT_SAMPLER_1D_ARRAY));
1072
1164
  rb_define_const(module, "GL_INT_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_INT_SAMPLER_1D_ARRAY_EXT));
1073
1165
  rb_define_const(module, "GL_INT_SAMPLER_1D_EXT", INT2NUM(GL_INT_SAMPLER_1D_EXT));
1166
+ rb_define_const(module, "GL_INT_SAMPLER_2D", INT2NUM(GL_INT_SAMPLER_2D));
1167
+ rb_define_const(module, "GL_INT_SAMPLER_2D_ARRAY", INT2NUM(GL_INT_SAMPLER_2D_ARRAY));
1074
1168
  rb_define_const(module, "GL_INT_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_INT_SAMPLER_2D_ARRAY_EXT));
1075
1169
  rb_define_const(module, "GL_INT_SAMPLER_2D_EXT", INT2NUM(GL_INT_SAMPLER_2D_EXT));
1076
1170
  rb_define_const(module, "GL_INT_SAMPLER_2D_RECT_EXT", INT2NUM(GL_INT_SAMPLER_2D_RECT_EXT));
1171
+ rb_define_const(module, "GL_INT_SAMPLER_3D", INT2NUM(GL_INT_SAMPLER_3D));
1077
1172
  rb_define_const(module, "GL_INT_SAMPLER_3D_EXT", INT2NUM(GL_INT_SAMPLER_3D_EXT));
1078
1173
  rb_define_const(module, "GL_INT_SAMPLER_BUFFER_EXT", INT2NUM(GL_INT_SAMPLER_BUFFER_EXT));
1174
+ rb_define_const(module, "GL_INT_SAMPLER_CUBE", INT2NUM(GL_INT_SAMPLER_CUBE));
1079
1175
  rb_define_const(module, "GL_INT_SAMPLER_CUBE_EXT", INT2NUM(GL_INT_SAMPLER_CUBE_EXT));
1176
+ rb_define_const(module, "GL_INT_SAMPLER_RENDERBUFFER_NV", INT2NUM(GL_INT_SAMPLER_RENDERBUFFER_NV));
1080
1177
  rb_define_const(module, "GL_INT_VEC2", INT2NUM(GL_INT_VEC2));
1081
1178
  rb_define_const(module, "GL_INT_VEC2_ARB", INT2NUM(GL_INT_VEC2_ARB));
1082
1179
  rb_define_const(module, "GL_INT_VEC3", INT2NUM(GL_INT_VEC3));
@@ -1084,6 +1181,7 @@ void gl_init_enums(VALUE module)
1084
1181
  rb_define_const(module, "GL_INT_VEC4", INT2NUM(GL_INT_VEC4));
1085
1182
  rb_define_const(module, "GL_INT_VEC4_ARB", INT2NUM(GL_INT_VEC4_ARB));
1086
1183
  rb_define_const(module, "GL_INVALID_ENUM", INT2NUM(GL_INVALID_ENUM));
1184
+ rb_define_const(module, "GL_INVALID_FRAMEBUFFER_OPERATION", INT2NUM(GL_INVALID_FRAMEBUFFER_OPERATION));
1087
1185
  rb_define_const(module, "GL_INVALID_FRAMEBUFFER_OPERATION_EXT", INT2NUM(GL_INVALID_FRAMEBUFFER_OPERATION_EXT));
1088
1186
  rb_define_const(module, "GL_INVALID_OPERATION", INT2NUM(GL_INVALID_OPERATION));
1089
1187
  rb_define_const(module, "GL_INVALID_VALUE", INT2NUM(GL_INVALID_VALUE));
@@ -1135,6 +1233,7 @@ void gl_init_enums(VALUE module)
1135
1233
  rb_define_const(module, "GL_LINEAR_SHARPEN_COLOR_SGIS", INT2NUM(GL_LINEAR_SHARPEN_COLOR_SGIS));
1136
1234
  rb_define_const(module, "GL_LINEAR_SHARPEN_SGIS", INT2NUM(GL_LINEAR_SHARPEN_SGIS));
1137
1235
  rb_define_const(module, "GL_LINES", INT2NUM(GL_LINES));
1236
+ rb_define_const(module, "GL_LINES_ADJACENCY_ARB", INT2NUM(GL_LINES_ADJACENCY_ARB));
1138
1237
  rb_define_const(module, "GL_LINES_ADJACENCY_EXT", INT2NUM(GL_LINES_ADJACENCY_EXT));
1139
1238
  rb_define_const(module, "GL_LINE_BIT", INT2NUM(GL_LINE_BIT));
1140
1239
  rb_define_const(module, "GL_LINE_LOOP", INT2NUM(GL_LINE_LOOP));
@@ -1145,6 +1244,7 @@ void gl_init_enums(VALUE module)
1145
1244
  rb_define_const(module, "GL_LINE_STIPPLE_PATTERN", INT2NUM(GL_LINE_STIPPLE_PATTERN));
1146
1245
  rb_define_const(module, "GL_LINE_STIPPLE_REPEAT", INT2NUM(GL_LINE_STIPPLE_REPEAT));
1147
1246
  rb_define_const(module, "GL_LINE_STRIP", INT2NUM(GL_LINE_STRIP));
1247
+ rb_define_const(module, "GL_LINE_STRIP_ADJACENCY_ARB", INT2NUM(GL_LINE_STRIP_ADJACENCY_ARB));
1148
1248
  rb_define_const(module, "GL_LINE_STRIP_ADJACENCY_EXT", INT2NUM(GL_LINE_STRIP_ADJACENCY_EXT));
1149
1249
  rb_define_const(module, "GL_LINE_TOKEN", INT2NUM(GL_LINE_TOKEN));
1150
1250
  rb_define_const(module, "GL_LINE_WIDTH", INT2NUM(GL_LINE_WIDTH));
@@ -1213,6 +1313,7 @@ void gl_init_enums(VALUE module)
1213
1313
  rb_define_const(module, "GL_MAD_ATI", INT2NUM(GL_MAD_ATI));
1214
1314
  rb_define_const(module, "GL_MAGNITUDE_BIAS_NV", INT2NUM(GL_MAGNITUDE_BIAS_NV));
1215
1315
  rb_define_const(module, "GL_MAGNITUDE_SCALE_NV", INT2NUM(GL_MAGNITUDE_SCALE_NV));
1316
+ rb_define_const(module, "GL_MAJOR_VERSION", INT2NUM(GL_MAJOR_VERSION));
1216
1317
  rb_define_const(module, "GL_MAP1_BINORMAL_EXT", INT2NUM(GL_MAP1_BINORMAL_EXT));
1217
1318
  rb_define_const(module, "GL_MAP1_COLOR_4", INT2NUM(GL_MAP1_COLOR_4));
1218
1319
  rb_define_const(module, "GL_MAP1_GRID_DOMAIN", INT2NUM(GL_MAP1_GRID_DOMAIN));
@@ -1274,8 +1375,14 @@ void gl_init_enums(VALUE module)
1274
1375
  rb_define_const(module, "GL_MAP_ATTRIB_U_ORDER_NV", INT2NUM(GL_MAP_ATTRIB_U_ORDER_NV));
1275
1376
  rb_define_const(module, "GL_MAP_ATTRIB_V_ORDER_NV", INT2NUM(GL_MAP_ATTRIB_V_ORDER_NV));
1276
1377
  rb_define_const(module, "GL_MAP_COLOR", INT2NUM(GL_MAP_COLOR));
1378
+ rb_define_const(module, "GL_MAP_FLUSH_EXPLICIT_BIT", INT2NUM(GL_MAP_FLUSH_EXPLICIT_BIT));
1379
+ rb_define_const(module, "GL_MAP_INVALIDATE_BUFFER_BIT", INT2NUM(GL_MAP_INVALIDATE_BUFFER_BIT));
1380
+ rb_define_const(module, "GL_MAP_INVALIDATE_RANGE_BIT", INT2NUM(GL_MAP_INVALIDATE_RANGE_BIT));
1381
+ rb_define_const(module, "GL_MAP_READ_BIT", INT2NUM(GL_MAP_READ_BIT));
1277
1382
  rb_define_const(module, "GL_MAP_STENCIL", INT2NUM(GL_MAP_STENCIL));
1278
1383
  rb_define_const(module, "GL_MAP_TESSELLATION_NV", INT2NUM(GL_MAP_TESSELLATION_NV));
1384
+ rb_define_const(module, "GL_MAP_UNSYNCHRONIZED_BIT", INT2NUM(GL_MAP_UNSYNCHRONIZED_BIT));
1385
+ rb_define_const(module, "GL_MAP_WRITE_BIT", INT2NUM(GL_MAP_WRITE_BIT));
1279
1386
  rb_define_const(module, "GL_MATERIAL_SIDE_HINT_PGI", INT2NUM(GL_MATERIAL_SIDE_HINT_PGI));
1280
1387
  rb_define_const(module, "GL_MATRIX0_ARB", INT2NUM(GL_MATRIX0_ARB));
1281
1388
  rb_define_const(module, "GL_MATRIX0_NV", INT2NUM(GL_MATRIX0_NV));
@@ -1337,6 +1444,7 @@ void gl_init_enums(VALUE module)
1337
1444
  rb_define_const(module, "GL_MAX_3D_TEXTURE_SIZE_EXT", INT2NUM(GL_MAX_3D_TEXTURE_SIZE_EXT));
1338
1445
  rb_define_const(module, "GL_MAX_4D_TEXTURE_SIZE_SGIS", INT2NUM(GL_MAX_4D_TEXTURE_SIZE_SGIS));
1339
1446
  rb_define_const(module, "GL_MAX_ACTIVE_LIGHTS_SGIX", INT2NUM(GL_MAX_ACTIVE_LIGHTS_SGIX));
1447
+ rb_define_const(module, "GL_MAX_ARRAY_TEXTURE_LAYERS", INT2NUM(GL_MAX_ARRAY_TEXTURE_LAYERS));
1340
1448
  rb_define_const(module, "GL_MAX_ARRAY_TEXTURE_LAYERS_EXT", INT2NUM(GL_MAX_ARRAY_TEXTURE_LAYERS_EXT));
1341
1449
  rb_define_const(module, "GL_MAX_ASYNC_DRAW_PIXELS_SGIX", INT2NUM(GL_MAX_ASYNC_DRAW_PIXELS_SGIX));
1342
1450
  rb_define_const(module, "GL_MAX_ASYNC_HISTOGRAM_SGIX", INT2NUM(GL_MAX_ASYNC_HISTOGRAM_SGIX));
@@ -1347,7 +1455,9 @@ void gl_init_enums(VALUE module)
1347
1455
  rb_define_const(module, "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", INT2NUM(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH));
1348
1456
  rb_define_const(module, "GL_MAX_CLIPMAP_DEPTH_SGIX", INT2NUM(GL_MAX_CLIPMAP_DEPTH_SGIX));
1349
1457
  rb_define_const(module, "GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX", INT2NUM(GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX));
1458
+ rb_define_const(module, "GL_MAX_CLIP_DISTANCES", INT2NUM(GL_MAX_CLIP_DISTANCES));
1350
1459
  rb_define_const(module, "GL_MAX_CLIP_PLANES", INT2NUM(GL_MAX_CLIP_PLANES));
1460
+ rb_define_const(module, "GL_MAX_COLOR_ATTACHMENTS", INT2NUM(GL_MAX_COLOR_ATTACHMENTS));
1351
1461
  rb_define_const(module, "GL_MAX_COLOR_ATTACHMENTS_EXT", INT2NUM(GL_MAX_COLOR_ATTACHMENTS_EXT));
1352
1462
  rb_define_const(module, "GL_MAX_COLOR_MATRIX_STACK_DEPTH", INT2NUM(GL_MAX_COLOR_MATRIX_STACK_DEPTH));
1353
1463
  rb_define_const(module, "GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI", INT2NUM(GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI));
@@ -1379,10 +1489,15 @@ void gl_init_enums(VALUE module)
1379
1489
  rb_define_const(module, "GL_MAX_FRAMEZOOM_FACTOR_SGIX", INT2NUM(GL_MAX_FRAMEZOOM_FACTOR_SGIX));
1380
1490
  rb_define_const(module, "GL_MAX_GENERAL_COMBINERS_NV", INT2NUM(GL_MAX_GENERAL_COMBINERS_NV));
1381
1491
  rb_define_const(module, "GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT", INT2NUM(GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT));
1492
+ rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB));
1382
1493
  rb_define_const(module, "GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT", INT2NUM(GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT));
1494
+ rb_define_const(module, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB", INT2NUM(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB));
1383
1495
  rb_define_const(module, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT", INT2NUM(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT));
1496
+ rb_define_const(module, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB", INT2NUM(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB));
1384
1497
  rb_define_const(module, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT));
1498
+ rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB));
1385
1499
  rb_define_const(module, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT));
1500
+ rb_define_const(module, "GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB", INT2NUM(GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB));
1386
1501
  rb_define_const(module, "GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT));
1387
1502
  rb_define_const(module, "GL_MAX_LIGHTS", INT2NUM(GL_MAX_LIGHTS));
1388
1503
  rb_define_const(module, "GL_MAX_LIST_NESTING", INT2NUM(GL_MAX_LIST_NESTING));
@@ -1430,6 +1545,7 @@ void gl_init_enums(VALUE module)
1430
1545
  rb_define_const(module, "GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV", INT2NUM(GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV));
1431
1546
  rb_define_const(module, "GL_MAX_PROGRAM_RESULT_COMPONENTS_NV", INT2NUM(GL_MAX_PROGRAM_RESULT_COMPONENTS_NV));
1432
1547
  rb_define_const(module, "GL_MAX_PROGRAM_TEMPORARIES_ARB", INT2NUM(GL_MAX_PROGRAM_TEMPORARIES_ARB));
1548
+ rb_define_const(module, "GL_MAX_PROGRAM_TEXEL_OFFSET", INT2NUM(GL_MAX_PROGRAM_TEXEL_OFFSET));
1433
1549
  rb_define_const(module, "GL_MAX_PROGRAM_TEXEL_OFFSET_NV", INT2NUM(GL_MAX_PROGRAM_TEXEL_OFFSET_NV));
1434
1550
  rb_define_const(module, "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB));
1435
1551
  rb_define_const(module, "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB", INT2NUM(GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB));
@@ -1438,10 +1554,14 @@ void gl_init_enums(VALUE module)
1438
1554
  rb_define_const(module, "GL_MAX_RATIONAL_EVAL_ORDER_NV", INT2NUM(GL_MAX_RATIONAL_EVAL_ORDER_NV));
1439
1555
  rb_define_const(module, "GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB", INT2NUM(GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB));
1440
1556
  rb_define_const(module, "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV", INT2NUM(GL_MAX_RECTANGLE_TEXTURE_SIZE_NV));
1557
+ rb_define_const(module, "GL_MAX_RENDERBUFFER_SIZE", INT2NUM(GL_MAX_RENDERBUFFER_SIZE));
1441
1558
  rb_define_const(module, "GL_MAX_RENDERBUFFER_SIZE_EXT", INT2NUM(GL_MAX_RENDERBUFFER_SIZE_EXT));
1559
+ rb_define_const(module, "GL_MAX_SAMPLES", INT2NUM(GL_MAX_SAMPLES));
1442
1560
  rb_define_const(module, "GL_MAX_SAMPLES_EXT", INT2NUM(GL_MAX_SAMPLES_EXT));
1561
+ rb_define_const(module, "GL_MAX_SAMPLE_MASK_WORDS_NV", INT2NUM(GL_MAX_SAMPLE_MASK_WORDS_NV));
1443
1562
  rb_define_const(module, "GL_MAX_SHININESS_NV", INT2NUM(GL_MAX_SHININESS_NV));
1444
1563
  rb_define_const(module, "GL_MAX_SPOT_EXPONENT_NV", INT2NUM(GL_MAX_SPOT_EXPONENT_NV));
1564
+ rb_define_const(module, "GL_MAX_TEXTURE_BUFFER_SIZE_ARB", INT2NUM(GL_MAX_TEXTURE_BUFFER_SIZE_ARB));
1445
1565
  rb_define_const(module, "GL_MAX_TEXTURE_BUFFER_SIZE_EXT", INT2NUM(GL_MAX_TEXTURE_BUFFER_SIZE_EXT));
1446
1566
  rb_define_const(module, "GL_MAX_TEXTURE_COORDS", INT2NUM(GL_MAX_TEXTURE_COORDS));
1447
1567
  rb_define_const(module, "GL_MAX_TEXTURE_COORDS_ARB", INT2NUM(GL_MAX_TEXTURE_COORDS_ARB));
@@ -1459,8 +1579,15 @@ void gl_init_enums(VALUE module)
1459
1579
  rb_define_const(module, "GL_MAX_TRACK_MATRICES_NV", INT2NUM(GL_MAX_TRACK_MATRICES_NV));
1460
1580
  rb_define_const(module, "GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV", INT2NUM(GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV));
1461
1581
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV));
1582
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS));
1583
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT));
1584
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS));
1585
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT));
1462
1586
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV));
1587
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS));
1588
+ rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT));
1463
1589
  rb_define_const(module, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV", INT2NUM(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV));
1590
+ rb_define_const(module, "GL_MAX_VARYING_COMPONENTS", INT2NUM(GL_MAX_VARYING_COMPONENTS));
1464
1591
  rb_define_const(module, "GL_MAX_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_VARYING_COMPONENTS_EXT));
1465
1592
  rb_define_const(module, "GL_MAX_VARYING_FLOATS", INT2NUM(GL_MAX_VARYING_FLOATS));
1466
1593
  rb_define_const(module, "GL_MAX_VARYING_FLOATS_ARB", INT2NUM(GL_MAX_VARYING_FLOATS_ARB));
@@ -1480,6 +1607,7 @@ void gl_init_enums(VALUE module)
1480
1607
  rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS));
1481
1608
  rb_define_const(module, "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB", INT2NUM(GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB));
1482
1609
  rb_define_const(module, "GL_MAX_VERTEX_UNITS_ARB", INT2NUM(GL_MAX_VERTEX_UNITS_ARB));
1610
+ rb_define_const(module, "GL_MAX_VERTEX_VARYING_COMPONENTS_ARB", INT2NUM(GL_MAX_VERTEX_VARYING_COMPONENTS_ARB));
1483
1611
  rb_define_const(module, "GL_MAX_VERTEX_VARYING_COMPONENTS_EXT", INT2NUM(GL_MAX_VERTEX_VARYING_COMPONENTS_EXT));
1484
1612
  rb_define_const(module, "GL_MAX_VIEWPORT_DIMS", INT2NUM(GL_MAX_VIEWPORT_DIMS));
1485
1613
  rb_define_const(module, "GL_MIN", INT2NUM(GL_MIN));
@@ -1489,7 +1617,9 @@ void gl_init_enums(VALUE module)
1489
1617
  rb_define_const(module, "GL_MINMAX_FORMAT_EXT", INT2NUM(GL_MINMAX_FORMAT_EXT));
1490
1618
  rb_define_const(module, "GL_MINMAX_SINK", INT2NUM(GL_MINMAX_SINK));
1491
1619
  rb_define_const(module, "GL_MINMAX_SINK_EXT", INT2NUM(GL_MINMAX_SINK_EXT));
1620
+ rb_define_const(module, "GL_MINOR_VERSION", INT2NUM(GL_MINOR_VERSION));
1492
1621
  rb_define_const(module, "GL_MIN_EXT", INT2NUM(GL_MIN_EXT));
1622
+ rb_define_const(module, "GL_MIN_PROGRAM_TEXEL_OFFSET", INT2NUM(GL_MIN_PROGRAM_TEXEL_OFFSET));
1493
1623
  rb_define_const(module, "GL_MIN_PROGRAM_TEXEL_OFFSET_NV", INT2NUM(GL_MIN_PROGRAM_TEXEL_OFFSET_NV));
1494
1624
  rb_define_const(module, "GL_MIRRORED_REPEAT", INT2NUM(GL_MIRRORED_REPEAT));
1495
1625
  rb_define_const(module, "GL_MIRRORED_REPEAT_ARB", INT2NUM(GL_MIRRORED_REPEAT_ARB));
@@ -1607,6 +1737,8 @@ void gl_init_enums(VALUE module)
1607
1737
  rb_define_const(module, "GL_NO_ERROR", INT2NUM(GL_NO_ERROR));
1608
1738
  rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS));
1609
1739
  rb_define_const(module, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB", INT2NUM(GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB));
1740
+ rb_define_const(module, "GL_NUM_EXTENSIONS", INT2NUM(GL_NUM_EXTENSIONS));
1741
+ rb_define_const(module, "GL_NUM_FILL_STREAMS_NV", INT2NUM(GL_NUM_FILL_STREAMS_NV));
1610
1742
  rb_define_const(module, "GL_NUM_FRAGMENT_CONSTANTS_ATI", INT2NUM(GL_NUM_FRAGMENT_CONSTANTS_ATI));
1611
1743
  rb_define_const(module, "GL_NUM_FRAGMENT_REGISTERS_ATI", INT2NUM(GL_NUM_FRAGMENT_REGISTERS_ATI));
1612
1744
  rb_define_const(module, "GL_NUM_GENERAL_COMBINERS_NV", INT2NUM(GL_NUM_GENERAL_COMBINERS_NV));
@@ -1936,6 +2068,8 @@ void gl_init_enums(VALUE module)
1936
2068
  rb_define_const(module, "GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX", INT2NUM(GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX));
1937
2069
  rb_define_const(module, "GL_POST_TEXTURE_FILTER_SCALE_SGIX", INT2NUM(GL_POST_TEXTURE_FILTER_SCALE_SGIX));
1938
2070
  rb_define_const(module, "GL_PREFER_DOUBLEBUFFER_HINT_PGI", INT2NUM(GL_PREFER_DOUBLEBUFFER_HINT_PGI));
2071
+ rb_define_const(module, "GL_PRESENT_DURATION_NV", INT2NUM(GL_PRESENT_DURATION_NV));
2072
+ rb_define_const(module, "GL_PRESENT_TIME_NV", INT2NUM(GL_PRESENT_TIME_NV));
1939
2073
  rb_define_const(module, "GL_PRESERVE_ATI", INT2NUM(GL_PRESERVE_ATI));
1940
2074
  rb_define_const(module, "GL_PREVIOUS", INT2NUM(GL_PREVIOUS));
1941
2075
  rb_define_const(module, "GL_PREVIOUS_ARB", INT2NUM(GL_PREVIOUS_ARB));
@@ -1945,6 +2079,8 @@ void gl_init_enums(VALUE module)
1945
2079
  rb_define_const(module, "GL_PRIMARY_COLOR_ARB", INT2NUM(GL_PRIMARY_COLOR_ARB));
1946
2080
  rb_define_const(module, "GL_PRIMARY_COLOR_EXT", INT2NUM(GL_PRIMARY_COLOR_EXT));
1947
2081
  rb_define_const(module, "GL_PRIMARY_COLOR_NV", INT2NUM(GL_PRIMARY_COLOR_NV));
2082
+ rb_define_const(module, "GL_PRIMITIVES_GENERATED", INT2NUM(GL_PRIMITIVES_GENERATED));
2083
+ rb_define_const(module, "GL_PRIMITIVES_GENERATED_EXT", INT2NUM(GL_PRIMITIVES_GENERATED_EXT));
1948
2084
  rb_define_const(module, "GL_PRIMITIVES_GENERATED_NV", INT2NUM(GL_PRIMITIVES_GENERATED_NV));
1949
2085
  rb_define_const(module, "GL_PRIMITIVE_ID_NV", INT2NUM(GL_PRIMITIVE_ID_NV));
1950
2086
  rb_define_const(module, "GL_PRIMITIVE_RESTART_INDEX_NV", INT2NUM(GL_PRIMITIVE_RESTART_INDEX_NV));
@@ -1963,6 +2099,8 @@ void gl_init_enums(VALUE module)
1963
2099
  rb_define_const(module, "GL_PROGRAM_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_INSTRUCTIONS_ARB));
1964
2100
  rb_define_const(module, "GL_PROGRAM_LENGTH_ARB", INT2NUM(GL_PROGRAM_LENGTH_ARB));
1965
2101
  rb_define_const(module, "GL_PROGRAM_LENGTH_NV", INT2NUM(GL_PROGRAM_LENGTH_NV));
2102
+ rb_define_const(module, "GL_PROGRAM_MATRIX_EXT", INT2NUM(GL_PROGRAM_MATRIX_EXT));
2103
+ rb_define_const(module, "GL_PROGRAM_MATRIX_STACK_DEPTH_EXT", INT2NUM(GL_PROGRAM_MATRIX_STACK_DEPTH_EXT));
1966
2104
  rb_define_const(module, "GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB", INT2NUM(GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB));
1967
2105
  rb_define_const(module, "GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB", INT2NUM(GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB));
1968
2106
  rb_define_const(module, "GL_PROGRAM_NATIVE_ATTRIBS_ARB", INT2NUM(GL_PROGRAM_NATIVE_ATTRIBS_ARB));
@@ -1974,6 +2112,7 @@ void gl_init_enums(VALUE module)
1974
2112
  rb_define_const(module, "GL_PROGRAM_OBJECT_ARB", INT2NUM(GL_PROGRAM_OBJECT_ARB));
1975
2113
  rb_define_const(module, "GL_PROGRAM_PARAMETERS_ARB", INT2NUM(GL_PROGRAM_PARAMETERS_ARB));
1976
2114
  rb_define_const(module, "GL_PROGRAM_PARAMETER_NV", INT2NUM(GL_PROGRAM_PARAMETER_NV));
2115
+ rb_define_const(module, "GL_PROGRAM_POINT_SIZE_ARB", INT2NUM(GL_PROGRAM_POINT_SIZE_ARB));
1977
2116
  rb_define_const(module, "GL_PROGRAM_POINT_SIZE_EXT", INT2NUM(GL_PROGRAM_POINT_SIZE_EXT));
1978
2117
  rb_define_const(module, "GL_PROGRAM_RESIDENT_NV", INT2NUM(GL_PROGRAM_RESIDENT_NV));
1979
2118
  rb_define_const(module, "GL_PROGRAM_RESULT_COMPONENTS_NV", INT2NUM(GL_PROGRAM_RESULT_COMPONENTS_NV));
@@ -1997,10 +2136,12 @@ void gl_init_enums(VALUE module)
1997
2136
  rb_define_const(module, "GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI", INT2NUM(GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI));
1998
2137
  rb_define_const(module, "GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP", INT2NUM(GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP));
1999
2138
  rb_define_const(module, "GL_PROXY_TEXTURE_1D", INT2NUM(GL_PROXY_TEXTURE_1D));
2139
+ rb_define_const(module, "GL_PROXY_TEXTURE_1D_ARRAY", INT2NUM(GL_PROXY_TEXTURE_1D_ARRAY));
2000
2140
  rb_define_const(module, "GL_PROXY_TEXTURE_1D_ARRAY_EXT", INT2NUM(GL_PROXY_TEXTURE_1D_ARRAY_EXT));
2001
2141
  rb_define_const(module, "GL_PROXY_TEXTURE_1D_EXT", INT2NUM(GL_PROXY_TEXTURE_1D_EXT));
2002
2142
  rb_define_const(module, "GL_PROXY_TEXTURE_1D_STACK_MESAX", INT2NUM(GL_PROXY_TEXTURE_1D_STACK_MESAX));
2003
2143
  rb_define_const(module, "GL_PROXY_TEXTURE_2D", INT2NUM(GL_PROXY_TEXTURE_2D));
2144
+ rb_define_const(module, "GL_PROXY_TEXTURE_2D_ARRAY", INT2NUM(GL_PROXY_TEXTURE_2D_ARRAY));
2004
2145
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_ARRAY_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_ARRAY_EXT));
2005
2146
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_EXT", INT2NUM(GL_PROXY_TEXTURE_2D_EXT));
2006
2147
  rb_define_const(module, "GL_PROXY_TEXTURE_2D_STACK_MESAX", INT2NUM(GL_PROXY_TEXTURE_2D_STACK_MESAX));
@@ -2026,14 +2167,27 @@ void gl_init_enums(VALUE module)
2026
2167
  rb_define_const(module, "GL_QUAD_STRIP", INT2NUM(GL_QUAD_STRIP));
2027
2168
  rb_define_const(module, "GL_QUAD_TEXTURE_SELECT_SGIS", INT2NUM(GL_QUAD_TEXTURE_SELECT_SGIS));
2028
2169
  rb_define_const(module, "GL_QUARTER_BIT_ATI", INT2NUM(GL_QUARTER_BIT_ATI));
2170
+ rb_define_const(module, "GL_QUERY_BY_REGION_NO_WAIT", INT2NUM(GL_QUERY_BY_REGION_NO_WAIT));
2171
+ rb_define_const(module, "GL_QUERY_BY_REGION_NO_WAIT_NV", INT2NUM(GL_QUERY_BY_REGION_NO_WAIT_NV));
2172
+ rb_define_const(module, "GL_QUERY_BY_REGION_WAIT", INT2NUM(GL_QUERY_BY_REGION_WAIT));
2173
+ rb_define_const(module, "GL_QUERY_BY_REGION_WAIT_NV", INT2NUM(GL_QUERY_BY_REGION_WAIT_NV));
2029
2174
  rb_define_const(module, "GL_QUERY_COUNTER_BITS", INT2NUM(GL_QUERY_COUNTER_BITS));
2030
2175
  rb_define_const(module, "GL_QUERY_COUNTER_BITS_ARB", INT2NUM(GL_QUERY_COUNTER_BITS_ARB));
2176
+ rb_define_const(module, "GL_QUERY_NO_WAIT", INT2NUM(GL_QUERY_NO_WAIT));
2177
+ rb_define_const(module, "GL_QUERY_NO_WAIT_NV", INT2NUM(GL_QUERY_NO_WAIT_NV));
2031
2178
  rb_define_const(module, "GL_QUERY_RESULT", INT2NUM(GL_QUERY_RESULT));
2032
2179
  rb_define_const(module, "GL_QUERY_RESULT_ARB", INT2NUM(GL_QUERY_RESULT_ARB));
2033
2180
  rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE", INT2NUM(GL_QUERY_RESULT_AVAILABLE));
2034
2181
  rb_define_const(module, "GL_QUERY_RESULT_AVAILABLE_ARB", INT2NUM(GL_QUERY_RESULT_AVAILABLE_ARB));
2182
+ rb_define_const(module, "GL_QUERY_WAIT", INT2NUM(GL_QUERY_WAIT));
2183
+ rb_define_const(module, "GL_QUERY_WAIT_NV", INT2NUM(GL_QUERY_WAIT_NV));
2035
2184
  rb_define_const(module, "GL_R", INT2NUM(GL_R));
2185
+ rb_define_const(module, "GL_R11F_G11F_B10F", INT2NUM(GL_R11F_G11F_B10F));
2036
2186
  rb_define_const(module, "GL_R11F_G11F_B10F_EXT", INT2NUM(GL_R11F_G11F_B10F_EXT));
2187
+ rb_define_const(module, "GL_R16", INT2NUM(GL_R16));
2188
+ rb_define_const(module, "GL_R16F", INT2NUM(GL_R16F));
2189
+ rb_define_const(module, "GL_R16I", INT2NUM(GL_R16I));
2190
+ rb_define_const(module, "GL_R16UI", INT2NUM(GL_R16UI));
2037
2191
  rb_define_const(module, "GL_R1UI_C3F_V3F_SUN", INT2NUM(GL_R1UI_C3F_V3F_SUN));
2038
2192
  rb_define_const(module, "GL_R1UI_C4F_N3F_V3F_SUN", INT2NUM(GL_R1UI_C4F_N3F_V3F_SUN));
2039
2193
  rb_define_const(module, "GL_R1UI_C4UB_V3F_SUN", INT2NUM(GL_R1UI_C4UB_V3F_SUN));
@@ -2042,10 +2196,20 @@ void gl_init_enums(VALUE module)
2042
2196
  rb_define_const(module, "GL_R1UI_T2F_N3F_V3F_SUN", INT2NUM(GL_R1UI_T2F_N3F_V3F_SUN));
2043
2197
  rb_define_const(module, "GL_R1UI_T2F_V3F_SUN", INT2NUM(GL_R1UI_T2F_V3F_SUN));
2044
2198
  rb_define_const(module, "GL_R1UI_V3F_SUN", INT2NUM(GL_R1UI_V3F_SUN));
2199
+ rb_define_const(module, "GL_R32F", INT2NUM(GL_R32F));
2200
+ rb_define_const(module, "GL_R32I", INT2NUM(GL_R32I));
2201
+ rb_define_const(module, "GL_R32UI", INT2NUM(GL_R32UI));
2045
2202
  rb_define_const(module, "GL_R3_G3_B2", INT2NUM(GL_R3_G3_B2));
2203
+ rb_define_const(module, "GL_R8", INT2NUM(GL_R8));
2204
+ rb_define_const(module, "GL_R8I", INT2NUM(GL_R8I));
2205
+ rb_define_const(module, "GL_R8UI", INT2NUM(GL_R8UI));
2206
+ rb_define_const(module, "GL_RASTERIZER_DISCARD", INT2NUM(GL_RASTERIZER_DISCARD));
2207
+ rb_define_const(module, "GL_RASTERIZER_DISCARD_EXT", INT2NUM(GL_RASTERIZER_DISCARD_EXT));
2046
2208
  rb_define_const(module, "GL_RASTERIZER_DISCARD_NV", INT2NUM(GL_RASTERIZER_DISCARD_NV));
2047
2209
  rb_define_const(module, "GL_RASTER_POSITION_UNCLIPPED_IBM", INT2NUM(GL_RASTER_POSITION_UNCLIPPED_IBM));
2048
2210
  rb_define_const(module, "GL_READ_BUFFER", INT2NUM(GL_READ_BUFFER));
2211
+ rb_define_const(module, "GL_READ_FRAMEBUFFER", INT2NUM(GL_READ_FRAMEBUFFER));
2212
+ rb_define_const(module, "GL_READ_FRAMEBUFFER_BINDING", INT2NUM(GL_READ_FRAMEBUFFER_BINDING));
2049
2213
  rb_define_const(module, "GL_READ_FRAMEBUFFER_BINDING_EXT", INT2NUM(GL_READ_FRAMEBUFFER_BINDING_EXT));
2050
2214
  rb_define_const(module, "GL_READ_FRAMEBUFFER_EXT", INT2NUM(GL_READ_FRAMEBUFFER_EXT));
2051
2215
  rb_define_const(module, "GL_READ_ONLY", INT2NUM(GL_READ_ONLY));
@@ -2062,6 +2226,7 @@ void gl_init_enums(VALUE module)
2062
2226
  rb_define_const(module, "GL_RED_BIAS", INT2NUM(GL_RED_BIAS));
2063
2227
  rb_define_const(module, "GL_RED_BITS", INT2NUM(GL_RED_BITS));
2064
2228
  rb_define_const(module, "GL_RED_BIT_ATI", INT2NUM(GL_RED_BIT_ATI));
2229
+ rb_define_const(module, "GL_RED_INTEGER", INT2NUM(GL_RED_INTEGER));
2065
2230
  rb_define_const(module, "GL_RED_INTEGER_EXT", INT2NUM(GL_RED_INTEGER_EXT));
2066
2231
  rb_define_const(module, "GL_RED_MAX_CLAMP_INGR", INT2NUM(GL_RED_MAX_CLAMP_INGR));
2067
2232
  rb_define_const(module, "GL_RED_MIN_CLAMP_INGR", INT2NUM(GL_RED_MIN_CLAMP_INGR));
@@ -2106,19 +2271,31 @@ void gl_init_enums(VALUE module)
2106
2271
  rb_define_const(module, "GL_REG_8_ATI", INT2NUM(GL_REG_8_ATI));
2107
2272
  rb_define_const(module, "GL_REG_9_ATI", INT2NUM(GL_REG_9_ATI));
2108
2273
  rb_define_const(module, "GL_RENDER", INT2NUM(GL_RENDER));
2274
+ rb_define_const(module, "GL_RENDERBUFFER", INT2NUM(GL_RENDERBUFFER));
2275
+ rb_define_const(module, "GL_RENDERBUFFER_ALPHA_SIZE", INT2NUM(GL_RENDERBUFFER_ALPHA_SIZE));
2109
2276
  rb_define_const(module, "GL_RENDERBUFFER_ALPHA_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_ALPHA_SIZE_EXT));
2277
+ rb_define_const(module, "GL_RENDERBUFFER_BINDING", INT2NUM(GL_RENDERBUFFER_BINDING));
2110
2278
  rb_define_const(module, "GL_RENDERBUFFER_BINDING_EXT", INT2NUM(GL_RENDERBUFFER_BINDING_EXT));
2279
+ rb_define_const(module, "GL_RENDERBUFFER_BLUE_SIZE", INT2NUM(GL_RENDERBUFFER_BLUE_SIZE));
2111
2280
  rb_define_const(module, "GL_RENDERBUFFER_BLUE_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_BLUE_SIZE_EXT));
2112
2281
  rb_define_const(module, "GL_RENDERBUFFER_COLOR_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_COLOR_SAMPLES_NV));
2113
2282
  rb_define_const(module, "GL_RENDERBUFFER_COVERAGE_SAMPLES_NV", INT2NUM(GL_RENDERBUFFER_COVERAGE_SAMPLES_NV));
2283
+ rb_define_const(module, "GL_RENDERBUFFER_DEPTH_SIZE", INT2NUM(GL_RENDERBUFFER_DEPTH_SIZE));
2114
2284
  rb_define_const(module, "GL_RENDERBUFFER_DEPTH_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_DEPTH_SIZE_EXT));
2115
2285
  rb_define_const(module, "GL_RENDERBUFFER_EXT", INT2NUM(GL_RENDERBUFFER_EXT));
2286
+ rb_define_const(module, "GL_RENDERBUFFER_GREEN_SIZE", INT2NUM(GL_RENDERBUFFER_GREEN_SIZE));
2116
2287
  rb_define_const(module, "GL_RENDERBUFFER_GREEN_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_GREEN_SIZE_EXT));
2288
+ rb_define_const(module, "GL_RENDERBUFFER_HEIGHT", INT2NUM(GL_RENDERBUFFER_HEIGHT));
2117
2289
  rb_define_const(module, "GL_RENDERBUFFER_HEIGHT_EXT", INT2NUM(GL_RENDERBUFFER_HEIGHT_EXT));
2290
+ rb_define_const(module, "GL_RENDERBUFFER_INTERNAL_FORMAT", INT2NUM(GL_RENDERBUFFER_INTERNAL_FORMAT));
2118
2291
  rb_define_const(module, "GL_RENDERBUFFER_INTERNAL_FORMAT_EXT", INT2NUM(GL_RENDERBUFFER_INTERNAL_FORMAT_EXT));
2292
+ rb_define_const(module, "GL_RENDERBUFFER_RED_SIZE", INT2NUM(GL_RENDERBUFFER_RED_SIZE));
2119
2293
  rb_define_const(module, "GL_RENDERBUFFER_RED_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_RED_SIZE_EXT));
2294
+ rb_define_const(module, "GL_RENDERBUFFER_SAMPLES", INT2NUM(GL_RENDERBUFFER_SAMPLES));
2120
2295
  rb_define_const(module, "GL_RENDERBUFFER_SAMPLES_EXT", INT2NUM(GL_RENDERBUFFER_SAMPLES_EXT));
2296
+ rb_define_const(module, "GL_RENDERBUFFER_STENCIL_SIZE", INT2NUM(GL_RENDERBUFFER_STENCIL_SIZE));
2121
2297
  rb_define_const(module, "GL_RENDERBUFFER_STENCIL_SIZE_EXT", INT2NUM(GL_RENDERBUFFER_STENCIL_SIZE_EXT));
2298
+ rb_define_const(module, "GL_RENDERBUFFER_WIDTH", INT2NUM(GL_RENDERBUFFER_WIDTH));
2122
2299
  rb_define_const(module, "GL_RENDERBUFFER_WIDTH_EXT", INT2NUM(GL_RENDERBUFFER_WIDTH_EXT));
2123
2300
  rb_define_const(module, "GL_RENDERER", INT2NUM(GL_RENDERER));
2124
2301
  rb_define_const(module, "GL_RENDER_MODE", INT2NUM(GL_RENDER_MODE));
@@ -2145,6 +2322,17 @@ void gl_init_enums(VALUE module)
2145
2322
  rb_define_const(module, "GL_RESCALE_NORMAL_EXT", INT2NUM(GL_RESCALE_NORMAL_EXT));
2146
2323
  rb_define_const(module, "GL_RESTART_SUN", INT2NUM(GL_RESTART_SUN));
2147
2324
  rb_define_const(module, "GL_RETURN", INT2NUM(GL_RETURN));
2325
+ rb_define_const(module, "GL_RG", INT2NUM(GL_RG));
2326
+ rb_define_const(module, "GL_RG16", INT2NUM(GL_RG16));
2327
+ rb_define_const(module, "GL_RG16F", INT2NUM(GL_RG16F));
2328
+ rb_define_const(module, "GL_RG16I", INT2NUM(GL_RG16I));
2329
+ rb_define_const(module, "GL_RG16UI", INT2NUM(GL_RG16UI));
2330
+ rb_define_const(module, "GL_RG32F", INT2NUM(GL_RG32F));
2331
+ rb_define_const(module, "GL_RG32I", INT2NUM(GL_RG32I));
2332
+ rb_define_const(module, "GL_RG32UI", INT2NUM(GL_RG32UI));
2333
+ rb_define_const(module, "GL_RG8", INT2NUM(GL_RG8));
2334
+ rb_define_const(module, "GL_RG8I", INT2NUM(GL_RG8I));
2335
+ rb_define_const(module, "GL_RG8UI", INT2NUM(GL_RG8UI));
2148
2336
  rb_define_const(module, "GL_RGB", INT2NUM(GL_RGB));
2149
2337
  rb_define_const(module, "GL_RGB10", INT2NUM(GL_RGB10));
2150
2338
  rb_define_const(module, "GL_RGB10_A2", INT2NUM(GL_RGB10_A2));
@@ -2153,13 +2341,19 @@ void gl_init_enums(VALUE module)
2153
2341
  rb_define_const(module, "GL_RGB12", INT2NUM(GL_RGB12));
2154
2342
  rb_define_const(module, "GL_RGB12_EXT", INT2NUM(GL_RGB12_EXT));
2155
2343
  rb_define_const(module, "GL_RGB16", INT2NUM(GL_RGB16));
2344
+ rb_define_const(module, "GL_RGB16F", INT2NUM(GL_RGB16F));
2156
2345
  rb_define_const(module, "GL_RGB16F_ARB", INT2NUM(GL_RGB16F_ARB));
2346
+ rb_define_const(module, "GL_RGB16I", INT2NUM(GL_RGB16I));
2157
2347
  rb_define_const(module, "GL_RGB16I_EXT", INT2NUM(GL_RGB16I_EXT));
2348
+ rb_define_const(module, "GL_RGB16UI", INT2NUM(GL_RGB16UI));
2158
2349
  rb_define_const(module, "GL_RGB16UI_EXT", INT2NUM(GL_RGB16UI_EXT));
2159
2350
  rb_define_const(module, "GL_RGB16_EXT", INT2NUM(GL_RGB16_EXT));
2160
2351
  rb_define_const(module, "GL_RGB2_EXT", INT2NUM(GL_RGB2_EXT));
2352
+ rb_define_const(module, "GL_RGB32F", INT2NUM(GL_RGB32F));
2161
2353
  rb_define_const(module, "GL_RGB32F_ARB", INT2NUM(GL_RGB32F_ARB));
2354
+ rb_define_const(module, "GL_RGB32I", INT2NUM(GL_RGB32I));
2162
2355
  rb_define_const(module, "GL_RGB32I_EXT", INT2NUM(GL_RGB32I_EXT));
2356
+ rb_define_const(module, "GL_RGB32UI", INT2NUM(GL_RGB32UI));
2163
2357
  rb_define_const(module, "GL_RGB32UI_EXT", INT2NUM(GL_RGB32UI_EXT));
2164
2358
  rb_define_const(module, "GL_RGB4", INT2NUM(GL_RGB4));
2165
2359
  rb_define_const(module, "GL_RGB4_EXT", INT2NUM(GL_RGB4_EXT));
@@ -2169,33 +2363,45 @@ void gl_init_enums(VALUE module)
2169
2363
  rb_define_const(module, "GL_RGB5_A1_EXT", INT2NUM(GL_RGB5_A1_EXT));
2170
2364
  rb_define_const(module, "GL_RGB5_EXT", INT2NUM(GL_RGB5_EXT));
2171
2365
  rb_define_const(module, "GL_RGB8", INT2NUM(GL_RGB8));
2366
+ rb_define_const(module, "GL_RGB8I", INT2NUM(GL_RGB8I));
2172
2367
  rb_define_const(module, "GL_RGB8I_EXT", INT2NUM(GL_RGB8I_EXT));
2368
+ rb_define_const(module, "GL_RGB8UI", INT2NUM(GL_RGB8UI));
2173
2369
  rb_define_const(module, "GL_RGB8UI_EXT", INT2NUM(GL_RGB8UI_EXT));
2174
2370
  rb_define_const(module, "GL_RGB8_EXT", INT2NUM(GL_RGB8_EXT));
2371
+ rb_define_const(module, "GL_RGB9_E5", INT2NUM(GL_RGB9_E5));
2175
2372
  rb_define_const(module, "GL_RGB9_E5_EXT", INT2NUM(GL_RGB9_E5_EXT));
2176
2373
  rb_define_const(module, "GL_RGBA", INT2NUM(GL_RGBA));
2177
2374
  rb_define_const(module, "GL_RGBA12", INT2NUM(GL_RGBA12));
2178
2375
  rb_define_const(module, "GL_RGBA12_EXT", INT2NUM(GL_RGBA12_EXT));
2179
2376
  rb_define_const(module, "GL_RGBA16", INT2NUM(GL_RGBA16));
2377
+ rb_define_const(module, "GL_RGBA16F", INT2NUM(GL_RGBA16F));
2180
2378
  rb_define_const(module, "GL_RGBA16F_ARB", INT2NUM(GL_RGBA16F_ARB));
2379
+ rb_define_const(module, "GL_RGBA16I", INT2NUM(GL_RGBA16I));
2181
2380
  rb_define_const(module, "GL_RGBA16I_EXT", INT2NUM(GL_RGBA16I_EXT));
2381
+ rb_define_const(module, "GL_RGBA16UI", INT2NUM(GL_RGBA16UI));
2182
2382
  rb_define_const(module, "GL_RGBA16UI_EXT", INT2NUM(GL_RGBA16UI_EXT));
2183
2383
  rb_define_const(module, "GL_RGBA16_EXT", INT2NUM(GL_RGBA16_EXT));
2184
2384
  rb_define_const(module, "GL_RGBA2", INT2NUM(GL_RGBA2));
2185
2385
  rb_define_const(module, "GL_RGBA2_EXT", INT2NUM(GL_RGBA2_EXT));
2386
+ rb_define_const(module, "GL_RGBA32F", INT2NUM(GL_RGBA32F));
2186
2387
  rb_define_const(module, "GL_RGBA32F_ARB", INT2NUM(GL_RGBA32F_ARB));
2388
+ rb_define_const(module, "GL_RGBA32I", INT2NUM(GL_RGBA32I));
2187
2389
  rb_define_const(module, "GL_RGBA32I_EXT", INT2NUM(GL_RGBA32I_EXT));
2390
+ rb_define_const(module, "GL_RGBA32UI", INT2NUM(GL_RGBA32UI));
2188
2391
  rb_define_const(module, "GL_RGBA32UI_EXT", INT2NUM(GL_RGBA32UI_EXT));
2189
2392
  rb_define_const(module, "GL_RGBA4", INT2NUM(GL_RGBA4));
2190
2393
  rb_define_const(module, "GL_RGBA4_EXT", INT2NUM(GL_RGBA4_EXT));
2191
2394
  rb_define_const(module, "GL_RGBA4_S3TC", INT2NUM(GL_RGBA4_S3TC));
2192
2395
  rb_define_const(module, "GL_RGBA8", INT2NUM(GL_RGBA8));
2396
+ rb_define_const(module, "GL_RGBA8I", INT2NUM(GL_RGBA8I));
2193
2397
  rb_define_const(module, "GL_RGBA8I_EXT", INT2NUM(GL_RGBA8I_EXT));
2398
+ rb_define_const(module, "GL_RGBA8UI", INT2NUM(GL_RGBA8UI));
2194
2399
  rb_define_const(module, "GL_RGBA8UI_EXT", INT2NUM(GL_RGBA8UI_EXT));
2195
2400
  rb_define_const(module, "GL_RGBA8_EXT", INT2NUM(GL_RGBA8_EXT));
2196
2401
  rb_define_const(module, "GL_RGBA_FLOAT16_ATI", INT2NUM(GL_RGBA_FLOAT16_ATI));
2197
2402
  rb_define_const(module, "GL_RGBA_FLOAT32_ATI", INT2NUM(GL_RGBA_FLOAT32_ATI));
2198
2403
  rb_define_const(module, "GL_RGBA_FLOAT_MODE_ARB", INT2NUM(GL_RGBA_FLOAT_MODE_ARB));
2404
+ rb_define_const(module, "GL_RGBA_INTEGER", INT2NUM(GL_RGBA_INTEGER));
2199
2405
  rb_define_const(module, "GL_RGBA_INTEGER_EXT", INT2NUM(GL_RGBA_INTEGER_EXT));
2200
2406
  rb_define_const(module, "GL_RGBA_INTEGER_MODE_EXT", INT2NUM(GL_RGBA_INTEGER_MODE_EXT));
2201
2407
  rb_define_const(module, "GL_RGBA_MODE", INT2NUM(GL_RGBA_MODE));
@@ -2204,22 +2410,28 @@ void gl_init_enums(VALUE module)
2204
2410
  rb_define_const(module, "GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV", INT2NUM(GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV));
2205
2411
  rb_define_const(module, "GL_RGB_FLOAT16_ATI", INT2NUM(GL_RGB_FLOAT16_ATI));
2206
2412
  rb_define_const(module, "GL_RGB_FLOAT32_ATI", INT2NUM(GL_RGB_FLOAT32_ATI));
2413
+ rb_define_const(module, "GL_RGB_INTEGER", INT2NUM(GL_RGB_INTEGER));
2207
2414
  rb_define_const(module, "GL_RGB_INTEGER_EXT", INT2NUM(GL_RGB_INTEGER_EXT));
2208
2415
  rb_define_const(module, "GL_RGB_S3TC", INT2NUM(GL_RGB_S3TC));
2209
2416
  rb_define_const(module, "GL_RGB_SCALE", INT2NUM(GL_RGB_SCALE));
2210
2417
  rb_define_const(module, "GL_RGB_SCALE_ARB", INT2NUM(GL_RGB_SCALE_ARB));
2211
2418
  rb_define_const(module, "GL_RGB_SCALE_EXT", INT2NUM(GL_RGB_SCALE_EXT));
2419
+ rb_define_const(module, "GL_RG_INTEGER", INT2NUM(GL_RG_INTEGER));
2212
2420
  rb_define_const(module, "GL_RIGHT", INT2NUM(GL_RIGHT));
2213
2421
  rb_define_const(module, "GL_S", INT2NUM(GL_S));
2214
2422
  rb_define_const(module, "GL_SAMPLER_1D", INT2NUM(GL_SAMPLER_1D));
2215
2423
  rb_define_const(module, "GL_SAMPLER_1D_ARB", INT2NUM(GL_SAMPLER_1D_ARB));
2424
+ rb_define_const(module, "GL_SAMPLER_1D_ARRAY", INT2NUM(GL_SAMPLER_1D_ARRAY));
2216
2425
  rb_define_const(module, "GL_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_SAMPLER_1D_ARRAY_EXT));
2426
+ rb_define_const(module, "GL_SAMPLER_1D_ARRAY_SHADOW", INT2NUM(GL_SAMPLER_1D_ARRAY_SHADOW));
2217
2427
  rb_define_const(module, "GL_SAMPLER_1D_ARRAY_SHADOW_EXT", INT2NUM(GL_SAMPLER_1D_ARRAY_SHADOW_EXT));
2218
2428
  rb_define_const(module, "GL_SAMPLER_1D_SHADOW", INT2NUM(GL_SAMPLER_1D_SHADOW));
2219
2429
  rb_define_const(module, "GL_SAMPLER_1D_SHADOW_ARB", INT2NUM(GL_SAMPLER_1D_SHADOW_ARB));
2220
2430
  rb_define_const(module, "GL_SAMPLER_2D", INT2NUM(GL_SAMPLER_2D));
2221
2431
  rb_define_const(module, "GL_SAMPLER_2D_ARB", INT2NUM(GL_SAMPLER_2D_ARB));
2432
+ rb_define_const(module, "GL_SAMPLER_2D_ARRAY", INT2NUM(GL_SAMPLER_2D_ARRAY));
2222
2433
  rb_define_const(module, "GL_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_SAMPLER_2D_ARRAY_EXT));
2434
+ rb_define_const(module, "GL_SAMPLER_2D_ARRAY_SHADOW", INT2NUM(GL_SAMPLER_2D_ARRAY_SHADOW));
2223
2435
  rb_define_const(module, "GL_SAMPLER_2D_ARRAY_SHADOW_EXT", INT2NUM(GL_SAMPLER_2D_ARRAY_SHADOW_EXT));
2224
2436
  rb_define_const(module, "GL_SAMPLER_2D_RECT_ARB", INT2NUM(GL_SAMPLER_2D_RECT_ARB));
2225
2437
  rb_define_const(module, "GL_SAMPLER_2D_RECT_SHADOW_ARB", INT2NUM(GL_SAMPLER_2D_RECT_SHADOW_ARB));
@@ -2230,7 +2442,9 @@ void gl_init_enums(VALUE module)
2230
2442
  rb_define_const(module, "GL_SAMPLER_BUFFER_EXT", INT2NUM(GL_SAMPLER_BUFFER_EXT));
2231
2443
  rb_define_const(module, "GL_SAMPLER_CUBE", INT2NUM(GL_SAMPLER_CUBE));
2232
2444
  rb_define_const(module, "GL_SAMPLER_CUBE_ARB", INT2NUM(GL_SAMPLER_CUBE_ARB));
2445
+ rb_define_const(module, "GL_SAMPLER_CUBE_SHADOW", INT2NUM(GL_SAMPLER_CUBE_SHADOW));
2233
2446
  rb_define_const(module, "GL_SAMPLER_CUBE_SHADOW_EXT", INT2NUM(GL_SAMPLER_CUBE_SHADOW_EXT));
2447
+ rb_define_const(module, "GL_SAMPLER_RENDERBUFFER_NV", INT2NUM(GL_SAMPLER_RENDERBUFFER_NV));
2234
2448
  rb_define_const(module, "GL_SAMPLES", INT2NUM(GL_SAMPLES));
2235
2449
  rb_define_const(module, "GL_SAMPLES_3DFX", INT2NUM(GL_SAMPLES_3DFX));
2236
2450
  rb_define_const(module, "GL_SAMPLES_ARB", INT2NUM(GL_SAMPLES_ARB));
@@ -2260,11 +2474,14 @@ void gl_init_enums(VALUE module)
2260
2474
  rb_define_const(module, "GL_SAMPLE_MASK_EXT", INT2NUM(GL_SAMPLE_MASK_EXT));
2261
2475
  rb_define_const(module, "GL_SAMPLE_MASK_INVERT_EXT", INT2NUM(GL_SAMPLE_MASK_INVERT_EXT));
2262
2476
  rb_define_const(module, "GL_SAMPLE_MASK_INVERT_SGIS", INT2NUM(GL_SAMPLE_MASK_INVERT_SGIS));
2477
+ rb_define_const(module, "GL_SAMPLE_MASK_NV", INT2NUM(GL_SAMPLE_MASK_NV));
2263
2478
  rb_define_const(module, "GL_SAMPLE_MASK_SGIS", INT2NUM(GL_SAMPLE_MASK_SGIS));
2264
2479
  rb_define_const(module, "GL_SAMPLE_MASK_VALUE_EXT", INT2NUM(GL_SAMPLE_MASK_VALUE_EXT));
2480
+ rb_define_const(module, "GL_SAMPLE_MASK_VALUE_NV", INT2NUM(GL_SAMPLE_MASK_VALUE_NV));
2265
2481
  rb_define_const(module, "GL_SAMPLE_MASK_VALUE_SGIS", INT2NUM(GL_SAMPLE_MASK_VALUE_SGIS));
2266
2482
  rb_define_const(module, "GL_SAMPLE_PATTERN_EXT", INT2NUM(GL_SAMPLE_PATTERN_EXT));
2267
2483
  rb_define_const(module, "GL_SAMPLE_PATTERN_SGIS", INT2NUM(GL_SAMPLE_PATTERN_SGIS));
2484
+ rb_define_const(module, "GL_SAMPLE_POSITION_NV", INT2NUM(GL_SAMPLE_POSITION_NV));
2268
2485
  rb_define_const(module, "GL_SATURATE_BIT_ATI", INT2NUM(GL_SATURATE_BIT_ATI));
2269
2486
  rb_define_const(module, "GL_SCALAR_EXT", INT2NUM(GL_SCALAR_EXT));
2270
2487
  rb_define_const(module, "GL_SCALEBIAS_HINT_SGIX", INT2NUM(GL_SCALEBIAS_HINT_SGIX));
@@ -2296,6 +2513,8 @@ void gl_init_enums(VALUE module)
2296
2513
  rb_define_const(module, "GL_SELECTION_BUFFER_SIZE", INT2NUM(GL_SELECTION_BUFFER_SIZE));
2297
2514
  rb_define_const(module, "GL_SEPARABLE_2D", INT2NUM(GL_SEPARABLE_2D));
2298
2515
  rb_define_const(module, "GL_SEPARABLE_2D_EXT", INT2NUM(GL_SEPARABLE_2D_EXT));
2516
+ rb_define_const(module, "GL_SEPARATE_ATTRIBS", INT2NUM(GL_SEPARATE_ATTRIBS));
2517
+ rb_define_const(module, "GL_SEPARATE_ATTRIBS_EXT", INT2NUM(GL_SEPARATE_ATTRIBS_EXT));
2299
2518
  rb_define_const(module, "GL_SEPARATE_ATTRIBS_NV", INT2NUM(GL_SEPARATE_ATTRIBS_NV));
2300
2519
  rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR", INT2NUM(GL_SEPARATE_SPECULAR_COLOR));
2301
2520
  rb_define_const(module, "GL_SEPARATE_SPECULAR_COLOR_EXT", INT2NUM(GL_SEPARATE_SPECULAR_COLOR_EXT));
@@ -2464,6 +2683,7 @@ void gl_init_enums(VALUE module)
2464
2683
  rb_define_const(module, "GL_STATIC_READ", INT2NUM(GL_STATIC_READ));
2465
2684
  rb_define_const(module, "GL_STATIC_READ_ARB", INT2NUM(GL_STATIC_READ_ARB));
2466
2685
  rb_define_const(module, "GL_STENCIL", INT2NUM(GL_STENCIL));
2686
+ rb_define_const(module, "GL_STENCIL_ATTACHMENT", INT2NUM(GL_STENCIL_ATTACHMENT));
2467
2687
  rb_define_const(module, "GL_STENCIL_ATTACHMENT_EXT", INT2NUM(GL_STENCIL_ATTACHMENT_EXT));
2468
2688
  rb_define_const(module, "GL_STENCIL_BACK_FAIL", INT2NUM(GL_STENCIL_BACK_FAIL));
2469
2689
  rb_define_const(module, "GL_STENCIL_BACK_FAIL_ATI", INT2NUM(GL_STENCIL_BACK_FAIL_ATI));
@@ -2477,15 +2697,20 @@ void gl_init_enums(VALUE module)
2477
2697
  rb_define_const(module, "GL_STENCIL_BACK_VALUE_MASK", INT2NUM(GL_STENCIL_BACK_VALUE_MASK));
2478
2698
  rb_define_const(module, "GL_STENCIL_BACK_WRITEMASK", INT2NUM(GL_STENCIL_BACK_WRITEMASK));
2479
2699
  rb_define_const(module, "GL_STENCIL_BITS", INT2NUM(GL_STENCIL_BITS));
2700
+ rb_define_const(module, "GL_STENCIL_BUFFER", INT2NUM(GL_STENCIL_BUFFER));
2480
2701
  rb_define_const(module, "GL_STENCIL_BUFFER_BIT", INT2NUM(GL_STENCIL_BUFFER_BIT));
2481
2702
  rb_define_const(module, "GL_STENCIL_CLEAR_TAG_VALUE_EXT", INT2NUM(GL_STENCIL_CLEAR_TAG_VALUE_EXT));
2482
2703
  rb_define_const(module, "GL_STENCIL_CLEAR_VALUE", INT2NUM(GL_STENCIL_CLEAR_VALUE));
2483
2704
  rb_define_const(module, "GL_STENCIL_FAIL", INT2NUM(GL_STENCIL_FAIL));
2484
2705
  rb_define_const(module, "GL_STENCIL_FUNC", INT2NUM(GL_STENCIL_FUNC));
2485
2706
  rb_define_const(module, "GL_STENCIL_INDEX", INT2NUM(GL_STENCIL_INDEX));
2707
+ rb_define_const(module, "GL_STENCIL_INDEX1", INT2NUM(GL_STENCIL_INDEX1));
2708
+ rb_define_const(module, "GL_STENCIL_INDEX16", INT2NUM(GL_STENCIL_INDEX16));
2486
2709
  rb_define_const(module, "GL_STENCIL_INDEX16_EXT", INT2NUM(GL_STENCIL_INDEX16_EXT));
2487
2710
  rb_define_const(module, "GL_STENCIL_INDEX1_EXT", INT2NUM(GL_STENCIL_INDEX1_EXT));
2711
+ rb_define_const(module, "GL_STENCIL_INDEX4", INT2NUM(GL_STENCIL_INDEX4));
2488
2712
  rb_define_const(module, "GL_STENCIL_INDEX4_EXT", INT2NUM(GL_STENCIL_INDEX4_EXT));
2713
+ rb_define_const(module, "GL_STENCIL_INDEX8", INT2NUM(GL_STENCIL_INDEX8));
2489
2714
  rb_define_const(module, "GL_STENCIL_INDEX8_EXT", INT2NUM(GL_STENCIL_INDEX8_EXT));
2490
2715
  rb_define_const(module, "GL_STENCIL_PASS_DEPTH_FAIL", INT2NUM(GL_STENCIL_PASS_DEPTH_FAIL));
2491
2716
  rb_define_const(module, "GL_STENCIL_PASS_DEPTH_PASS", INT2NUM(GL_STENCIL_PASS_DEPTH_PASS));
@@ -2605,11 +2830,13 @@ void gl_init_enums(VALUE module)
2605
2830
  rb_define_const(module, "GL_TEXTURE9", INT2NUM(GL_TEXTURE9));
2606
2831
  rb_define_const(module, "GL_TEXTURE9_ARB", INT2NUM(GL_TEXTURE9_ARB));
2607
2832
  rb_define_const(module, "GL_TEXTURE_1D", INT2NUM(GL_TEXTURE_1D));
2833
+ rb_define_const(module, "GL_TEXTURE_1D_ARRAY", INT2NUM(GL_TEXTURE_1D_ARRAY));
2608
2834
  rb_define_const(module, "GL_TEXTURE_1D_ARRAY_EXT", INT2NUM(GL_TEXTURE_1D_ARRAY_EXT));
2609
2835
  rb_define_const(module, "GL_TEXTURE_1D_BINDING_EXT", INT2NUM(GL_TEXTURE_1D_BINDING_EXT));
2610
2836
  rb_define_const(module, "GL_TEXTURE_1D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_1D_STACK_BINDING_MESAX));
2611
2837
  rb_define_const(module, "GL_TEXTURE_1D_STACK_MESAX", INT2NUM(GL_TEXTURE_1D_STACK_MESAX));
2612
2838
  rb_define_const(module, "GL_TEXTURE_2D", INT2NUM(GL_TEXTURE_2D));
2839
+ rb_define_const(module, "GL_TEXTURE_2D_ARRAY", INT2NUM(GL_TEXTURE_2D_ARRAY));
2613
2840
  rb_define_const(module, "GL_TEXTURE_2D_ARRAY_EXT", INT2NUM(GL_TEXTURE_2D_ARRAY_EXT));
2614
2841
  rb_define_const(module, "GL_TEXTURE_2D_BINDING_EXT", INT2NUM(GL_TEXTURE_2D_BINDING_EXT));
2615
2842
  rb_define_const(module, "GL_TEXTURE_2D_STACK_BINDING_MESAX", INT2NUM(GL_TEXTURE_2D_STACK_BINDING_MESAX));
@@ -2622,30 +2849,39 @@ void gl_init_enums(VALUE module)
2622
2849
  rb_define_const(module, "GL_TEXTURE_4D_SGIS", INT2NUM(GL_TEXTURE_4D_SGIS));
2623
2850
  rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE", INT2NUM(GL_TEXTURE_ALPHA_SIZE));
2624
2851
  rb_define_const(module, "GL_TEXTURE_ALPHA_SIZE_EXT", INT2NUM(GL_TEXTURE_ALPHA_SIZE_EXT));
2852
+ rb_define_const(module, "GL_TEXTURE_ALPHA_TYPE", INT2NUM(GL_TEXTURE_ALPHA_TYPE));
2625
2853
  rb_define_const(module, "GL_TEXTURE_ALPHA_TYPE_ARB", INT2NUM(GL_TEXTURE_ALPHA_TYPE_ARB));
2626
2854
  rb_define_const(module, "GL_TEXTURE_APPLICATION_MODE_EXT", INT2NUM(GL_TEXTURE_APPLICATION_MODE_EXT));
2627
2855
  rb_define_const(module, "GL_TEXTURE_BASE_LEVEL", INT2NUM(GL_TEXTURE_BASE_LEVEL));
2628
2856
  rb_define_const(module, "GL_TEXTURE_BASE_LEVEL_SGIS", INT2NUM(GL_TEXTURE_BASE_LEVEL_SGIS));
2629
2857
  rb_define_const(module, "GL_TEXTURE_BINDING_1D", INT2NUM(GL_TEXTURE_BINDING_1D));
2858
+ rb_define_const(module, "GL_TEXTURE_BINDING_1D_ARRAY", INT2NUM(GL_TEXTURE_BINDING_1D_ARRAY));
2630
2859
  rb_define_const(module, "GL_TEXTURE_BINDING_1D_ARRAY_EXT", INT2NUM(GL_TEXTURE_BINDING_1D_ARRAY_EXT));
2631
2860
  rb_define_const(module, "GL_TEXTURE_BINDING_2D", INT2NUM(GL_TEXTURE_BINDING_2D));
2861
+ rb_define_const(module, "GL_TEXTURE_BINDING_2D_ARRAY", INT2NUM(GL_TEXTURE_BINDING_2D_ARRAY));
2632
2862
  rb_define_const(module, "GL_TEXTURE_BINDING_2D_ARRAY_EXT", INT2NUM(GL_TEXTURE_BINDING_2D_ARRAY_EXT));
2633
2863
  rb_define_const(module, "GL_TEXTURE_BINDING_3D", INT2NUM(GL_TEXTURE_BINDING_3D));
2864
+ rb_define_const(module, "GL_TEXTURE_BINDING_BUFFER_ARB", INT2NUM(GL_TEXTURE_BINDING_BUFFER_ARB));
2634
2865
  rb_define_const(module, "GL_TEXTURE_BINDING_BUFFER_EXT", INT2NUM(GL_TEXTURE_BINDING_BUFFER_EXT));
2635
2866
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP));
2636
2867
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_ARB", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_ARB));
2637
2868
  rb_define_const(module, "GL_TEXTURE_BINDING_CUBE_MAP_EXT", INT2NUM(GL_TEXTURE_BINDING_CUBE_MAP_EXT));
2638
2869
  rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE_ARB", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE_ARB));
2639
2870
  rb_define_const(module, "GL_TEXTURE_BINDING_RECTANGLE_NV", INT2NUM(GL_TEXTURE_BINDING_RECTANGLE_NV));
2871
+ rb_define_const(module, "GL_TEXTURE_BINDING_RENDERBUFFER_NV", INT2NUM(GL_TEXTURE_BINDING_RENDERBUFFER_NV));
2640
2872
  rb_define_const(module, "GL_TEXTURE_BIT", INT2NUM(GL_TEXTURE_BIT));
2641
2873
  rb_define_const(module, "GL_TEXTURE_BLUE_SIZE", INT2NUM(GL_TEXTURE_BLUE_SIZE));
2642
2874
  rb_define_const(module, "GL_TEXTURE_BLUE_SIZE_EXT", INT2NUM(GL_TEXTURE_BLUE_SIZE_EXT));
2875
+ rb_define_const(module, "GL_TEXTURE_BLUE_TYPE", INT2NUM(GL_TEXTURE_BLUE_TYPE));
2643
2876
  rb_define_const(module, "GL_TEXTURE_BLUE_TYPE_ARB", INT2NUM(GL_TEXTURE_BLUE_TYPE_ARB));
2644
2877
  rb_define_const(module, "GL_TEXTURE_BORDER", INT2NUM(GL_TEXTURE_BORDER));
2645
2878
  rb_define_const(module, "GL_TEXTURE_BORDER_COLOR", INT2NUM(GL_TEXTURE_BORDER_COLOR));
2646
2879
  rb_define_const(module, "GL_TEXTURE_BORDER_VALUES_NV", INT2NUM(GL_TEXTURE_BORDER_VALUES_NV));
2880
+ rb_define_const(module, "GL_TEXTURE_BUFFER_ARB", INT2NUM(GL_TEXTURE_BUFFER_ARB));
2881
+ rb_define_const(module, "GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB", INT2NUM(GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB));
2647
2882
  rb_define_const(module, "GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT", INT2NUM(GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT));
2648
2883
  rb_define_const(module, "GL_TEXTURE_BUFFER_EXT", INT2NUM(GL_TEXTURE_BUFFER_EXT));
2884
+ rb_define_const(module, "GL_TEXTURE_BUFFER_FORMAT_ARB", INT2NUM(GL_TEXTURE_BUFFER_FORMAT_ARB));
2649
2885
  rb_define_const(module, "GL_TEXTURE_BUFFER_FORMAT_EXT", INT2NUM(GL_TEXTURE_BUFFER_FORMAT_EXT));
2650
2886
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_CENTER_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_CENTER_SGIX));
2651
2887
  rb_define_const(module, "GL_TEXTURE_CLIPMAP_DEPTH_SGIX", INT2NUM(GL_TEXTURE_CLIPMAP_DEPTH_SGIX));
@@ -2657,7 +2893,9 @@ void gl_init_enums(VALUE module)
2657
2893
  rb_define_const(module, "GL_TEXTURE_COLOR_WRITEMASK_SGIS", INT2NUM(GL_TEXTURE_COLOR_WRITEMASK_SGIS));
2658
2894
  rb_define_const(module, "GL_TEXTURE_COMPARE_FAIL_VALUE_ARB", INT2NUM(GL_TEXTURE_COMPARE_FAIL_VALUE_ARB));
2659
2895
  rb_define_const(module, "GL_TEXTURE_COMPARE_FUNC", INT2NUM(GL_TEXTURE_COMPARE_FUNC));
2896
+ rb_define_const(module, "GL_TEXTURE_COMPARE_FUNC_ARB", INT2NUM(GL_TEXTURE_COMPARE_FUNC_ARB));
2660
2897
  rb_define_const(module, "GL_TEXTURE_COMPARE_MODE", INT2NUM(GL_TEXTURE_COMPARE_MODE));
2898
+ rb_define_const(module, "GL_TEXTURE_COMPARE_MODE_ARB", INT2NUM(GL_TEXTURE_COMPARE_MODE_ARB));
2661
2899
  rb_define_const(module, "GL_TEXTURE_COMPARE_OPERATOR_SGIX", INT2NUM(GL_TEXTURE_COMPARE_OPERATOR_SGIX));
2662
2900
  rb_define_const(module, "GL_TEXTURE_COMPARE_SGIX", INT2NUM(GL_TEXTURE_COMPARE_SGIX));
2663
2901
  rb_define_const(module, "GL_TEXTURE_COMPONENTS", INT2NUM(GL_TEXTURE_COMPONENTS));
@@ -2712,6 +2950,7 @@ void gl_init_enums(VALUE module)
2712
2950
  rb_define_const(module, "GL_TEXTURE_DEPTH_EXT", INT2NUM(GL_TEXTURE_DEPTH_EXT));
2713
2951
  rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE", INT2NUM(GL_TEXTURE_DEPTH_SIZE));
2714
2952
  rb_define_const(module, "GL_TEXTURE_DEPTH_SIZE_ARB", INT2NUM(GL_TEXTURE_DEPTH_SIZE_ARB));
2953
+ rb_define_const(module, "GL_TEXTURE_DEPTH_TYPE", INT2NUM(GL_TEXTURE_DEPTH_TYPE));
2715
2954
  rb_define_const(module, "GL_TEXTURE_DEPTH_TYPE_ARB", INT2NUM(GL_TEXTURE_DEPTH_TYPE_ARB));
2716
2955
  rb_define_const(module, "GL_TEXTURE_DS_SIZE_NV", INT2NUM(GL_TEXTURE_DS_SIZE_NV));
2717
2956
  rb_define_const(module, "GL_TEXTURE_DT_SIZE_NV", INT2NUM(GL_TEXTURE_DT_SIZE_NV));
@@ -2731,12 +2970,14 @@ void gl_init_enums(VALUE module)
2731
2970
  rb_define_const(module, "GL_TEXTURE_GEQUAL_R_SGIX", INT2NUM(GL_TEXTURE_GEQUAL_R_SGIX));
2732
2971
  rb_define_const(module, "GL_TEXTURE_GREEN_SIZE", INT2NUM(GL_TEXTURE_GREEN_SIZE));
2733
2972
  rb_define_const(module, "GL_TEXTURE_GREEN_SIZE_EXT", INT2NUM(GL_TEXTURE_GREEN_SIZE_EXT));
2973
+ rb_define_const(module, "GL_TEXTURE_GREEN_TYPE", INT2NUM(GL_TEXTURE_GREEN_TYPE));
2734
2974
  rb_define_const(module, "GL_TEXTURE_GREEN_TYPE_ARB", INT2NUM(GL_TEXTURE_GREEN_TYPE_ARB));
2735
2975
  rb_define_const(module, "GL_TEXTURE_HEIGHT", INT2NUM(GL_TEXTURE_HEIGHT));
2736
2976
  rb_define_const(module, "GL_TEXTURE_HI_SIZE_NV", INT2NUM(GL_TEXTURE_HI_SIZE_NV));
2737
2977
  rb_define_const(module, "GL_TEXTURE_INDEX_SIZE_EXT", INT2NUM(GL_TEXTURE_INDEX_SIZE_EXT));
2738
2978
  rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE", INT2NUM(GL_TEXTURE_INTENSITY_SIZE));
2739
2979
  rb_define_const(module, "GL_TEXTURE_INTENSITY_SIZE_EXT", INT2NUM(GL_TEXTURE_INTENSITY_SIZE_EXT));
2980
+ rb_define_const(module, "GL_TEXTURE_INTENSITY_TYPE", INT2NUM(GL_TEXTURE_INTENSITY_TYPE));
2740
2981
  rb_define_const(module, "GL_TEXTURE_INTENSITY_TYPE_ARB", INT2NUM(GL_TEXTURE_INTENSITY_TYPE_ARB));
2741
2982
  rb_define_const(module, "GL_TEXTURE_INTERNAL_FORMAT", INT2NUM(GL_TEXTURE_INTERNAL_FORMAT));
2742
2983
  rb_define_const(module, "GL_TEXTURE_LEQUAL_R_SGIX", INT2NUM(GL_TEXTURE_LEQUAL_R_SGIX));
@@ -2750,6 +2991,7 @@ void gl_init_enums(VALUE module)
2750
2991
  rb_define_const(module, "GL_TEXTURE_LO_SIZE_NV", INT2NUM(GL_TEXTURE_LO_SIZE_NV));
2751
2992
  rb_define_const(module, "GL_TEXTURE_LUMINANCE_SIZE", INT2NUM(GL_TEXTURE_LUMINANCE_SIZE));
2752
2993
  rb_define_const(module, "GL_TEXTURE_LUMINANCE_SIZE_EXT", INT2NUM(GL_TEXTURE_LUMINANCE_SIZE_EXT));
2994
+ rb_define_const(module, "GL_TEXTURE_LUMINANCE_TYPE", INT2NUM(GL_TEXTURE_LUMINANCE_TYPE));
2753
2995
  rb_define_const(module, "GL_TEXTURE_LUMINANCE_TYPE_ARB", INT2NUM(GL_TEXTURE_LUMINANCE_TYPE_ARB));
2754
2996
  rb_define_const(module, "GL_TEXTURE_MAG_FILTER", INT2NUM(GL_TEXTURE_MAG_FILTER));
2755
2997
  rb_define_const(module, "GL_TEXTURE_MAG_SIZE_NV", INT2NUM(GL_TEXTURE_MAG_SIZE_NV));
@@ -2777,13 +3019,23 @@ void gl_init_enums(VALUE module)
2777
3019
  rb_define_const(module, "GL_TEXTURE_RECTANGLE_NV", INT2NUM(GL_TEXTURE_RECTANGLE_NV));
2778
3020
  rb_define_const(module, "GL_TEXTURE_RED_SIZE", INT2NUM(GL_TEXTURE_RED_SIZE));
2779
3021
  rb_define_const(module, "GL_TEXTURE_RED_SIZE_EXT", INT2NUM(GL_TEXTURE_RED_SIZE_EXT));
3022
+ rb_define_const(module, "GL_TEXTURE_RED_TYPE", INT2NUM(GL_TEXTURE_RED_TYPE));
2780
3023
  rb_define_const(module, "GL_TEXTURE_RED_TYPE_ARB", INT2NUM(GL_TEXTURE_RED_TYPE_ARB));
3024
+ rb_define_const(module, "GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV", INT2NUM(GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV));
3025
+ rb_define_const(module, "GL_TEXTURE_RENDERBUFFER_NV", INT2NUM(GL_TEXTURE_RENDERBUFFER_NV));
2781
3026
  rb_define_const(module, "GL_TEXTURE_RESIDENT", INT2NUM(GL_TEXTURE_RESIDENT));
2782
3027
  rb_define_const(module, "GL_TEXTURE_RESIDENT_EXT", INT2NUM(GL_TEXTURE_RESIDENT_EXT));
2783
3028
  rb_define_const(module, "GL_TEXTURE_SHADER_NV", INT2NUM(GL_TEXTURE_SHADER_NV));
3029
+ rb_define_const(module, "GL_TEXTURE_SHARED_SIZE", INT2NUM(GL_TEXTURE_SHARED_SIZE));
2784
3030
  rb_define_const(module, "GL_TEXTURE_SHARED_SIZE_EXT", INT2NUM(GL_TEXTURE_SHARED_SIZE_EXT));
2785
3031
  rb_define_const(module, "GL_TEXTURE_STACK_DEPTH", INT2NUM(GL_TEXTURE_STACK_DEPTH));
3032
+ rb_define_const(module, "GL_TEXTURE_STENCIL_SIZE", INT2NUM(GL_TEXTURE_STENCIL_SIZE));
2786
3033
  rb_define_const(module, "GL_TEXTURE_STENCIL_SIZE_EXT", INT2NUM(GL_TEXTURE_STENCIL_SIZE_EXT));
3034
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_A_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_A_EXT));
3035
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_B_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_B_EXT));
3036
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_G_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_G_EXT));
3037
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_RGBA_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_RGBA_EXT));
3038
+ rb_define_const(module, "GL_TEXTURE_SWIZZLE_R_EXT", INT2NUM(GL_TEXTURE_SWIZZLE_R_EXT));
2787
3039
  rb_define_const(module, "GL_TEXTURE_TOO_LARGE_EXT", INT2NUM(GL_TEXTURE_TOO_LARGE_EXT));
2788
3040
  rb_define_const(module, "GL_TEXTURE_UNSIGNED_REMAP_MODE_NV", INT2NUM(GL_TEXTURE_UNSIGNED_REMAP_MODE_NV));
2789
3041
  rb_define_const(module, "GL_TEXTURE_WIDTH", INT2NUM(GL_TEXTURE_WIDTH));
@@ -2798,14 +3050,34 @@ void gl_init_enums(VALUE module)
2798
3050
  rb_define_const(module, "GL_TRACK_MATRIX_TRANSFORM_NV", INT2NUM(GL_TRACK_MATRIX_TRANSFORM_NV));
2799
3051
  rb_define_const(module, "GL_TRANSFORM_BIT", INT2NUM(GL_TRANSFORM_BIT));
2800
3052
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_ATTRIBS_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_ATTRIBS_NV));
3053
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BINDING_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BINDING_NV));
3054
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER));
3055
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV));
3056
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING));
3057
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT));
2801
3058
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV));
3059
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_EXT));
3060
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_MODE", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_MODE));
3061
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT));
2802
3062
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV));
2803
3063
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_NV));
3064
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV));
3065
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE));
3066
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT));
2804
3067
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV));
3068
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_START", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_START));
3069
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT));
2805
3070
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_BUFFER_START_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_BUFFER_START_NV));
3071
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_NV));
3072
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN));
3073
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT));
2806
3074
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV));
2807
3075
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_RECORD_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_RECORD_NV));
3076
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS));
3077
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS_EXT));
2808
3078
  rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYINGS_NV", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYINGS_NV));
3079
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH));
3080
+ rb_define_const(module, "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT", INT2NUM(GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT));
2809
3081
  rb_define_const(module, "GL_TRANSFORM_HINT_APPLE", INT2NUM(GL_TRANSFORM_HINT_APPLE));
2810
3082
  rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX));
2811
3083
  rb_define_const(module, "GL_TRANSPOSE_COLOR_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_COLOR_MATRIX_ARB));
@@ -2813,16 +3085,19 @@ void gl_init_enums(VALUE module)
2813
3085
  rb_define_const(module, "GL_TRANSPOSE_MODELVIEW_MATRIX", INT2NUM(GL_TRANSPOSE_MODELVIEW_MATRIX));
2814
3086
  rb_define_const(module, "GL_TRANSPOSE_MODELVIEW_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_MODELVIEW_MATRIX_ARB));
2815
3087
  rb_define_const(module, "GL_TRANSPOSE_NV", INT2NUM(GL_TRANSPOSE_NV));
3088
+ rb_define_const(module, "GL_TRANSPOSE_PROGRAM_MATRIX_EXT", INT2NUM(GL_TRANSPOSE_PROGRAM_MATRIX_EXT));
2816
3089
  rb_define_const(module, "GL_TRANSPOSE_PROJECTION_MATRIX", INT2NUM(GL_TRANSPOSE_PROJECTION_MATRIX));
2817
3090
  rb_define_const(module, "GL_TRANSPOSE_PROJECTION_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_PROJECTION_MATRIX_ARB));
2818
3091
  rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX));
2819
3092
  rb_define_const(module, "GL_TRANSPOSE_TEXTURE_MATRIX_ARB", INT2NUM(GL_TRANSPOSE_TEXTURE_MATRIX_ARB));
2820
3093
  rb_define_const(module, "GL_TRIANGLES", INT2NUM(GL_TRIANGLES));
3094
+ rb_define_const(module, "GL_TRIANGLES_ADJACENCY_ARB", INT2NUM(GL_TRIANGLES_ADJACENCY_ARB));
2821
3095
  rb_define_const(module, "GL_TRIANGLES_ADJACENCY_EXT", INT2NUM(GL_TRIANGLES_ADJACENCY_EXT));
2822
3096
  rb_define_const(module, "GL_TRIANGLE_FAN", INT2NUM(GL_TRIANGLE_FAN));
2823
3097
  rb_define_const(module, "GL_TRIANGLE_LIST_SUN", INT2NUM(GL_TRIANGLE_LIST_SUN));
2824
3098
  rb_define_const(module, "GL_TRIANGLE_MESH_SUN", INT2NUM(GL_TRIANGLE_MESH_SUN));
2825
3099
  rb_define_const(module, "GL_TRIANGLE_STRIP", INT2NUM(GL_TRIANGLE_STRIP));
3100
+ rb_define_const(module, "GL_TRIANGLE_STRIP_ADJACENCY_ARB", INT2NUM(GL_TRIANGLE_STRIP_ADJACENCY_ARB));
2826
3101
  rb_define_const(module, "GL_TRIANGLE_STRIP_ADJACENCY_EXT", INT2NUM(GL_TRIANGLE_STRIP_ADJACENCY_EXT));
2827
3102
  rb_define_const(module, "GL_TYPE_RGBA_FLOAT_ATI", INT2NUM(GL_TYPE_RGBA_FLOAT_ATI));
2828
3103
  rb_define_const(module, "GL_UNIFORM_BUFFER_BINDING_EXT", INT2NUM(GL_UNIFORM_BUFFER_BINDING_EXT));
@@ -2852,13 +3127,16 @@ void gl_init_enums(VALUE module)
2852
3127
  rb_define_const(module, "GL_UNSIGNED_BYTE_3_3_2_EXT", INT2NUM(GL_UNSIGNED_BYTE_3_3_2_EXT));
2853
3128
  rb_define_const(module, "GL_UNSIGNED_IDENTITY_NV", INT2NUM(GL_UNSIGNED_IDENTITY_NV));
2854
3129
  rb_define_const(module, "GL_UNSIGNED_INT", INT2NUM(GL_UNSIGNED_INT));
3130
+ rb_define_const(module, "GL_UNSIGNED_INT_10F_11F_11F_REV", INT2NUM(GL_UNSIGNED_INT_10F_11F_11F_REV));
2855
3131
  rb_define_const(module, "GL_UNSIGNED_INT_10F_11F_11F_REV_EXT", INT2NUM(GL_UNSIGNED_INT_10F_11F_11F_REV_EXT));
2856
3132
  rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2", INT2NUM(GL_UNSIGNED_INT_10_10_10_2));
2857
3133
  rb_define_const(module, "GL_UNSIGNED_INT_10_10_10_2_EXT", INT2NUM(GL_UNSIGNED_INT_10_10_10_2_EXT));
3134
+ rb_define_const(module, "GL_UNSIGNED_INT_24_8", INT2NUM(GL_UNSIGNED_INT_24_8));
2858
3135
  rb_define_const(module, "GL_UNSIGNED_INT_24_8_EXT", INT2NUM(GL_UNSIGNED_INT_24_8_EXT));
2859
3136
  rb_define_const(module, "GL_UNSIGNED_INT_24_8_NV", INT2NUM(GL_UNSIGNED_INT_24_8_NV));
2860
3137
  rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV));
2861
3138
  rb_define_const(module, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT", INT2NUM(GL_UNSIGNED_INT_2_10_10_10_REV_EXT));
3139
+ rb_define_const(module, "GL_UNSIGNED_INT_5_9_9_9_REV", INT2NUM(GL_UNSIGNED_INT_5_9_9_9_REV));
2862
3140
  rb_define_const(module, "GL_UNSIGNED_INT_5_9_9_9_REV_EXT", INT2NUM(GL_UNSIGNED_INT_5_9_9_9_REV_EXT));
2863
3141
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8", INT2NUM(GL_UNSIGNED_INT_8_8_8_8));
2864
3142
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_EXT));
@@ -2866,18 +3144,29 @@ void gl_init_enums(VALUE module)
2866
3144
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_8_8_REV_EXT", INT2NUM(GL_UNSIGNED_INT_8_8_8_8_REV_EXT));
2867
3145
  rb_define_const(module, "GL_UNSIGNED_INT_8_8_S8_S8_REV_NV", INT2NUM(GL_UNSIGNED_INT_8_8_S8_S8_REV_NV));
2868
3146
  rb_define_const(module, "GL_UNSIGNED_INT_S8_S8_8_8_NV", INT2NUM(GL_UNSIGNED_INT_S8_S8_8_8_NV));
3147
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D));
3148
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D_ARRAY", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D_ARRAY));
2869
3149
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT));
2870
3150
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_1D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_1D_EXT));
3151
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D));
3152
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_ARRAY));
2871
3153
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT));
2872
3154
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_EXT));
2873
3155
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT));
3156
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_3D", INT2NUM(GL_UNSIGNED_INT_SAMPLER_3D));
2874
3157
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_3D_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_3D_EXT));
2875
3158
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT));
3159
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE));
2876
3160
  rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_CUBE_EXT", INT2NUM(GL_UNSIGNED_INT_SAMPLER_CUBE_EXT));
3161
+ rb_define_const(module, "GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV", INT2NUM(GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV));
3162
+ rb_define_const(module, "GL_UNSIGNED_INT_VEC2", INT2NUM(GL_UNSIGNED_INT_VEC2));
2877
3163
  rb_define_const(module, "GL_UNSIGNED_INT_VEC2_EXT", INT2NUM(GL_UNSIGNED_INT_VEC2_EXT));
3164
+ rb_define_const(module, "GL_UNSIGNED_INT_VEC3", INT2NUM(GL_UNSIGNED_INT_VEC3));
2878
3165
  rb_define_const(module, "GL_UNSIGNED_INT_VEC3_EXT", INT2NUM(GL_UNSIGNED_INT_VEC3_EXT));
3166
+ rb_define_const(module, "GL_UNSIGNED_INT_VEC4", INT2NUM(GL_UNSIGNED_INT_VEC4));
2879
3167
  rb_define_const(module, "GL_UNSIGNED_INT_VEC4_EXT", INT2NUM(GL_UNSIGNED_INT_VEC4_EXT));
2880
3168
  rb_define_const(module, "GL_UNSIGNED_INVERT_NV", INT2NUM(GL_UNSIGNED_INVERT_NV));
3169
+ rb_define_const(module, "GL_UNSIGNED_NORMALIZED", INT2NUM(GL_UNSIGNED_NORMALIZED));
2881
3170
  rb_define_const(module, "GL_UNSIGNED_NORMALIZED_ARB", INT2NUM(GL_UNSIGNED_NORMALIZED_ARB));
2882
3171
  rb_define_const(module, "GL_UNSIGNED_SHORT", INT2NUM(GL_UNSIGNED_SHORT));
2883
3172
  rb_define_const(module, "GL_UNSIGNED_SHORT_1_5_5_5_REV", INT2NUM(GL_UNSIGNED_SHORT_1_5_5_5_REV));
@@ -2922,9 +3211,13 @@ void gl_init_enums(VALUE module)
2922
3211
  rb_define_const(module, "GL_VERSION_1_3", INT2NUM(GL_VERSION_1_3));
2923
3212
  rb_define_const(module, "GL_VERSION_1_4", INT2NUM(GL_VERSION_1_4));
2924
3213
  rb_define_const(module, "GL_VERSION_1_5", INT2NUM(GL_VERSION_1_5));
3214
+ rb_define_const(module, "GL_VERSION_2_0", INT2NUM(GL_VERSION_2_0));
3215
+ rb_define_const(module, "GL_VERSION_2_1", INT2NUM(GL_VERSION_2_1));
3216
+ rb_define_const(module, "GL_VERSION_3_0", INT2NUM(GL_VERSION_3_0));
2925
3217
  rb_define_const(module, "GL_VERTEX23_BIT_PGI", INT2NUM(GL_VERTEX23_BIT_PGI));
2926
3218
  rb_define_const(module, "GL_VERTEX4_BIT_PGI", INT2NUM(GL_VERTEX4_BIT_PGI));
2927
3219
  rb_define_const(module, "GL_VERTEX_ARRAY", INT2NUM(GL_VERTEX_ARRAY));
3220
+ rb_define_const(module, "GL_VERTEX_ARRAY_BINDING", INT2NUM(GL_VERTEX_ARRAY_BINDING));
2928
3221
  rb_define_const(module, "GL_VERTEX_ARRAY_BINDING_APPLE", INT2NUM(GL_VERTEX_ARRAY_BINDING_APPLE));
2929
3222
  rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING));
2930
3223
  rb_define_const(module, "GL_VERTEX_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ARRAY_BUFFER_BINDING_ARB));
@@ -2970,6 +3263,7 @@ void gl_init_enums(VALUE module)
2970
3263
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB));
2971
3264
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED));
2972
3265
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB));
3266
+ rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_INTEGER", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_INTEGER));
2973
3267
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV));
2974
3268
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED));
2975
3269
  rb_define_const(module, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB", INT2NUM(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB));