opengl-bindings 1.6.9 → 1.6.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -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-2019 vaiorabbit <http://twitter.com/vaiorabbit>
14
+ Copyright (c) 2013-2020 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
@@ -93,9 +93,9 @@ module OpenGLExt
93
93
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetDebugMessageLogAMD] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
94
94
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetDebugMessageLogAMD] = -Fiddle::TYPE_INT
95
95
  OpenGL.module_eval(<<-SRC)
96
- def glGetDebugMessageLogAMD(_count_, _bufsize_, _categories_, _severities_, _ids_, _lengths_, _message_)
96
+ def glGetDebugMessageLogAMD(_count_, _bufSize_, _categories_, _severities_, _ids_, _lengths_, _message_)
97
97
  f = OpenGL::get_command(:glGetDebugMessageLogAMD)
98
- f.call(_count_, _bufsize_, _categories_, _severities_, _ids_, _lengths_, _message_)
98
+ f.call(_count_, _bufSize_, _categories_, _severities_, _ids_, _lengths_, _message_)
99
99
  end
100
100
  SRC
101
101
  end # self.define_ext_command_GL_AMD_debug_output
@@ -5011,9 +5011,9 @@ module OpenGLExt
5011
5011
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetInternalformativ] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
5012
5012
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformativ] = Fiddle::TYPE_VOID
5013
5013
  OpenGL.module_eval(<<-SRC)
5014
- def glGetInternalformativ(_target_, _internalformat_, _pname_, _bufSize_, _params_)
5014
+ def glGetInternalformativ(_target_, _internalformat_, _pname_, _count_, _params_)
5015
5015
  f = OpenGL::get_command(:glGetInternalformativ)
5016
- f.call(_target_, _internalformat_, _pname_, _bufSize_, _params_)
5016
+ f.call(_target_, _internalformat_, _pname_, _count_, _params_)
5017
5017
  end
5018
5018
  SRC
5019
5019
  end # self.define_ext_command_GL_ARB_internalformat_query
@@ -5029,9 +5029,9 @@ module OpenGLExt
5029
5029
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetInternalformati64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
5030
5030
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformati64v] = Fiddle::TYPE_VOID
5031
5031
  OpenGL.module_eval(<<-SRC)
5032
- def glGetInternalformati64v(_target_, _internalformat_, _pname_, _bufSize_, _params_)
5032
+ def glGetInternalformati64v(_target_, _internalformat_, _pname_, _count_, _params_)
5033
5033
  f = OpenGL::get_command(:glGetInternalformati64v)
5034
- f.call(_target_, _internalformat_, _pname_, _bufSize_, _params_)
5034
+ f.call(_target_, _internalformat_, _pname_, _count_, _params_)
5035
5035
  end
5036
5036
  SRC
5037
5037
  end # self.define_ext_command_GL_ARB_internalformat_query2
@@ -5896,9 +5896,9 @@ module OpenGLExt
5896
5896
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetProgramResourceiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
5897
5897
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetProgramResourceiv] = Fiddle::TYPE_VOID
5898
5898
  OpenGL.module_eval(<<-SRC)
5899
- def glGetProgramResourceiv(_program_, _programInterface_, _index_, _propCount_, _props_, _bufSize_, _length_, _params_)
5899
+ def glGetProgramResourceiv(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
5900
5900
  f = OpenGL::get_command(:glGetProgramResourceiv)
5901
- f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _bufSize_, _length_, _params_)
5901
+ f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
5902
5902
  end
5903
5903
  SRC
5904
5904
 
@@ -7600,18 +7600,18 @@ module OpenGLExt
7600
7600
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetActiveSubroutineUniformName] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
7601
7601
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetActiveSubroutineUniformName] = Fiddle::TYPE_VOID
7602
7602
  OpenGL.module_eval(<<-SRC)
7603
- def glGetActiveSubroutineUniformName(_program_, _shadertype_, _index_, _bufsize_, _length_, _name_)
7603
+ def glGetActiveSubroutineUniformName(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
7604
7604
  f = OpenGL::get_command(:glGetActiveSubroutineUniformName)
7605
- f.call(_program_, _shadertype_, _index_, _bufsize_, _length_, _name_)
7605
+ f.call(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
7606
7606
  end
7607
7607
  SRC
7608
7608
 
7609
7609
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetActiveSubroutineName] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
7610
7610
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetActiveSubroutineName] = Fiddle::TYPE_VOID
7611
7611
  OpenGL.module_eval(<<-SRC)
