opengl-bindings 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +24 -0
- data/LICENSE.txt +1 -1
- data/README.md +14 -2
- data/lib/glfw.rb +60 -55
- data/lib/glu.rb +1 -1
- data/lib/glut.rb +1 -1
- data/lib/opengl.rb +1 -1
- data/lib/opengl_es.rb +1 -1
- data/lib/opengl_es_ext.rb +1 -1
- data/lib/opengl_es_ext_command.rb +104 -0
- data/lib/opengl_es_ext_enum.rb +71 -0
- data/lib/opengl_ext.rb +1 -1
- data/lib/opengl_ext_command.rb +285 -0
- data/lib/opengl_ext_enum.rb +294 -0
- data/lib/opengl_linux.rb +1 -1
- data/lib/opengl_macosx.rb +1 -1
- data/lib/opengl_platform.rb +1 -1
- data/lib/opengl_windows.rb +1 -1
- data/sample/README.md +8 -6
- data/sample/glfw_build.bat +11 -0
- data/sample/glfw_build.sh +13 -0
- metadata +5 -5
- data/sample/glfw32_build_dylib.sh +0 -22
data/lib/opengl_ext.rb
CHANGED
@@ -11,7 +11,7 @@ end
|
|
11
11
|
|
12
12
|
=begin
|
13
13
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
14
|
-
Copyright (c) 2013-
|
14
|
+
Copyright (c) 2013-2019 vaiorabbit <http://twitter.com/vaiorabbit>
|
15
15
|
|
16
16
|
This software is provided 'as-is', without any express or implied
|
17
17
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_ext_command.rb
CHANGED
@@ -18126,6 +18126,15 @@ module OpenGLExt
|
|
18126
18126
|
end # self.get_ext_command_GL_EXT_texture_sRGB
|
18127
18127
|
|
18128
18128
|
|
18129
|
+
def self.define_ext_command_GL_EXT_texture_sRGB_R8
|
18130
|
+
end # self.define_ext_command_GL_EXT_texture_sRGB_R8
|
18131
|
+
|
18132
|
+
def self.get_ext_command_GL_EXT_texture_sRGB_R8
|
18133
|
+
[
|
18134
|
+
]
|
18135
|
+
end # self.get_ext_command_GL_EXT_texture_sRGB_R8
|
18136
|
+
|
18137
|
+
|
18129
18138
|
def self.define_ext_command_GL_EXT_texture_sRGB_decode
|
18130
18139
|
end # self.define_ext_command_GL_EXT_texture_sRGB_decode
|
18131
18140
|
|
@@ -20891,6 +20900,15 @@ module OpenGLExt
|
|
20891
20900
|
end # self.get_ext_command_GL_NV_compute_program5
|
20892
20901
|
|
20893
20902
|
|
20903
|
+
def self.define_ext_command_GL_NV_compute_shader_derivatives
|
20904
|
+
end # self.define_ext_command_GL_NV_compute_shader_derivatives
|
20905
|
+
|
20906
|
+
def self.get_ext_command_GL_NV_compute_shader_derivatives
|
20907
|
+
[
|
20908
|
+
]
|
20909
|
+
end # self.get_ext_command_GL_NV_compute_shader_derivatives
|
20910
|
+
|
20911
|
+
|
20894
20912
|
def self.define_ext_command_GL_NV_conditional_render
|
20895
20913
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBeginConditionalRenderNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
20896
20914
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBeginConditionalRenderNV] = Fiddle::TYPE_VOID
|
@@ -21504,6 +21522,15 @@ module OpenGLExt
|
|
21504
21522
|
end # self.get_ext_command_GL_NV_fragment_program_option
|
21505
21523
|
|
21506
21524
|
|
21525
|
+
def self.define_ext_command_GL_NV_fragment_shader_barycentric
|
21526
|
+
end # self.define_ext_command_GL_NV_fragment_shader_barycentric
|
21527
|
+
|
21528
|
+
def self.get_ext_command_GL_NV_fragment_shader_barycentric
|
21529
|
+
[
|
21530
|
+
]
|
21531
|
+
end # self.get_ext_command_GL_NV_fragment_shader_barycentric
|
21532
|
+
|
21533
|
+
|
21507
21534
|
def self.define_ext_command_GL_NV_fragment_shader_interlock
|
21508
21535
|
end # self.define_ext_command_GL_NV_fragment_shader_interlock
|
21509
21536
|
|
@@ -22811,6 +22838,122 @@ module OpenGLExt
|
|
22811
22838
|
end # self.get_ext_command_GL_NV_gpu_multicast
|
22812
22839
|
|
22813
22840
|
|
22841
|
+
def self.define_ext_command_GL_NV_memory_attachment
|
22842
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetMemoryObjectDetachedResourcesuivNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
22843
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetMemoryObjectDetachedResourcesuivNV] = Fiddle::TYPE_VOID
|
22844
|
+
OpenGL.module_eval(<<-SRC)
|
22845
|
+
def glGetMemoryObjectDetachedResourcesuivNV(_memory_, _pname_, _first_, _count_, _params_)
|
22846
|
+
f = OpenGL::get_command(:glGetMemoryObjectDetachedResourcesuivNV)
|
22847
|
+
f.call(_memory_, _pname_, _first_, _count_, _params_)
|
22848
|
+
end
|
22849
|
+
SRC
|
22850
|
+
|
22851
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glResetMemoryObjectParameterNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
22852
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glResetMemoryObjectParameterNV] = Fiddle::TYPE_VOID
|
22853
|
+
OpenGL.module_eval(<<-SRC)
|
22854
|
+
def glResetMemoryObjectParameterNV(_memory_, _pname_)
|
22855
|
+
f = OpenGL::get_command(:glResetMemoryObjectParameterNV)
|
22856
|
+
f.call(_memory_, _pname_)
|
22857
|
+
end
|
22858
|
+
SRC
|
22859
|
+
|
22860
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexAttachMemoryNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
22861
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexAttachMemoryNV] = Fiddle::TYPE_VOID
|
22862
|
+
OpenGL.module_eval(<<-SRC)
|
22863
|
+
def glTexAttachMemoryNV(_target_, _memory_, _offset_)
|
22864
|
+
f = OpenGL::get_command(:glTexAttachMemoryNV)
|
22865
|
+
f.call(_target_, _memory_, _offset_)
|
22866
|
+
end
|
22867
|
+
SRC
|
22868
|
+
|
22869
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBufferAttachMemoryNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
22870
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBufferAttachMemoryNV] = Fiddle::TYPE_VOID
|
22871
|
+
OpenGL.module_eval(<<-SRC)
|
22872
|
+
def glBufferAttachMemoryNV(_target_, _memory_, _offset_)
|
22873
|
+
f = OpenGL::get_command(:glBufferAttachMemoryNV)
|
22874
|
+
f.call(_target_, _memory_, _offset_)
|
22875
|
+
end
|
22876
|
+
SRC
|
22877
|
+
|
22878
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureAttachMemoryNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
22879
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureAttachMemoryNV] = Fiddle::TYPE_VOID
|
22880
|
+
OpenGL.module_eval(<<-SRC)
|
22881
|
+
def glTextureAttachMemoryNV(_texture_, _memory_, _offset_)
|
22882
|
+
f = OpenGL::get_command(:glTextureAttachMemoryNV)
|
22883
|
+
f.call(_texture_, _memory_, _offset_)
|
22884
|
+
end
|
22885
|
+
SRC
|
22886
|
+
|
22887
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glNamedBufferAttachMemoryNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
22888
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferAttachMemoryNV] = Fiddle::TYPE_VOID
|
22889
|
+
OpenGL.module_eval(<<-SRC)
|
22890
|
+
def glNamedBufferAttachMemoryNV(_buffer_, _memory_, _offset_)
|
22891
|
+
f = OpenGL::get_command(:glNamedBufferAttachMemoryNV)
|
22892
|
+
f.call(_buffer_, _memory_, _offset_)
|
22893
|
+
end
|
22894
|
+
SRC
|
22895
|
+
end # self.define_ext_command_GL_NV_memory_attachment
|
22896
|
+
|
22897
|
+
def self.get_ext_command_GL_NV_memory_attachment
|
22898
|
+
[
|
22899
|
+
'glGetMemoryObjectDetachedResourcesuivNV',
|
22900
|
+
'glResetMemoryObjectParameterNV',
|
22901
|
+
'glTexAttachMemoryNV',
|
22902
|
+
'glBufferAttachMemoryNV',
|
22903
|
+
'glTextureAttachMemoryNV',
|
22904
|
+
'glNamedBufferAttachMemoryNV',
|
22905
|
+
]
|
22906
|
+
end # self.get_ext_command_GL_NV_memory_attachment
|
22907
|
+
|
22908
|
+
|
22909
|
+
def self.define_ext_command_GL_NV_mesh_shader
|
22910
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDrawMeshTasksNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
22911
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDrawMeshTasksNV] = Fiddle::TYPE_VOID
|
22912
|
+
OpenGL.module_eval(<<-SRC)
|
22913
|
+
def glDrawMeshTasksNV(_first_, _count_)
|
22914
|
+
f = OpenGL::get_command(:glDrawMeshTasksNV)
|
22915
|
+
f.call(_first_, _count_)
|
22916
|
+
end
|
22917
|
+
SRC
|
22918
|
+
|
22919
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDrawMeshTasksIndirectNV] = [Fiddle::TYPE_PTRDIFF_T]
|
22920
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDrawMeshTasksIndirectNV] = Fiddle::TYPE_VOID
|
22921
|
+
OpenGL.module_eval(<<-SRC)
|
22922
|
+
def glDrawMeshTasksIndirectNV(_indirect_)
|
22923
|
+
f = OpenGL::get_command(:glDrawMeshTasksIndirectNV)
|
22924
|
+
f.call(_indirect_)
|
22925
|
+
end
|
22926
|
+
SRC
|
22927
|
+
|
22928
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMultiDrawMeshTasksIndirectNV] = [Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
22929
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawMeshTasksIndirectNV] = Fiddle::TYPE_VOID
|
22930
|
+
OpenGL.module_eval(<<-SRC)
|
22931
|
+
def glMultiDrawMeshTasksIndirectNV(_indirect_, _drawcount_, _stride_)
|
22932
|
+
f = OpenGL::get_command(:glMultiDrawMeshTasksIndirectNV)
|
22933
|
+
f.call(_indirect_, _drawcount_, _stride_)
|
22934
|
+
end
|
22935
|
+
SRC
|
22936
|
+
|
22937
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMultiDrawMeshTasksIndirectCountNV] = [Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
22938
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawMeshTasksIndirectCountNV] = Fiddle::TYPE_VOID
|
22939
|
+
OpenGL.module_eval(<<-SRC)
|
22940
|
+
def glMultiDrawMeshTasksIndirectCountNV(_indirect_, _drawcount_, _maxdrawcount_, _stride_)
|
22941
|
+
f = OpenGL::get_command(:glMultiDrawMeshTasksIndirectCountNV)
|
22942
|
+
f.call(_indirect_, _drawcount_, _maxdrawcount_, _stride_)
|
22943
|
+
end
|
22944
|
+
SRC
|
22945
|
+
end # self.define_ext_command_GL_NV_mesh_shader
|
22946
|
+
|
22947
|
+
def self.get_ext_command_GL_NV_mesh_shader
|
22948
|
+
[
|
22949
|
+
'glDrawMeshTasksNV',
|
22950
|
+
'glDrawMeshTasksIndirectNV',
|
22951
|
+
'glMultiDrawMeshTasksIndirectNV',
|
22952
|
+
'glMultiDrawMeshTasksIndirectCountNV',
|
22953
|
+
]
|
22954
|
+
end # self.get_ext_command_GL_NV_mesh_shader
|
22955
|
+
|
22956
|
+
|
22814
22957
|
def self.define_ext_command_GL_NV_multisample_coverage
|
22815
22958
|
end # self.define_ext_command_GL_NV_multisample_coverage
|
22816
22959
|
|
@@ -24184,6 +24327,15 @@ module OpenGLExt
|
|
24184
24327
|
end # self.get_ext_command_GL_NV_register_combiners2
|
24185
24328
|
|
24186
24329
|
|
24330
|
+
def self.define_ext_command_GL_NV_representative_fragment_test
|
24331
|
+
end # self.define_ext_command_GL_NV_representative_fragment_test
|
24332
|
+
|
24333
|
+
def self.get_ext_command_GL_NV_representative_fragment_test
|
24334
|
+
[
|
24335
|
+
]
|
24336
|
+
end # self.get_ext_command_GL_NV_representative_fragment_test
|
24337
|
+
|
24338
|
+
|
24187
24339
|
def self.define_ext_command_GL_NV_robustness_video_memory_purge
|
24188
24340
|
end # self.define_ext_command_GL_NV_robustness_video_memory_purge
|
24189
24341
|
|
@@ -24240,6 +24392,34 @@ module OpenGLExt
|
|
24240
24392
|
end # self.get_ext_command_GL_NV_sample_mask_override_coverage
|
24241
24393
|
|
24242
24394
|
|
24395
|
+
def self.define_ext_command_GL_NV_scissor_exclusive
|
24396
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glScissorExclusiveNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
24397
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glScissorExclusiveNV] = Fiddle::TYPE_VOID
|
24398
|
+
OpenGL.module_eval(<<-SRC)
|
24399
|
+
def glScissorExclusiveNV(_x_, _y_, _width_, _height_)
|
24400
|
+
f = OpenGL::get_command(:glScissorExclusiveNV)
|
24401
|
+
f.call(_x_, _y_, _width_, _height_)
|
24402
|
+
end
|
24403
|
+
SRC
|
24404
|
+
|
24405
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glScissorExclusiveArrayvNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
24406
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glScissorExclusiveArrayvNV] = Fiddle::TYPE_VOID
|
24407
|
+
OpenGL.module_eval(<<-SRC)
|
24408
|
+
def glScissorExclusiveArrayvNV(_first_, _count_, _v_)
|
24409
|
+
f = OpenGL::get_command(:glScissorExclusiveArrayvNV)
|
24410
|
+
f.call(_first_, _count_, _v_)
|
24411
|
+
end
|
24412
|
+
SRC
|
24413
|
+
end # self.define_ext_command_GL_NV_scissor_exclusive
|
24414
|
+
|
24415
|
+
def self.get_ext_command_GL_NV_scissor_exclusive
|
24416
|
+
[
|
24417
|
+
'glScissorExclusiveNV',
|
24418
|
+
'glScissorExclusiveArrayvNV',
|
24419
|
+
]
|
24420
|
+
end # self.get_ext_command_GL_NV_scissor_exclusive
|
24421
|
+
|
24422
|
+
|
24243
24423
|
def self.define_ext_command_GL_NV_shader_atomic_counters
|
24244
24424
|
end # self.define_ext_command_GL_NV_shader_atomic_counters
|
24245
24425
|
|
@@ -24451,6 +24631,15 @@ module OpenGLExt
|
|
24451
24631
|
end # self.get_ext_command_GL_NV_shader_storage_buffer_object
|
24452
24632
|
|
24453
24633
|
|
24634
|
+
def self.define_ext_command_GL_NV_shader_texture_footprint
|
24635
|
+
end # self.define_ext_command_GL_NV_shader_texture_footprint
|
24636
|
+
|
24637
|
+
def self.get_ext_command_GL_NV_shader_texture_footprint
|
24638
|
+
[
|
24639
|
+
]
|
24640
|
+
end # self.get_ext_command_GL_NV_shader_texture_footprint
|
24641
|
+
|
24642
|
+
|
24454
24643
|
def self.define_ext_command_GL_NV_shader_thread_group
|
24455
24644
|
end # self.define_ext_command_GL_NV_shader_thread_group
|
24456
24645
|
|
@@ -24469,6 +24658,84 @@ module OpenGLExt
|
|
24469
24658
|
end # self.get_ext_command_GL_NV_shader_thread_shuffle
|
24470
24659
|
|
24471
24660
|
|
24661
|
+
def self.define_ext_command_GL_NV_shading_rate_image
|
24662
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBindShadingRateImageNV] = [-Fiddle::TYPE_INT]
|
24663
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBindShadingRateImageNV] = Fiddle::TYPE_VOID
|
24664
|
+
OpenGL.module_eval(<<-SRC)
|
24665
|
+
def glBindShadingRateImageNV(_texture_)
|
24666
|
+
f = OpenGL::get_command(:glBindShadingRateImageNV)
|
24667
|
+
f.call(_texture_)
|
24668
|
+
end
|
24669
|
+
SRC
|
24670
|
+
|
24671
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetShadingRateImagePaletteNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
24672
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetShadingRateImagePaletteNV] = Fiddle::TYPE_VOID
|
24673
|
+
OpenGL.module_eval(<<-SRC)
|
24674
|
+
def glGetShadingRateImagePaletteNV(_viewport_, _entry_, _rate_)
|
24675
|
+
f = OpenGL::get_command(:glGetShadingRateImagePaletteNV)
|
24676
|
+
f.call(_viewport_, _entry_, _rate_)
|
24677
|
+
end
|
24678
|
+
SRC
|
24679
|
+
|
24680
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetShadingRateSampleLocationivNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
24681
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetShadingRateSampleLocationivNV] = Fiddle::TYPE_VOID
|
24682
|
+
OpenGL.module_eval(<<-SRC)
|
24683
|
+
def glGetShadingRateSampleLocationivNV(_rate_, _samples_, _index_, _location_)
|
24684
|
+
f = OpenGL::get_command(:glGetShadingRateSampleLocationivNV)
|
24685
|
+
f.call(_rate_, _samples_, _index_, _location_)
|
24686
|
+
end
|
24687
|
+
SRC
|
24688
|
+
|
24689
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateImageBarrierNV] = [-Fiddle::TYPE_CHAR]
|
24690
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateImageBarrierNV] = Fiddle::TYPE_VOID
|
24691
|
+
OpenGL.module_eval(<<-SRC)
|
24692
|
+
def glShadingRateImageBarrierNV(_synchronize_)
|
24693
|
+
f = OpenGL::get_command(:glShadingRateImageBarrierNV)
|
24694
|
+
f.call(_synchronize_)
|
24695
|
+
end
|
24696
|
+
SRC
|
24697
|
+
|
24698
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateImagePaletteNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
24699
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateImagePaletteNV] = Fiddle::TYPE_VOID
|
24700
|
+
OpenGL.module_eval(<<-SRC)
|
24701
|
+
def glShadingRateImagePaletteNV(_viewport_, _first_, _count_, _rates_)
|
24702
|
+
f = OpenGL::get_command(:glShadingRateImagePaletteNV)
|
24703
|
+
f.call(_viewport_, _first_, _count_, _rates_)
|
24704
|
+
end
|
24705
|
+
SRC
|
24706
|
+
|
24707
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateSampleOrderNV] = [-Fiddle::TYPE_INT]
|
24708
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateSampleOrderNV] = Fiddle::TYPE_VOID
|
24709
|
+
OpenGL.module_eval(<<-SRC)
|
24710
|
+
def glShadingRateSampleOrderNV(_order_)
|
24711
|
+
f = OpenGL::get_command(:glShadingRateSampleOrderNV)
|
24712
|
+
f.call(_order_)
|
24713
|
+
end
|
24714
|
+
SRC
|
24715
|
+
|
24716
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateSampleOrderCustomNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
24717
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateSampleOrderCustomNV] = Fiddle::TYPE_VOID
|
24718
|
+
OpenGL.module_eval(<<-SRC)
|
24719
|
+
def glShadingRateSampleOrderCustomNV(_rate_, _samples_, _locations_)
|
24720
|
+
f = OpenGL::get_command(:glShadingRateSampleOrderCustomNV)
|
24721
|
+
f.call(_rate_, _samples_, _locations_)
|
24722
|
+
end
|
24723
|
+
SRC
|
24724
|
+
end # self.define_ext_command_GL_NV_shading_rate_image
|
24725
|
+
|
24726
|
+
def self.get_ext_command_GL_NV_shading_rate_image
|
24727
|
+
[
|
24728
|
+
'glBindShadingRateImageNV',
|
24729
|
+
'glGetShadingRateImagePaletteNV',
|
24730
|
+
'glGetShadingRateSampleLocationivNV',
|
24731
|
+
'glShadingRateImageBarrierNV',
|
24732
|
+
'glShadingRateImagePaletteNV',
|
24733
|
+
'glShadingRateSampleOrderNV',
|
24734
|
+
'glShadingRateSampleOrderCustomNV',
|
24735
|
+
]
|
24736
|
+
end # self.get_ext_command_GL_NV_shading_rate_image
|
24737
|
+
|
24738
|
+
|
24472
24739
|
def self.define_ext_command_GL_NV_stereo_view_rendering
|
24473
24740
|
end # self.define_ext_command_GL_NV_stereo_view_rendering
|
24474
24741
|
|
@@ -24986,6 +25253,24 @@ module OpenGLExt
|
|
24986
25253
|
end # self.get_ext_command_GL_NV_vdpau_interop
|
24987
25254
|
|
24988
25255
|
|
25256
|
+
def self.define_ext_command_GL_NV_vdpau_interop2
|
25257
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVDPAURegisterVideoSurfaceWithPictureStructureNV] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_CHAR]
|
25258
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVDPAURegisterVideoSurfaceWithPictureStructureNV] = Fiddle::TYPE_PTRDIFF_T
|
25259
|
+
OpenGL.module_eval(<<-SRC)
|
25260
|
+
def glVDPAURegisterVideoSurfaceWithPictureStructureNV(_vdpSurface_, _target_, _numTextureNames_, _textureNames_, _isFrameStructure_)
|
25261
|
+
f = OpenGL::get_command(:glVDPAURegisterVideoSurfaceWithPictureStructureNV)
|
25262
|
+
f.call(_vdpSurface_, _target_, _numTextureNames_, _textureNames_, _isFrameStructure_)
|
25263
|
+
end
|
25264
|
+
SRC
|
25265
|
+
end # self.define_ext_command_GL_NV_vdpau_interop2
|
25266
|
+
|
25267
|
+
def self.get_ext_command_GL_NV_vdpau_interop2
|
25268
|
+
[
|
25269
|
+
'glVDPAURegisterVideoSurfaceWithPictureStructureNV',
|
25270
|
+
]
|
25271
|
+
end # self.get_ext_command_GL_NV_vdpau_interop2
|
25272
|
+
|
25273
|
+
|
24989
25274
|
def self.define_ext_command_GL_NV_vertex_array_range
|
24990
25275
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFlushVertexArrayRangeNV] = []
|
24991
25276
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFlushVertexArrayRangeNV] = Fiddle::TYPE_VOID
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -2466,6 +2466,25 @@ module OpenGLExt
|
|
2466
2466
|
OpenGL.const_set('GL_VIEW_CLASS_RGTC2_RG', 0x82D1) unless defined?(OpenGL::GL_VIEW_CLASS_RGTC2_RG)
|
2467
2467
|
OpenGL.const_set('GL_VIEW_CLASS_BPTC_UNORM', 0x82D2) unless defined?(OpenGL::GL_VIEW_CLASS_BPTC_UNORM)
|
2468
2468
|
OpenGL.const_set('GL_VIEW_CLASS_BPTC_FLOAT', 0x82D3) unless defined?(OpenGL::GL_VIEW_CLASS_BPTC_FLOAT)
|
2469
|
+
OpenGL.const_set('GL_VIEW_CLASS_EAC_R11', 0x9383) unless defined?(OpenGL::GL_VIEW_CLASS_EAC_R11)
|
2470
|
+
OpenGL.const_set('GL_VIEW_CLASS_EAC_RG11', 0x9384) unless defined?(OpenGL::GL_VIEW_CLASS_EAC_RG11)
|
2471
|
+
OpenGL.const_set('GL_VIEW_CLASS_ETC2_RGB', 0x9385) unless defined?(OpenGL::GL_VIEW_CLASS_ETC2_RGB)
|
2472
|
+
OpenGL.const_set('GL_VIEW_CLASS_ETC2_RGBA', 0x9386) unless defined?(OpenGL::GL_VIEW_CLASS_ETC2_RGBA)
|
2473
|
+
OpenGL.const_set('GL_VIEW_CLASS_ETC2_EAC_RGBA', 0x9387) unless defined?(OpenGL::GL_VIEW_CLASS_ETC2_EAC_RGBA)
|
2474
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_4x4_RGBA', 0x9388) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_4x4_RGBA)
|
2475
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_5x4_RGBA', 0x9389) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_5x4_RGBA)
|
2476
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_5x5_RGBA', 0x938A) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_5x5_RGBA)
|
2477
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_6x5_RGBA', 0x938B) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_6x5_RGBA)
|
2478
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_6x6_RGBA', 0x938C) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_6x6_RGBA)
|
2479
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_8x5_RGBA', 0x938D) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_8x5_RGBA)
|
2480
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_8x6_RGBA', 0x938E) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_8x6_RGBA)
|
2481
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_8x8_RGBA', 0x938F) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_8x8_RGBA)
|
2482
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_10x5_RGBA', 0x9390) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_10x5_RGBA)
|
2483
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_10x6_RGBA', 0x9391) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_10x6_RGBA)
|
2484
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_10x8_RGBA', 0x9392) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_10x8_RGBA)
|
2485
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_10x10_RGBA', 0x9393) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_10x10_RGBA)
|
2486
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_12x10_RGBA', 0x9394) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_12x10_RGBA)
|
2487
|
+
OpenGL.const_set('GL_VIEW_CLASS_ASTC_12x12_RGBA', 0x9395) unless defined?(OpenGL::GL_VIEW_CLASS_ASTC_12x12_RGBA)
|
2469
2488
|
end # self.define_ext_enum_GL_ARB_internalformat_query2
|
2470
2489
|
|
2471
2490
|
def self.get_ext_enum_GL_ARB_internalformat_query2
|
@@ -2585,6 +2604,25 @@ module OpenGLExt
|
|
2585
2604
|
'GL_VIEW_CLASS_RGTC2_RG',
|
2586
2605
|
'GL_VIEW_CLASS_BPTC_UNORM',
|
2587
2606
|
'GL_VIEW_CLASS_BPTC_FLOAT',
|
2607
|
+
'GL_VIEW_CLASS_EAC_R11',
|
2608
|
+
'GL_VIEW_CLASS_EAC_RG11',
|
2609
|
+
'GL_VIEW_CLASS_ETC2_RGB',
|
2610
|
+
'GL_VIEW_CLASS_ETC2_RGBA',
|
2611
|
+
'GL_VIEW_CLASS_ETC2_EAC_RGBA',
|
2612
|
+
'GL_VIEW_CLASS_ASTC_4x4_RGBA',
|
2613
|
+
'GL_VIEW_CLASS_ASTC_5x4_RGBA',
|
2614
|
+
'GL_VIEW_CLASS_ASTC_5x5_RGBA',
|
2615
|
+
'GL_VIEW_CLASS_ASTC_6x5_RGBA',
|
2616
|
+
'GL_VIEW_CLASS_ASTC_6x6_RGBA',
|
2617
|
+
'GL_VIEW_CLASS_ASTC_8x5_RGBA',
|
2618
|
+
'GL_VIEW_CLASS_ASTC_8x6_RGBA',
|
2619
|
+
'GL_VIEW_CLASS_ASTC_8x8_RGBA',
|
2620
|
+
'GL_VIEW_CLASS_ASTC_10x5_RGBA',
|
2621
|
+
'GL_VIEW_CLASS_ASTC_10x6_RGBA',
|
2622
|
+
'GL_VIEW_CLASS_ASTC_10x8_RGBA',
|
2623
|
+
'GL_VIEW_CLASS_ASTC_10x10_RGBA',
|
2624
|
+
'GL_VIEW_CLASS_ASTC_12x10_RGBA',
|
2625
|
+
'GL_VIEW_CLASS_ASTC_12x12_RGBA',
|
2588
2626
|
]
|
2589
2627
|
end # self.get_ext_enum_GL_ARB_internalformat_query2
|
2590
2628
|
|
@@ -7925,6 +7963,17 @@ module OpenGLExt
|
|
7925
7963
|
end # self.get_ext_enum_GL_EXT_texture_sRGB
|
7926
7964
|
|
7927
7965
|
|
7966
|
+
def self.define_ext_enum_GL_EXT_texture_sRGB_R8
|
7967
|
+
OpenGL.const_set('GL_SR8_EXT', 0x8FBD) unless defined?(OpenGL::GL_SR8_EXT)
|
7968
|
+
end # self.define_ext_enum_GL_EXT_texture_sRGB_R8
|
7969
|
+
|
7970
|
+
def self.get_ext_enum_GL_EXT_texture_sRGB_R8
|
7971
|
+
[
|
7972
|
+
'GL_SR8_EXT',
|
7973
|
+
]
|
7974
|
+
end # self.get_ext_enum_GL_EXT_texture_sRGB_R8
|
7975
|
+
|
7976
|
+
|
7928
7977
|
def self.define_ext_enum_GL_EXT_texture_sRGB_decode
|
7929
7978
|
OpenGL.const_set('GL_TEXTURE_SRGB_DECODE_EXT', 0x8A48) unless defined?(OpenGL::GL_TEXTURE_SRGB_DECODE_EXT)
|
7930
7979
|
OpenGL.const_set('GL_DECODE_EXT', 0x8A49) unless defined?(OpenGL::GL_DECODE_EXT)
|
@@ -9743,6 +9792,15 @@ module OpenGLExt
|
|
9743
9792
|
end # self.get_ext_enum_GL_NV_compute_program5
|
9744
9793
|
|
9745
9794
|
|
9795
|
+
def self.define_ext_enum_GL_NV_compute_shader_derivatives
|
9796
|
+
end # self.define_ext_enum_GL_NV_compute_shader_derivatives
|
9797
|
+
|
9798
|
+
def self.get_ext_enum_GL_NV_compute_shader_derivatives
|
9799
|
+
[
|
9800
|
+
]
|
9801
|
+
end # self.get_ext_enum_GL_NV_compute_shader_derivatives
|
9802
|
+
|
9803
|
+
|
9746
9804
|
def self.define_ext_enum_GL_NV_conditional_render
|
9747
9805
|
OpenGL.const_set('GL_QUERY_WAIT_NV', 0x8E13) unless defined?(OpenGL::GL_QUERY_WAIT_NV)
|
9748
9806
|
OpenGL.const_set('GL_QUERY_NO_WAIT_NV', 0x8E14) unless defined?(OpenGL::GL_QUERY_NO_WAIT_NV)
|
@@ -10147,6 +10205,15 @@ module OpenGLExt
|
|
10147
10205
|
end # self.get_ext_enum_GL_NV_fragment_program_option
|
10148
10206
|
|
10149
10207
|
|
10208
|
+
def self.define_ext_enum_GL_NV_fragment_shader_barycentric
|
10209
|
+
end # self.define_ext_enum_GL_NV_fragment_shader_barycentric
|
10210
|
+
|
10211
|
+
def self.get_ext_enum_GL_NV_fragment_shader_barycentric
|
10212
|
+
[
|
10213
|
+
]
|
10214
|
+
end # self.get_ext_enum_GL_NV_fragment_shader_barycentric
|
10215
|
+
|
10216
|
+
|
10150
10217
|
def self.define_ext_enum_GL_NV_fragment_shader_interlock
|
10151
10218
|
end # self.define_ext_enum_GL_NV_fragment_shader_interlock
|
10152
10219
|
|
@@ -10461,6 +10528,140 @@ module OpenGLExt
|
|
10461
10528
|
end # self.get_ext_enum_GL_NV_gpu_multicast
|
10462
10529
|
|
10463
10530
|
|
10531
|
+
def self.define_ext_enum_GL_NV_memory_attachment
|
10532
|
+
OpenGL.const_set('GL_ATTACHED_MEMORY_OBJECT_NV', 0x95A4) unless defined?(OpenGL::GL_ATTACHED_MEMORY_OBJECT_NV)
|
10533
|
+
OpenGL.const_set('GL_ATTACHED_MEMORY_OFFSET_NV', 0x95A5) unless defined?(OpenGL::GL_ATTACHED_MEMORY_OFFSET_NV)
|
10534
|
+
OpenGL.const_set('GL_MEMORY_ATTACHABLE_ALIGNMENT_NV', 0x95A6) unless defined?(OpenGL::GL_MEMORY_ATTACHABLE_ALIGNMENT_NV)
|
10535
|
+
OpenGL.const_set('GL_MEMORY_ATTACHABLE_SIZE_NV', 0x95A7) unless defined?(OpenGL::GL_MEMORY_ATTACHABLE_SIZE_NV)
|
10536
|
+
OpenGL.const_set('GL_MEMORY_ATTACHABLE_NV', 0x95A8) unless defined?(OpenGL::GL_MEMORY_ATTACHABLE_NV)
|
10537
|
+
OpenGL.const_set('GL_DETACHED_MEMORY_INCARNATION_NV', 0x95A9) unless defined?(OpenGL::GL_DETACHED_MEMORY_INCARNATION_NV)
|
10538
|
+
OpenGL.const_set('GL_DETACHED_TEXTURES_NV', 0x95AA) unless defined?(OpenGL::GL_DETACHED_TEXTURES_NV)
|
10539
|
+
OpenGL.const_set('GL_DETACHED_BUFFERS_NV', 0x95AB) unless defined?(OpenGL::GL_DETACHED_BUFFERS_NV)
|
10540
|
+
OpenGL.const_set('GL_MAX_DETACHED_TEXTURES_NV', 0x95AC) unless defined?(OpenGL::GL_MAX_DETACHED_TEXTURES_NV)
|
10541
|
+
OpenGL.const_set('GL_MAX_DETACHED_BUFFERS_NV', 0x95AD) unless defined?(OpenGL::GL_MAX_DETACHED_BUFFERS_NV)
|
10542
|
+
end # self.define_ext_enum_GL_NV_memory_attachment
|
10543
|
+
|
10544
|
+
def self.get_ext_enum_GL_NV_memory_attachment
|
10545
|
+
[
|
10546
|
+
'GL_ATTACHED_MEMORY_OBJECT_NV',
|
10547
|
+
'GL_ATTACHED_MEMORY_OFFSET_NV',
|
10548
|
+
'GL_MEMORY_ATTACHABLE_ALIGNMENT_NV',
|
10549
|
+
'GL_MEMORY_ATTACHABLE_SIZE_NV',
|
10550
|
+
'GL_MEMORY_ATTACHABLE_NV',
|
10551
|
+
'GL_DETACHED_MEMORY_INCARNATION_NV',
|
10552
|
+
'GL_DETACHED_TEXTURES_NV',
|
10553
|
+
'GL_DETACHED_BUFFERS_NV',
|
10554
|
+
'GL_MAX_DETACHED_TEXTURES_NV',
|
10555
|
+
'GL_MAX_DETACHED_BUFFERS_NV',
|
10556
|
+
]
|
10557
|
+
end # self.get_ext_enum_GL_NV_memory_attachment
|
10558
|
+
|
10559
|
+
|
10560
|
+
def self.define_ext_enum_GL_NV_mesh_shader
|
10561
|
+
OpenGL.const_set('GL_MESH_SHADER_NV', 0x9559) unless defined?(OpenGL::GL_MESH_SHADER_NV)
|
10562
|
+
OpenGL.const_set('GL_TASK_SHADER_NV', 0x955A) unless defined?(OpenGL::GL_TASK_SHADER_NV)
|
10563
|
+
OpenGL.const_set('GL_MAX_MESH_UNIFORM_BLOCKS_NV', 0x8E60) unless defined?(OpenGL::GL_MAX_MESH_UNIFORM_BLOCKS_NV)
|
10564
|
+
OpenGL.const_set('GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV', 0x8E61) unless defined?(OpenGL::GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV)
|
10565
|
+
OpenGL.const_set('GL_MAX_MESH_IMAGE_UNIFORMS_NV', 0x8E62) unless defined?(OpenGL::GL_MAX_MESH_IMAGE_UNIFORMS_NV)
|
10566
|
+
OpenGL.const_set('GL_MAX_MESH_UNIFORM_COMPONENTS_NV', 0x8E63) unless defined?(OpenGL::GL_MAX_MESH_UNIFORM_COMPONENTS_NV)
|
10567
|
+
OpenGL.const_set('GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV', 0x8E64) unless defined?(OpenGL::GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV)
|
10568
|
+
OpenGL.const_set('GL_MAX_MESH_ATOMIC_COUNTERS_NV', 0x8E65) unless defined?(OpenGL::GL_MAX_MESH_ATOMIC_COUNTERS_NV)
|
10569
|
+
OpenGL.const_set('GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV', 0x8E66) unless defined?(OpenGL::GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV)
|
10570
|
+
OpenGL.const_set('GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV', 0x8E67) unless defined?(OpenGL::GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV)
|
10571
|
+
OpenGL.const_set('GL_MAX_TASK_UNIFORM_BLOCKS_NV', 0x8E68) unless defined?(OpenGL::GL_MAX_TASK_UNIFORM_BLOCKS_NV)
|
10572
|
+
OpenGL.const_set('GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV', 0x8E69) unless defined?(OpenGL::GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV)
|
10573
|
+
OpenGL.const_set('GL_MAX_TASK_IMAGE_UNIFORMS_NV', 0x8E6A) unless defined?(OpenGL::GL_MAX_TASK_IMAGE_UNIFORMS_NV)
|
10574
|
+
OpenGL.const_set('GL_MAX_TASK_UNIFORM_COMPONENTS_NV', 0x8E6B) unless defined?(OpenGL::GL_MAX_TASK_UNIFORM_COMPONENTS_NV)
|
10575
|
+
OpenGL.const_set('GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV', 0x8E6C) unless defined?(OpenGL::GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV)
|
10576
|
+
OpenGL.const_set('GL_MAX_TASK_ATOMIC_COUNTERS_NV', 0x8E6D) unless defined?(OpenGL::GL_MAX_TASK_ATOMIC_COUNTERS_NV)
|
10577
|
+
OpenGL.const_set('GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV', 0x8E6E) unless defined?(OpenGL::GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV)
|
10578
|
+
OpenGL.const_set('GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV', 0x8E6F) unless defined?(OpenGL::GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV)
|
10579
|
+
OpenGL.const_set('GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV', 0x95A2) unless defined?(OpenGL::GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV)
|
10580
|
+
OpenGL.const_set('GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV', 0x95A3) unless defined?(OpenGL::GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV)
|
10581
|
+
OpenGL.const_set('GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV', 0x9536) unless defined?(OpenGL::GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV)
|
10582
|
+
OpenGL.const_set('GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV', 0x9537) unless defined?(OpenGL::GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV)
|
10583
|
+
OpenGL.const_set('GL_MAX_MESH_OUTPUT_VERTICES_NV', 0x9538) unless defined?(OpenGL::GL_MAX_MESH_OUTPUT_VERTICES_NV)
|
10584
|
+
OpenGL.const_set('GL_MAX_MESH_OUTPUT_PRIMITIVES_NV', 0x9539) unless defined?(OpenGL::GL_MAX_MESH_OUTPUT_PRIMITIVES_NV)
|
10585
|
+
OpenGL.const_set('GL_MAX_TASK_OUTPUT_COUNT_NV', 0x953A) unless defined?(OpenGL::GL_MAX_TASK_OUTPUT_COUNT_NV)
|
10586
|
+
OpenGL.const_set('GL_MAX_DRAW_MESH_TASKS_COUNT_NV', 0x953D) unless defined?(OpenGL::GL_MAX_DRAW_MESH_TASKS_COUNT_NV)
|
10587
|
+
OpenGL.const_set('GL_MAX_MESH_VIEWS_NV', 0x9557) unless defined?(OpenGL::GL_MAX_MESH_VIEWS_NV)
|
10588
|
+
OpenGL.const_set('GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV', 0x92DF) unless defined?(OpenGL::GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV)
|
10589
|
+
OpenGL.const_set('GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV', 0x9543) unless defined?(OpenGL::GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV)
|
10590
|
+
OpenGL.const_set('GL_MAX_MESH_WORK_GROUP_SIZE_NV', 0x953B) unless defined?(OpenGL::GL_MAX_MESH_WORK_GROUP_SIZE_NV)
|
10591
|
+
OpenGL.const_set('GL_MAX_TASK_WORK_GROUP_SIZE_NV', 0x953C) unless defined?(OpenGL::GL_MAX_TASK_WORK_GROUP_SIZE_NV)
|
10592
|
+
OpenGL.const_set('GL_MESH_WORK_GROUP_SIZE_NV', 0x953E) unless defined?(OpenGL::GL_MESH_WORK_GROUP_SIZE_NV)
|
10593
|
+
OpenGL.const_set('GL_TASK_WORK_GROUP_SIZE_NV', 0x953F) unless defined?(OpenGL::GL_TASK_WORK_GROUP_SIZE_NV)
|
10594
|
+
OpenGL.const_set('GL_MESH_VERTICES_OUT_NV', 0x9579) unless defined?(OpenGL::GL_MESH_VERTICES_OUT_NV)
|
10595
|
+
OpenGL.const_set('GL_MESH_PRIMITIVES_OUT_NV', 0x957A) unless defined?(OpenGL::GL_MESH_PRIMITIVES_OUT_NV)
|
10596
|
+
OpenGL.const_set('GL_MESH_OUTPUT_TYPE_NV', 0x957B) unless defined?(OpenGL::GL_MESH_OUTPUT_TYPE_NV)
|
10597
|
+
OpenGL.const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV', 0x959C) unless defined?(OpenGL::GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV)
|
10598
|
+
OpenGL.const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV', 0x959D) unless defined?(OpenGL::GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV)
|
10599
|
+
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV', 0x959E) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV)
|
10600
|
+
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV', 0x959F) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV)
|
10601
|
+
OpenGL.const_set('GL_REFERENCED_BY_MESH_SHADER_NV', 0x95A0) unless defined?(OpenGL::GL_REFERENCED_BY_MESH_SHADER_NV)
|
10602
|
+
OpenGL.const_set('GL_REFERENCED_BY_TASK_SHADER_NV', 0x95A1) unless defined?(OpenGL::GL_REFERENCED_BY_TASK_SHADER_NV)
|
10603
|
+
OpenGL.const_set('GL_MESH_SUBROUTINE_NV', 0x957C) unless defined?(OpenGL::GL_MESH_SUBROUTINE_NV)
|
10604
|
+
OpenGL.const_set('GL_TASK_SUBROUTINE_NV', 0x957D) unless defined?(OpenGL::GL_TASK_SUBROUTINE_NV)
|
10605
|
+
OpenGL.const_set('GL_MESH_SUBROUTINE_UNIFORM_NV', 0x957E) unless defined?(OpenGL::GL_MESH_SUBROUTINE_UNIFORM_NV)
|
10606
|
+
OpenGL.const_set('GL_TASK_SUBROUTINE_UNIFORM_NV', 0x957F) unless defined?(OpenGL::GL_TASK_SUBROUTINE_UNIFORM_NV)
|
10607
|
+
OpenGL.const_set('GL_MESH_SHADER_BIT_NV', 0x00000040) unless defined?(OpenGL::GL_MESH_SHADER_BIT_NV)
|
10608
|
+
OpenGL.const_set('GL_TASK_SHADER_BIT_NV', 0x00000080) unless defined?(OpenGL::GL_TASK_SHADER_BIT_NV)
|
10609
|
+
end # self.define_ext_enum_GL_NV_mesh_shader
|
10610
|
+
|
10611
|
+
def self.get_ext_enum_GL_NV_mesh_shader
|
10612
|
+
[
|
10613
|
+
'GL_MESH_SHADER_NV',
|
10614
|
+
'GL_TASK_SHADER_NV',
|
10615
|
+
'GL_MAX_MESH_UNIFORM_BLOCKS_NV',
|
10616
|
+
'GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV',
|
10617
|
+
'GL_MAX_MESH_IMAGE_UNIFORMS_NV',
|
10618
|
+
'GL_MAX_MESH_UNIFORM_COMPONENTS_NV',
|
10619
|
+
'GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV',
|
10620
|
+
'GL_MAX_MESH_ATOMIC_COUNTERS_NV',
|
10621
|
+
'GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV',
|
10622
|
+
'GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV',
|
10623
|
+
'GL_MAX_TASK_UNIFORM_BLOCKS_NV',
|
10624
|
+
'GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV',
|
10625
|
+
'GL_MAX_TASK_IMAGE_UNIFORMS_NV',
|
10626
|
+
'GL_MAX_TASK_UNIFORM_COMPONENTS_NV',
|
10627
|
+
'GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV',
|
10628
|
+
'GL_MAX_TASK_ATOMIC_COUNTERS_NV',
|
10629
|
+
'GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV',
|
10630
|
+
'GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV',
|
10631
|
+
'GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV',
|
10632
|
+
'GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV',
|
10633
|
+
'GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV',
|
10634
|
+
'GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV',
|
10635
|
+
'GL_MAX_MESH_OUTPUT_VERTICES_NV',
|
10636
|
+
'GL_MAX_MESH_OUTPUT_PRIMITIVES_NV',
|
10637
|
+
'GL_MAX_TASK_OUTPUT_COUNT_NV',
|
10638
|
+
'GL_MAX_DRAW_MESH_TASKS_COUNT_NV',
|
10639
|
+
'GL_MAX_MESH_VIEWS_NV',
|
10640
|
+
'GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV',
|
10641
|
+
'GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV',
|
10642
|
+
'GL_MAX_MESH_WORK_GROUP_SIZE_NV',
|
10643
|
+
'GL_MAX_TASK_WORK_GROUP_SIZE_NV',
|
10644
|
+
'GL_MESH_WORK_GROUP_SIZE_NV',
|
10645
|
+
'GL_TASK_WORK_GROUP_SIZE_NV',
|
10646
|
+
'GL_MESH_VERTICES_OUT_NV',
|
10647
|
+
'GL_MESH_PRIMITIVES_OUT_NV',
|
10648
|
+
'GL_MESH_OUTPUT_TYPE_NV',
|
10649
|
+
'GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV',
|
10650
|
+
'GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV',
|
10651
|
+
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV',
|
10652
|
+
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV',
|
10653
|
+
'GL_REFERENCED_BY_MESH_SHADER_NV',
|
10654
|
+
'GL_REFERENCED_BY_TASK_SHADER_NV',
|
10655
|
+
'GL_MESH_SUBROUTINE_NV',
|
10656
|
+
'GL_TASK_SUBROUTINE_NV',
|
10657
|
+
'GL_MESH_SUBROUTINE_UNIFORM_NV',
|
10658
|
+
'GL_TASK_SUBROUTINE_UNIFORM_NV',
|
10659
|
+
'GL_MESH_SHADER_BIT_NV',
|
10660
|
+
'GL_TASK_SHADER_BIT_NV',
|
10661
|
+
]
|
10662
|
+
end # self.get_ext_enum_GL_NV_mesh_shader
|
10663
|
+
|
10664
|
+
|
10464
10665
|
def self.define_ext_enum_GL_NV_multisample_coverage
|
10465
10666
|
OpenGL.const_set('GL_SAMPLES_ARB', 0x80A9) unless defined?(OpenGL::GL_SAMPLES_ARB)
|
10466
10667
|
OpenGL.const_set('GL_COLOR_SAMPLES_NV', 0x8E20) unless defined?(OpenGL::GL_COLOR_SAMPLES_NV)
|
@@ -11123,6 +11324,17 @@ module OpenGLExt
|
|
11123
11324
|
end # self.get_ext_enum_GL_NV_register_combiners2
|
11124
11325
|
|
11125
11326
|
|
11327
|
+
def self.define_ext_enum_GL_NV_representative_fragment_test
|
11328
|
+
OpenGL.const_set('GL_REPRESENTATIVE_FRAGMENT_TEST_NV', 0x937F) unless defined?(OpenGL::GL_REPRESENTATIVE_FRAGMENT_TEST_NV)
|
11329
|
+
end # self.define_ext_enum_GL_NV_representative_fragment_test
|
11330
|
+
|
11331
|
+
def self.get_ext_enum_GL_NV_representative_fragment_test
|
11332
|
+
[
|
11333
|
+
'GL_REPRESENTATIVE_FRAGMENT_TEST_NV',
|
11334
|
+
]
|
11335
|
+
end # self.get_ext_enum_GL_NV_representative_fragment_test
|
11336
|
+
|
11337
|
+
|
11126
11338
|
def self.define_ext_enum_GL_NV_robustness_video_memory_purge
|
11127
11339
|
OpenGL.const_set('GL_PURGED_CONTEXT_RESET_NV', 0x92BB) unless defined?(OpenGL::GL_PURGED_CONTEXT_RESET_NV)
|
11128
11340
|
end # self.define_ext_enum_GL_NV_robustness_video_memory_purge
|
@@ -11168,6 +11380,19 @@ module OpenGLExt
|
|
11168
11380
|
end # self.get_ext_enum_GL_NV_sample_mask_override_coverage
|
11169
11381
|
|
11170
11382
|
|
11383
|
+
def self.define_ext_enum_GL_NV_scissor_exclusive
|
11384
|
+
OpenGL.const_set('GL_SCISSOR_TEST_EXCLUSIVE_NV', 0x9555) unless defined?(OpenGL::GL_SCISSOR_TEST_EXCLUSIVE_NV)
|
11385
|
+
OpenGL.const_set('GL_SCISSOR_BOX_EXCLUSIVE_NV', 0x9556) unless defined?(OpenGL::GL_SCISSOR_BOX_EXCLUSIVE_NV)
|
11386
|
+
end # self.define_ext_enum_GL_NV_scissor_exclusive
|
11387
|
+
|
11388
|
+
def self.get_ext_enum_GL_NV_scissor_exclusive
|
11389
|
+
[
|
11390
|
+
'GL_SCISSOR_TEST_EXCLUSIVE_NV',
|
11391
|
+
'GL_SCISSOR_BOX_EXCLUSIVE_NV',
|
11392
|
+
]
|
11393
|
+
end # self.get_ext_enum_GL_NV_scissor_exclusive
|
11394
|
+
|
11395
|
+
|
11171
11396
|
def self.define_ext_enum_GL_NV_shader_atomic_counters
|
11172
11397
|
end # self.define_ext_enum_GL_NV_shader_atomic_counters
|
11173
11398
|
|
@@ -11252,6 +11477,15 @@ module OpenGLExt
|
|
11252
11477
|
end # self.get_ext_enum_GL_NV_shader_storage_buffer_object
|
11253
11478
|
|
11254
11479
|
|
11480
|
+
def self.define_ext_enum_GL_NV_shader_texture_footprint
|
11481
|
+
end # self.define_ext_enum_GL_NV_shader_texture_footprint
|
11482
|
+
|
11483
|
+
def self.get_ext_enum_GL_NV_shader_texture_footprint
|
11484
|
+
[
|
11485
|
+
]
|
11486
|
+
end # self.get_ext_enum_GL_NV_shader_texture_footprint
|
11487
|
+
|
11488
|
+
|
11255
11489
|
def self.define_ext_enum_GL_NV_shader_thread_group
|
11256
11490
|
OpenGL.const_set('GL_WARP_SIZE_NV', 0x9339) unless defined?(OpenGL::GL_WARP_SIZE_NV)
|
11257
11491
|
OpenGL.const_set('GL_WARPS_PER_SM_NV', 0x933A) unless defined?(OpenGL::GL_WARPS_PER_SM_NV)
|
@@ -11276,6 +11510,57 @@ module OpenGLExt
|
|
11276
11510
|
end # self.get_ext_enum_GL_NV_shader_thread_shuffle
|
11277
11511
|
|
11278
11512
|
|
11513
|
+
def self.define_ext_enum_GL_NV_shading_rate_image
|
11514
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_NV', 0x9563) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_NV)
|
11515
|
+
OpenGL.const_set('GL_SHADING_RATE_NO_INVOCATIONS_NV', 0x9564) unless defined?(OpenGL::GL_SHADING_RATE_NO_INVOCATIONS_NV)
|
11516
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV', 0x9565) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV)
|
11517
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV', 0x9566) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV)
|
11518
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV', 0x9567) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV)
|
11519
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV', 0x9568) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV)
|
11520
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV', 0x9569) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV)
|
11521
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV', 0x956A) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV)
|
11522
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV', 0x956B) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV)
|
11523
|
+
OpenGL.const_set('GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV', 0x956C) unless defined?(OpenGL::GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV)
|
11524
|
+
OpenGL.const_set('GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV', 0x956D) unless defined?(OpenGL::GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV)
|
11525
|
+
OpenGL.const_set('GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV', 0x956E) unless defined?(OpenGL::GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV)
|
11526
|
+
OpenGL.const_set('GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV', 0x956F) unless defined?(OpenGL::GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV)
|
11527
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_BINDING_NV', 0x955B) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_BINDING_NV)
|
11528
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV', 0x955C) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV)
|
11529
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV', 0x955D) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV)
|
11530
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV', 0x955E) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV)
|
11531
|
+
OpenGL.const_set('GL_MAX_COARSE_FRAGMENT_SAMPLES_NV', 0x955F) unless defined?(OpenGL::GL_MAX_COARSE_FRAGMENT_SAMPLES_NV)
|
11532
|
+
OpenGL.const_set('GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV', 0x95AE) unless defined?(OpenGL::GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV)
|
11533
|
+
OpenGL.const_set('GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV', 0x95AF) unless defined?(OpenGL::GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV)
|
11534
|
+
OpenGL.const_set('GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV', 0x95B0) unless defined?(OpenGL::GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV)
|
11535
|
+
end # self.define_ext_enum_GL_NV_shading_rate_image
|
11536
|
+
|
11537
|
+
def self.get_ext_enum_GL_NV_shading_rate_image
|
11538
|
+
[
|
11539
|
+
'GL_SHADING_RATE_IMAGE_NV',
|
11540
|
+
'GL_SHADING_RATE_NO_INVOCATIONS_NV',
|
11541
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV',
|
11542
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV',
|
11543
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV',
|
11544
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV',
|
11545
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV',
|
11546
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV',
|
11547
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV',
|
11548
|
+
'GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV',
|
11549
|
+
'GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV',
|
11550
|
+
'GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV',
|
11551
|
+
'GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV',
|
11552
|
+
'GL_SHADING_RATE_IMAGE_BINDING_NV',
|
11553
|
+
'GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV',
|
11554
|
+
'GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV',
|
11555
|
+
'GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV',
|
11556
|
+
'GL_MAX_COARSE_FRAGMENT_SAMPLES_NV',
|
11557
|
+
'GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV',
|
11558
|
+
'GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV',
|
11559
|
+
'GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV',
|
11560
|
+
]
|
11561
|
+
end # self.get_ext_enum_GL_NV_shading_rate_image
|
11562
|
+
|
11563
|
+
|
11279
11564
|
def self.define_ext_enum_GL_NV_stereo_view_rendering
|
11280
11565
|
end # self.define_ext_enum_GL_NV_stereo_view_rendering
|
11281
11566
|
|
@@ -11748,6 +12033,15 @@ module OpenGLExt
|
|
11748
12033
|
end # self.get_ext_enum_GL_NV_vdpau_interop
|
11749
12034
|
|
11750
12035
|
|
12036
|
+
def self.define_ext_enum_GL_NV_vdpau_interop2
|
12037
|
+
end # self.define_ext_enum_GL_NV_vdpau_interop2
|
12038
|
+
|
12039
|
+
def self.get_ext_enum_GL_NV_vdpau_interop2
|
12040
|
+
[
|
12041
|
+
]
|
12042
|
+
end # self.get_ext_enum_GL_NV_vdpau_interop2
|
12043
|
+
|
12044
|
+
|
11751
12045
|
def self.define_ext_enum_GL_NV_vertex_array_range
|
11752
12046
|
OpenGL.const_set('GL_VERTEX_ARRAY_RANGE_NV', 0x851D) unless defined?(OpenGL::GL_VERTEX_ARRAY_RANGE_NV)
|
11753
12047
|
OpenGL.const_set('GL_VERTEX_ARRAY_RANGE_LENGTH_NV', 0x851E) unless defined?(OpenGL::GL_VERTEX_ARRAY_RANGE_LENGTH_NV)
|