opengl-bindings 1.3.11 → 1.3.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -312,6 +312,9 @@ module OpenGL
312
312
  def define_ext_enum_GL_EXT_draw_instanced
313
313
  end # define_ext_enum_GL_EXT_draw_instanced
314
314
 
315
+ def define_ext_enum_GL_EXT_float_blend
316
+ end # define_ext_enum_GL_EXT_float_blend
317
+
315
318
  def define_ext_enum_GL_EXT_geometry_point_size
316
319
  end # define_ext_enum_GL_EXT_geometry_point_size
317
320
 
@@ -618,6 +621,14 @@ module OpenGL
618
621
  const_set('GL_SKIP_DECODE_EXT', 0x8A4A) unless defined?(GL_SKIP_DECODE_EXT)
619
622
  end # define_ext_enum_GL_EXT_texture_sRGB_decode
620
623
 
624
+ def define_ext_enum_GL_EXT_texture_sRGB_R8
625
+ const_set('GL_SR8_EXT', 0x8FBD) unless defined?(GL_SR8_EXT)
626
+ end # define_ext_enum_GL_EXT_texture_sRGB_R8
627
+
628
+ def define_ext_enum_GL_EXT_texture_sRGB_RG8
629
+ const_set('GL_SRG8_EXT', 0x8FBE) unless defined?(GL_SRG8_EXT)
630
+ end # define_ext_enum_GL_EXT_texture_sRGB_RG8
631
+
621
632
  def define_ext_enum_GL_EXT_texture_storage
622
633
  const_set('GL_TEXTURE_IMMUTABLE_FORMAT_EXT', 0x912F) unless defined?(GL_TEXTURE_IMMUTABLE_FORMAT_EXT)
623
634
  const_set('GL_ALPHA8_EXT', 0x803C) unless defined?(GL_ALPHA8_EXT)
@@ -662,6 +673,13 @@ module OpenGL
662
673
  const_set('GL_UNPACK_SKIP_PIXELS_EXT', 0x0CF4) unless defined?(GL_UNPACK_SKIP_PIXELS_EXT)
663
674
  end # define_ext_enum_GL_EXT_unpack_subimage
664
675
 