7612
- def glGetActiveSubroutineName(_program_, _shadertype_, _index_, _bufsize_, _length_, _name_)
7612
+ def glGetActiveSubroutineName(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
7613
7613
  f = OpenGL::get_command(:glGetActiveSubroutineName)
7614
- f.call(_program_, _shadertype_, _index_, _bufsize_, _length_, _name_)
7614
+ f.call(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
7615
7615
  end
7616
7616
  SRC
7617
7617
 
@@ -7947,9 +7947,9 @@ module OpenGLExt
7947
7947
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetSynciv] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
7948
7948
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetSynciv] = Fiddle::TYPE_VOID
7949
7949
  OpenGL.module_eval(<<-SRC)
7950
- def glGetSynciv(_sync_, _pname_, _bufSize_, _length_, _values_)
7950
+ def glGetSynciv(_sync_, _pname_, _count_, _length_, _values_)
7951
7951
  f = OpenGL::get_command(:glGetSynciv)
7952
- f.call(_sync_, _pname_, _bufSize_, _length_, _values_)
7952
+ f.call(_sync_, _pname_, _count_, _length_, _values_)
7953
7953
  end
7954
7954
  SRC
7955
7955
  end # self.define_ext_command_GL_ARB_sync
@@ -10874,6 +10874,24 @@ module OpenGLExt
10874
10874
  f.call(_target_, _index_, _data_)
10875
10875
  end
10876
10876
  SRC
10877
+
10878
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDepthRangeArraydvNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
10879
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDepthRangeArraydvNV] = Fiddle::TYPE_VOID
10880
+ OpenGL.module_eval(<<-SRC)
10881
+ def glDepthRangeArraydvNV(_first_, _count_, _v_)
10882
+ f = OpenGL::get_command(:glDepthRangeArraydvNV)
10883
+ f.call(_first_, _count_, _v_)
10884
+ end
10885
+ SRC
10886
+
10887
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDepthRangeIndexeddNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]
10888
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDepthRangeIndexeddNV] = Fiddle::TYPE_VOID
10889
+ OpenGL.module_eval(<<-SRC)
10890
+ def glDepthRangeIndexeddNV(_index_, _n_, _f_)
10891
+ f = OpenGL::get_command(:glDepthRangeIndexeddNV)
10892
+ f.call(_index_, _n_, _f_)
10893
+ end
10894
+ SRC
10877
10895
  end # self.define_ext_command_GL_ARB_viewport_array
10878
10896
 
10879
10897
  def self.get_ext_command_GL_ARB_viewport_array
@@ -10888,6 +10906,8 @@ module OpenGLExt
10888
10906
  'glDepthRangeIndexed',
10889
10907
  'glGetFloati_v',
10890
10908
  'glGetDoublei_v',
10909
+ 'glDepthRangeArraydvNV',
10910
+ 'glDepthRangeIndexeddNV',
10891
10911
  ]
10892
10912
  end # self.get_ext_command_GL_ARB_viewport_array
10893
10913
 
@@ -12111,6 +12131,15 @@ module OpenGLExt
12111
12131
  end # self.get_ext_command_GL_EXT_EGL_image_storage
12112
12132
 
12113
12133
 
12134
+ def self.define_ext_command_GL_EXT_EGL_sync
12135
+ end # self.define_ext_command_GL_EXT_EGL_sync
12136
+
12137
+ def self.get_ext_command_GL_EXT_EGL_sync
12138
+ [
12139
+ ]
12140
+ end # self.get_ext_command_GL_EXT_EGL_sync
12141
+
12142
+
12114
12143
  def self.define_ext_command_GL_EXT_abgr
12115
12144
  end # self.define_ext_command_GL_EXT_abgr
12116
12145
 
@@ -16530,6 +16559,33 @@ module OpenGLExt
16530
16559
  end # self.get_ext_command_GL_EXT_multisample
16531
16560
 
16532
16561
 
16562
+ def self.define_ext_command_GL_EXT_multiview_tessellation_geometry_shader
16563
+ end # self.define_ext_command_GL_EXT_multiview_tessellation_geometry_shader
16564
+
16565
+ def self.get_ext_command_GL_EXT_multiview_tessellation_geometry_shader
16566
+ [
16567
+ ]
16568
+ end # self.get_ext_command_GL_EXT_multiview_tessellation_geometry_shader
16569
+
16570
+
16571
+ def self.define_ext_command_GL_EXT_multiview_texture_multisample
16572
+ end # self.define_ext_command_GL_EXT_multiview_texture_multisample
16573
+
16574
+ def self.get_ext_command_GL_EXT_multiview_texture_multisample
16575
+ [
16576
+ ]
16577
+ end # self.get_ext_command_GL_EXT_multiview_texture_multisample
16578
+
16579
+
16580
+ def self.define_ext_command_GL_EXT_multiview_timer_query
16581
+ end # self.define_ext_command_GL_EXT_multiview_timer_query
16582
+
16583
+ def self.get_ext_command_GL_EXT_multiview_timer_query
16584
+ [
16585
+ ]
16586
+ end # self.get_ext_command_GL_EXT_multiview_timer_query
16587
+
16588
+
16533
16589
  def self.define_ext_command_GL_EXT_packed_depth_stencil
