opengl-bindings 1.3.12 → 1.3.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef07d2f918e6b8ece43c2ad895956ba24452e81f
4
- data.tar.gz: ef617e65da99e1b43a93d53bf679c4e8e9811ff9
3
+ metadata.gz: c092a4dc73ad232e991655af695c4d90c1f4f0d3
4
+ data.tar.gz: 536c3c672fce4b8ee660b4f16b50cdce0b854d0b
5
5
  SHA512:
6
- metadata.gz: 2864c73393860f3bde7f4615da3ec071029f559232da523a3ef11e6ef4ac7bad0792cf7e17d0d1181c9ab3d1b0ee0293526b3e49bfab8d44506ddc0d1b1ebb0d
7
- data.tar.gz: dea66231f174acec6822853bd14384b6114f2b74293a423d0bdf80ce7cbc5029ccd440509dc7c24a833ad2fc1f6aa0c3ff916e844fa2ac394257f86b6ffcad6c
6
+ metadata.gz: a6d593cae6440c8b2a46084e780cd8622c574e73d838a25e8e677ecd66238082641238782b44db74057edc5b7873c38b783729ef0914008c95ebb7981a4a122b
7
+ data.tar.gz: 71b4d13882525fc8d61d3cc4bbef5adc39a503f071a75c581fcc6539b3e3d008ef42da01179a5d3e9d63d918cd1cced49d6ea8784d5ce04ee5ac708dfb75cee5
data/ChangeLog CHANGED
@@ -1,3 +1,15 @@
1
+ 2015-04-29 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated using latest gl.xml.
4
+
5
+ 2015-04-11 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * Updated using latest gl.xml.
8
+
9
+ 2015-03-29 vaiorabbit <http://twitter.com/vaiorabbit>
10
+
11
+ * Updated using latest gl.xml.
12
+
1
13
  2015-03-27 vaiorabbit <http://twitter.com/vaiorabbit>
2
14
 
3
15
  * Updated using latest gl.xml.
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ...and wrapper code generator.
6
6
 
7
7
  * Created : 2013-08-28
8
- * Last modified : 2015-03-27
8
+ * Last modified : 2015-04-29
9
9
 
10
10
 
11
11
  ## Features ##
@@ -376,6 +376,17 @@ module OpenGL
376
376
  SRC_GL_EXT_blend_minmax
377
377
  end # define_ext_command_GL_EXT_blend_minmax
378
378
 