676
+ def define_ext_enum_GL_EXT_YUV_target
677
+ const_set('GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT', 0x8BE7) unless defined?(GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT)
678
+ const_set('GL_TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(GL_TEXTURE_EXTERNAL_OES)
679
+ const_set('GL_TEXTURE_BINDING_EXTERNAL_OES', 0x8D67) unless defined?(GL_TEXTURE_BINDING_EXTERNAL_OES)
680
+ const_set('GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES', 0x8D68) unless defined?(GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)
681
+ end # define_ext_enum_GL_EXT_YUV_target
682
+
665
683
  def define_ext_enum_GL_FJ_shader_binary_GCCSO
666
684
  const_set('GL_GCCSO_SHADER_BINARY_FJ', 0x9260) unless defined?(GL_GCCSO_SHADER_BINARY_FJ)
667
685
  end # define_ext_enum_GL_FJ_shader_binary_GCCSO
@@ -779,6 +797,7 @@ module OpenGL
779
797
  const_set('GL_PROGRAM', 0x82E2) unless defined?(GL_PROGRAM)
780
798
  const_set('GL_VERTEX_ARRAY', 0x8074) unless defined?(GL_VERTEX_ARRAY)
781
799
  const_set('GL_QUERY', 0x82E3) unless defined?(GL_QUERY)
800
+ const_set('GL_PROGRAM_PIPELINE', 0x82E4) unless defined?(GL_PROGRAM_PIPELINE)
782
801
  const_set('GL_SAMPLER', 0x82E6) unless defined?(GL_SAMPLER)
783
802
  const_set('GL_MAX_LABEL_LENGTH', 0x82E8) unless defined?(GL_MAX_LABEL_LENGTH)
784
803
  const_set('GL_MAX_DEBUG_MESSAGE_LENGTH', 0x9143) unless defined?(GL_MAX_DEBUG_MESSAGE_LENGTH)
@@ -818,6 +837,7 @@ module OpenGL
818
837
  const_set('GL_PROGRAM_KHR', 0x82E2) unless defined?(GL_PROGRAM_KHR)
819
838
  const_set('GL_VERTEX_ARRAY_KHR', 0x8074) unless defined?(GL_VERTEX_ARRAY_KHR)
820
839
  const_set('GL_QUERY_KHR', 0x82E3) unless defined?(GL_QUERY_KHR)
840
+ const_set('GL_PROGRAM_PIPELINE_KHR', 0x82E4) unless defined?(GL_PROGRAM_PIPELINE_KHR)
821
841
  const_set('GL_SAMPLER_KHR', 0x82E6) unless defined?(GL_SAMPLER_KHR)
822
842
  const_set('GL_MAX_LABEL_LENGTH_KHR', 0x82E8) unless defined?(GL_MAX_LABEL_LENGTH_KHR)
823
843
  const_set('GL_MAX_DEBUG_MESSAGE_LENGTH_KHR', 0x9143) unless defined?(GL_MAX_DEBUG_MESSAGE_LENGTH_KHR)
@@ -830,7 +850,6 @@ module OpenGL
830
850
  const_set('GL_CONTEXT_FLAG_DEBUG_BIT_KHR', 0x00000002) unless defined?(GL_CONTEXT_FLAG_DEBUG_BIT_KHR)
831
851
  const_set('GL_STACK_OVERFLOW_KHR', 0x0503) unless defined?(GL_STACK_OVERFLOW_KHR)
832
852
  const_set('GL_STACK_UNDERFLOW_KHR', 0x0504) unless defined?(GL_STACK_UNDERFLOW_KHR)
833
- const_set('GL_PROGRAM_PIPELINE', 0x82E4) unless defined?(GL_PROGRAM_PIPELINE)
834
853
  const_set('GL_DISPLAY_LIST', 0x82E7) unless defined?(GL_DISPLAY_LIST)
835
854
  end # define_ext_enum_GL_KHR_debug
836
855
 
@@ -1357,6 +1376,9 @@ module OpenGL
1357
1376
  const_set('GL_SAMPLER_EXTERNAL_OES', 0x8D66) unless defined?(GL_SAMPLER_EXTERNAL_OES)
1358
1377
  end # define_ext_enum_GL_OES_EGL_image_external
1359
1378
 
1379
+ def define_ext_enum_GL_OES_EGL_image_external_essl3
1380
+ end # define_ext_enum_GL_OES_EGL_image_external_essl3
1381
+
1360
1382
  def define_ext_enum_GL_OES_compressed_ETC1_RGB8_sub_texture
1361
1383
  end # define_ext_enum_GL_OES_compressed_ETC1_RGB8_sub_texture
1362
1384
 
@@ -1377,6 +1399,9 @@ module OpenGL
1377
1399
  const_set('GL_PALETTE8_RGB5_A1_OES', 0x8B99) unless defined?(GL_PALETTE8_RGB5_A1_OES)
1378
1400
  end # define_ext_enum_GL_OES_compressed_paletted_texture
1379
1401
 
1402
+ def define_ext_enum_GL_OES_copy_image
1403
+ end # define_ext_enum_GL_OES_copy_image
1404
+
1380
1405
  def define_ext_enum_GL_OES_depth24
1381
1406
  const_set('GL_DEPTH_COMPONENT24_OES', 0x81A6) unless defined?(GL_DEPTH_COMPONENT24_OES)
1382
1407
  end # define_ext_enum_GL_OES_depth24
@@ -1391,6 +1416,40 @@ module OpenGL
1391
1416
  const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
1392
1417
  end # define_ext_enum_GL_OES_depth_texture
1393
1418
 
1419
+ def define_ext_enum_GL_OES_draw_buffers_indexed
1420
+ const_set('GL_BLEND_EQUATION_RGB', 0x8009) unless defined?(GL_BLEND_EQUATION_RGB)
1421
+ const_set('GL_BLEND_EQUATION_ALPHA', 0x883D) unless defined?(GL_BLEND_EQUATION_ALPHA)
1422
+ const_set('GL_BLEND_SRC_RGB', 0x80C9) unless defined?(GL_BLEND_SRC_RGB)
1423
+ const_set('GL_BLEND_SRC_ALPHA', 0x80CB) unless defined?(GL_BLEND_SRC_ALPHA)
1424
+ const_set('GL_BLEND_DST_RGB', 0x80C8) unless defined?(GL_BLEND_DST_RGB)
1425
+ const_set('GL_BLEND_DST_ALPHA', 0x80CA) unless defined?(GL_BLEND_DST_ALPHA)
1426
+ const_set('GL_COLOR_WRITEMASK', 0x0C23) unless defined?(GL_COLOR_WRITEMASK)
1427
+ const_set('GL_BLEND', 0x0BE2) unless defined?(GL_BLEND)
1428
+ const_set('GL_FUNC_ADD', 0x8006) unless defined?(GL_FUNC_ADD)
1429
+ const_set('GL_FUNC_SUBTRACT', 0x800A) unless defined?(GL_FUNC_SUBTRACT)
1430
+ const_set('GL_FUNC_REVERSE_SUBTRACT', 0x800B) unless defined?(GL_FUNC_REVERSE_SUBTRACT)
1431
+ const_set('GL_MIN', 0x8007) unless defined?(GL_MIN)
1432
+ const_set('GL_MAX', 0x8008) unless defined?(GL_MAX)
1433
+ const_set('GL_ZERO', 0) unless defined?(GL_ZERO)
1434
+ const_set('GL_ONE', 1) unless defined?(GL_ONE)
1435
+ const_set('GL_SRC_COLOR', 0x0300) unless defined?(GL_SRC_COLOR)
1436
+ const_set('GL_ONE_MINUS_SRC_COLOR', 0x0301) unless defined?(GL_ONE_MINUS_SRC_COLOR)
1437
+ const_set('GL_DST_COLOR', 0x0306) unless defined?(GL_DST_COLOR)
1438
+ const_set('GL_ONE_MINUS_DST_COLOR', 0x0307) unless defined?(GL_ONE_MINUS_DST_COLOR)
1439
+ const_set('GL_SRC_ALPHA', 0x0302) unless defined?(GL_SRC_ALPHA)
1440
+ const_set('GL_ONE_MINUS_SRC_ALPHA', 0x0303) unless defined?(GL_ONE_MINUS_SRC_ALPHA)
1441
+ const_set('GL_DST_ALPHA', 0x0304) unless defined?(GL_DST_ALPHA)
1442
+ const_set('GL_ONE_MINUS_DST_ALPHA', 0x0305) unless defined?(GL_ONE_MINUS_DST_ALPHA)
1443
+ const_set('GL_CONSTANT_COLOR', 0x8001) unless defined?(GL_CONSTANT_COLOR)
1444
+ const_set('GL_ONE_MINUS_CONSTANT_COLOR', 0x8002) unless defined?(GL_ONE_MINUS_CONSTANT_COLOR)
1445
+ const_set('GL_CONSTANT_ALPHA', 0x8003) unless defined?(GL_CONSTANT_ALPHA)
1446
+ const_set('GL_ONE_MINUS_CONSTANT_ALPHA', 0x8004) unless defined?(GL_ONE_MINUS_CONSTANT_ALPHA)
1447
+ const_set('GL_SRC_ALPHA_SATURATE', 0x0308) unless defined?(GL_SRC_ALPHA_SATURATE)
1448
+ end # define_ext_enum_GL_OES_draw_buffers_indexed
1449
+
1450
+ def define_ext_enum_GL_OES_draw_elements_base_vertex
1451
+ end # define_ext_enum_GL_OES_draw_elements_base_vertex
1452
+
1394
1453
  def define_ext_enum_GL_OES_element_index_uint
1395
1454
  const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
1396
1455
  end # define_ext_enum_GL_OES_element_index_uint
@@ -1401,12 +1460,54 @@ module OpenGL
1401
1460
  def define_ext_enum_GL_OES_fragment_precision_high
1402
1461
  end # define_ext_enum_GL_OES_fragment_precision_high
1403
1462
 
1463
+ def define_ext_enum_GL_OES_geometry_shader
1464
+ const_set('GL_GEOMETRY_SHADER_OES', 0x8DD9) unless defined?(GL_GEOMETRY_SHADER_OES)
1465
+ const_set('GL_GEOMETRY_SHADER_BIT_OES', 0x00000004) unless defined?(GL_GEOMETRY_SHADER_BIT_OES)
1466
+ const_set('GL_GEOMETRY_LINKED_VERTICES_OUT_OES', 0x8916) unless defined?(GL_GEOMETRY_LINKED_VERTICES_OUT_OES)
1467
+ const_set('GL_GEOMETRY_LINKED_INPUT_TYPE_OES', 0x8917) unless defined?(GL_GEOMETRY_LINKED_INPUT_TYPE_OES)
1468
+ const_set('GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES', 0x8918) unless defined?(GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES)
1469
+ const_set('GL_GEOMETRY_SHADER_INVOCATIONS_OES', 0x887F) unless defined?(GL_GEOMETRY_SHADER_INVOCATIONS_OES)
1470
+ const_set('GL_LAYER_PROVOKING_VERTEX_OES', 0x825E) unless defined?(GL_LAYER_PROVOKING_VERTEX_OES)
1471
+ const_set('GL_LINES_ADJACENCY_OES', 0x000A) unless defined?(GL_LINES_ADJACENCY_OES)
1472
+ const_set('GL_LINE_STRIP_ADJACENCY_OES', 0x000B) unless defined?(GL_LINE_STRIP_ADJACENCY_OES)
1473
+ const_set('GL_TRIANGLES_ADJACENCY_OES', 0x000C) unless defined?(GL_TRIANGLES_ADJACENCY_OES)
1474
+ const_set('GL_TRIANGLE_STRIP_ADJACENCY_OES', 0x000D) unless defined?(GL_TRIANGLE_STRIP_ADJACENCY_OES)
1475
+ const_set('GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES', 0x8DDF) unless defined?(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES)
1476
+ const_set('GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES', 0x8A2C) unless defined?(GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES)
1477
+ const_set('GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES', 0x8A32) unless defined?(GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES)
1478
+ const_set('GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES', 0x9123) unless defined?(GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES)
1479
+ const_set('GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES', 0x9124) unless defined?(GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES)
1480
+ const_set('GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES', 0x8DE0) unless defined?(GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES)
1481
+ const_set('GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES', 0x8DE1) unless defined?(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES)
1482
+ const_set('GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES', 0x8E5A) unless defined?(GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES)
1483
+ const_set('GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES', 0x8C29) unless defined?(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES)
1484
+ const_set('GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES', 0x92CF) unless defined?(GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES)
1485
+ const_set('GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES', 0x92D5) unless defined?(GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES)
1486
+ const_set('GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES', 0x90CD) unless defined?(GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES)
1487
+ const_set('GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES', 0x90D7) unless defined?(GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES)
1488
+ const_set('GL_FIRST_VERTEX_CONVENTION_OES', 0x8E4D) unless defined?(GL_FIRST_VERTEX_CONVENTION_OES)
1489
+ const_set('GL_LAST_VERTEX_CONVENTION_OES', 0x8E4E) unless defined?(GL_LAST_VERTEX_CONVENTION_OES)
1490
+ const_set('GL_UNDEFINED_VERTEX_OES', 0x8260) unless defined?(GL_UNDEFINED_VERTEX_OES)
1491
+ const_set('GL_PRIMITIVES_GENERATED_OES', 0x8C87) unless defined?(GL_PRIMITIVES_GENERATED_OES)
1492
+ const_set('GL_FRAMEBUFFER_DEFAULT_LAYERS_OES', 0x9312) unless defined?(GL_FRAMEBUFFER_DEFAULT_LAYERS_OES)
1493
+ const_set('GL_MAX_FRAMEBUFFER_LAYERS_OES', 0x9317) unless defined?(GL_MAX_FRAMEBUFFER_LAYERS_OES)
1494
+ const_set('GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES', 0x8DA8) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES)
1495
+ const_set('GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES', 0x8DA7) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES)
1496
+ const_set('GL_REFERENCED_BY_GEOMETRY_SHADER_OES', 0x9309) unless defined?(GL_REFERENCED_BY_GEOMETRY_SHADER_OES)
1497
+ end # define_ext_enum_GL_OES_geometry_shader
1498
+
1499
+ def define_ext_enum_GL_OES_geometry_point_size
1500
+ end # define_ext_enum_GL_OES_geometry_point_size
1501
+
1404
1502
  def define_ext_enum_GL_OES_get_program_binary