16534
16590
  end # self.define_ext_command_GL_EXT_packed_depth_stencil
16535
16591
 
@@ -19979,6 +20035,15 @@ module OpenGLExt
19979
20035
  end # self.get_ext_command_GL_KHR_robustness
19980
20036
 
19981
20037
 
20038
+ def self.define_ext_command_GL_KHR_shader_subgroup
20039
+ end # self.define_ext_command_GL_KHR_shader_subgroup
20040
+
20041
+ def self.get_ext_command_GL_KHR_shader_subgroup
20042
+ [
20043
+ ]
20044
+ end # self.get_ext_command_GL_KHR_shader_subgroup
20045
+
20046
+
19982
20047
  def self.define_ext_command_GL_KHR_texture_compression_astc_hdr
19983
20048
  end # self.define_ext_command_GL_KHR_texture_compression_astc_hdr
19984
20049
 
@@ -20033,6 +20098,34 @@ module OpenGLExt
20033
20098
  end # self.get_ext_command_GL_MESAX_texture_stack
20034
20099
 
20035
20100
 
20101
+ def self.define_ext_command_GL_MESA_framebuffer_flip_y
20102
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferParameteriMESA] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
20103
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferParameteriMESA] = Fiddle::TYPE_VOID
20104
+ OpenGL.module_eval(<<-SRC)
20105
+ def glFramebufferParameteriMESA(_target_, _pname_, _param_)
20106
+ f = OpenGL::get_command(:glFramebufferParameteriMESA)
20107
+ f.call(_target_, _pname_, _param_)
20108
+ end
20109
+ SRC
20110
+
20111
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetFramebufferParameterivMESA] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
20112
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetFramebufferParameterivMESA] = Fiddle::TYPE_VOID
20113
+ OpenGL.module_eval(<<-SRC)
20114
+ def glGetFramebufferParameterivMESA(_target_, _pname_, _params_)
20115
+ f = OpenGL::get_command(:glGetFramebufferParameterivMESA)
20116
+ f.call(_target_, _pname_, _params_)
20117
+ end
20118
+ SRC
20119
+ end # self.define_ext_command_GL_MESA_framebuffer_flip_y
20120
+
20121
+ def self.get_ext_command_GL_MESA_framebuffer_flip_y
20122
+ [
20123
+ 'glFramebufferParameteriMESA',
20124
+ 'glGetFramebufferParameterivMESA',
20125
+ ]
20126
+ end # self.get_ext_command_GL_MESA_framebuffer_flip_y
20127
+
20128
+
20036
20129
  def self.define_ext_command_GL_MESA_pack_invert
20037
20130
  end # self.define_ext_command_GL_MESA_pack_invert
20038
20131
 
@@ -21562,9 +21655,9 @@ module OpenGLExt
21562
21655
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetCoverageModulationTableNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
21563
21656
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetCoverageModulationTableNV] = Fiddle::TYPE_VOID
21564
21657
  OpenGL.module_eval(<<-SRC)
21565
- def glGetCoverageModulationTableNV(_bufsize_, _v_)
21658
+ def glGetCoverageModulationTableNV(_bufSize_, _v_)
21566
21659
  f = OpenGL::get_command(:glGetCoverageModulationTableNV)
21567
- f.call(_bufsize_, _v_)
21660
+ f.call(_bufSize_, _v_)
21568
21661
  end
21569
21662
  SRC
21570
21663
 
@@ -22687,9 +22780,9 @@ module OpenGLExt
22687
22780
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetInternalformatSampleivNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
22688
22781
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformatSampleivNV] = Fiddle::TYPE_VOID
22689
22782
  OpenGL.module_eval(<<-SRC)
22690
- def glGetInternalformatSampleivNV(_target_, _internalformat_, _samples_, _pname_, _bufSize_, _params_)
22783
+ def glGetInternalformatSampleivNV(_target_, _internalformat_, _samples_, _pname_, _count_, _params_)
22691
22784
  f = OpenGL::get_command(:glGetInternalformatSampleivNV)
