opengl-bindings 1.3.8 → 1.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +2 -2
- data/lib/opengl_command.rb +826 -0
- data/lib/opengl_enum.rb +23 -0
- data/lib/opengl_es_ext_command.rb +104 -3
- data/lib/opengl_es_ext_enum.rb +38 -4
- data/lib/opengl_ext_command.rb +1055 -4
- data/lib/opengl_ext_enum.rb +133 -3
- metadata +4 -4
data/lib/opengl_ext_enum.rb
CHANGED
@@ -54,6 +54,9 @@ module OpenGL
|
|
54
54
|
def define_ext_enum_GL_AMD_draw_buffers_blend
|
55
55
|
end # define_ext_enum_GL_AMD_draw_buffers_blend
|
56
56
|
|
57
|
+
def define_ext_enum_GL_AMD_gcn_shader
|
58
|
+
end # define_ext_enum_GL_AMD_gcn_shader
|
59
|
+
|
57
60
|
def define_ext_enum_GL_AMD_gpu_shader_int64
|
58
61
|
const_set('GL_INT64_NV', 0x140E) unless defined?(GL_INT64_NV)
|
59
62
|
const_set('GL_UNSIGNED_INT64_NV', 0x140F) unless defined?(GL_UNSIGNED_INT64_NV)
|
@@ -97,9 +100,6 @@ module OpenGL
|
|
97
100
|
const_set('GL_RGBA8UI', 0x8D7C) unless defined?(GL_RGBA8UI)
|
98
101
|
end # define_ext_enum_GL_AMD_interleaved_elements
|
99
102
|
|
100
|
-
def define_ext_enum_GL_AMD_gcn_shader
|
101
|
-
end # define_ext_enum_GL_AMD_gcn_shader
|
102
|
-
|
103
103
|
def define_ext_enum_GL_AMD_multi_draw_indirect
|
104
104
|
end # define_ext_enum_GL_AMD_multi_draw_indirect
|
105
105
|
|
@@ -333,6 +333,9 @@ module OpenGL
|
|
333
333
|
const_set('GL_RGB565', 0x8D62) unless defined?(GL_RGB565)
|
334
334
|
end # define_ext_enum_GL_ARB_ES2_compatibility
|
335
335
|
|
336
|
+
def define_ext_enum_GL_ARB_ES3_1_compatibility
|
337
|
+
end # define_ext_enum_GL_ARB_ES3_1_compatibility
|
338
|
+
|
336
339
|
def define_ext_enum_GL_ARB_ES3_compatibility
|
337
340
|
const_set('GL_COMPRESSED_RGB8_ETC2', 0x9274) unless defined?(GL_COMPRESSED_RGB8_ETC2)
|
338
341
|
const_set('GL_COMPRESSED_SRGB8_ETC2', 0x9275) unless defined?(GL_COMPRESSED_SRGB8_ETC2)
|
@@ -391,6 +394,15 @@ module OpenGL
|
|
391
394
|
const_set('GL_CLEAR_TEXTURE', 0x9365) unless defined?(GL_CLEAR_TEXTURE)
|
392
395
|
end # define_ext_enum_GL_ARB_clear_texture
|
393
396
|
|
397
|
+
def define_ext_enum_GL_ARB_clip_control
|
398
|
+
const_set('GL_LOWER_LEFT', 0x8CA1) unless defined?(GL_LOWER_LEFT)
|
399
|
+
const_set('GL_UPPER_LEFT', 0x8CA2) unless defined?(GL_UPPER_LEFT)
|
400
|
+
const_set('GL_NEGATIVE_ONE_TO_ONE', 0x935E) unless defined?(GL_NEGATIVE_ONE_TO_ONE)
|
401
|
+
const_set('GL_ZERO_TO_ONE', 0x935F) unless defined?(GL_ZERO_TO_ONE)
|
402
|
+
const_set('GL_CLIP_ORIGIN', 0x935C) unless defined?(GL_CLIP_ORIGIN)
|
403
|
+
const_set('GL_CLIP_DEPTH_MODE', 0x935D) unless defined?(GL_CLIP_DEPTH_MODE)
|
404
|
+
end # define_ext_enum_GL_ARB_clip_control
|
405
|
+
|
394
406
|
def define_ext_enum_GL_ARB_color_buffer_float
|
395
407
|
const_set('GL_RGBA_FLOAT_MODE_ARB', 0x8820) unless defined?(GL_RGBA_FLOAT_MODE_ARB)
|
396
408
|
const_set('GL_CLAMP_VERTEX_COLOR_ARB', 0x891A) unless defined?(GL_CLAMP_VERTEX_COLOR_ARB)
|
@@ -441,6 +453,13 @@ module OpenGL
|
|
441
453
|
const_set('GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB', 0x91BF) unless defined?(GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB)
|
442
454
|
end # define_ext_enum_GL_ARB_compute_variable_group_size
|
443
455
|
|
456
|
+
def define_ext_enum_GL_ARB_conditional_render_inverted
|
457
|
+
const_set('GL_QUERY_WAIT_INVERTED', 0x8E17) unless defined?(GL_QUERY_WAIT_INVERTED)
|
458
|
+
const_set('GL_QUERY_NO_WAIT_INVERTED', 0x8E18) unless defined?(GL_QUERY_NO_WAIT_INVERTED)
|
459
|
+
const_set('GL_QUERY_BY_REGION_WAIT_INVERTED', 0x8E19) unless defined?(GL_QUERY_BY_REGION_WAIT_INVERTED)
|
460
|
+
const_set('GL_QUERY_BY_REGION_NO_WAIT_INVERTED', 0x8E1A) unless defined?(GL_QUERY_BY_REGION_NO_WAIT_INVERTED)
|
461
|
+
end # define_ext_enum_GL_ARB_conditional_render_inverted
|
462
|
+
|
444
463
|
def define_ext_enum_GL_ARB_conservative_depth
|
445
464
|
end # define_ext_enum_GL_ARB_conservative_depth
|
446
465
|
|
@@ -454,6 +473,11 @@ module OpenGL
|
|
454
473
|
def define_ext_enum_GL_ARB_copy_image
|
455
474
|
end # define_ext_enum_GL_ARB_copy_image
|
456
475
|
|
476
|
+
def define_ext_enum_GL_ARB_cull_distance
|
477
|
+
const_set('GL_MAX_CULL_DISTANCES', 0x82F9) unless defined?(GL_MAX_CULL_DISTANCES)
|
478
|
+
const_set('GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES', 0x82FA) unless defined?(GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES)
|
479
|
+
end # define_ext_enum_GL_ARB_cull_distance
|
480
|
+
|
457
481
|
def define_ext_enum_GL_ARB_debug_output
|
458
482
|
const_set('GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB', 0x8242) unless defined?(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB)
|
459
483
|
const_set('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB', 0x8243) unless defined?(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB)
|
@@ -497,6 +521,26 @@ module OpenGL
|
|
497
521
|
const_set('GL_DEPTH_TEXTURE_MODE_ARB', 0x884B) unless defined?(GL_DEPTH_TEXTURE_MODE_ARB)
|
498
522
|
end # define_ext_enum_GL_ARB_depth_texture
|
499
523
|
|
524
|
+
def define_ext_enum_GL_ARB_derivative_control
|
525
|
+
end # define_ext_enum_GL_ARB_derivative_control
|
526
|
+
|
527
|
+
def define_ext_enum_GL_ARB_direct_state_access
|
528
|
+
const_set('GL_TEXTURE_TARGET', 0x1006) unless defined?(GL_TEXTURE_TARGET)
|
529
|
+
const_set('GL_QUERY_TARGET', 0x82EA) unless defined?(GL_QUERY_TARGET)
|
530
|
+
const_set('GL_TEXTURE_BINDING_1D', 0x8068) unless defined?(GL_TEXTURE_BINDING_1D)
|
531
|
+
const_set('GL_TEXTURE_BINDING_1D_ARRAY', 0x8C1C) unless defined?(GL_TEXTURE_BINDING_1D_ARRAY)
|
532
|
+
const_set('GL_TEXTURE_BINDING_2D', 0x8069) unless defined?(GL_TEXTURE_BINDING_2D)
|
533
|
+
const_set('GL_TEXTURE_BINDING_2D_ARRAY', 0x8C1D) unless defined?(GL_TEXTURE_BINDING_2D_ARRAY)
|
534
|
+
const_set('GL_TEXTURE_BINDING_2D_MULTISAMPLE', 0x9104) unless defined?(GL_TEXTURE_BINDING_2D_MULTISAMPLE)
|
535
|
+
const_set('GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY', 0x9105) unless defined?(GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY)
|
536
|
+
const_set('GL_TEXTURE_BINDING_3D', 0x806A) unless defined?(GL_TEXTURE_BINDING_3D)
|
537
|
+
const_set('GL_TEXTURE_BINDING_BUFFER', 0x8C2C) unless defined?(GL_TEXTURE_BINDING_BUFFER)
|
538
|
+
const_set('GL_TEXTURE_BINDING_CUBE_MAP', 0x8514) unless defined?(GL_TEXTURE_BINDING_CUBE_MAP)
|
539
|
+
const_set('GL_TEXTURE_BINDING_CUBE_MAP_ARRAY', 0x900A) unless defined?(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY)
|
540
|
+
const_set('GL_TEXTURE_BINDING_RECTANGLE', 0x84F6) unless defined?(GL_TEXTURE_BINDING_RECTANGLE)
|
541
|
+
const_set('GL_TEXTURE_BINDING', 0x82EB) unless defined?(GL_TEXTURE_BINDING)
|
542
|
+
end # define_ext_enum_GL_ARB_direct_state_access
|
543
|
+
|
500
544
|
def define_ext_enum_GL_ARB_draw_buffers
|
501
545
|
const_set('GL_MAX_DRAW_BUFFERS_ARB', 0x8824) unless defined?(GL_MAX_DRAW_BUFFERS_ARB)
|
502
546
|
const_set('GL_DRAW_BUFFER0_ARB', 0x8825) unless defined?(GL_DRAW_BUFFER0_ARB)
|
@@ -770,6 +814,9 @@ module OpenGL
|
|
770
814
|
const_set('GL_PROGRAM_BINARY_FORMATS', 0x87FF) unless defined?(GL_PROGRAM_BINARY_FORMATS)
|
771
815
|
end # define_ext_enum_GL_ARB_get_program_binary
|
772
816
|
|
817
|
+
def define_ext_enum_GL_ARB_get_texture_sub_image
|
818
|
+
end # define_ext_enum_GL_ARB_get_texture_sub_image
|
819
|
+
|
773
820
|
def define_ext_enum_GL_ARB_gpu_shader5
|
774
821
|
const_set('GL_GEOMETRY_SHADER_INVOCATIONS', 0x887F) unless defined?(GL_GEOMETRY_SHADER_INVOCATIONS)
|
775
822
|
const_set('GL_MAX_GEOMETRY_SHADER_INVOCATIONS', 0x8E5A) unless defined?(GL_MAX_GEOMETRY_SHADER_INVOCATIONS)
|
@@ -1109,6 +1156,20 @@ module OpenGL
|
|
1109
1156
|
const_set('GL_ANY_SAMPLES_PASSED', 0x8C2F) unless defined?(GL_ANY_SAMPLES_PASSED)
|
1110
1157
|
end # define_ext_enum_GL_ARB_occlusion_query2
|
1111
1158
|
|
1159
|
+
def define_ext_enum_GL_ARB_pipeline_statistics_query
|
1160
|
+
const_set('GL_VERTICES_SUBMITTED_ARB', 0x82EE) unless defined?(GL_VERTICES_SUBMITTED_ARB)
|
1161
|
+
const_set('GL_PRIMITIVES_SUBMITTED_ARB', 0x82EF) unless defined?(GL_PRIMITIVES_SUBMITTED_ARB)
|
1162
|
+
const_set('GL_VERTEX_SHADER_INVOCATIONS_ARB', 0x82F0) unless defined?(GL_VERTEX_SHADER_INVOCATIONS_ARB)
|
1163
|
+
const_set('GL_TESS_CONTROL_SHADER_PATCHES_ARB', 0x82F1) unless defined?(GL_TESS_CONTROL_SHADER_PATCHES_ARB)
|
1164
|
+
const_set('GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB', 0x82F2) unless defined?(GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB)
|
1165
|
+
const_set('GL_GEOMETRY_SHADER_INVOCATIONS', 0x887F) unless defined?(GL_GEOMETRY_SHADER_INVOCATIONS)
|
1166
|
+
const_set('GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB', 0x82F3) unless defined?(GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB)
|
1167
|
+
const_set('GL_FRAGMENT_SHADER_INVOCATIONS_ARB', 0x82F4) unless defined?(GL_FRAGMENT_SHADER_INVOCATIONS_ARB)
|
1168
|
+
const_set('GL_COMPUTE_SHADER_INVOCATIONS_ARB', 0x82F5) unless defined?(GL_COMPUTE_SHADER_INVOCATIONS_ARB)
|
1169
|
+
const_set('GL_CLIPPING_INPUT_PRIMITIVES_ARB', 0x82F6) unless defined?(GL_CLIPPING_INPUT_PRIMITIVES_ARB)
|
1170
|
+
const_set('GL_CLIPPING_OUTPUT_PRIMITIVES_ARB', 0x82F7) unless defined?(GL_CLIPPING_OUTPUT_PRIMITIVES_ARB)
|
1171
|
+
end # define_ext_enum_GL_ARB_pipeline_statistics_query
|
1172
|
+
|
1112
1173
|
def define_ext_enum_GL_ARB_pixel_buffer_object
|
1113
1174
|
const_set('GL_PIXEL_PACK_BUFFER_ARB', 0x88EB) unless defined?(GL_PIXEL_PACK_BUFFER_ARB)
|
1114
1175
|
const_set('GL_PIXEL_UNPACK_BUFFER_ARB', 0x88EC) unless defined?(GL_PIXEL_UNPACK_BUFFER_ARB)
|
@@ -1429,6 +1490,9 @@ module OpenGL
|
|
1429
1490
|
const_set('GL_UNIFORM_NAME_LENGTH', 0x8A39) unless defined?(GL_UNIFORM_NAME_LENGTH)
|
1430
1491
|
end # define_ext_enum_GL_ARB_shader_subroutine
|
1431
1492
|
|
1493
|
+
def define_ext_enum_GL_ARB_shader_texture_image_samples
|
1494
|
+
end # define_ext_enum_GL_ARB_shader_texture_image_samples
|
1495
|
+
|
1432
1496
|
def define_ext_enum_GL_ARB_shader_texture_lod
|
1433
1497
|
end # define_ext_enum_GL_ARB_shader_texture_lod
|
1434
1498
|
|
@@ -1458,6 +1522,11 @@ module OpenGL
|
|
1458
1522
|
const_set('GL_TEXTURE_COMPARE_FAIL_VALUE_ARB', 0x80BF) unless defined?(GL_TEXTURE_COMPARE_FAIL_VALUE_ARB)
|
1459
1523
|
end # define_ext_enum_GL_ARB_shadow_ambient
|
1460
1524
|
|
1525
|
+
def define_ext_enum_GL_ARB_sparse_buffer
|
1526
|
+
const_set('GL_SPARSE_STORAGE_BIT_ARB', 0x0400) unless defined?(GL_SPARSE_STORAGE_BIT_ARB)
|
1527
|
+
const_set('GL_SPARSE_BUFFER_PAGE_SIZE_ARB', 0x82F8) unless defined?(GL_SPARSE_BUFFER_PAGE_SIZE_ARB)
|
1528
|
+
end # define_ext_enum_GL_ARB_sparse_buffer
|
1529
|
+
|
1461
1530
|
def define_ext_enum_GL_ARB_sparse_texture
|
1462
1531
|
const_set('GL_TEXTURE_SPARSE_ARB', 0x91A6) unless defined?(GL_TEXTURE_SPARSE_ARB)
|
1463
1532
|
const_set('GL_VIRTUAL_PAGE_SIZE_INDEX_ARB', 0x91A7) unless defined?(GL_VIRTUAL_PAGE_SIZE_INDEX_ARB)
|
@@ -1534,6 +1603,9 @@ module OpenGL
|
|
1534
1603
|
const_set('GL_TESS_CONTROL_SHADER', 0x8E88) unless defined?(GL_TESS_CONTROL_SHADER)
|
1535
1604
|
end # define_ext_enum_GL_ARB_tessellation_shader
|
1536
1605
|
|
1606
|
+
def define_ext_enum_GL_ARB_texture_barrier
|
1607
|
+
end # define_ext_enum_GL_ARB_texture_barrier
|
1608
|
+
|
1537
1609
|
def define_ext_enum_GL_ARB_texture_border_clamp
|
1538
1610
|
const_set('GL_CLAMP_TO_BORDER_ARB', 0x812D) unless defined?(GL_CLAMP_TO_BORDER_ARB)
|
1539
1611
|
end # define_ext_enum_GL_ARB_texture_border_clamp
|
@@ -1803,6 +1875,11 @@ module OpenGL
|
|
1803
1875
|
def define_ext_enum_GL_ARB_transform_feedback_instanced
|
1804
1876
|
end # define_ext_enum_GL_ARB_transform_feedback_instanced
|
1805
1877
|
|
1878
|
+
def define_ext_enum_GL_ARB_transform_feedback_overflow_query
|
1879
|
+
const_set('GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB', 0x82EC) unless defined?(GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB)
|
1880
|
+
const_set('GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB', 0x82ED) unless defined?(GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB)
|
1881
|
+
end # define_ext_enum_GL_ARB_transform_feedback_overflow_query
|
1882
|
+
|
1806
1883
|
def define_ext_enum_GL_ARB_transpose_matrix
|
1807
1884
|
const_set('GL_TRANSPOSE_MODELVIEW_MATRIX_ARB', 0x84E3) unless defined?(GL_TRANSPOSE_MODELVIEW_MATRIX_ARB)
|
1808
1885
|
const_set('GL_TRANSPOSE_PROJECTION_MATRIX_ARB', 0x84E4) unless defined?(GL_TRANSPOSE_PROJECTION_MATRIX_ARB)
|
@@ -3557,6 +3634,36 @@ module OpenGL
|
|
3557
3634
|
const_set('GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL', 0x9500) unless defined?(GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL)
|
3558
3635
|
end # define_ext_enum_GL_INTEL_performance_query
|
3559
3636
|
|
3637
|
+
def define_ext_enum_GL_KHR_blend_equation_advanced
|
3638
|
+
const_set('GL_MULTIPLY_KHR', 0x9294) unless defined?(GL_MULTIPLY_KHR)
|
3639
|
+
const_set('GL_SCREEN_KHR', 0x9295) unless defined?(GL_SCREEN_KHR)
|
3640
|
+
const_set('GL_OVERLAY_KHR', 0x9296) unless defined?(GL_OVERLAY_KHR)
|
3641
|
+
const_set('GL_DARKEN_KHR', 0x9297) unless defined?(GL_DARKEN_KHR)
|
3642
|
+
const_set('GL_LIGHTEN_KHR', 0x9298) unless defined?(GL_LIGHTEN_KHR)
|
3643
|
+
const_set('GL_COLORDODGE_KHR', 0x9299) unless defined?(GL_COLORDODGE_KHR)
|
3644
|
+
const_set('GL_COLORBURN_KHR', 0x929A) unless defined?(GL_COLORBURN_KHR)
|
3645
|
+
const_set('GL_HARDLIGHT_KHR', 0x929B) unless defined?(GL_HARDLIGHT_KHR)
|
3646
|
+
const_set('GL_SOFTLIGHT_KHR', 0x929C) unless defined?(GL_SOFTLIGHT_KHR)
|
3647
|
+
const_set('GL_DIFFERENCE_KHR', 0x929E) unless defined?(GL_DIFFERENCE_KHR)
|
3648
|
+
const_set('GL_EXCLUSION_KHR', 0x92A0) unless defined?(GL_EXCLUSION_KHR)
|
3649
|
+
const_set('GL_HSL_HUE_KHR', 0x92AD) unless defined?(GL_HSL_HUE_KHR)
|
3650
|
+
const_set('GL_HSL_SATURATION_KHR', 0x92AE) unless defined?(GL_HSL_SATURATION_KHR)
|
3651
|
+
const_set('GL_HSL_COLOR_KHR', 0x92AF) unless defined?(GL_HSL_COLOR_KHR)
|
3652
|
+
const_set('GL_HSL_LUMINOSITY_KHR', 0x92B0) unless defined?(GL_HSL_LUMINOSITY_KHR)
|
3653
|
+
end # define_ext_enum_GL_KHR_blend_equation_advanced
|
3654
|
+
|
3655
|
+
def define_ext_enum_GL_KHR_blend_equation_advanced_coherent
|
3656
|
+
const_set('GL_BLEND_ADVANCED_COHERENT_KHR', 0x9285) unless defined?(GL_BLEND_ADVANCED_COHERENT_KHR)
|
3657
|
+
end # define_ext_enum_GL_KHR_blend_equation_advanced_coherent
|
3658
|
+
|
3659
|
+
def define_ext_enum_GL_KHR_context_flush_control
|
3660
|
+
const_set('GL_CONTEXT_RELEASE_BEHAVIOR', 0x82FB) unless defined?(GL_CONTEXT_RELEASE_BEHAVIOR)
|
3661
|
+
const_set('GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH', 0x82FC) unless defined?(GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH)
|
3662
|
+
const_set('GL_NONE', 0) unless defined?(GL_NONE)
|
3663
|
+
const_set('GL_CONTEXT_RELEASE_BEHAVIOR_KHR', 0x82FB) unless defined?(GL_CONTEXT_RELEASE_BEHAVIOR_KHR)
|
3664
|
+
const_set('GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR', 0x82FC) unless defined?(GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR)
|
3665
|
+
end # define_ext_enum_GL_KHR_context_flush_control
|
3666
|
+
|
3560
3667
|
def define_ext_enum_GL_KHR_debug
|
3561
3668
|
const_set('GL_DEBUG_OUTPUT_SYNCHRONOUS', 0x8242) unless defined?(GL_DEBUG_OUTPUT_SYNCHRONOUS)
|
3562
3669
|
const_set('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH', 0x8243) unless defined?(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH)
|
@@ -3640,6 +3747,29 @@ module OpenGL
|
|
3640
3747
|
const_set('GL_DISPLAY_LIST', 0x82E7) unless defined?(GL_DISPLAY_LIST)
|
3641
3748
|
end # define_ext_enum_GL_KHR_debug
|
3642
3749
|
|
3750
|
+
def define_ext_enum_GL_KHR_robust_buffer_access_behavior
|
3751
|
+
end # define_ext_enum_GL_KHR_robust_buffer_access_behavior
|
3752
|
+
|
3753
|
+
def define_ext_enum_GL_KHR_robustness
|
3754
|
+
const_set('GL_NO_ERROR', 0) unless defined?(GL_NO_ERROR)
|
3755
|
+
const_set('GL_CONTEXT_ROBUST_ACCESS', 0x90F3) unless defined?(GL_CONTEXT_ROBUST_ACCESS)
|
3756
|
+
const_set('GL_LOSE_CONTEXT_ON_RESET', 0x8252) unless defined?(GL_LOSE_CONTEXT_ON_RESET)
|
3757
|
+
const_set('GL_GUILTY_CONTEXT_RESET', 0x8253) unless defined?(GL_GUILTY_CONTEXT_RESET)
|
3758
|
+
const_set('GL_INNOCENT_CONTEXT_RESET', 0x8254) unless defined?(GL_INNOCENT_CONTEXT_RESET)
|
3759
|
+
const_set('GL_UNKNOWN_CONTEXT_RESET', 0x8255) unless defined?(GL_UNKNOWN_CONTEXT_RESET)
|
3760
|
+
const_set('GL_RESET_NOTIFICATION_STRATEGY', 0x8256) unless defined?(GL_RESET_NOTIFICATION_STRATEGY)
|
3761
|
+
const_set('GL_NO_RESET_NOTIFICATION', 0x8261) unless defined?(GL_NO_RESET_NOTIFICATION)
|
3762
|
+
const_set('GL_CONTEXT_LOST', 0x0507) unless defined?(GL_CONTEXT_LOST)
|
3763
|
+
const_set('GL_CONTEXT_ROBUST_ACCESS_KHR', 0x90F3) unless defined?(GL_CONTEXT_ROBUST_ACCESS_KHR)
|
3764
|
+
const_set('GL_LOSE_CONTEXT_ON_RESET_KHR', 0x8252) unless defined?(GL_LOSE_CONTEXT_ON_RESET_KHR)
|
3765
|
+
const_set('GL_GUILTY_CONTEXT_RESET_KHR', 0x8253) unless defined?(GL_GUILTY_CONTEXT_RESET_KHR)
|
3766
|
+
const_set('GL_INNOCENT_CONTEXT_RESET_KHR', 0x8254) unless defined?(GL_INNOCENT_CONTEXT_RESET_KHR)
|
3767
|
+
const_set('GL_UNKNOWN_CONTEXT_RESET_KHR', 0x8255) unless defined?(GL_UNKNOWN_CONTEXT_RESET_KHR)
|
3768
|
+
const_set('GL_RESET_NOTIFICATION_STRATEGY_KHR', 0x8256) unless defined?(GL_RESET_NOTIFICATION_STRATEGY_KHR)
|
3769
|
+
const_set('GL_NO_RESET_NOTIFICATION_KHR', 0x8261) unless defined?(GL_NO_RESET_NOTIFICATION_KHR)
|
3770
|
+
const_set('GL_CONTEXT_LOST_KHR', 0x0507) unless defined?(GL_CONTEXT_LOST_KHR)
|
3771
|
+
end # define_ext_enum_GL_KHR_robustness
|
3772
|
+
|
3643
3773
|
def define_ext_enum_GL_KHR_texture_compression_astc_hdr
|
3644
3774
|
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
3645
3775
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
|
-
Ruby bindings for OpenGL - 4.
|
14
|
+
Ruby bindings for OpenGL - 4.5, OpenGL ES - 3.1 and all extensions using Fiddle (For MRI >= 2.0.0).
|
15
15
|
email:
|
16
16
|
- vaiorabbit@gmail.com
|
17
17
|
executables: []
|
@@ -69,5 +69,5 @@ rubyforge_project:
|
|
69
69
|
rubygems_version: 2.2.2
|
70
70
|
signing_key:
|
71
71
|
specification_version: 4
|
72
|
-
summary: Bindings for OpenGL -4.
|
72
|
+
summary: Bindings for OpenGL -4.5, ES - 3.1 and extensions (For MRI >= 2.0.0)
|
73
73
|
test_files: []
|