1405
1503
  const_set('GL_PROGRAM_BINARY_LENGTH_OES', 0x8741) unless defined?(GL_PROGRAM_BINARY_LENGTH_OES)
1406
1504
  const_set('GL_NUM_PROGRAM_BINARY_FORMATS_OES', 0x87FE) unless defined?(GL_NUM_PROGRAM_BINARY_FORMATS_OES)
1407
1505
  const_set('GL_PROGRAM_BINARY_FORMATS_OES', 0x87FF) unless defined?(GL_PROGRAM_BINARY_FORMATS_OES)
1408
1506
  end # define_ext_enum_GL_OES_get_program_binary
1409
1507
 
1508
+ def define_ext_enum_GL_OES_gpu_shader5
1509
+ end # define_ext_enum_GL_OES_gpu_shader5
1510
+
1410
1511
  def define_ext_enum_GL_OES_mapbuffer
1411
1512
  const_set('GL_WRITE_ONLY_OES', 0x88B9) unless defined?(GL_WRITE_ONLY_OES)
1412
1513
  const_set('GL_BUFFER_ACCESS_OES', 0x88BB) unless defined?(GL_BUFFER_ACCESS_OES)
@@ -1420,6 +1521,10 @@ module OpenGL
1420
1521
  const_set('GL_DEPTH24_STENCIL8_OES', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8_OES)
1421
1522
  end # define_ext_enum_GL_OES_packed_depth_stencil
1422
1523
 
1524
+ def define_ext_enum_GL_OES_primitive_bounding_box
1525
+ const_set('GL_PRIMITIVE_BOUNDING_BOX_OES', 0x92BE) unless defined?(GL_PRIMITIVE_BOUNDING_BOX_OES)
1526
+ end # define_ext_enum_GL_OES_primitive_bounding_box
1527
+
1423
1528
  def define_ext_enum_GL_OES_required_internalformat