22692
- f.call(_target_, _internalformat_, _samples_, _pname_, _bufSize_, _params_)
22785
+ f.call(_target_, _internalformat_, _samples_, _pname_, _count_, _params_)
22693
22786
  end
22694
22787
  SRC
22695
22788
  end # self.define_ext_command_GL_NV_internalformat_sample_query
@@ -22838,6 +22931,122 @@ module OpenGLExt
22838
22931
  end # self.get_ext_command_GL_NV_gpu_multicast
22839
22932
 
22840
22933
 
22934
+ def self.define_ext_command_GL_NVX_gpu_multicast2
22935
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glUploadGpuMaskNVX] = [-Fiddle::TYPE_INT]
22936
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glUploadGpuMaskNVX] = Fiddle::TYPE_VOID
22937
+ OpenGL.module_eval(<<-SRC)
22938
+ def glUploadGpuMaskNVX(_mask_)
22939
+ f = OpenGL::get_command(:glUploadGpuMaskNVX)
22940
+ f.call(_mask_)
22941
+ end
22942
+ SRC
22943
+
22944
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMulticastViewportArrayvNVX] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
22945
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMulticastViewportArrayvNVX] = Fiddle::TYPE_VOID
22946
+ OpenGL.module_eval(<<-SRC)
22947
+ def glMulticastViewportArrayvNVX(_gpu_, _first_, _count_, _v_)
22948
+ f = OpenGL::get_command(:glMulticastViewportArrayvNVX)
22949
+ f.call(_gpu_, _first_, _count_, _v_)
22950
+ end
22951
+ SRC
22952
+
22953
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMulticastViewportPositionWScaleNVX] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
22954
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMulticastViewportPositionWScaleNVX] = Fiddle::TYPE_VOID
22955
+ OpenGL.module_eval(<<-SRC)
22956
+ def glMulticastViewportPositionWScaleNVX(_gpu_, _index_, _xcoeff_, _ycoeff_)
22957
+ f = OpenGL::get_command(:glMulticastViewportPositionWScaleNVX)
22958
+ f.call(_gpu_, _index_, _xcoeff_, _ycoeff_)
22959
+ end
22960
+ SRC
22961
+
22962
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMulticastScissorArrayvNVX] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
22963
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMulticastScissorArrayvNVX] = Fiddle::TYPE_VOID
22964
+ OpenGL.module_eval(<<-SRC)
22965
+ def glMulticastScissorArrayvNVX(_gpu_, _first_, _count_, _v_)
22966
+ f = OpenGL::get_command(:glMulticastScissorArrayvNVX)
22967
+ f.call(_gpu_, _first_, _count_, _v_)
22968
+ end
22969
+ SRC
22970
+
22971
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glAsyncCopyBufferSubDataNVX] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
22972
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glAsyncCopyBufferSubDataNVX] = -Fiddle::TYPE_INT
22973
+ OpenGL.module_eval(<<-SRC)
22974
+ def glAsyncCopyBufferSubDataNVX(_waitSemaphoreCount_, _waitSemaphoreArray_, _fenceValueArray_, _readGpu_, _writeGpuMask_, _readBuffer_, _writeBuffer_, _readOffset_, _writeOffset_, _size_, _signalSemaphoreCount_, _signalSemaphoreArray_, _signalValueArray_)
22975
+ f = OpenGL::get_command(:glAsyncCopyBufferSubDataNVX)
22976
+ f.call(_waitSemaphoreCount_, _waitSemaphoreArray_, _fenceValueArray_, _readGpu_, _writeGpuMask_, _readBuffer_, _writeBuffer_, _readOffset_, _writeOffset_, _size_, _signalSemaphoreCount_, _signalSemaphoreArray_, _signalValueArray_)
22977
+ end
22978
+ SRC
22979
+
22980
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glAsyncCopyImageSubDataNVX] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
22981
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glAsyncCopyImageSubDataNVX] = -Fiddle::TYPE_INT
22982
+ OpenGL.module_eval(<<-SRC)
22983
+ def glAsyncCopyImageSubDataNVX(_waitSemaphoreCount_, _waitSemaphoreArray_, _waitValueArray_, _srcGpu_, _dstGpuMask_, _srcName_, _srcTarget_, _srcLevel_, _srcX_, _srcY_, _srcZ_, _dstName_, _dstTarget_, _dstLevel_, _dstX_, _dstY_, _dstZ_, _srcWidth_, _srcHeight_, _srcDepth_, _signalSemaphoreCount_, _signalSemaphoreArray_, _signalValueArray_)
22984
+ f = OpenGL::get_command(:glAsyncCopyImageSubDataNVX)
22985
+ f.call(_waitSemaphoreCount_, _waitSemaphoreArray_, _waitValueArray_, _srcGpu_, _dstGpuMask_, _srcName_, _srcTarget_, _srcLevel_, _srcX_, _srcY_, _srcZ_, _dstName_, _dstTarget_, _dstLevel_, _dstX_, _dstY_, _dstZ_, _srcWidth_, _srcHeight_, _srcDepth_, _signalSemaphoreCount_, _signalSemaphoreArray_, _signalValueArray_)
22986
+ end
22987
+ SRC
22988
+ end # self.define_ext_command_GL_NVX_gpu_multicast2
22989
+
22990
+ def self.get_ext_command_GL_NVX_gpu_multicast2
22991
+ [
22992
+ 'glUploadGpuMaskNVX',
22993
+ 'glMulticastViewportArrayvNVX',
22994
+ 'glMulticastViewportPositionWScaleNVX',
22995
+ 'glMulticastScissorArrayvNVX',
22996
+ 'glAsyncCopyBufferSubDataNVX',
22997
+ 'glAsyncCopyImageSubDataNVX',
22998
+ ]
22999
+ end # self.get_ext_command_GL_NVX_gpu_multicast2
23000
+
23001
+
23002
+ def self.define_ext_command_GL_NVX_progress_fence
23003
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glCreateProgressFenceNVX] = []
23004
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glCreateProgressFenceNVX] = -Fiddle::TYPE_INT
23005
+ OpenGL.module_eval(<<-SRC)
23006
+ def glCreateProgressFenceNVX()
23007
+ f = OpenGL::get_command(:glCreateProgressFenceNVX)
23008
+ f.call()
23009
+ end
23010
+ SRC
23011
+
23012
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSignalSemaphoreui64NVX] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
23013
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSignalSemaphoreui64NVX] = Fiddle::TYPE_VOID
23014
+ OpenGL.module_eval(<<-SRC)
23015
+ def glSignalSemaphoreui64NVX(_signalGpu_, _fenceObjectCount_, _semaphoreArray_, _fenceValueArray_)
23016
+ f = OpenGL::get_command(:glSignalSemaphoreui64NVX)
23017
+ f.call(_signalGpu_, _fenceObjectCount_, _semaphoreArray_, _fenceValueArray_)
23018
+ end
23019
+ SRC
23020
+
23021
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glWaitSemaphoreui64NVX] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
23022
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glWaitSemaphoreui64NVX] = Fiddle::TYPE_VOID
23023
+ OpenGL.module_eval(<<-SRC)
23024
+ def glWaitSemaphoreui64NVX(_waitGpu_, _fenceObjectCount_, _semaphoreArray_, _fenceValueArray_)
23025
+ f = OpenGL::get_command(:glWaitSemaphoreui64NVX)
23026
+ f.call(_waitGpu_, _fenceObjectCount_, _semaphoreArray_, _fenceValueArray_)
23027
+ end
23028
+ SRC
23029
+
23030
+ OpenGL::GL_FUNCTIONS_ARGS_MAP[:glClientWaitSemaphoreui64NVX] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
23031
+ OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glClientWaitSemaphoreui64NVX] = Fiddle::TYPE_VOID
23032
+ OpenGL.module_eval(<<-SRC)
23033
+ def glClientWaitSemaphoreui64NVX(_fenceObjectCount_, _semaphoreArray_, _fenceValueArray_)
23034
+ f = OpenGL::get_command(:glClientWaitSemaphoreui64NVX)
23035
+ f.call(_fenceObjectCount_, _semaphoreArray_, _fenceValueArray_)
23036
+ end
23037
+ SRC
23038
+ end # self.define_ext_command_GL_NVX_progress_fence
23039
+
23040
+ def self.get_ext_command_GL_NVX_progress_fence
23041
+ [
23042
+ 'glCreateProgressFenceNVX',
23043
+ 'glSignalSemaphoreui64NVX',
23044
+ 'glWaitSemaphoreui64NVX',
23045
+ 'glClientWaitSemaphoreui64NVX',
23046
+ ]
23047
+ end # self.get_ext_command_GL_NVX_progress_fence
23048
+
23049
+
22841
23050
  def self.define_ext_command_GL_NV_memory_attachment