379
+ def define_ext_command_GL_EXT_buffer_storage
380
+ GL_FUNCTIONS_ARGS_MAP[:glBufferStorageEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
381
+ GL_FUNCTIONS_RETVAL_MAP[:glBufferStorageEXT] = Fiddle::TYPE_VOID
382
+ module_eval(<<-SRC_GL_EXT_buffer_storage)
383
+ def glBufferStorageEXT(_target_, _size_, _data_, _flags_)
384
+ f = OpenGL::get_command(:glBufferStorageEXT)
385
+ f.call(_target_, _size_, _data_, _flags_)
386
+ end
387
+ SRC_GL_EXT_buffer_storage
388
+ end # define_ext_command_GL_EXT_buffer_storage
389
+
379
390
  def define_ext_command_GL_EXT_color_buffer_half_float
380
391
  end # define_ext_command_GL_EXT_color_buffer_half_float
381
392
 
@@ -917,6 +928,9 @@ module OpenGL
917
928
  SRC_GL_EXT_occlusion_query_boolean
918
929
  end # define_ext_command_GL_EXT_occlusion_query_boolean
919
930
 
931
+ def define_ext_command_GL_EXT_post_depth_coverage
932
+ end # define_ext_command_GL_EXT_post_depth_coverage
933
+
920
934
  def define_ext_command_GL_EXT_primitive_bounding_box
921
935
  GL_FUNCTIONS_ARGS_MAP[:glPrimitiveBoundingBoxEXT] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
922
936
  GL_FUNCTIONS_RETVAL_MAP[:glPrimitiveBoundingBoxEXT] = Fiddle::TYPE_VOID
@@ -931,6 +945,17 @@ module OpenGL
931
945
  def define_ext_command_GL_EXT_pvrtc_sRGB
932
946
  end # define_ext_command_GL_EXT_pvrtc_sRGB
933
947
 
948
+ def define_ext_command_GL_EXT_raster_multisample
949
+ GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
950
+ GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
951
+ module_eval(<<-SRC_GL_EXT_raster_multisample)
952
+ def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
953
+ f = OpenGL::get_command(:glRasterSamplesEXT)
954
+ f.call(_samples_, _fixedsamplelocations_)
955
+ end
956
+ SRC_GL_EXT_raster_multisample
957
+ end # define_ext_command_GL_EXT_raster_multisample
958
+
934
959
  def define_ext_command_GL_EXT_read_format_bgra
935
960
  end # define_ext_command_GL_EXT_read_format_bgra
936
961
 
@@ -1427,6 +1452,17 @@ module OpenGL
1427
1452
  def define_ext_command_GL_EXT_shadow_samplers
1428
1453
  end # define_ext_command_GL_EXT_shadow_samplers
1429
1454
 
1455
+ def define_ext_command_GL_EXT_sparse_texture
1456
+ GL_FUNCTIONS_ARGS_MAP[:glTexPageCommitmentARB] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
1457
+ GL_FUNCTIONS_RETVAL_MAP[:glTexPageCommitmentARB] = Fiddle::TYPE_VOID
1458
+ module_eval(<<-SRC_GL_EXT_sparse_texture)
1459
+ def glTexPageCommitmentARB(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _commit_)
1460
+ f = OpenGL::get_command(:glTexPageCommitmentARB)
1461
+ f.call(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _commit_)
1462
+ end
1463
+ SRC_GL_EXT_sparse_texture
1464
+ end # define_ext_command_GL_EXT_sparse_texture
1465
+
1430
1466
  def define_ext_command_GL_EXT_tessellation_point_size
1431
1467
  end # define_ext_command_GL_EXT_tessellation_point_size
1432
1468
 
@@ -1547,6 +1583,17 @@ module OpenGL
1547
1583
  def define_ext_command_GL_EXT_texture_filter_anisotropic
1548
1584
  end # define_ext_command_GL_EXT_texture_filter_anisotropic
1549
1585
 
1586
+ def define_ext_command_GL_EXT_texture_filter_minmax
1587
+ GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
1588
+ GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
1589
+ module_eval(<<-SRC_GL_EXT_texture_filter_minmax)
1590
+ def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
1591
+ f = OpenGL::get_command(:glRasterSamplesEXT)
1592
+ f.call(_samples_, _fixedsamplelocations_)
1593
+ end
1594
+ SRC_GL_EXT_texture_filter_minmax
1595
+ end # define_ext_command_GL_EXT_texture_filter_minmax
1596
+
1550
1597
  def define_ext_command_GL_EXT_texture_format_BGRA8888
1551
1598
  end # define_ext_command_GL_EXT_texture_format_BGRA8888
1552
1599
 
@@ -2251,6 +2298,17 @@ module OpenGL
2251
2298
  SRC_GL_NV_conditional_render
2252
2299
  end # define_ext_command_GL_NV_conditional_render
2253
2300
 
2301
+ def define_ext_command_GL_NV_conservative_raster
2302
+ GL_FUNCTIONS_ARGS_MAP[:glSubpixelPrecisionBiasNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2303
+ GL_FUNCTIONS_RETVAL_MAP[:glSubpixelPrecisionBiasNV] = Fiddle::TYPE_VOID
2304
+ module_eval(<<-SRC_GL_NV_conservative_raster)
2305
+ def glSubpixelPrecisionBiasNV(_xbits_, _ybits_)
2306
+ f = OpenGL::get_command(:glSubpixelPrecisionBiasNV)
2307
+ f.call(_xbits_, _ybits_)
2308
+ end
2309
+ SRC_GL_NV_conservative_raster
2310
+ end # define_ext_command_GL_NV_conservative_raster
2311
+
2254
2312
  def define_ext_command_GL_NV_copy_buffer
2255
2313
  GL_FUNCTIONS_ARGS_MAP[:glCopyBufferSubDataNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
2256
2314
  GL_FUNCTIONS_RETVAL_MAP[:glCopyBufferSubDataNV] = Fiddle::TYPE_VOID
@@ -2387,6 +2445,23 @@ module OpenGL
2387
2445
  SRC_GL_NV_fence
2388
2446
  end # define_ext_command_GL_NV_fence
2389
2447
 
2448
+ def define_ext_command_GL_NV_fill_rectangle
2449
+ end # define_ext_command_GL_NV_fill_rectangle
2450
+
2451
+ def define_ext_command_GL_NV_fragment_coverage_to_color
2452
+ GL_FUNCTIONS_ARGS_MAP[:glFragmentCoverageColorNV] = [-Fiddle::TYPE_INT]
2453
+ GL_FUNCTIONS_RETVAL_MAP[:glFragmentCoverageColorNV] = Fiddle::TYPE_VOID
2454
+ module_eval(<<-SRC_GL_NV_fragment_coverage_to_color)
2455
+ def glFragmentCoverageColorNV(_color_)
2456
+ f = OpenGL::get_command(:glFragmentCoverageColorNV)
2457
+ f.call(_color_)
2458
+ end
2459
+ SRC_GL_NV_fragment_coverage_to_color
2460
+ end # define_ext_command_GL_NV_fragment_coverage_to_color
2461
+
2462
+ def define_ext_command_GL_NV_fragment_shader_interlock
2463
+ end # define_ext_command_GL_NV_fragment_shader_interlock
2464
+
2390
2465
  def define_ext_command_GL_NV_framebuffer_blit
2391
2466
  GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
2392
2467
  GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferNV] = Fiddle::TYPE_VOID
@@ -2398,6 +2473,44 @@ module OpenGL
2398
2473
  SRC_GL_NV_framebuffer_blit
2399
2474
  end # define_ext_command_GL_NV_framebuffer_blit
2400
2475
 
2476
+ def define_ext_command_GL_NV_framebuffer_mixed_samples
2477
+ GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
2478
+ GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
2479
+ module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
2480
+ def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
2481
+ f = OpenGL::get_command(:glRasterSamplesEXT)
2482
+ f.call(_samples_, _fixedsamplelocations_)
2483
+ end
2484
+ SRC_GL_NV_framebuffer_mixed_samples
2485
+
2486
+ GL_FUNCTIONS_ARGS_MAP[:glCoverageModulationTableNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2487
+ GL_FUNCTIONS_RETVAL_MAP[:glCoverageModulationTableNV] = Fiddle::TYPE_VOID
2488
+ module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
2489
+ def glCoverageModulationTableNV(_n_, _v_)
2490
+ f = OpenGL::get_command(:glCoverageModulationTableNV)
2491
+ f.call(_n_, _v_)
2492
+ end
2493
+ SRC_GL_NV_framebuffer_mixed_samples
2494
+
2495
+ GL_FUNCTIONS_ARGS_MAP[:glGetCoverageModulationTableNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
2496
+ GL_FUNCTIONS_RETVAL_MAP[:glGetCoverageModulationTableNV] = Fiddle::TYPE_VOID
2497
+ module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
2498
+ def glGetCoverageModulationTableNV(_bufsize_, _v_)
2499
+ f = OpenGL::get_command(:glGetCoverageModulationTableNV)
2500
+ f.call(_bufsize_, _v_)
2501
+ end
2502
+ SRC_GL_NV_framebuffer_mixed_samples
2503
+
2504
+ GL_FUNCTIONS_ARGS_MAP[:glCoverageModulationNV] = [-Fiddle::TYPE_INT]
2505
+ GL_FUNCTIONS_RETVAL_MAP[:glCoverageModulationNV] = Fiddle::TYPE_VOID
2506
+ module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
2507
+ def glCoverageModulationNV(_components_)
2508
+ f = OpenGL::get_command(:glCoverageModulationNV)
2509
+ f.call(_components_)
2510
+ end
2511
+ SRC_GL_NV_framebuffer_mixed_samples
2512
+ end # define_ext_command_GL_NV_framebuffer_mixed_samples
2513
+
2401
2514
  def define_ext_command_GL_NV_framebuffer_multisample
2402
2515
  GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
2403
2516
  GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleNV] = Fiddle::TYPE_VOID
@@ -2412,6 +2525,9 @@ module OpenGL
2412
2525
  def define_ext_command_GL_NV_generate_mipmap_sRGB
2413
2526
  end # define_ext_command_GL_NV_generate_mipmap_sRGB
2414
2527
 
2528
+ def define_ext_command_GL_NV_geometry_shader_passthrough
2529
+ end # define_ext_command_GL_NV_geometry_shader_passthrough
2530
+
2415
2531
  def define_ext_command_GL_NV_image_formats
2416
2532
  end # define_ext_command_GL_NV_image_formats
2417
2533
 
@@ -3071,6 +3187,17 @@ module OpenGL
3071
3187
  SRC_GL_NV_path_rendering
3072
3188
  end # define_ext_command_GL_NV_path_rendering
3073
3189
 
3190
+ def define_ext_command_GL_NV_polygon_mode
3191
+ GL_FUNCTIONS_ARGS_MAP[:glPolygonModeNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
3192
+ GL_FUNCTIONS_RETVAL_MAP[:glPolygonModeNV] = Fiddle::TYPE_VOID
3193
+ module_eval(<<-SRC_GL_NV_polygon_mode)
3194
+ def glPolygonModeNV(_face_, _mode_)
3195
+ f = OpenGL::get_command(:glPolygonModeNV)
3196
+ f.call(_face_, _mode_)
3197
+ end
3198
+ SRC_GL_NV_polygon_mode
3199
+ end # define_ext_command_GL_NV_polygon_mode
3200
+
3074
3201
  def define_ext_command_GL_NV_read_buffer
3075
3202
  GL_FUNCTIONS_ARGS_MAP[:glReadBufferNV] = [-Fiddle::TYPE_INT]
3076
3203
  GL_FUNCTIONS_RETVAL_MAP[:glReadBufferNV] = Fiddle::TYPE_VOID
@@ -3094,9 +3221,44 @@ module OpenGL
3094
3221
  def define_ext_command_GL_NV_read_stencil
3095
3222
  end # define_ext_command_GL_NV_read_stencil
3096
3223
 
3224
+ def define_ext_command_GL_NV_path_rendering_shared_edge
3225
+ end # define_ext_command_GL_NV_path_rendering_shared_edge
3226
+
3097
3227
  def define_ext_command_GL_NV_sRGB_formats
3098
3228
  end # define_ext_command_GL_NV_sRGB_formats
3099
3229
 
3230
+ def define_ext_command_GL_NV_sample_locations
3231
+ GL_FUNCTIONS_ARGS_MAP[:glFramebufferSampleLocationsfvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
3232
+ GL_FUNCTIONS_RETVAL_MAP[:glFramebufferSampleLocationsfvNV] = Fiddle::TYPE_VOID
3233
+ module_eval(<<-SRC_GL_NV_sample_locations)
3234
+ def glFramebufferSampleLocationsfvNV(_target_, _start_, _count_, _v_)
3235
+ f = OpenGL::get_command(:glFramebufferSampleLocationsfvNV)
3236
+ f.call(_target_, _start_, _count_, _v_)
3237
+ end
3238
+ SRC_GL_NV_sample_locations
3239
+
3240
+ GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferSampleLocationsfvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
3241
+ GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferSampleLocationsfvNV] = Fiddle::TYPE_VOID
3242
+ module_eval(<<-SRC_GL_NV_sample_locations)
3243
+ def glNamedFramebufferSampleLocationsfvNV(_framebuffer_, _start_, _count_, _v_)
3244
+ f = OpenGL::get_command(:glNamedFramebufferSampleLocationsfvNV)
3245
+ f.call(_framebuffer_, _start_, _count_, _v_)
3246
+ end
3247
+ SRC_GL_NV_sample_locations
3248
+
3249
+ GL_FUNCTIONS_ARGS_MAP[:glResolveDepthValuesNV] = []
3250
+ GL_FUNCTIONS_RETVAL_MAP[:glResolveDepthValuesNV] = Fiddle::TYPE_VOID
3251
+ module_eval(<<-SRC_GL_NV_sample_locations)
3252
+ def glResolveDepthValuesNV()
3253
+ f = OpenGL::get_command(:glResolveDepthValuesNV)
3254
+ f.call()
3255
+ end
3256
+ SRC_GL_NV_sample_locations
3257
+ end # define_ext_command_GL_NV_sample_locations
3258
+
3259
+ def define_ext_command_GL_NV_sample_mask_override_coverage
3260
+ end # define_ext_command_GL_NV_sample_mask_override_coverage
3261
+
3100
3262
  def define_ext_command_GL_NV_shader_noperspective_interpolation
3101
3263
  end # define_ext_command_GL_NV_shader_noperspective_interpolation
3102
3264
 
@@ -3225,6 +3387,9 @@ module OpenGL
3225
3387
  SRC_GL_NV_viewport_array
3226
3388
  end # define_ext_command_GL_NV_viewport_array
3227
3389
 
3390
+ def define_ext_command_GL_NV_viewport_array2
3391
+ end # define_ext_command_GL_NV_viewport_array2
3392
+
3228
3393
  def define_ext_command_GL_OES_EGL_image
3229
3394
  GL_FUNCTIONS_ARGS_MAP[:glEGLImageTargetTexture2DOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
3230
3395
  GL_FUNCTIONS_RETVAL_MAP[:glEGLImageTargetTexture2DOES] = Fiddle::TYPE_VOID
@@ -3776,6 +3941,20 @@ module OpenGL
3776
3941
  def define_ext_command_GL_OES_vertex_type_10_10_10_2
3777
3942
  end # define_ext_command_GL_OES_vertex_type_10_10_10_2
3778
3943
 
3944
+ def define_ext_command_GL_OVR_multiview
3945
+ GL_FUNCTIONS_ARGS_MAP[:glFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
3946
+ GL_FUNCTIONS_RETVAL_MAP[:glFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID
3947
+ module_eval(<<-SRC_GL_OVR_multiview)
3948
+ def glFramebufferTextureMultiviewOVR(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
3949
+ f = OpenGL::get_command(:glFramebufferTextureMultiviewOVR)
3950
+ f.call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
3951
+ end
3952
+ SRC_GL_OVR_multiview
3953
+ end # define_ext_command_GL_OVR_multiview
3954
+
3955
+ def define_ext_command_GL_OVR_multiview2
3956
+ end # define_ext_command_GL_OVR_multiview2
3957
+
3779
3958
  def define_ext_command_GL_QCOM_alpha_test
3780
3959
  GL_FUNCTIONS_ARGS_MAP[:glAlphaFuncQCOM] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT]
3781
3960
  GL_FUNCTIONS_RETVAL_MAP[:glAlphaFuncQCOM] = Fiddle::TYPE_VOID
@@ -196,6 +196,18 @@ module OpenGL
196
196
  const_set('GL_BLEND_EQUATION_EXT', 0x8009) unless defined?(GL_BLEND_EQUATION_EXT)
197
197
  end # define_ext_enum_GL_EXT_blend_minmax
198
198
 
199
+ def define_ext_enum_GL_EXT_buffer_storage
200
+ const_set('GL_MAP_READ_BIT', 0x0001) unless defined?(GL_MAP_READ_BIT)
201
+ const_set('GL_MAP_WRITE_BIT', 0x0002) unless defined?(GL_MAP_WRITE_BIT)
202
+ const_set('GL_MAP_PERSISTENT_BIT', 0x0040) unless defined?(GL_MAP_PERSISTENT_BIT)
203
+ const_set('GL_MAP_COHERENT_BIT', 0x0080) unless defined?(GL_MAP_COHERENT_BIT)
204
+ const_set('GL_DYNAMIC_STORAGE_BIT', 0x0100) unless defined?(GL_DYNAMIC_STORAGE_BIT)
205
+ const_set('GL_CLIENT_STORAGE_BIT', 0x0200) unless defined?(GL_CLIENT_STORAGE_BIT)
206
+ const_set('GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT', 0x00004000) unless defined?(GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT)
207
+ const_set('GL_BUFFER_IMMUTABLE_STORAGE', 0x821F) unless defined?(GL_BUFFER_IMMUTABLE_STORAGE)
208
+ const_set('GL_BUFFER_STORAGE_FLAGS', 0x8220) unless defined?(GL_BUFFER_STORAGE_FLAGS)
209
+ end # define_ext_enum_GL_EXT_buffer_storage
210
+
199
211
  def define_ext_enum_GL_EXT_color_buffer_half_float
200
212
  const_set('GL_RGBA16F_EXT', 0x881A) unless defined?(GL_RGBA16F_EXT)
201
213
  const_set('GL_RGB16F_EXT', 0x881B) unless defined?(GL_RGB16F_EXT)
@@ -399,6 +411,9 @@ module OpenGL
399
411
  const_set('GL_QUERY_RESULT_AVAILABLE_EXT', 0x8867) unless defined?(GL_QUERY_RESULT_AVAILABLE_EXT)
400
412
  end # define_ext_enum_GL_EXT_occlusion_query_boolean
401
413
 
414
+ def define_ext_enum_GL_EXT_post_depth_coverage
415
+ end # define_ext_enum_GL_EXT_post_depth_coverage
416
+
402
417
  def define_ext_enum_GL_EXT_primitive_bounding_box
403
418
  const_set('GL_PRIMITIVE_BOUNDING_BOX_EXT', 0x92BE) unless defined?(GL_PRIMITIVE_BOUNDING_BOX_EXT)
404
419
  end # define_ext_enum_GL_EXT_primitive_bounding_box
@@ -412,6 +427,15 @@ module OpenGL
412
427
  const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG', 0x93F1) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG)
413
428
  end # define_ext_enum_GL_EXT_pvrtc_sRGB
414
429
 
430
+ def define_ext_enum_GL_EXT_raster_multisample
431
+ const_set('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(GL_RASTER_MULTISAMPLE_EXT)
432
+ const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(GL_RASTER_SAMPLES_EXT)
433
+ const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(GL_MAX_RASTER_SAMPLES_EXT)
434
+ const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
435
+ const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
436
+ const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(GL_EFFECTIVE_RASTER_SAMPLES_EXT)
437
+ end # define_ext_enum_GL_EXT_raster_multisample
438
+
415
439
  def define_ext_enum_GL_EXT_read_format_bgra
416
440
  const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
417
441
  const_set('GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT', 0x8365) unless defined?(GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT)
@@ -489,6 +513,25 @@ module OpenGL
489
513
  const_set('GL_SAMPLER_2D_SHADOW_EXT', 0x8B62) unless defined?(GL_SAMPLER_2D_SHADOW_EXT)
490
514
  end # define_ext_enum_GL_EXT_shadow_samplers
491
515
 
516
+ def define_ext_enum_GL_EXT_sparse_texture
517
+ const_set('GL_TEXTURE_SPARSE_EXT', 0x91A6) unless defined?(GL_TEXTURE_SPARSE_EXT)
518
+ const_set('GL_VIRTUAL_PAGE_SIZE_INDEX_EXT', 0x91A7) unless defined?(GL_VIRTUAL_PAGE_SIZE_INDEX_EXT)
519
+ const_set('GL_NUM_SPARSE_LEVELS_EXT', 0x91AA) unless defined?(GL_NUM_SPARSE_LEVELS_EXT)
520
+ const_set('GL_NUM_VIRTUAL_PAGE_SIZES_EXT', 0x91A8) unless defined?(GL_NUM_VIRTUAL_PAGE_SIZES_EXT)
521
+ const_set('GL_VIRTUAL_PAGE_SIZE_X_EXT', 0x9195) unless defined?(GL_VIRTUAL_PAGE_SIZE_X_EXT)
522
+ const_set('GL_VIRTUAL_PAGE_SIZE_Y_EXT', 0x9196) unless defined?(GL_VIRTUAL_PAGE_SIZE_Y_EXT)
523
+ const_set('GL_VIRTUAL_PAGE_SIZE_Z_EXT', 0x9197) unless defined?(GL_VIRTUAL_PAGE_SIZE_Z_EXT)
524
+ const_set('GL_TEXTURE_2D', 0x0DE1) unless defined?(GL_TEXTURE_2D)
525
+ const_set('GL_TEXTURE_2D_ARRAY', 0x8C1A) unless defined?(GL_TEXTURE_2D_ARRAY)
526
+ const_set('GL_TEXTURE_CUBE_MAP', 0x8513) unless defined?(GL_TEXTURE_CUBE_MAP)
527
+ const_set('GL_TEXTURE_CUBE_MAP_ARRAY_OES', 0x9009) unless defined?(GL_TEXTURE_CUBE_MAP_ARRAY_OES)
528
+ const_set('GL_TEXTURE_3D', 0x806F) unless defined?(GL_TEXTURE_3D)
529
+ const_set('GL_MAX_SPARSE_TEXTURE_SIZE_EXT', 0x9198) unless defined?(GL_MAX_SPARSE_TEXTURE_SIZE_EXT)
530
+ const_set('GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT', 0x9199) unless defined?(GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT)
531
+ const_set('GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT', 0x919A) unless defined?(GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT)
532
+ const_set('GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT', 0x91A9) unless defined?(GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT)
533
+ end # define_ext_enum_GL_EXT_sparse_texture
534
+
492
535
  def define_ext_enum_GL_EXT_tessellation_point_size
493
536
  end # define_ext_enum_GL_EXT_tessellation_point_size
494
537
 
@@ -593,6 +636,15 @@ module OpenGL
593
636
  const_set('GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT', 0x84FF) unless defined?(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT)
594
637
  end # define_ext_enum_GL_EXT_texture_filter_anisotropic
595
638
 
639
+ def define_ext_enum_GL_EXT_texture_filter_minmax
640
+ const_set('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(GL_RASTER_MULTISAMPLE_EXT)
641
+ const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(GL_RASTER_SAMPLES_EXT)
642
+ const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(GL_MAX_RASTER_SAMPLES_EXT)
643
+ const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
644
+ const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
645
+ const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(GL_EFFECTIVE_RASTER_SAMPLES_EXT)
646
+ end # define_ext_enum_GL_EXT_texture_filter_minmax
647
+
596
648
  def define_ext_enum_GL_EXT_texture_format_BGRA8888
597
649
  const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
598
650
  end # define_ext_enum_GL_EXT_texture_format_BGRA8888
@@ -1006,6 +1058,13 @@ module OpenGL
1006
1058
  const_set('GL_QUERY_BY_REGION_NO_WAIT_NV', 0x8E16) unless defined?(GL_QUERY_BY_REGION_NO_WAIT_NV)
1007
1059
  end # define_ext_enum_GL_NV_conditional_render
1008
1060
 
1061
+ def define_ext_enum_GL_NV_conservative_raster
1062
+ const_set('GL_CONSERVATIVE_RASTERIZATION_NV', 0x9346) unless defined?(GL_CONSERVATIVE_RASTERIZATION_NV)
1063
+ const_set('GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV', 0x9347) unless defined?(GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV)
1064
+ const_set('GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV', 0x9348) unless defined?(GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV)
1065
+ const_set('GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV', 0x9349) unless defined?(GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV)
1066
+ end # define_ext_enum_GL_NV_conservative_raster
1067
+
1009
1068
  def define_ext_enum_GL_NV_copy_buffer
1010
1069
  const_set('GL_COPY_READ_BUFFER_NV', 0x8F36) unless defined?(GL_COPY_READ_BUFFER_NV)
1011
1070
  const_set('GL_COPY_WRITE_BUFFER_NV', 0x8F37) unless defined?(GL_COPY_WRITE_BUFFER_NV)
@@ -1095,6 +1154,18 @@ module OpenGL
1095
1154
  const_set('GL_FENCE_CONDITION_NV', 0x84F4) unless defined?(GL_FENCE_CONDITION_NV)
1096
1155
  end # define_ext_enum_GL_NV_fence
1097
1156
 
1157
+ def define_ext_enum_GL_NV_fill_rectangle
1158
+ const_set('GL_FILL_RECTANGLE_NV', 0x933C) unless defined?(GL_FILL_RECTANGLE_NV)
1159
+ end # define_ext_enum_GL_NV_fill_rectangle
1160
+
1161
+ def define_ext_enum_GL_NV_fragment_coverage_to_color
1162
+ const_set('GL_FRAGMENT_COVERAGE_TO_COLOR_NV', 0x92DD) unless defined?(GL_FRAGMENT_COVERAGE_TO_COLOR_NV)
1163
+ const_set('GL_FRAGMENT_COVERAGE_COLOR_NV', 0x92DE) unless defined?(GL_FRAGMENT_COVERAGE_COLOR_NV)
1164
+ end # define_ext_enum_GL_NV_fragment_coverage_to_color
1165
+
1166
+ def define_ext_enum_GL_NV_fragment_shader_interlock
1167
+ end # define_ext_enum_GL_NV_fragment_shader_interlock
1168
+
1098
1169
  def define_ext_enum_GL_NV_framebuffer_blit
1099
1170
  const_set('GL_READ_FRAMEBUFFER_NV', 0x8CA8) unless defined?(GL_READ_FRAMEBUFFER_NV)
1100
1171
  const_set('GL_DRAW_FRAMEBUFFER_NV', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_NV)
@@ -1102,6 +1173,23 @@ module OpenGL
1102
1173
  const_set('GL_READ_FRAMEBUFFER_BINDING_NV', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_NV)
1103
1174
  end # define_ext_enum_GL_NV_framebuffer_blit
1104
1175
 
1176
+ def define_ext_enum_GL_NV_framebuffer_mixed_samples
1177
+ const_set('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(GL_RASTER_MULTISAMPLE_EXT)
1178
+ const_set('GL_COVERAGE_MODULATION_TABLE_NV', 0x9331) unless defined?(GL_COVERAGE_MODULATION_TABLE_NV)
1179
+ const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(GL_RASTER_SAMPLES_EXT)
1180
+ const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(GL_MAX_RASTER_SAMPLES_EXT)
1181
+ const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
1182
+ const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
1183
+ const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(GL_EFFECTIVE_RASTER_SAMPLES_EXT)
1184
+ const_set('GL_COLOR_SAMPLES_NV', 0x8E20) unless defined?(GL_COLOR_SAMPLES_NV)
1185
+ const_set('GL_DEPTH_SAMPLES_NV', 0x932D) unless defined?(GL_DEPTH_SAMPLES_NV)
1186
+ const_set('GL_STENCIL_SAMPLES_NV', 0x932E) unless defined?(GL_STENCIL_SAMPLES_NV)
1187
+ const_set('GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV', 0x932F) unless defined?(GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV)
1188
+ const_set('GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV', 0x9330) unless defined?(GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV)
1189
+ const_set('GL_COVERAGE_MODULATION_NV', 0x9332) unless defined?(GL_COVERAGE_MODULATION_NV)
1190
+ const_set('GL_COVERAGE_MODULATION_TABLE_SIZE_NV', 0x9333) unless defined?(GL_COVERAGE_MODULATION_TABLE_SIZE_NV)
1191
+ end # define_ext_enum_GL_NV_framebuffer_mixed_samples
1192
+
1105
1193
  def define_ext_enum_GL_NV_framebuffer_multisample
1106
1194
  const_set('GL_RENDERBUFFER_SAMPLES_NV', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_NV)
1107
1195
  const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV)
@@ -1111,6 +1199,9 @@ module OpenGL
1111
1199
  def define_ext_enum_GL_NV_generate_mipmap_sRGB
1112
1200
  end # define_ext_enum_GL_NV_generate_mipmap_sRGB
1113
1201
 
1202
+ def define_ext_enum_GL_NV_geometry_shader_passthrough
1203
+ end # define_ext_enum_GL_NV_geometry_shader_passthrough
1204
+
1114
1205
  def define_ext_enum_GL_NV_image_formats
1115
1206
  end # define_ext_enum_GL_NV_image_formats
1116
1207
 
@@ -1304,6 +1395,15 @@ module OpenGL
1304
1395
  const_set('GL_FRAGMENT_INPUT_NV', 0x936D) unless defined?(GL_FRAGMENT_INPUT_NV)
1305
1396
  end # define_ext_enum_GL_NV_path_rendering
1306
1397
 
1398
+ def define_ext_enum_GL_NV_polygon_mode
1399
+ const_set('GL_POLYGON_MODE_NV', 0x0B40) unless defined?(GL_POLYGON_MODE_NV)
1400
+ const_set('GL_POLYGON_OFFSET_POINT_NV', 0x2A01) unless defined?(GL_POLYGON_OFFSET_POINT_NV)
1401
+ const_set('GL_POLYGON_OFFSET_LINE_NV', 0x2A02) unless defined?(GL_POLYGON_OFFSET_LINE_NV)
1402
+ const_set('GL_POINT_NV', 0x1B00) unless defined?(GL_POINT_NV)
1403
+ const_set('GL_LINE_NV', 0x1B01) unless defined?(GL_LINE_NV)
1404
+ const_set('GL_FILL_NV', 0x1B02) unless defined?(GL_FILL_NV)
1405
+ end # define_ext_enum_GL_NV_polygon_mode
1406
+
1307
1407
  def define_ext_enum_GL_NV_read_buffer
1308
1408
  const_set('GL_READ_BUFFER_NV', 0x0C02) unless defined?(GL_READ_BUFFER_NV)
1309
1409
  end # define_ext_enum_GL_NV_read_buffer
@@ -1320,6 +1420,10 @@ module OpenGL
1320
1420
  def define_ext_enum_GL_NV_read_stencil
1321
1421
  end # define_ext_enum_GL_NV_read_stencil
1322
1422
 
1423
+ def define_ext_enum_GL_NV_path_rendering_shared_edge
1424
+ const_set('GL_SHARED_EDGE_NV', 0xC0) unless defined?(GL_SHARED_EDGE_NV)
1425
+ end # define_ext_enum_GL_NV_path_rendering_shared_edge
1426
+
1323
1427
  def define_ext_enum_GL_NV_sRGB_formats
1324
1428
  const_set('GL_SLUMINANCE_NV', 0x8C46) unless defined?(GL_SLUMINANCE_NV)
1325
1429
  const_set('GL_SLUMINANCE_ALPHA_NV', 0x8C44) unless defined?(GL_SLUMINANCE_ALPHA_NV)
@@ -1333,6 +1437,20 @@ module OpenGL
1333
1437
  const_set('GL_ETC1_SRGB8_NV', 0x88EE) unless defined?(GL_ETC1_SRGB8_NV)
1334
1438
  end # define_ext_enum_GL_NV_sRGB_formats
1335
1439
 
1440
+ def define_ext_enum_GL_NV_sample_locations
1441
+ const_set('GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV', 0x933D) unless defined?(GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV)
1442
+ const_set('GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV', 0x933E) unless defined?(GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV)
1443
+ const_set('GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV', 0x933F) unless defined?(GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV)
1444
+ const_set('GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV', 0x9340) unless defined?(GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV)
1445
+ const_set('GL_SAMPLE_LOCATION_NV', 0x8E50) unless defined?(GL_SAMPLE_LOCATION_NV)
1446
+ const_set('GL_PROGRAMMABLE_SAMPLE_LOCATION_NV', 0x9341) unless defined?(GL_PROGRAMMABLE_SAMPLE_LOCATION_NV)
1447
+ const_set('GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV', 0x9342) unless defined?(GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV)
1448
+ const_set('GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV', 0x9343) unless defined?(GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV)
1449
+ end # define_ext_enum_GL_NV_sample_locations
1450
+
1451
+ def define_ext_enum_GL_NV_sample_mask_override_coverage
1452
+ end # define_ext_enum_GL_NV_sample_mask_override_coverage
1453
+
1336
1454
  def define_ext_enum_GL_NV_shader_noperspective_interpolation
1337
1455
  end # define_ext_enum_GL_NV_shader_noperspective_interpolation
1338
1456
 
@@ -1366,6 +1484,9 @@ module OpenGL
1366
1484
  const_set('GL_SCISSOR_TEST', 0x0C11) unless defined?(GL_SCISSOR_TEST)
1367
1485
  end # define_ext_enum_GL_NV_viewport_array
1368
1486
 
1487
+ def define_ext_enum_GL_NV_viewport_array2
1488
+ end # define_ext_enum_GL_NV_viewport_array2
1489
+
1369
1490
  def define_ext_enum_GL_OES_EGL_image
1370
1491
  end # define_ext_enum_GL_OES_EGL_image
1371
1492
 
@@ -1782,6 +1903,15 @@ module OpenGL
1782
1903
  const_set('GL_INT_10_10_10_2_OES', 0x8DF7) unless defined?(GL_INT_10_10_10_2_OES)
1783
1904
  end # define_ext_enum_GL_OES_vertex_type_10_10_10_2
1784
1905
 
1906
+ def define_ext_enum_GL_OVR_multiview
1907
+ const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR', 0x9630) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR)
1908
+ const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR', 0x9632) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR)
1909
+ const_set('GL_MAX_VIEWS_OVR', 0x9631) unless defined?(GL_MAX_VIEWS_OVR)
1910
+ end # define_ext_enum_GL_OVR_multiview
1911
+
1912
+ def define_ext_enum_GL_OVR_multiview2
1913
+ end # define_ext_enum_GL_OVR_multiview2
1914
+
1785
1915
  def define_ext_enum_GL_QCOM_alpha_test
1786
1916
  const_set('GL_ALPHA_TEST_QCOM', 0x0BC0) unless defined?(GL_ALPHA_TEST_QCOM)
1787
1917
  const_set('GL_ALPHA_TEST_FUNC_QCOM', 0x0BC1) unless defined?(GL_ALPHA_TEST_FUNC_QCOM)
@@ -5686,9 +5686,9 @@ module OpenGL
5686
5686
  GL_FUNCTIONS_ARGS_MAP[:glTexPageCommitmentARB] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
5687
5687
  GL_FUNCTIONS_RETVAL_MAP[:glTexPageCommitmentARB] = Fiddle::TYPE_VOID
5688
5688
  module_eval(<<-SRC_GL_ARB_sparse_texture)
5689
- def glTexPageCommitmentARB(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _resident_)
5689
+ def glTexPageCommitmentARB(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _commit_)
5690
5690
  f = OpenGL::get_command(:glTexPageCommitmentARB)
5691
- f.call(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _resident_)
5691
+ f.call(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _commit_)
5692
5692
  end
5693
5693
  SRC_GL_ARB_sparse_texture
5694
5694
  end # define_ext_command_GL_ARB_sparse_texture
@@ -6299,6 +6299,33 @@ module OpenGL
6299
6299
  f.call(_program_, _uniformBlockIndex_, _uniformBlockBinding_)
6300
6300
  end
6301
6301
  SRC_GL_ARB_uniform_buffer_object
6302
+
6303
+ GL_FUNCTIONS_ARGS_MAP[:glBindBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
6304
+ GL_FUNCTIONS_RETVAL_MAP[:glBindBufferRange] = Fiddle::TYPE_VOID
6305
+ module_eval(<<-SRC_GL_ARB_uniform_buffer_object)
6306
+ def glBindBufferRange(_target_, _index_, _buffer_, _offset_, _size_)
6307
+ f = OpenGL::get_command(:glBindBufferRange)
6308
+ f.call(_target_, _index_, _buffer_, _offset_, _size_)
6309
+ end
6310
+ SRC_GL_ARB_uniform_buffer_object
6311
+
6312
+ GL_FUNCTIONS_ARGS_MAP[:glBindBufferBase] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
6313
+ GL_FUNCTIONS_RETVAL_MAP[:glBindBufferBase] = Fiddle::TYPE_VOID
6314
+ module_eval(<<-SRC_GL_ARB_uniform_buffer_object)
6315
+ def glBindBufferBase(_target_, _index_, _buffer_)
6316
+ f = OpenGL::get_command(:glBindBufferBase)
6317
+ f.call(_target_, _index_, _buffer_)
6318
+ end
6319
+ SRC_GL_ARB_uniform_buffer_object
6320
+
6321
+ GL_FUNCTIONS_ARGS_MAP[:glGetIntegeri_v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
6322
+ GL_FUNCTIONS_RETVAL_MAP[:glGetIntegeri_v] = Fiddle::TYPE_VOID
6323
+ module_eval(<<-SRC_GL_ARB_uniform_buffer_object)
6324
+ def glGetIntegeri_v(_target_, _index_, _data_)
6325
+ f = OpenGL::get_command(:glGetIntegeri_v)
6326
+ f.call(_target_, _index_, _data_)
6327
+ end
6328
+ SRC_GL_ARB_uniform_buffer_object
6302
6329
  end # define_ext_command_GL_ARB_uniform_buffer_object
6303
6330
 
6304
6331
  def define_ext_command_GL_ARB_vertex_array_bgra
@@ -11935,9 +11962,9 @@ module OpenGL
11935
11962
  GL_FUNCTIONS_ARGS_MAP[:glTexturePageCommitmentEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
11936
11963
  GL_FUNCTIONS_RETVAL_MAP[:glTexturePageCommitmentEXT] = Fiddle::TYPE_VOID
11937
11964
  module_eval(<<-SRC_GL_EXT_direct_state_access)
11938
- def glTexturePageCommitmentEXT(_texture_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _resident_)
11965
+ def glTexturePageCommitmentEXT(_texture_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _commit_)
11939
11966
  f = OpenGL::get_command(:glTexturePageCommitmentEXT)
11940
- f.call(_texture_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _resident_)
11967
+ f.call(_texture_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _commit_)
11941
11968
  end
11942
11969
  SRC_GL_EXT_direct_state_access
11943
11970
 
@@ -20166,15 +20193,6 @@ module OpenGL
20166
20193
  end
20167
20194
  SRC_GL_OES_fixed_point
20168
20195
 
20169
- GL_FUNCTIONS_ARGS_MAP[:glSampleCoverageOES] = [Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
20170
- GL_FUNCTIONS_RETVAL_MAP[:glSampleCoverageOES] = Fiddle::TYPE_VOID
20171
- module_eval(<<-SRC_GL_OES_fixed_point)
20172
- def glSampleCoverageOES(_value_, _invert_)
20173
- f = OpenGL::get_command(:glSampleCoverageOES)
20174
- f.call(_value_, _invert_)
20175
- end
20176
- SRC_GL_OES_fixed_point
20177
-
20178
20196
  GL_FUNCTIONS_ARGS_MAP[:glScalexOES] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
20179
20197
  GL_FUNCTIONS_RETVAL_MAP[:glScalexOES] = Fiddle::TYPE_VOID
20180
20198
  module_eval(<<-SRC_GL_OES_fixed_point)
@@ -20957,6 +20975,20 @@ module OpenGL
20957
20975
  def define_ext_command_GL_OML_subsample
20958
20976
  end # define_ext_command_GL_OML_subsample
20959
20977
 
20978
+ def define_ext_command_GL_OVR_multiview
20979
+ GL_FUNCTIONS_ARGS_MAP[:glFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
20980
+ GL_FUNCTIONS_RETVAL_MAP[:glFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID
20981
+ module_eval(<<-SRC_GL_OVR_multiview)
20982
+ def glFramebufferTextureMultiviewOVR(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
20983
+ f = OpenGL::get_command(:glFramebufferTextureMultiviewOVR)
20984
+ f.call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
20985
+ end
20986
+ SRC_GL_OVR_multiview
20987
+ end # define_ext_command_GL_OVR_multiview
20988
+
20989
+ def define_ext_command_GL_OVR_multiview2
20990
+ end # define_ext_command_GL_OVR_multiview2
20991
+
20960
20992
  def define_ext_command_GL_PGI_misc_hints
20961
20993
  GL_FUNCTIONS_ARGS_MAP[:glHintPGI] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
20962
20994
  GL_FUNCTIONS_RETVAL_MAP[:glHintPGI] = Fiddle::TYPE_VOID
@@ -5039,6 +5039,15 @@ module OpenGL
5039
5039
  const_set('GL_FORMAT_SUBSAMPLE_244_244_OML', 0x8983) unless defined?(GL_FORMAT_SUBSAMPLE_244_244_OML)
5040
5040
  end # define_ext_enum_GL_OML_subsample
5041
5041
 
5042
+ def define_ext_enum_GL_OVR_multiview
5043
+ const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR', 0x9630) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR)
5044
+ const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR', 0x9632) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR)
5045
+ const_set('GL_MAX_VIEWS_OVR', 0x9631) unless defined?(GL_MAX_VIEWS_OVR)
5046
+ end # define_ext_enum_GL_OVR_multiview
5047
+
5048
+ def define_ext_enum_GL_OVR_multiview2
5049
+ end # define_ext_enum_GL_OVR_multiview2
5050
+
5042
5051
  def define_ext_enum_GL_PGI_misc_hints
5043
5052
  const_set('GL_PREFER_DOUBLEBUFFER_HINT_PGI', 0x1A1F8) unless defined?(GL_PREFER_DOUBLEBUFFER_HINT_PGI)
5044
5053
  const_set('GL_CONSERVE_MEMORY_HINT_PGI', 0x1A1FD) unless defined?(GL_CONSERVE_MEMORY_HINT_PGI)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Ruby bindings for OpenGL - 4.5, OpenGL ES - 3.1 and all extensions using Fiddle (For MRI >= 2.0.0).