1424
1529
  const_set('GL_ALPHA8_OES', 0x803C) unless defined?(GL_ALPHA8_OES)
1425
1530
  const_set('GL_DEPTH_COMPONENT16_OES', 0x81A5) unless defined?(GL_DEPTH_COMPONENT16_OES)
@@ -1454,6 +1559,9 @@ module OpenGL
1454
1559
  def define_ext_enum_GL_OES_shader_image_atomic
1455
1560
  end # define_ext_enum_GL_OES_shader_image_atomic
1456
1561
 
1562
+ def define_ext_enum_GL_OES_shader_io_blocks
1563
+ end # define_ext_enum_GL_OES_shader_io_blocks
1564
+
1457
1565
  def define_ext_enum_GL_OES_shader_multisample_interpolation
1458
1566
  const_set('GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES', 0x8E5B) unless defined?(GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES)
1459
1567
  const_set('GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES', 0x8E5C) unless defined?(GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES)
@@ -1476,6 +1584,59 @@ module OpenGL
1476
1584
  const_set('GL_FRAMEBUFFER_UNDEFINED_OES', 0x8219) unless defined?(GL_FRAMEBUFFER_UNDEFINED_OES)
1477
1585
  end # define_ext_enum_GL_OES_surfaceless_context
1478
1586
 
1587
+ def define_ext_enum_GL_OES_tessellation_shader
1588
+ const_set('GL_PATCHES_OES', 0x000E) unless defined?(GL_PATCHES_OES)
1589
+ const_set('GL_PATCH_VERTICES_OES', 0x8E72) unless defined?(GL_PATCH_VERTICES_OES)
1590
+ const_set('GL_TESS_CONTROL_OUTPUT_VERTICES_OES', 0x8E75) unless defined?(GL_TESS_CONTROL_OUTPUT_VERTICES_OES)
1591
+ const_set('GL_TESS_GEN_MODE_OES', 0x8E76) unless defined?(GL_TESS_GEN_MODE_OES)
1592
+ const_set('GL_TESS_GEN_SPACING_OES', 0x8E77) unless defined?(GL_TESS_GEN_SPACING_OES)
1593
+ const_set('GL_TESS_GEN_VERTEX_ORDER_OES', 0x8E78) unless defined?(GL_TESS_GEN_VERTEX_ORDER_OES)
1594
+ const_set('GL_TESS_GEN_POINT_MODE_OES', 0x8E79) unless defined?(GL_TESS_GEN_POINT_MODE_OES)
1595
+ const_set('GL_TRIANGLES', 0x0004) unless defined?(GL_TRIANGLES)
1596
+ const_set('GL_ISOLINES_OES', 0x8E7A) unless defined?(GL_ISOLINES_OES)
1597
+ const_set('GL_QUADS_OES', 0x0007) unless defined?(GL_QUADS_OES)
1598
+ const_set('GL_EQUAL', 0x0202) unless defined?(GL_EQUAL)
1599
+ const_set('GL_FRACTIONAL_ODD_OES', 0x8E7B) unless defined?(GL_FRACTIONAL_ODD_OES)
1600
+ const_set('GL_FRACTIONAL_EVEN_OES', 0x8E7C) unless defined?(GL_FRACTIONAL_EVEN_OES)
1601
+ const_set('GL_CCW', 0x0901) unless defined?(GL_CCW)
1602
+ const_set('GL_CW', 0x0900) unless defined?(GL_CW)
1603
+ const_set('GL_MAX_PATCH_VERTICES_OES', 0x8E7D) unless defined?(GL_MAX_PATCH_VERTICES_OES)
1604
+ const_set('GL_MAX_TESS_GEN_LEVEL_OES', 0x8E7E) unless defined?(GL_MAX_TESS_GEN_LEVEL_OES)
1605
+ const_set('GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES', 0x8E7F) unless defined?(GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES)
1606
+ const_set('GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES', 0x8E80) unless defined?(GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES)
1607
+ const_set('GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES', 0x8E81) unless defined?(GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES)
1608
+ const_set('GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES', 0x8E82) unless defined?(GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES)
1609
+ const_set('GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES', 0x8E83) unless defined?(GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES)
1610
+ const_set('GL_MAX_TESS_PATCH_COMPONENTS_OES', 0x8E84) unless defined?(GL_MAX_TESS_PATCH_COMPONENTS_OES)
1611
+ const_set('GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES', 0x8E85) unless defined?(GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES)
1612
+ const_set('GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES', 0x8E86) unless defined?(GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES)
1613
+ const_set('GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES', 0x8E89) unless defined?(GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES)
1614
+ const_set('GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES', 0x8E8A) unless defined?(GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES)
1615
+ const_set('GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES', 0x886C) unless defined?(GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES)
1616
+ const_set('GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES', 0x886D) unless defined?(GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES)
1617
+ const_set('GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES', 0x8E1E) unless defined?(GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES)
1618
+ const_set('GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES', 0x8E1F) unless defined?(GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES)
1619
+ const_set('GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES', 0x92CD) unless defined?(GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES)
1620
+ const_set('GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES', 0x92CE) unless defined?(GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES)
1621
+ const_set('GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES', 0x92D3) unless defined?(GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES)
1622
+ const_set('GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES', 0x92D4) unless defined?(GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES)
1623
+ const_set('GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES', 0x90CB) unless defined?(GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES)
1624
+ const_set('GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES', 0x90CC) unless defined?(GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES)
1625
+ const_set('GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES', 0x90D8) unless defined?(GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES)
1626
+ const_set('GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES', 0x90D9) unless defined?(GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES)
1627
+ const_set('GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES', 0x8221) unless defined?(GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES)
1628
+ const_set('GL_IS_PER_PATCH_OES', 0x92E7) unless defined?(GL_IS_PER_PATCH_OES)
1629
+ const_set('GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES', 0x9307) unless defined?(GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES)
1630
+ const_set('GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES', 0x9308) unless defined?(GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES)
1631
+ const_set('GL_TESS_CONTROL_SHADER_OES', 0x8E88) unless defined?(GL_TESS_CONTROL_SHADER_OES)
1632
+ const_set('GL_TESS_EVALUATION_SHADER_OES', 0x8E87) unless defined?(GL_TESS_EVALUATION_SHADER_OES)
1633
+ const_set('GL_TESS_CONTROL_SHADER_BIT_OES', 0x00000008) unless defined?(GL_TESS_CONTROL_SHADER_BIT_OES)
1634
+ const_set('GL_TESS_EVALUATION_SHADER_BIT_OES', 0x00000010) unless defined?(GL_TESS_EVALUATION_SHADER_BIT_OES)
1635
+ end # define_ext_enum_GL_OES_tessellation_shader
1636
+
1637
+ def define_ext_enum_GL_OES_tessellation_point_size
1638
+ end # define_ext_enum_GL_OES_tessellation_point_size
1639
+
1479
1640
  def define_ext_enum_GL_OES_texture_3D