22842
23051
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetMemoryObjectDetachedResourcesuivNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
22843
23052
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetMemoryObjectDetachedResourcesuivNV] = Fiddle::TYPE_VOID
@@ -23614,9 +23823,9 @@ module OpenGLExt
23614
23823
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetProgramResourcefvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
23615
23824
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetProgramResourcefvNV] = Fiddle::TYPE_VOID
23616
23825
  OpenGL.module_eval(<<-SRC)
23617
- def glGetProgramResourcefvNV(_program_, _programInterface_, _index_, _propCount_, _props_, _bufSize_, _length_, _params_)
23826
+ def glGetProgramResourcefvNV(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
23618
23827
  f = OpenGL::get_command(:glGetProgramResourcefvNV)
23619
- f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _bufSize_, _length_, _params_)
23828
+ f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
23620
23829
  end
23621
23830
  SRC
23622
23831
 
@@ -24109,9 +24318,9 @@ module OpenGLExt
24109
24318
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glQueryResourceNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
24110
24319
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glQueryResourceNV] = Fiddle::TYPE_INT
24111
24320
  OpenGL.module_eval(<<-SRC)
24112
- def glQueryResourceNV(_queryType_, _tagId_, _bufSize_, _buffer_)
24321
+ def glQueryResourceNV(_queryType_, _tagId_, _count_, _buffer_)
24113
24322
  f = OpenGL::get_command(:glQueryResourceNV)
