opengl-bindings 1.5.3 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +65 -0
- data/LICENSE.txt +1 -1
- data/README.md +116 -66
- data/lib/glfw.rb +175 -99
- data/lib/opengl_command.rb +0 -0
- data/lib/opengl_enum.rb +0 -0
- data/lib/opengl_es_command.rb +0 -0
- data/lib/opengl_es_enum.rb +0 -0
- data/lib/opengl_es_ext.rb +0 -0
- data/lib/opengl_es_ext_command.rb +503 -0
- data/lib/opengl_es_ext_enum.rb +229 -0
- data/lib/opengl_ext.rb +0 -0
- data/lib/opengl_ext_command.rb +90 -0
- data/lib/opengl_ext_common.rb +0 -0
- data/lib/opengl_ext_enum.rb +101 -0
- data/lib/opengl_linux.rb +0 -0
- data/lib/opengl_macosx.rb +0 -0
- data/sample/README.md +11 -11
- data/sample/glfw31_build_dylib.sh +0 -0
- data/sample/glfw32_build_dylib.sh +22 -0
- data/sample/report_env.rb +2 -2
- data/sample/report_env_es.rb +0 -0
- data/sample/simple.rb +0 -0
- data/sample/simple_glut.rb +0 -0
- metadata +5 -6
- data/lib/glfw30.rb +0 -509
- data/sample/glfw30_build_dylib.sh +0 -22
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -380,6 +380,15 @@ module OpenGLExt
|
|
380
380
|
end # self.get_ext_enum_GL_APPLE_texture_packed_float
|
381
381
|
|
382
382
|
|
383
|
+
def self.define_ext_enum_GL_ARB_sparse_texture2
|
384
|
+
end # self.define_ext_enum_GL_ARB_sparse_texture2
|
385
|
+
|
386
|
+
def self.get_ext_enum_GL_ARB_sparse_texture2
|
387
|
+
[
|
388
|
+
]
|
389
|
+
end # self.get_ext_enum_GL_ARB_sparse_texture2
|
390
|
+
|
391
|
+
|
383
392
|
def self.define_ext_enum_GL_ARM_mali_program_binary
|
384
393
|
OpenGL.const_set('GL_MALI_PROGRAM_BINARY_ARM', 0x8F61) unless defined?(OpenGL::GL_MALI_PROGRAM_BINARY_ARM)
|
385
394
|
end # self.define_ext_enum_GL_ARM_mali_program_binary
|
@@ -552,6 +561,37 @@ module OpenGLExt
|
|
552
561
|
end # self.get_ext_enum_GL_EXT_buffer_storage
|
553
562
|
|
554
563
|
|
564
|
+
def self.define_ext_enum_GL_EXT_clip_cull_distance
|
565
|
+
OpenGL.const_set('GL_MAX_CLIP_DISTANCES_EXT', 0x0D32) unless defined?(OpenGL::GL_MAX_CLIP_DISTANCES_EXT)
|
566
|
+
OpenGL.const_set('GL_MAX_CULL_DISTANCES_EXT', 0x82F9) unless defined?(OpenGL::GL_MAX_CULL_DISTANCES_EXT)
|
567
|
+
OpenGL.const_set('GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT', 0x82FA) unless defined?(OpenGL::GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT)
|
568
|
+
OpenGL.const_set('GL_CLIP_DISTANCE0_EXT', 0x3000) unless defined?(OpenGL::GL_CLIP_DISTANCE0_EXT)
|
569
|
+
OpenGL.const_set('GL_CLIP_DISTANCE1_EXT', 0x3001) unless defined?(OpenGL::GL_CLIP_DISTANCE1_EXT)
|
570
|
+
OpenGL.const_set('GL_CLIP_DISTANCE2_EXT', 0x3002) unless defined?(OpenGL::GL_CLIP_DISTANCE2_EXT)
|
571
|
+
OpenGL.const_set('GL_CLIP_DISTANCE3_EXT', 0x3003) unless defined?(OpenGL::GL_CLIP_DISTANCE3_EXT)
|
572
|
+
OpenGL.const_set('GL_CLIP_DISTANCE4_EXT', 0x3004) unless defined?(OpenGL::GL_CLIP_DISTANCE4_EXT)
|
573
|
+
OpenGL.const_set('GL_CLIP_DISTANCE5_EXT', 0x3005) unless defined?(OpenGL::GL_CLIP_DISTANCE5_EXT)
|
574
|
+
OpenGL.const_set('GL_CLIP_DISTANCE6_EXT', 0x3006) unless defined?(OpenGL::GL_CLIP_DISTANCE6_EXT)
|
575
|
+
OpenGL.const_set('GL_CLIP_DISTANCE7_EXT', 0x3007) unless defined?(OpenGL::GL_CLIP_DISTANCE7_EXT)
|
576
|
+
end # self.define_ext_enum_GL_EXT_clip_cull_distance
|
577
|
+
|
578
|
+
def self.get_ext_enum_GL_EXT_clip_cull_distance
|
579
|
+
[
|
580
|
+
'GL_MAX_CLIP_DISTANCES_EXT',
|
581
|
+
'GL_MAX_CULL_DISTANCES_EXT',
|
582
|
+
'GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT',
|
583
|
+
'GL_CLIP_DISTANCE0_EXT',
|
584
|
+
'GL_CLIP_DISTANCE1_EXT',
|
585
|
+
'GL_CLIP_DISTANCE2_EXT',
|
586
|
+
'GL_CLIP_DISTANCE3_EXT',
|
587
|
+
'GL_CLIP_DISTANCE4_EXT',
|
588
|
+
'GL_CLIP_DISTANCE5_EXT',
|
589
|
+
'GL_CLIP_DISTANCE6_EXT',
|
590
|
+
'GL_CLIP_DISTANCE7_EXT',
|
591
|
+
]
|
592
|
+
end # self.get_ext_enum_GL_EXT_clip_cull_distance
|
593
|
+
|
594
|
+
|
555
595
|
def self.define_ext_enum_GL_EXT_color_buffer_float
|
556
596
|
end # self.define_ext_enum_GL_EXT_color_buffer_float
|
557
597
|
|
@@ -1043,6 +1083,17 @@ module OpenGLExt
|
|
1043
1083
|
end # self.get_ext_enum_GL_EXT_occlusion_query_boolean
|
1044
1084
|
|
1045
1085
|
|
1086
|
+
def self.define_ext_enum_GL_EXT_polygon_offset_clamp
|
1087
|
+
OpenGL.const_set('GL_POLYGON_OFFSET_CLAMP_EXT', 0x8E1B) unless defined?(OpenGL::GL_POLYGON_OFFSET_CLAMP_EXT)
|
1088
|
+
end # self.define_ext_enum_GL_EXT_polygon_offset_clamp
|
1089
|
+
|
1090
|
+
def self.get_ext_enum_GL_EXT_polygon_offset_clamp
|
1091
|
+
[
|
1092
|
+
'GL_POLYGON_OFFSET_CLAMP_EXT',
|
1093
|
+
]
|
1094
|
+
end # self.get_ext_enum_GL_EXT_polygon_offset_clamp
|
1095
|
+
|
1096
|
+
|
1046
1097
|
def self.define_ext_enum_GL_EXT_post_depth_coverage
|
1047
1098
|
end # self.define_ext_enum_GL_EXT_post_depth_coverage
|
1048
1099
|
|
@@ -1063,6 +1114,19 @@ module OpenGLExt
|
|
1063
1114
|
end # self.get_ext_enum_GL_EXT_primitive_bounding_box
|
1064
1115
|
|
1065
1116
|
|
1117
|
+
def self.define_ext_enum_GL_EXT_protected_textures
|
1118
|
+
OpenGL.const_set('GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT', 0x00000010) unless defined?(OpenGL::GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT)
|
1119
|
+
OpenGL.const_set('GL_TEXTURE_PROTECTED_EXT', 0x8BFA) unless defined?(OpenGL::GL_TEXTURE_PROTECTED_EXT)
|
1120
|
+
end # self.define_ext_enum_GL_EXT_protected_textures
|
1121
|
+
|
1122
|
+
def self.get_ext_enum_GL_EXT_protected_textures
|
1123
|
+
[
|
1124
|
+
'GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT',
|
1125
|
+
'GL_TEXTURE_PROTECTED_EXT',
|
1126
|
+
]
|
1127
|
+
end # self.get_ext_enum_GL_EXT_protected_textures
|
1128
|
+
|
1129
|
+
|
1066
1130
|
def self.define_ext_enum_GL_EXT_pvrtc_sRGB
|
1067
1131
|
OpenGL.const_set('GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT', 0x8A54) unless defined?(OpenGL::GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT)
|
1068
1132
|
OpenGL.const_set('GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT', 0x8A55) unless defined?(OpenGL::GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT)
|
@@ -1230,6 +1294,15 @@ module OpenGLExt
|
|
1230
1294
|
end # self.get_ext_enum_GL_EXT_shader_framebuffer_fetch
|
1231
1295
|
|
1232
1296
|
|
1297
|
+
def self.define_ext_enum_GL_EXT_shader_group_vote
|
1298
|
+
end # self.define_ext_enum_GL_EXT_shader_group_vote
|
1299
|
+
|
1300
|
+
def self.get_ext_enum_GL_EXT_shader_group_vote
|
1301
|
+
[
|
1302
|
+
]
|
1303
|
+
end # self.get_ext_enum_GL_EXT_shader_group_vote
|
1304
|
+
|
1305
|
+
|
1233
1306
|
def self.define_ext_enum_GL_EXT_shader_implicit_conversions
|
1234
1307
|
end # self.define_ext_enum_GL_EXT_shader_implicit_conversions
|
1235
1308
|
|
@@ -1272,6 +1345,21 @@ module OpenGLExt
|
|
1272
1345
|
end # self.get_ext_enum_GL_EXT_shader_pixel_local_storage
|
1273
1346
|
|
1274
1347
|
|
1348
|
+
def self.define_ext_enum_GL_EXT_shader_pixel_local_storage2
|
1349
|
+
OpenGL.const_set('GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT', 0x9650) unless defined?(OpenGL::GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT)
|
1350
|
+
OpenGL.const_set('GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT', 0x9651) unless defined?(OpenGL::GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT)
|
1351
|
+
OpenGL.const_set('GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT', 0x9652) unless defined?(OpenGL::GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT)
|
1352
|
+
end # self.define_ext_enum_GL_EXT_shader_pixel_local_storage2
|
1353
|
+
|
1354
|
+
def self.get_ext_enum_GL_EXT_shader_pixel_local_storage2
|
1355
|
+
[
|
1356
|
+
'GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT',
|
1357
|
+
'GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT',
|
1358
|
+
'GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT',
|
1359
|
+
]
|
1360
|
+
end # self.get_ext_enum_GL_EXT_shader_pixel_local_storage2
|
1361
|
+
|
1362
|
+
|
1275
1363
|
def self.define_ext_enum_GL_EXT_shader_texture_lod
|
1276
1364
|
end # self.define_ext_enum_GL_EXT_shader_texture_lod
|
1277
1365
|
|
@@ -1793,6 +1881,23 @@ module OpenGLExt
|
|
1793
1881
|
end # self.get_ext_enum_GL_FJ_shader_binary_GCCSO
|
1794
1882
|
|
1795
1883
|
|
1884
|
+
def self.define_ext_enum_GL_IMG_framebuffer_downsample
|
1885
|
+
OpenGL.const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG', 0x913C) unless defined?(OpenGL::GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG)
|
1886
|
+
OpenGL.const_set('GL_NUM_DOWNSAMPLE_SCALES_IMG', 0x913D) unless defined?(OpenGL::GL_NUM_DOWNSAMPLE_SCALES_IMG)
|
1887
|
+
OpenGL.const_set('GL_DOWNSAMPLE_SCALES_IMG', 0x913E) unless defined?(OpenGL::GL_DOWNSAMPLE_SCALES_IMG)
|
1888
|
+
OpenGL.const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG', 0x913F) unless defined?(OpenGL::GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG)
|
1889
|
+
end # self.define_ext_enum_GL_IMG_framebuffer_downsample
|
1890
|
+
|
1891
|
+
def self.get_ext_enum_GL_IMG_framebuffer_downsample
|
1892
|
+
[
|
1893
|
+
'GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG',
|
1894
|
+
'GL_NUM_DOWNSAMPLE_SCALES_IMG',
|
1895
|
+
'GL_DOWNSAMPLE_SCALES_IMG',
|
1896
|
+
'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG',
|
1897
|
+
]
|
1898
|
+
end # self.get_ext_enum_GL_IMG_framebuffer_downsample
|
1899
|
+
|
1900
|
+
|
1796
1901
|
def self.define_ext_enum_GL_IMG_multisampled_render_to_texture
|
1797
1902
|
OpenGL.const_set('GL_RENDERBUFFER_SAMPLES_IMG', 0x9133) unless defined?(OpenGL::GL_RENDERBUFFER_SAMPLES_IMG)
|
1798
1903
|
OpenGL.const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG', 0x9134) unless defined?(OpenGL::GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG)
|
@@ -2555,6 +2660,21 @@ module OpenGLExt
|
|
2555
2660
|
end # self.get_ext_enum_GL_NV_conservative_raster
|
2556
2661
|
|
2557
2662
|
|
2663
|
+
def self.define_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
2664
|
+
OpenGL.const_set('GL_CONSERVATIVE_RASTER_MODE_NV', 0x954D) unless defined?(OpenGL::GL_CONSERVATIVE_RASTER_MODE_NV)
|
2665
|
+
OpenGL.const_set('GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV', 0x954E) unless defined?(OpenGL::GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV)
|
2666
|
+
OpenGL.const_set('GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV', 0x954F) unless defined?(OpenGL::GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV)
|
2667
|
+
end # self.define_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
2668
|
+
|
2669
|
+
def self.get_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
2670
|
+
[
|
2671
|
+
'GL_CONSERVATIVE_RASTER_MODE_NV',
|
2672
|
+
'GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV',
|
2673
|
+
'GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV',
|
2674
|
+
]
|
2675
|
+
end # self.get_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
2676
|
+
|
2677
|
+
|
2558
2678
|
def self.define_ext_enum_GL_NV_copy_buffer
|
2559
2679
|
OpenGL.const_set('GL_COPY_READ_BUFFER_NV', 0x8F36) unless defined?(OpenGL::GL_COPY_READ_BUFFER_NV)
|
2560
2680
|
OpenGL.const_set('GL_COPY_WRITE_BUFFER_NV', 0x8F37) unless defined?(OpenGL::GL_COPY_WRITE_BUFFER_NV)
|
@@ -2877,6 +2997,73 @@ module OpenGLExt
|
|
2877
2997
|
end # self.get_ext_enum_GL_NV_geometry_shader_passthrough
|
2878
2998
|
|
2879
2999
|
|
3000
|
+
def self.define_ext_enum_GL_NV_gpu_shader5
|
3001
|
+
OpenGL.const_set('GL_INT64_NV', 0x140E) unless defined?(OpenGL::GL_INT64_NV)
|
3002
|
+
OpenGL.const_set('GL_UNSIGNED_INT64_NV', 0x140F) unless defined?(OpenGL::GL_UNSIGNED_INT64_NV)
|
3003
|
+
OpenGL.const_set('GL_INT8_NV', 0x8FE0) unless defined?(OpenGL::GL_INT8_NV)
|
3004
|
+
OpenGL.const_set('GL_INT8_VEC2_NV', 0x8FE1) unless defined?(OpenGL::GL_INT8_VEC2_NV)
|
3005
|
+
OpenGL.const_set('GL_INT8_VEC3_NV', 0x8FE2) unless defined?(OpenGL::GL_INT8_VEC3_NV)
|
3006
|
+
OpenGL.const_set('GL_INT8_VEC4_NV', 0x8FE3) unless defined?(OpenGL::GL_INT8_VEC4_NV)
|
3007
|
+
OpenGL.const_set('GL_INT16_NV', 0x8FE4) unless defined?(OpenGL::GL_INT16_NV)
|
3008
|
+
OpenGL.const_set('GL_INT16_VEC2_NV', 0x8FE5) unless defined?(OpenGL::GL_INT16_VEC2_NV)
|
3009
|
+
OpenGL.const_set('GL_INT16_VEC3_NV', 0x8FE6) unless defined?(OpenGL::GL_INT16_VEC3_NV)
|
3010
|
+
OpenGL.const_set('GL_INT16_VEC4_NV', 0x8FE7) unless defined?(OpenGL::GL_INT16_VEC4_NV)
|
3011
|
+
OpenGL.const_set('GL_INT64_VEC2_NV', 0x8FE9) unless defined?(OpenGL::GL_INT64_VEC2_NV)
|
3012
|
+
OpenGL.const_set('GL_INT64_VEC3_NV', 0x8FEA) unless defined?(OpenGL::GL_INT64_VEC3_NV)
|
3013
|
+
OpenGL.const_set('GL_INT64_VEC4_NV', 0x8FEB) unless defined?(OpenGL::GL_INT64_VEC4_NV)
|
3014
|
+
OpenGL.const_set('GL_UNSIGNED_INT8_NV', 0x8FEC) unless defined?(OpenGL::GL_UNSIGNED_INT8_NV)
|
3015
|
+
OpenGL.const_set('GL_UNSIGNED_INT8_VEC2_NV', 0x8FED) unless defined?(OpenGL::GL_UNSIGNED_INT8_VEC2_NV)
|
3016
|
+
OpenGL.const_set('GL_UNSIGNED_INT8_VEC3_NV', 0x8FEE) unless defined?(OpenGL::GL_UNSIGNED_INT8_VEC3_NV)
|
3017
|
+
OpenGL.const_set('GL_UNSIGNED_INT8_VEC4_NV', 0x8FEF) unless defined?(OpenGL::GL_UNSIGNED_INT8_VEC4_NV)
|
3018
|
+
OpenGL.const_set('GL_UNSIGNED_INT16_NV', 0x8FF0) unless defined?(OpenGL::GL_UNSIGNED_INT16_NV)
|
3019
|
+
OpenGL.const_set('GL_UNSIGNED_INT16_VEC2_NV', 0x8FF1) unless defined?(OpenGL::GL_UNSIGNED_INT16_VEC2_NV)
|
3020
|
+
OpenGL.const_set('GL_UNSIGNED_INT16_VEC3_NV', 0x8FF2) unless defined?(OpenGL::GL_UNSIGNED_INT16_VEC3_NV)
|
3021
|
+
OpenGL.const_set('GL_UNSIGNED_INT16_VEC4_NV', 0x8FF3) unless defined?(OpenGL::GL_UNSIGNED_INT16_VEC4_NV)
|
3022
|
+
OpenGL.const_set('GL_UNSIGNED_INT64_VEC2_NV', 0x8FF5) unless defined?(OpenGL::GL_UNSIGNED_INT64_VEC2_NV)
|
3023
|
+
OpenGL.const_set('GL_UNSIGNED_INT64_VEC3_NV', 0x8FF6) unless defined?(OpenGL::GL_UNSIGNED_INT64_VEC3_NV)
|
3024
|
+
OpenGL.const_set('GL_UNSIGNED_INT64_VEC4_NV', 0x8FF7) unless defined?(OpenGL::GL_UNSIGNED_INT64_VEC4_NV)
|
3025
|
+
OpenGL.const_set('GL_FLOAT16_NV', 0x8FF8) unless defined?(OpenGL::GL_FLOAT16_NV)
|
3026
|
+
OpenGL.const_set('GL_FLOAT16_VEC2_NV', 0x8FF9) unless defined?(OpenGL::GL_FLOAT16_VEC2_NV)
|
3027
|
+
OpenGL.const_set('GL_FLOAT16_VEC3_NV', 0x8FFA) unless defined?(OpenGL::GL_FLOAT16_VEC3_NV)
|
3028
|
+
OpenGL.const_set('GL_FLOAT16_VEC4_NV', 0x8FFB) unless defined?(OpenGL::GL_FLOAT16_VEC4_NV)
|
3029
|
+
OpenGL.const_set('GL_PATCHES', 0x000E) unless defined?(OpenGL::GL_PATCHES)
|
3030
|
+
end # self.define_ext_enum_GL_NV_gpu_shader5
|
3031
|
+
|
3032
|
+
def self.get_ext_enum_GL_NV_gpu_shader5
|
3033
|
+
[
|
3034
|
+
'GL_INT64_NV',
|
3035
|
+
'GL_UNSIGNED_INT64_NV',
|
3036
|
+
'GL_INT8_NV',
|
3037
|
+
'GL_INT8_VEC2_NV',
|
3038
|
+
'GL_INT8_VEC3_NV',
|
3039
|
+
'GL_INT8_VEC4_NV',
|
3040
|
+
'GL_INT16_NV',
|
3041
|
+
'GL_INT16_VEC2_NV',
|
3042
|
+
'GL_INT16_VEC3_NV',
|
3043
|
+
'GL_INT16_VEC4_NV',
|
3044
|
+
'GL_INT64_VEC2_NV',
|
3045
|
+
'GL_INT64_VEC3_NV',
|
3046
|
+
'GL_INT64_VEC4_NV',
|
3047
|
+
'GL_UNSIGNED_INT8_NV',
|
3048
|
+
'GL_UNSIGNED_INT8_VEC2_NV',
|
3049
|
+
'GL_UNSIGNED_INT8_VEC3_NV',
|
3050
|
+
'GL_UNSIGNED_INT8_VEC4_NV',
|
3051
|
+
'GL_UNSIGNED_INT16_NV',
|
3052
|
+
'GL_UNSIGNED_INT16_VEC2_NV',
|
3053
|
+
'GL_UNSIGNED_INT16_VEC3_NV',
|
3054
|
+
'GL_UNSIGNED_INT16_VEC4_NV',
|
3055
|
+
'GL_UNSIGNED_INT64_VEC2_NV',
|
3056
|
+
'GL_UNSIGNED_INT64_VEC3_NV',
|
3057
|
+
'GL_UNSIGNED_INT64_VEC4_NV',
|
3058
|
+
'GL_FLOAT16_NV',
|
3059
|
+
'GL_FLOAT16_VEC2_NV',
|
3060
|
+
'GL_FLOAT16_VEC3_NV',
|
3061
|
+
'GL_FLOAT16_VEC4_NV',
|
3062
|
+
'GL_PATCHES',
|
3063
|
+
]
|
3064
|
+
end # self.get_ext_enum_GL_NV_gpu_shader5
|
3065
|
+
|
3066
|
+
|
2880
3067
|
def self.define_ext_enum_GL_NV_image_formats
|
2881
3068
|
end # self.define_ext_enum_GL_NV_image_formats
|
2882
3069
|
|
@@ -3420,6 +3607,15 @@ module OpenGLExt
|
|
3420
3607
|
end # self.get_ext_enum_GL_NV_sample_mask_override_coverage
|
3421
3608
|
|
3422
3609
|
|
3610
|
+
def self.define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
3611
|
+
end # self.define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
3612
|
+
|
3613
|
+
def self.get_ext_enum_GL_NV_shader_atomic_fp16_vector
|
3614
|
+
[
|
3615
|
+
]
|
3616
|
+
end # self.get_ext_enum_GL_NV_shader_atomic_fp16_vector
|
3617
|
+
|
3618
|
+
|
3423
3619
|
def self.define_ext_enum_GL_NV_shader_noperspective_interpolation
|
3424
3620
|
end # self.define_ext_enum_GL_NV_shader_noperspective_interpolation
|
3425
3621
|
|
@@ -3516,6 +3712,39 @@ module OpenGLExt
|
|
3516
3712
|
end # self.get_ext_enum_GL_NV_viewport_array2
|
3517
3713
|
|
3518
3714
|
|
3715
|
+
def self.define_ext_enum_GL_NV_viewport_swizzle
|
3716
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV', 0x9350) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV)
|
3717
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV', 0x9351) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV)
|
3718
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV', 0x9352) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV)
|
3719
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV', 0x9353) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV)
|
3720
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV', 0x9354) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV)
|
3721
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV', 0x9355) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV)
|
3722
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV', 0x9356) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV)
|
3723
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV', 0x9357) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV)
|
3724
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_X_NV', 0x9358) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_X_NV)
|
3725
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_Y_NV', 0x9359) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_Y_NV)
|
3726
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_Z_NV', 0x935A) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_Z_NV)
|
3727
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_W_NV', 0x935B) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_W_NV)
|
3728
|
+
end # self.define_ext_enum_GL_NV_viewport_swizzle
|
3729
|
+
|
3730
|
+
def self.get_ext_enum_GL_NV_viewport_swizzle
|
3731
|
+
[
|
3732
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV',
|
3733
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV',
|
3734
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV',
|
3735
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV',
|
3736
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV',
|
3737
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV',
|
3738
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV',
|
3739
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV',
|
3740
|
+
'GL_VIEWPORT_SWIZZLE_X_NV',
|
3741
|
+
'GL_VIEWPORT_SWIZZLE_Y_NV',
|
3742
|
+
'GL_VIEWPORT_SWIZZLE_Z_NV',
|
3743
|
+
'GL_VIEWPORT_SWIZZLE_W_NV',
|
3744
|
+
]
|
3745
|
+
end # self.get_ext_enum_GL_NV_viewport_swizzle
|
3746
|
+
|
3747
|
+
|
3519
3748
|
def self.define_ext_enum_GL_OES_EGL_image
|
3520
3749
|
end # self.define_ext_enum_GL_OES_EGL_image
|
3521
3750
|
|
data/lib/opengl_ext.rb
CHANGED
File without changes
|
data/lib/opengl_ext_command.rb
CHANGED
@@ -816,6 +816,15 @@ module OpenGLExt
|
|
816
816
|
end # self.get_ext_command_GL_AMD_shader_trinary_minmax
|
817
817
|
|
818
818
|
|
819
|
+
def self.define_ext_command_GL_AMD_shader_explicit_vertex_parameter
|
820
|
+
end # self.define_ext_command_GL_AMD_shader_explicit_vertex_parameter
|
821
|
+
|
822
|
+
def self.get_ext_command_GL_AMD_shader_explicit_vertex_parameter
|
823
|
+
[
|
824
|
+
]
|
825
|
+
end # self.get_ext_command_GL_AMD_shader_explicit_vertex_parameter
|
826
|
+
|
827
|
+
|
819
828
|
def self.define_ext_command_GL_AMD_sparse_texture
|
820
829
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexStorageSparseAMD] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
821
830
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexStorageSparseAMD] = Fiddle::TYPE_VOID
|
@@ -19838,6 +19847,24 @@ module OpenGLExt
|
|
19838
19847
|
end # self.get_ext_command_GL_NV_blend_square
|
19839
19848
|
|
19840
19849
|
|
19850
|
+
def self.define_ext_command_GL_NV_clip_space_w_scaling
|
19851
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glViewportPositionWScaleNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
19852
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glViewportPositionWScaleNV] = Fiddle::TYPE_VOID
|
19853
|
+
OpenGL.module_eval(<<-SRC)
|
19854
|
+
def glViewportPositionWScaleNV(_index_, _xcoeff_, _ycoeff_)
|
19855
|
+
f = OpenGL::get_command(:glViewportPositionWScaleNV)
|
19856
|
+
f.call(_index_, _xcoeff_, _ycoeff_)
|
19857
|
+
end
|
19858
|
+
SRC
|
19859
|
+
end # self.define_ext_command_GL_NV_clip_space_w_scaling
|
19860
|
+
|
19861
|
+
def self.get_ext_command_GL_NV_clip_space_w_scaling
|
19862
|
+
[
|
19863
|
+
'glViewportPositionWScaleNV',
|
19864
|
+
]
|
19865
|
+
end # self.get_ext_command_GL_NV_clip_space_w_scaling
|
19866
|
+
|
19867
|
+
|
19841
19868
|
def self.define_ext_command_GL_NV_command_list
|
19842
19869
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glCreateStatesNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
19843
19870
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glCreateStatesNV] = Fiddle::TYPE_VOID
|
@@ -20089,6 +20116,24 @@ module OpenGLExt
|
|
20089
20116
|
end # self.get_ext_command_GL_NV_conservative_raster_dilate
|
20090
20117
|
|
20091
20118
|
|
20119
|
+
def self.define_ext_command_GL_NV_conservative_raster_pre_snap_triangles
|
20120
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glConservativeRasterParameteriNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
20121
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glConservativeRasterParameteriNV] = Fiddle::TYPE_VOID
|
20122
|
+
OpenGL.module_eval(<<-SRC)
|
20123
|
+
def glConservativeRasterParameteriNV(_pname_, _param_)
|
20124
|
+
f = OpenGL::get_command(:glConservativeRasterParameteriNV)
|
20125
|
+
f.call(_pname_, _param_)
|
20126
|
+
end
|
20127
|
+
SRC
|
20128
|
+
end # self.define_ext_command_GL_NV_conservative_raster_pre_snap_triangles
|
20129
|
+
|
20130
|
+
def self.get_ext_command_GL_NV_conservative_raster_pre_snap_triangles
|
20131
|
+
[
|
20132
|
+
'glConservativeRasterParameteriNV',
|
20133
|
+
]
|
20134
|
+
end # self.get_ext_command_GL_NV_conservative_raster_pre_snap_triangles
|
20135
|
+
|
20136
|
+
|
20092
20137
|
def self.define_ext_command_GL_NV_copy_depth_to_color
|
20093
20138
|
end # self.define_ext_command_GL_NV_copy_depth_to_color
|
20094
20139
|
|
@@ -22850,6 +22895,15 @@ module OpenGLExt
|
|
22850
22895
|
end # self.get_ext_command_GL_NV_register_combiners2
|
22851
22896
|
|
22852
22897
|
|
22898
|
+
def self.define_ext_command_GL_NV_robustness_video_memory_purge
|
22899
|
+
end # self.define_ext_command_GL_NV_robustness_video_memory_purge
|
22900
|
+
|
22901
|
+
def self.get_ext_command_GL_NV_robustness_video_memory_purge
|
22902
|
+
[
|
22903
|
+
]
|
22904
|
+
end # self.get_ext_command_GL_NV_robustness_video_memory_purge
|
22905
|
+
|
22906
|
+
|
22853
22907
|
def self.define_ext_command_GL_NV_sample_locations
|
22854
22908
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferSampleLocationsfvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
22855
22909
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferSampleLocationsfvNV] = Fiddle::TYPE_VOID
|
@@ -22915,6 +22969,15 @@ module OpenGLExt
|
|
22915
22969
|
end # self.get_ext_command_GL_NV_shader_atomic_float
|
22916
22970
|
|
22917
22971
|
|
22972
|
+
def self.define_ext_command_GL_NV_shader_atomic_float64
|
22973
|
+
end # self.define_ext_command_GL_NV_shader_atomic_float64
|
22974
|
+
|
22975
|
+
def self.get_ext_command_GL_NV_shader_atomic_float64
|
22976
|
+
[
|
22977
|
+
]
|
22978
|
+
end # self.get_ext_command_GL_NV_shader_atomic_float64
|
22979
|
+
|
22980
|
+
|
22918
22981
|
def self.define_ext_command_GL_NV_shader_atomic_fp16_vector
|
22919
22982
|
end # self.define_ext_command_GL_NV_shader_atomic_fp16_vector
|
22920
22983
|
|
@@ -23117,6 +23180,15 @@ module OpenGLExt
|
|
23117
23180
|
end # self.get_ext_command_GL_NV_shader_thread_shuffle
|
23118
23181
|
|
23119
23182
|
|
23183
|
+
def self.define_ext_command_GL_NV_stereo_view_rendering
|
23184
|
+
end # self.define_ext_command_GL_NV_stereo_view_rendering
|
23185
|
+
|
23186
|
+
def self.get_ext_command_GL_NV_stereo_view_rendering
|
23187
|
+
[
|
23188
|
+
]
|
23189
|
+
end # self.get_ext_command_GL_NV_stereo_view_rendering
|
23190
|
+
|
23191
|
+
|
23120
23192
|
def self.define_ext_command_GL_NV_tessellation_program5
|
23121
23193
|
end # self.define_ext_command_GL_NV_tessellation_program5
|
23122
23194
|
|
@@ -25038,6 +25110,24 @@ module OpenGLExt
|
|
25038
25110
|
end # self.get_ext_command_GL_NV_viewport_array2
|
25039
25111
|
|
25040
25112
|
|
25113
|
+
def self.define_ext_command_GL_NV_viewport_swizzle
|
25114
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glViewportSwizzleNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
25115
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glViewportSwizzleNV] = Fiddle::TYPE_VOID
|
25116
|
+
OpenGL.module_eval(<<-SRC)
|
25117
|
+
def glViewportSwizzleNV(_index_, _swizzlex_, _swizzley_, _swizzlez_, _swizzlew_)
|
25118
|
+
f = OpenGL::get_command(:glViewportSwizzleNV)
|
25119
|
+
f.call(_index_, _swizzlex_, _swizzley_, _swizzlez_, _swizzlew_)
|
25120
|
+
end
|
25121
|
+
SRC
|
25122
|
+
end # self.define_ext_command_GL_NV_viewport_swizzle
|
25123
|
+
|
25124
|
+
def self.get_ext_command_GL_NV_viewport_swizzle
|
25125
|
+
[
|
25126
|
+
'glViewportSwizzleNV',
|
25127
|
+
]
|
25128
|
+
end # self.get_ext_command_GL_NV_viewport_swizzle
|
25129
|
+
|
25130
|
+
|
25041
25131
|
def self.define_ext_command_GL_OES_byte_coordinates
|
25042
25132
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMultiTexCoord1bOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_CHAR]
|
25043
25133
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMultiTexCoord1bOES] = Fiddle::TYPE_VOID
|
data/lib/opengl_ext_common.rb
CHANGED
File without changes
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -374,6 +374,15 @@ module OpenGLExt
|
|
374
374
|
end # self.get_ext_enum_GL_AMD_shader_trinary_minmax
|
375
375
|
|
376
376
|
|
377
|
+
def self.define_ext_enum_GL_AMD_shader_explicit_vertex_parameter
|
378
|
+
end # self.define_ext_enum_GL_AMD_shader_explicit_vertex_parameter
|
379
|
+
|
380
|
+
def self.get_ext_enum_GL_AMD_shader_explicit_vertex_parameter
|
381
|
+
[
|
382
|
+
]
|
383
|
+
end # self.get_ext_enum_GL_AMD_shader_explicit_vertex_parameter
|
384
|
+
|
385
|
+
|
377
386
|
def self.define_ext_enum_GL_AMD_sparse_texture
|
378
387
|
OpenGL.const_set('GL_VIRTUAL_PAGE_SIZE_X_AMD', 0x9195) unless defined?(OpenGL::GL_VIRTUAL_PAGE_SIZE_X_AMD)
|
379
388
|
OpenGL.const_set('GL_VIRTUAL_PAGE_SIZE_Y_AMD', 0x9196) unless defined?(OpenGL::GL_VIRTUAL_PAGE_SIZE_Y_AMD)
|
@@ -9169,6 +9178,21 @@ module OpenGLExt
|
|
9169
9178
|
end # self.get_ext_enum_GL_NV_blend_square
|
9170
9179
|
|
9171
9180
|
|
9181
|
+
def self.define_ext_enum_GL_NV_clip_space_w_scaling
|
9182
|
+
OpenGL.const_set('GL_VIEWPORT_POSITION_W_SCALE_NV', 0x937C) unless defined?(OpenGL::GL_VIEWPORT_POSITION_W_SCALE_NV)
|
9183
|
+
OpenGL.const_set('GL_VIEWPORT_POSITION_W_SCALE_X_COEFF', 0x937D) unless defined?(OpenGL::GL_VIEWPORT_POSITION_W_SCALE_X_COEFF)
|
9184
|
+
OpenGL.const_set('GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF', 0x937E) unless defined?(OpenGL::GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF)
|
9185
|
+
end # self.define_ext_enum_GL_NV_clip_space_w_scaling
|
9186
|
+
|
9187
|
+
def self.get_ext_enum_GL_NV_clip_space_w_scaling
|
9188
|
+
[
|
9189
|
+
'GL_VIEWPORT_POSITION_W_SCALE_NV',
|
9190
|
+
'GL_VIEWPORT_POSITION_W_SCALE_X_COEFF',
|
9191
|
+
'GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF',
|
9192
|
+
]
|
9193
|
+
end # self.get_ext_enum_GL_NV_clip_space_w_scaling
|
9194
|
+
|
9195
|
+
|
9172
9196
|
def self.define_ext_enum_GL_NV_command_list
|
9173
9197
|
OpenGL.const_set('GL_TERMINATE_SEQUENCE_COMMAND_NV', 0x0000) unless defined?(OpenGL::GL_TERMINATE_SEQUENCE_COMMAND_NV)
|
9174
9198
|
OpenGL.const_set('GL_NOP_COMMAND_NV', 0x0001) unless defined?(OpenGL::GL_NOP_COMMAND_NV)
|
@@ -9278,6 +9302,21 @@ module OpenGLExt
|
|
9278
9302
|
end # self.get_ext_enum_GL_NV_conservative_raster_dilate
|
9279
9303
|
|
9280
9304
|
|
9305
|
+
def self.define_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
9306
|
+
OpenGL.const_set('GL_CONSERVATIVE_RASTER_MODE_NV', 0x954D) unless defined?(OpenGL::GL_CONSERVATIVE_RASTER_MODE_NV)
|
9307
|
+
OpenGL.const_set('GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV', 0x954E) unless defined?(OpenGL::GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV)
|
9308
|
+
OpenGL.const_set('GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV', 0x954F) unless defined?(OpenGL::GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV)
|
9309
|
+
end # self.define_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
9310
|
+
|
9311
|
+
def self.get_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
9312
|
+
[
|
9313
|
+
'GL_CONSERVATIVE_RASTER_MODE_NV',
|
9314
|
+
'GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV',
|
9315
|
+
'GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV',
|
9316
|
+
]
|
9317
|
+
end # self.get_ext_enum_GL_NV_conservative_raster_pre_snap_triangles
|
9318
|
+
|
9319
|
+
|
9281
9320
|
def self.define_ext_enum_GL_NV_copy_depth_to_color
|
9282
9321
|
OpenGL.const_set('GL_DEPTH_STENCIL_TO_RGBA_NV', 0x886E) unless defined?(OpenGL::GL_DEPTH_STENCIL_TO_RGBA_NV)
|
9283
9322
|
OpenGL.const_set('GL_DEPTH_STENCIL_TO_BGRA_NV', 0x886F) unless defined?(OpenGL::GL_DEPTH_STENCIL_TO_BGRA_NV)
|
@@ -10516,6 +10555,17 @@ module OpenGLExt
|
|
10516
10555
|
end # self.get_ext_enum_GL_NV_register_combiners2
|
10517
10556
|
|
10518
10557
|
|
10558
|
+
def self.define_ext_enum_GL_NV_robustness_video_memory_purge
|
10559
|
+
OpenGL.const_set('GL_PURGED_CONTEXT_RESET_NV', 0x92BB) unless defined?(OpenGL::GL_PURGED_CONTEXT_RESET_NV)
|
10560
|
+
end # self.define_ext_enum_GL_NV_robustness_video_memory_purge
|
10561
|
+
|
10562
|
+
def self.get_ext_enum_GL_NV_robustness_video_memory_purge
|
10563
|
+
[
|
10564
|
+
'GL_PURGED_CONTEXT_RESET_NV',
|
10565
|
+
]
|
10566
|
+
end # self.get_ext_enum_GL_NV_robustness_video_memory_purge
|
10567
|
+
|
10568
|
+
|
10519
10569
|
def self.define_ext_enum_GL_NV_sample_locations
|
10520
10570
|
OpenGL.const_set('GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV', 0x933D) unless defined?(OpenGL::GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV)
|
10521
10571
|
OpenGL.const_set('GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV', 0x933E) unless defined?(OpenGL::GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV)
|
@@ -10568,6 +10618,15 @@ module OpenGLExt
|
|
10568
10618
|
end # self.get_ext_enum_GL_NV_shader_atomic_float
|
10569
10619
|
|
10570
10620
|
|
10621
|
+
def self.define_ext_enum_GL_NV_shader_atomic_float64
|
10622
|
+
end # self.define_ext_enum_GL_NV_shader_atomic_float64
|
10623
|
+
|
10624
|
+
def self.get_ext_enum_GL_NV_shader_atomic_float64
|
10625
|
+
[
|
10626
|
+
]
|
10627
|
+
end # self.get_ext_enum_GL_NV_shader_atomic_float64
|
10628
|
+
|
10629
|
+
|
10571
10630
|
def self.define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
10572
10631
|
end # self.define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
10573
10632
|
|
@@ -10649,6 +10708,15 @@ module OpenGLExt
|
|
10649
10708
|
end # self.get_ext_enum_GL_NV_shader_thread_shuffle
|
10650
10709
|
|
10651
10710
|
|
10711
|
+
def self.define_ext_enum_GL_NV_stereo_view_rendering
|
10712
|
+
end # self.define_ext_enum_GL_NV_stereo_view_rendering
|
10713
|
+
|
10714
|
+
def self.get_ext_enum_GL_NV_stereo_view_rendering
|
10715
|
+
[
|
10716
|
+
]
|
10717
|
+
end # self.get_ext_enum_GL_NV_stereo_view_rendering
|
10718
|
+
|
10719
|
+
|
10652
10720
|
def self.define_ext_enum_GL_NV_tessellation_program5
|
10653
10721
|
OpenGL.const_set('GL_MAX_PROGRAM_PATCH_ATTRIBS_NV', 0x86D8) unless defined?(OpenGL::GL_MAX_PROGRAM_PATCH_ATTRIBS_NV)
|
10654
10722
|
OpenGL.const_set('GL_TESS_CONTROL_PROGRAM_NV', 0x891E) unless defined?(OpenGL::GL_TESS_CONTROL_PROGRAM_NV)
|
@@ -11509,6 +11577,39 @@ module OpenGLExt
|
|
11509
11577
|
end # self.get_ext_enum_GL_NV_viewport_array2
|
11510
11578
|
|
11511
11579
|
|
11580
|
+
def self.define_ext_enum_GL_NV_viewport_swizzle
|
11581
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV', 0x9350) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV)
|
11582
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV', 0x9351) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV)
|
11583
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV', 0x9352) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV)
|
11584
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV', 0x9353) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV)
|
11585
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV', 0x9354) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV)
|
11586
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV', 0x9355) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV)
|
11587
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV', 0x9356) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV)
|
11588
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV', 0x9357) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV)
|
11589
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_X_NV', 0x9358) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_X_NV)
|
11590
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_Y_NV', 0x9359) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_Y_NV)
|
11591
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_Z_NV', 0x935A) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_Z_NV)
|
11592
|
+
OpenGL.const_set('GL_VIEWPORT_SWIZZLE_W_NV', 0x935B) unless defined?(OpenGL::GL_VIEWPORT_SWIZZLE_W_NV)
|
11593
|
+
end # self.define_ext_enum_GL_NV_viewport_swizzle
|
11594
|
+
|
11595
|
+
def self.get_ext_enum_GL_NV_viewport_swizzle
|
11596
|
+
[
|
11597
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV',
|
11598
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV',
|
11599
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV',
|
11600
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV',
|
11601
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV',
|
11602
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV',
|
11603
|
+
'GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV',
|
11604
|
+
'GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV',
|
11605
|
+
'GL_VIEWPORT_SWIZZLE_X_NV',
|
11606
|
+
'GL_VIEWPORT_SWIZZLE_Y_NV',
|
11607
|
+
'GL_VIEWPORT_SWIZZLE_Z_NV',
|
11608
|
+
'GL_VIEWPORT_SWIZZLE_W_NV',
|
11609
|
+
]
|
11610
|
+
end # self.get_ext_enum_GL_NV_viewport_swizzle
|
11611
|
+
|
11612
|
+
|
11512
11613
|
def self.define_ext_enum_GL_OES_byte_coordinates
|
11513
11614
|
OpenGL.const_set('GL_BYTE', 0x1400) unless defined?(OpenGL::GL_BYTE)
|
11514
11615
|
end # self.define_ext_enum_GL_OES_byte_coordinates
|