1480
1641
  const_set('GL_TEXTURE_WRAP_R_OES', 0x8072) unless defined?(GL_TEXTURE_WRAP_R_OES)
1481
1642
  const_set('GL_TEXTURE_3D_OES', 0x806F) unless defined?(GL_TEXTURE_3D_OES)
@@ -1485,6 +1646,28 @@ module OpenGL
1485
1646
  const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES', 0x8CD4) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES)
1486
1647
  end # define_ext_enum_GL_OES_texture_3D
1487
1648
 
1649
+ def define_ext_enum_GL_OES_texture_border_clamp
1650
+ const_set('GL_TEXTURE_BORDER_COLOR_OES', 0x1004) unless defined?(GL_TEXTURE_BORDER_COLOR_OES)
1651
+ const_set('GL_CLAMP_TO_BORDER_OES', 0x812D) unless defined?(GL_CLAMP_TO_BORDER_OES)
1652
+ end # define_ext_enum_GL_OES_texture_border_clamp
1653
+
1654
+ def define_ext_enum_GL_OES_texture_buffer
1655
+ const_set('GL_TEXTURE_BUFFER_OES', 0x8C2A) unless defined?(GL_TEXTURE_BUFFER_OES)
1656
+ const_set('GL_TEXTURE_BUFFER_BINDING_OES', 0x8C2A) unless defined?(GL_TEXTURE_BUFFER_BINDING_OES)
1657
+ const_set('GL_MAX_TEXTURE_BUFFER_SIZE_OES', 0x8C2B) unless defined?(GL_MAX_TEXTURE_BUFFER_SIZE_OES)
1658
+ const_set('GL_TEXTURE_BINDING_BUFFER_OES', 0x8C2C) unless defined?(GL_TEXTURE_BINDING_BUFFER_OES)
1659
+ const_set('GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES', 0x8C2D) unless defined?(GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES)
1660
+ const_set('GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES', 0x919F) unless defined?(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES)
1661
+ const_set('GL_SAMPLER_BUFFER_OES', 0x8DC2) unless defined?(GL_SAMPLER_BUFFER_OES)
1662
+ const_set('GL_INT_SAMPLER_BUFFER_OES', 0x8DD0) unless defined?(GL_INT_SAMPLER_BUFFER_OES)
1663
+ const_set('GL_UNSIGNED_INT_SAMPLER_BUFFER_OES', 0x8DD8) unless defined?(GL_UNSIGNED_INT_SAMPLER_BUFFER_OES)
1664
+ const_set('GL_IMAGE_BUFFER_OES', 0x9051) unless defined?(GL_IMAGE_BUFFER_OES)
1665
+ const_set('GL_INT_IMAGE_BUFFER_OES', 0x905C) unless defined?(GL_INT_IMAGE_BUFFER_OES)
1666
+ const_set('GL_UNSIGNED_INT_IMAGE_BUFFER_OES', 0x9067) unless defined?(GL_UNSIGNED_INT_IMAGE_BUFFER_OES)
1667
+ const_set('GL_TEXTURE_BUFFER_OFFSET_OES', 0x919D) unless defined?(GL_TEXTURE_BUFFER_OFFSET_OES)
1668
+ const_set('GL_TEXTURE_BUFFER_SIZE_OES', 0x919E) unless defined?(GL_TEXTURE_BUFFER_SIZE_OES)
1669
+ end # define_ext_enum_GL_OES_texture_buffer
1670
+
1488
1671
  def define_ext_enum_GL_OES_texture_compression_astc
1489
1672
  const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
1490
1673
  const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
@@ -1536,6 +1719,18 @@ module OpenGL
1536
1719
  const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES', 0x93E9) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES)
1537
1720
  end # define_ext_enum_GL_OES_texture_compression_astc
1538
1721
 
1722
+ def define_ext_enum_GL_OES_texture_cube_map_array
1723
+ const_set('GL_TEXTURE_CUBE_MAP_ARRAY_OES', 0x9009) unless defined?(GL_TEXTURE_CUBE_MAP_ARRAY_OES)
1724
+ const_set('GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES', 0x900A) unless defined?(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES)
1725
+ const_set('GL_SAMPLER_CUBE_MAP_ARRAY_OES', 0x900C) unless defined?(GL_SAMPLER_CUBE_MAP_ARRAY_OES)
1726
+ const_set('GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES', 0x900D) unless defined?(GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES)
1727
+ const_set('GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES', 0x900E) unless defined?(GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES)
1728
+ const_set('GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES', 0x900F) unless defined?(GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES)
1729
+ const_set('GL_IMAGE_CUBE_MAP_ARRAY_OES', 0x9054) unless defined?(GL_IMAGE_CUBE_MAP_ARRAY_OES)
1730
+ const_set('GL_INT_IMAGE_CUBE_MAP_ARRAY_OES', 0x905F) unless defined?(GL_INT_IMAGE_CUBE_MAP_ARRAY_OES)
1731
+ const_set('GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES', 0x906A) unless defined?(GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES)
1732
+ end # define_ext_enum_GL_OES_texture_cube_map_array
1733
+
1539
1734
  def define_ext_enum_GL_OES_texture_float
1540
1735
  const_set('GL_FLOAT', 0x1406) unless defined?(GL_FLOAT)
1541
1736
  end # define_ext_enum_GL_OES_texture_float