24114
- f.call(_queryType_, _tagId_, _bufSize_, _buffer_)
24323
+ f.call(_queryType_, _tagId_, _count_, _buffer_)
24115
24324
  end
24116
24325
  SRC
24117
24326
  end # self.define_ext_command_GL_NV_query_resource
@@ -24631,6 +24840,15 @@ module OpenGLExt
24631
24840
  end # self.get_ext_command_GL_NV_shader_storage_buffer_object
24632
24841
 
24633
24842
 
24843
+ def self.define_ext_command_GL_NV_shader_subgroup_partitioned
24844
+ end # self.define_ext_command_GL_NV_shader_subgroup_partitioned
24845
+
24846
+ def self.get_ext_command_GL_NV_shader_subgroup_partitioned
24847
+ [
24848
+ ]
24849
+ end # self.get_ext_command_GL_NV_shader_subgroup_partitioned
24850
+
24851
+
24634
24852
  def self.define_ext_command_GL_NV_shader_texture_footprint
24635
24853
  end # self.define_ext_command_GL_NV_shader_texture_footprint
24636
24854
 
@@ -25203,9 +25421,9 @@ module OpenGLExt
25203
25421
  OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVDPAUGetSurfaceivNV] = [Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
25204
25422
  OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVDPAUGetSurfaceivNV] = Fiddle::TYPE_VOID
25205
25423
  OpenGL.module_eval(<<-SRC)
25206
- def glVDPAUGetSurfaceivNV(_surface_, _pname_, _bufSize_, _length_, _values_)
25424
+ def glVDPAUGetSurfaceivNV(_surface_, _pname_, _count_, _length_, _values_)
25207
25425
  f = OpenGL::get_command(:glVDPAUGetSurfaceivNV)
25208
- f.call(_surface_, _pname_, _bufSize_, _length_, _values_)
25426
+ f.call(_surface_, _pname_, _count_, _length_, _values_)
25209
25427
  end
25210
25428
  SRC
25211
25429
 
@@ -30128,4 +30346,13 @@ module OpenGLExt
30128
30346
  end # self.get_ext_command_GL_WIN_specular_fog
30129
30347
 
30130
30348
 
30349
+ def self.define_ext_command_GL_EXT_texture_shadow_lod
30350
+ end # self.define_ext_command_GL_EXT_texture_shadow_lod
30351
+
30352
+ def self.get_ext_command_GL_EXT_texture_shadow_lod
30353
+ [
30354
+ ]
30355
+ end # self.get_ext_command_GL_EXT_texture_shadow_lod
30356
+
30357
+
30131
30358
  end
File without changes
@@ -5842,6 +5842,15 @@ module OpenGLExt
5842
5842
  end # self.get_ext_enum_GL_EXT_EGL_image_storage
5843
5843
 
5844
5844
 
5845
+ def self.define_ext_enum_GL_EXT_EGL_sync
5846
+ end # self.define_ext_enum_GL_EXT_EGL_sync
5847
+
5848
+ def self.get_ext_enum_GL_EXT_EGL_sync
5849
+ [
5850
+ ]
5851
+ end # self.get_ext_enum_GL_EXT_EGL_sync
5852
+
5853
+
5845
5854
  def self.define_ext_enum_GL_EXT_abgr
5846
5855
  OpenGL.const_set('GL_ABGR_EXT', 0x8000) unless defined?(OpenGL::GL_ABGR_EXT)
5847
5856
  end # self.define_ext_enum_GL_EXT_abgr
@@ -6814,6 +6823,33 @@ module OpenGLExt
6814
6823
  end # self.get_ext_enum_GL_EXT_multisample
6815
6824
 
6816
6825
 
6826
+ def self.define_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
6827
+ end # self.define_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
6828
+
6829
+ def self.get_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
6830
+ [
6831
+ ]
6832
+ end # self.get_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
6833
+
6834
+
6835
+ def self.define_ext_enum_GL_EXT_multiview_texture_multisample
6836
+ end # self.define_ext_enum_GL_EXT_multiview_texture_multisample
6837
+
6838
+ def self.get_ext_enum_GL_EXT_multiview_texture_multisample
6839
+ [
6840
+ ]
6841
+ end # self.get_ext_enum_GL_EXT_multiview_texture_multisample
6842
+
6843
+
6844
+ def self.define_ext_enum_GL_EXT_multiview_timer_query
6845
+ end # self.define_ext_enum_GL_EXT_multiview_timer_query
6846
+
6847
+ def self.get_ext_enum_GL_EXT_multiview_timer_query
6848
+ [
6849
+ ]
6850
+ end # self.get_ext_enum_GL_EXT_multiview_timer_query
6851
+
6852
+
6817
6853
  def self.define_ext_enum_GL_EXT_packed_depth_stencil
6818
6854
  OpenGL.const_set('GL_DEPTH_STENCIL_EXT', 0x84F9) unless defined?(OpenGL::GL_DEPTH_STENCIL_EXT)
6819
6855
  OpenGL.const_set('GL_UNSIGNED_INT_24_8_EXT', 0x84FA) unless defined?(OpenGL::GL_UNSIGNED_INT_24_8_EXT)
@@ -9227,6 +9263,39 @@ module OpenGLExt
9227
9263
  end # self.get_ext_enum_GL_KHR_robustness
9228
9264
 
9229
9265
 
9266
+ def self.define_ext_enum_GL_KHR_shader_subgroup
9267
+ OpenGL.const_set('GL_SUBGROUP_SIZE_KHR', 0x9532) unless defined?(OpenGL::GL_SUBGROUP_SIZE_KHR)
9268
+ OpenGL.const_set('GL_SUBGROUP_SUPPORTED_STAGES_KHR', 0x9533) unless defined?(OpenGL::GL_SUBGROUP_SUPPORTED_STAGES_KHR)
9269
+ OpenGL.const_set('GL_SUBGROUP_SUPPORTED_FEATURES_KHR', 0x9534) unless defined?(OpenGL::GL_SUBGROUP_SUPPORTED_FEATURES_KHR)
9270
+ OpenGL.const_set('GL_SUBGROUP_QUAD_ALL_STAGES_KHR', 0x9535) unless defined?(OpenGL::GL_SUBGROUP_QUAD_ALL_STAGES_KHR)
9271
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_BASIC_BIT_KHR', 0x00000001) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_BASIC_BIT_KHR)
9272
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_VOTE_BIT_KHR', 0x00000002) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_VOTE_BIT_KHR)
9273
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR', 0x00000004) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR)
9274
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR', 0x00000008) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR)
9275
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR', 0x00000010) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR)
9276
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR', 0x00000020) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR)
9277
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR', 0x00000040) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR)
9278
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_QUAD_BIT_KHR', 0x00000080) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_QUAD_BIT_KHR)
9279
+ end # self.define_ext_enum_GL_KHR_shader_subgroup
9280
+
9281
+ def self.get_ext_enum_GL_KHR_shader_subgroup
9282
+ [
9283
+ 'GL_SUBGROUP_SIZE_KHR',
9284
+ 'GL_SUBGROUP_SUPPORTED_STAGES_KHR',
9285
+ 'GL_SUBGROUP_SUPPORTED_FEATURES_KHR',
9286
+ 'GL_SUBGROUP_QUAD_ALL_STAGES_KHR',
9287
+ 'GL_SUBGROUP_FEATURE_BASIC_BIT_KHR',
9288
+ 'GL_SUBGROUP_FEATURE_VOTE_BIT_KHR',
9289
+ 'GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR',
9290
+ 'GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR',
9291
+ 'GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR',
9292
+ 'GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR',
9293
+ 'GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR',
9294
+ 'GL_SUBGROUP_FEATURE_QUAD_BIT_KHR',
9295
+ ]
9296
+ end # self.get_ext_enum_GL_KHR_shader_subgroup
9297
+
9298
+
9230
9299
  def self.define_ext_enum_GL_KHR_texture_compression_astc_hdr