@@ -1566,6 +1761,14 @@ module OpenGL
1566
1761
  const_set('GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES', 0x910D) unless defined?(GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES)
1567
1762
  end # define_ext_enum_GL_OES_texture_storage_multisample_2d_array
1568
1763
 
1764
+ def define_ext_enum_GL_OES_texture_view
1765
+ const_set('GL_TEXTURE_VIEW_MIN_LEVEL_OES', 0x82DB) unless defined?(GL_TEXTURE_VIEW_MIN_LEVEL_OES)
1766
+ const_set('GL_TEXTURE_VIEW_NUM_LEVELS_OES', 0x82DC) unless defined?(GL_TEXTURE_VIEW_NUM_LEVELS_OES)
1767
+ const_set('GL_TEXTURE_VIEW_MIN_LAYER_OES', 0x82DD) unless defined?(GL_TEXTURE_VIEW_MIN_LAYER_OES)
1768
+ const_set('GL_TEXTURE_VIEW_NUM_LAYERS_OES', 0x82DE) unless defined?(GL_TEXTURE_VIEW_NUM_LAYERS_OES)
1769
+ const_set('GL_TEXTURE_IMMUTABLE_LEVELS', 0x82DF) unless defined?(GL_TEXTURE_IMMUTABLE_LEVELS)
1770
+ end # define_ext_enum_GL_OES_texture_view
1771
+
1569
1772
  def define_ext_enum_GL_OES_vertex_array_object
1570
1773
  const_set('GL_VERTEX_ARRAY_BINDING_OES', 0x85B5) unless defined?(GL_VERTEX_ARRAY_BINDING_OES)
1571
1774
  end # define_ext_enum_GL_OES_vertex_array_object
@@ -1514,7 +1514,7 @@ module OpenGL
1514
1514
  end
1515
1515
  SRC_GL_ARB_direct_state_access
1516
1516
 
1517
- GL_FUNCTIONS_ARGS_MAP[:glTransformFeedbackBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT]
1517
+ GL_FUNCTIONS_ARGS_MAP[:glTransformFeedbackBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
1518
1518
  GL_FUNCTIONS_RETVAL_MAP[:glTransformFeedbackBufferRange] = Fiddle::TYPE_VOID
1519
1519
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1520
1520
  def glTransformFeedbackBufferRange(_xfb_, _index_, _buffer_, _offset_, _size_)
@@ -1559,7 +1559,7 @@ module OpenGL
1559
1559
  end
1560
1560
  SRC_GL_ARB_direct_state_access
1561
1561
 
1562
- GL_FUNCTIONS_ARGS_MAP[:glNamedBufferStorage] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
1562
+ GL_FUNCTIONS_ARGS_MAP[:glNamedBufferStorage] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
1563
1563
  GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferStorage] = Fiddle::TYPE_VOID
1564
1564
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1565
1565
  def glNamedBufferStorage(_buffer_, _size_, _data_, _flags_)
@@ -1568,7 +1568,7 @@ module OpenGL
1568
1568
  end
1569
1569
  SRC_GL_ARB_direct_state_access
1570
1570
 
1571
- GL_FUNCTIONS_ARGS_MAP[:glNamedBufferData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
1571
+ GL_FUNCTIONS_ARGS_MAP[:glNamedBufferData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
1572
1572
  GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferData] = Fiddle::TYPE_VOID
1573
1573
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1574
1574
  def glNamedBufferData(_buffer_, _size_, _data_, _usage_)
@@ -1577,7 +1577,7 @@ module OpenGL
1577
1577
  end
1578
1578
  SRC_GL_ARB_direct_state_access
1579
1579
 
1580
- GL_FUNCTIONS_ARGS_MAP[:glNamedBufferSubData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
1580
+ GL_FUNCTIONS_ARGS_MAP[:glNamedBufferSubData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP]
1581
1581
  GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferSubData] = Fiddle::TYPE_VOID
1582
1582
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1583
1583
  def glNamedBufferSubData(_buffer_, _offset_, _size_, _data_)
@@ -1586,7 +1586,7 @@ module OpenGL
1586
1586
  end
1587
1587
  SRC_GL_ARB_direct_state_access
1588
1588
 
1589
- GL_FUNCTIONS_ARGS_MAP[:glCopyNamedBufferSubData] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT]
1589
+ GL_FUNCTIONS_ARGS_MAP[:glCopyNamedBufferSubData] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
1590
1590
  GL_FUNCTIONS_RETVAL_MAP[:glCopyNamedBufferSubData] = Fiddle::TYPE_VOID
1591
1591
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1592
1592
  def glCopyNamedBufferSubData(_readBuffer_, _writeBuffer_, _readOffset_, _writeOffset_, _size_)
@@ -1604,7 +1604,7 @@ module OpenGL
1604
1604
  end
1605
1605
  SRC_GL_ARB_direct_state_access
1606
1606
 
1607
- GL_FUNCTIONS_ARGS_MAP[:glClearNamedBufferSubData] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
1607
+ GL_FUNCTIONS_ARGS_MAP[:glClearNamedBufferSubData] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
1608
1608
  GL_FUNCTIONS_RETVAL_MAP[:glClearNamedBufferSubData] = Fiddle::TYPE_VOID
1609
1609
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1610
1610
  def glClearNamedBufferSubData(_buffer_, _internalformat_, _offset_, _size_, _format_, _type_, _data_)
@@ -1622,7 +1622,7 @@ module OpenGL
1622
1622
  end
1623
1623
  SRC_GL_ARB_direct_state_access
1624
1624
 
1625
- GL_FUNCTIONS_ARGS_MAP[:glMapNamedBufferRange] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
1625
+ GL_FUNCTIONS_ARGS_MAP[:glMapNamedBufferRange] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT]
1626
1626
  GL_FUNCTIONS_RETVAL_MAP[:glMapNamedBufferRange] = Fiddle::TYPE_VOIDP
1627
1627
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1628
1628
  def glMapNamedBufferRange(_buffer_, _offset_, _length_, _access_)
@@ -1640,7 +1640,7 @@ module OpenGL
1640
1640
  end
1641
1641
  SRC_GL_ARB_direct_state_access
1642
1642
 