9231
9300
  OpenGL.const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(OpenGL::GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
9232
9301
  OpenGL.const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(OpenGL::GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
@@ -9400,6 +9469,17 @@ module OpenGLExt
9400
9469
  end # self.get_ext_enum_GL_MESAX_texture_stack
9401
9470
 
9402
9471
 
9472
+ def self.define_ext_enum_GL_MESA_framebuffer_flip_y
9473
+ OpenGL.const_set('GL_FRAMEBUFFER_FLIP_Y_MESA', 0x8BBB) unless defined?(OpenGL::GL_FRAMEBUFFER_FLIP_Y_MESA)
9474
+ end # self.define_ext_enum_GL_MESA_framebuffer_flip_y
9475
+
9476
+ def self.get_ext_enum_GL_MESA_framebuffer_flip_y
9477
+ [
9478
+ 'GL_FRAMEBUFFER_FLIP_Y_MESA',
9479
+ ]
9480
+ end # self.get_ext_enum_GL_MESA_framebuffer_flip_y
9481
+
9482
+
9403
9483
  def self.define_ext_enum_GL_MESA_pack_invert
9404
9484
  OpenGL.const_set('GL_PACK_INVERT_MESA', 0x8758) unless defined?(OpenGL::GL_PACK_INVERT_MESA)
9405
9485
  end # self.define_ext_enum_GL_MESA_pack_invert
@@ -10528,6 +10608,26 @@ module OpenGLExt
10528
10608
  end # self.get_ext_enum_GL_NV_gpu_multicast
10529
10609
 
10530
10610
 
10611
+ def self.define_ext_enum_GL_NVX_gpu_multicast2
10612
+ OpenGL.const_set('GL_UPLOAD_GPU_MASK_NVX', 0x954A) unless defined?(OpenGL::GL_UPLOAD_GPU_MASK_NVX)
10613
+ end # self.define_ext_enum_GL_NVX_gpu_multicast2
10614
+
10615
+ def self.get_ext_enum_GL_NVX_gpu_multicast2
10616
+ [
10617
+ 'GL_UPLOAD_GPU_MASK_NVX',
10618
+ ]
10619
+ end # self.get_ext_enum_GL_NVX_gpu_multicast2
10620
+
10621
+
10622
+ def self.define_ext_enum_GL_NVX_progress_fence
10623
+ end # self.define_ext_enum_GL_NVX_progress_fence
10624
+
10625
+ def self.get_ext_enum_GL_NVX_progress_fence
10626
+ [
10627
+ ]
10628
+ end # self.get_ext_enum_GL_NVX_progress_fence
10629
+
10630
+
10531
10631
  def self.define_ext_enum_GL_NV_memory_attachment
10532
10632
  OpenGL.const_set('GL_ATTACHED_MEMORY_OBJECT_NV', 0x95A4) unless defined?(OpenGL::GL_ATTACHED_MEMORY_OBJECT_NV)
10533
10633
  OpenGL.const_set('GL_ATTACHED_MEMORY_OFFSET_NV', 0x95A5) unless defined?(OpenGL::GL_ATTACHED_MEMORY_OFFSET_NV)
@@ -11477,6 +11577,17 @@ module OpenGLExt
11477
11577
  end # self.get_ext_enum_GL_NV_shader_storage_buffer_object
11478
11578
 
11479
11579
 
11580
+ def self.define_ext_enum_GL_NV_shader_subgroup_partitioned
11581
+ OpenGL.const_set('GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV', 0x00000100) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV)
11582
+ end # self.define_ext_enum_GL_NV_shader_subgroup_partitioned
11583
+
11584
+ def self.get_ext_enum_GL_NV_shader_subgroup_partitioned
11585
+ [
11586
+ 'GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV',
11587
+ ]
11588
+ end # self.get_ext_enum_GL_NV_shader_subgroup_partitioned
11589
+
11590
+
11480
11591
  def self.define_ext_enum_GL_NV_shader_texture_footprint
11481
11592
  end # self.define_ext_enum_GL_NV_shader_texture_footprint
11482
11593
 
@@ -13885,4 +13996,13 @@ module OpenGLExt
13885
13996
  end # self.get_ext_enum_GL_WIN_specular_fog
13886
13997
 
13887
13998
 
13999
+ def self.define_ext_enum_GL_EXT_texture_shadow_lod
14000
+ end # self.define_ext_enum_GL_EXT_texture_shadow_lod
14001
+
14002
+ def self.get_ext_enum_GL_EXT_texture_shadow_lod
14003
+ [
14004
+ ]
14005
+ end # self.get_ext_enum_GL_EXT_texture_shadow_lod
14006
+
14007
+
13888
14008
  end