1643
- GL_FUNCTIONS_ARGS_MAP[:glFlushMappedNamedBufferRange] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT]
1643
+ GL_FUNCTIONS_ARGS_MAP[:glFlushMappedNamedBufferRange] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
1644
1644
  GL_FUNCTIONS_RETVAL_MAP[:glFlushMappedNamedBufferRange] = Fiddle::TYPE_VOID
1645
1645
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1646
1646
  def glFlushMappedNamedBufferRange(_buffer_, _offset_, _length_)
@@ -1676,7 +1676,7 @@ module OpenGL
1676
1676
  end
1677
1677
  SRC_GL_ARB_direct_state_access
1678
1678
 
1679
- GL_FUNCTIONS_ARGS_MAP[:glGetNamedBufferSubData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
1679
+ GL_FUNCTIONS_ARGS_MAP[:glGetNamedBufferSubData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP]
1680
1680
  GL_FUNCTIONS_RETVAL_MAP[:glGetNamedBufferSubData] = Fiddle::TYPE_VOID
1681
1681
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1682
1682
  def glGetNamedBufferSubData(_buffer_, _offset_, _size_, _data_)
@@ -1901,7 +1901,7 @@ module OpenGL
1901
1901
  end
1902
1902
  SRC_GL_ARB_direct_state_access
1903
1903
 
1904
- GL_FUNCTIONS_ARGS_MAP[:glTextureBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT]
1904
+ GL_FUNCTIONS_ARGS_MAP[:glTextureBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
1905
1905
  GL_FUNCTIONS_RETVAL_MAP[:glTextureBufferRange] = Fiddle::TYPE_VOID
1906
1906
  module_eval(<<-SRC_GL_ARB_direct_state_access)
1907
1907
  def glTextureBufferRange(_texture_, _internalformat_, _buffer_, _offset_, _size_)
@@ -15485,6 +15485,161 @@ module OpenGL
15485
15485
  def define_ext_command_GL_NV_blend_square
15486
15486
  end # define_ext_command_GL_NV_blend_square
15487
15487
 
15488
+ def define_ext_command_GL_NV_command_list
15489
+ GL_FUNCTIONS_ARGS_MAP[:glCreateStatesNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
15490
+ GL_FUNCTIONS_RETVAL_MAP[:glCreateStatesNV] = Fiddle::TYPE_VOID
15491
+ module_eval(<<-SRC_GL_NV_command_list)
15492
+ def glCreateStatesNV(_n_, _states_)
15493
+ f = OpenGL::get_command(:glCreateStatesNV)
15494
+ f.call(_n_, _states_)
15495
+ end
15496
+ SRC_GL_NV_command_list
15497
+
15498
+ GL_FUNCTIONS_ARGS_MAP[:glDeleteStatesNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
15499
+ GL_FUNCTIONS_RETVAL_MAP[:glDeleteStatesNV] = Fiddle::TYPE_VOID
15500
+ module_eval(<<-SRC_GL_NV_command_list)
15501
+ def glDeleteStatesNV(_n_, _states_)
15502
+ f = OpenGL::get_command(:glDeleteStatesNV)
15503
+ f.call(_n_, _states_)
15504
+ end
15505
+ SRC_GL_NV_command_list
15506
+
15507
+ GL_FUNCTIONS_ARGS_MAP[:glIsStateNV] = [-Fiddle::TYPE_INT]
15508
+ GL_FUNCTIONS_RETVAL_MAP[:glIsStateNV] = -Fiddle::TYPE_CHAR
15509
+ module_eval(<<-SRC_GL_NV_command_list)
15510
+ def glIsStateNV(_state_)
15511
+ f = OpenGL::get_command(:glIsStateNV)
15512
+ f.call(_state_)
15513
+ end
15514
+ SRC_GL_NV_command_list
15515
+
15516
+ GL_FUNCTIONS_ARGS_MAP[:glStateCaptureNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
15517
+ GL_FUNCTIONS_RETVAL_MAP[:glStateCaptureNV] = Fiddle::TYPE_VOID
15518
+ module_eval(<<-SRC_GL_NV_command_list)
15519
+ def glStateCaptureNV(_state_, _mode_)
15520
+ f = OpenGL::get_command(:glStateCaptureNV)
15521
+ f.call(_state_, _mode_)
15522
+ end
15523
+ SRC_GL_NV_command_list
15524
+
15525
+ GL_FUNCTIONS_ARGS_MAP[:glGetCommandHeaderNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
15526
+ GL_FUNCTIONS_RETVAL_MAP[:glGetCommandHeaderNV] = -Fiddle::TYPE_INT
15527
+ module_eval(<<-SRC_GL_NV_command_list)
15528
+ def glGetCommandHeaderNV(_tokenID_, _size_)
15529
+ f = OpenGL::get_command(:glGetCommandHeaderNV)
15530
+ f.call(_tokenID_, _size_)
15531
+ end
15532
+ SRC_GL_NV_command_list
15533
+
15534
+ GL_FUNCTIONS_ARGS_MAP[:glGetStageIndexNV] = [-Fiddle::TYPE_INT]
15535
+ GL_FUNCTIONS_RETVAL_MAP[:glGetStageIndexNV] = -Fiddle::TYPE_SHORT
15536
+ module_eval(<<-SRC_GL_NV_command_list)
15537
+ def glGetStageIndexNV(_shadertype_)
15538
+ f = OpenGL::get_command(:glGetStageIndexNV)
15539
+ f.call(_shadertype_)
15540
+ end
15541
+ SRC_GL_NV_command_list
15542
+
15543
+ GL_FUNCTIONS_ARGS_MAP[:glDrawCommandsNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
15544
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawCommandsNV] = Fiddle::TYPE_VOID
15545
+ module_eval(<<-SRC_GL_NV_command_list)
15546
+ def glDrawCommandsNV(_primitiveMode_, _buffer_, _indirects_, _sizes_, _count_)
15547
+ f = OpenGL::get_command(:glDrawCommandsNV)
15548
+ f.call(_primitiveMode_, _buffer_, _indirects_, _sizes_, _count_)
15549
+ end
15550
+ SRC_GL_NV_command_list
15551
+
15552
+ GL_FUNCTIONS_ARGS_MAP[:glDrawCommandsAddressNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
15553
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawCommandsAddressNV] = Fiddle::TYPE_VOID
15554
+ module_eval(<<-SRC_GL_NV_command_list)
15555
+ def glDrawCommandsAddressNV(_primitiveMode_, _indirects_, _sizes_, _count_)
15556
+ f = OpenGL::get_command(:glDrawCommandsAddressNV)
15557
+ f.call(_primitiveMode_, _indirects_, _sizes_, _count_)
15558
+ end
15559
+ SRC_GL_NV_command_list
15560
+
15561
+ GL_FUNCTIONS_ARGS_MAP[:glDrawCommandsStatesNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
15562
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawCommandsStatesNV] = Fiddle::TYPE_VOID
15563
+ module_eval(<<-SRC_GL_NV_command_list)
15564
+ def glDrawCommandsStatesNV(_buffer_, _indirects_, _sizes_, _states_, _fbos_, _count_)
15565
+ f = OpenGL::get_command(:glDrawCommandsStatesNV)
15566
+ f.call(_buffer_, _indirects_, _sizes_, _states_, _fbos_, _count_)
15567
+ end
15568
+ SRC_GL_NV_command_list
15569
+
15570
+ GL_FUNCTIONS_ARGS_MAP[:glDrawCommandsStatesAddressNV] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
15571
+ GL_FUNCTIONS_RETVAL_MAP[:glDrawCommandsStatesAddressNV] = Fiddle::TYPE_VOID
15572
+ module_eval(<<-SRC_GL_NV_command_list)
15573
+ def glDrawCommandsStatesAddressNV(_indirects_, _sizes_, _states_, _fbos_, _count_)
15574
+ f = OpenGL::get_command(:glDrawCommandsStatesAddressNV)
15575
+ f.call(_indirects_, _sizes_, _states_, _fbos_, _count_)
15576
+ end
15577
+ SRC_GL_NV_command_list
15578
+
15579
+ GL_FUNCTIONS_ARGS_MAP[:glCreateCommandListsNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
15580
+ GL_FUNCTIONS_RETVAL_MAP[:glCreateCommandListsNV] = Fiddle::TYPE_VOID
15581
+ module_eval(<<-SRC_GL_NV_command_list)
15582
+ def glCreateCommandListsNV(_n_, _lists_)
15583
+ f = OpenGL::get_command(:glCreateCommandListsNV)
15584
+ f.call(_n_, _lists_)
15585
+ end
15586
+ SRC_GL_NV_command_list
15587
+
15588
+ GL_FUNCTIONS_ARGS_MAP[:glDeleteCommandListsNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
15589
+ GL_FUNCTIONS_RETVAL_MAP[:glDeleteCommandListsNV] = Fiddle::TYPE_VOID
15590
+ module_eval(<<-SRC_GL_NV_command_list)
15591
+ def glDeleteCommandListsNV(_n_, _lists_)
15592
+ f = OpenGL::get_command(:glDeleteCommandListsNV)
15593
+ f.call(_n_, _lists_)
15594
+ end
15595
+ SRC_GL_NV_command_list
15596
+
15597
+ GL_FUNCTIONS_ARGS_MAP[:glIsCommandListNV] = [-Fiddle::TYPE_INT]
15598
+ GL_FUNCTIONS_RETVAL_MAP[:glIsCommandListNV] = -Fiddle::TYPE_CHAR
15599
+ module_eval(<<-SRC_GL_NV_command_list)
15600
+ def glIsCommandListNV(_list_)
15601
+ f = OpenGL::get_command(:glIsCommandListNV)
15602
+ f.call(_list_)
15603
+ end
15604
+ SRC_GL_NV_command_list
15605
+
15606
+ GL_FUNCTIONS_ARGS_MAP[:glListDrawCommandsStatesClientNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
15607
+ GL_FUNCTIONS_RETVAL_MAP[:glListDrawCommandsStatesClientNV] = Fiddle::TYPE_VOID
15608
+ module_eval(<<-SRC_GL_NV_command_list)
15609
+ def glListDrawCommandsStatesClientNV(_list_, _segment_, _indirects_, _sizes_, _states_, _fbos_, _count_)
15610
+ f = OpenGL::get_command(:glListDrawCommandsStatesClientNV)
15611
+ f.call(_list_, _segment_, _indirects_, _sizes_, _states_, _fbos_, _count_)
15612
+ end
15613
+ SRC_GL_NV_command_list
15614
+
15615
+ GL_FUNCTIONS_ARGS_MAP[:glCommandListSegmentsNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
15616
+ GL_FUNCTIONS_RETVAL_MAP[:glCommandListSegmentsNV] = Fiddle::TYPE_VOID
15617
+ module_eval(<<-SRC_GL_NV_command_list)
15618
+ def glCommandListSegmentsNV(_list_, _segments_)
15619
+ f = OpenGL::get_command(:glCommandListSegmentsNV)
15620
+ f.call(_list_, _segments_)
15621
+ end
15622
+ SRC_GL_NV_command_list
15623
+
15624
+ GL_FUNCTIONS_ARGS_MAP[:glCompileCommandListNV] = [-Fiddle::TYPE_INT]
15625
+ GL_FUNCTIONS_RETVAL_MAP[:glCompileCommandListNV] = Fiddle::TYPE_VOID
15626
+ module_eval(<<-SRC_GL_NV_command_list)
15627
+ def glCompileCommandListNV(_list_)
15628
+ f = OpenGL::get_command(:glCompileCommandListNV)
15629
+ f.call(_list_)
15630
+ end
15631
+ SRC_GL_NV_command_list
15632
+
15633
+ GL_FUNCTIONS_ARGS_MAP[:glCallCommandListNV] = [-Fiddle::TYPE_INT]
15634
+ GL_FUNCTIONS_RETVAL_MAP[:glCallCommandListNV] = Fiddle::TYPE_VOID
15635
+ module_eval(<<-SRC_GL_NV_command_list)
15636
+ def glCallCommandListNV(_list_)
15637
+ f = OpenGL::get_command(:glCallCommandListNV)
15638
+ f.call(_list_)
15639
+ end
15640
+ SRC_GL_NV_command_list
15641
+ end # define_ext_command_GL_NV_command_list
15642
+
15488
15643
  def define_ext_command_GL_NV_compute_program5
15489
15644
  end # define_ext_command_GL_NV_compute_program5
15490
15645