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.
- checksums.yaml +4 -4
- data/ChangeLog +32 -0
- data/LICENSE.txt +1 -1
- data/README.md +50 -2
- data/lib/glfw.rb +1 -1
- data/lib/glfw32.rb +594 -0
- data/lib/glu.rb +1 -1
- data/lib/glut.rb +1 -1
- data/lib/opengl.rb +1 -1
- data/lib/opengl_command.rb +12 -12
- data/lib/opengl_common.rb +0 -0
- data/lib/opengl_enum.rb +0 -0
- data/lib/opengl_es.rb +1 -1
- data/lib/opengl_es_command.rb +6 -6
- data/lib/opengl_es_enum.rb +0 -0
- data/lib/opengl_es_ext.rb +1 -1
- data/lib/opengl_es_ext_command.rb +166 -10
- data/lib/opengl_es_ext_enum.rb +153 -0
- data/lib/opengl_ext.rb +1 -1
- data/lib/opengl_ext_command.rb +251 -24
- data/lib/opengl_ext_common.rb +0 -0
- data/lib/opengl_ext_enum.rb +120 -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/glfw_build.sh +0 -0
- metadata +4 -3
data/lib/glu.rb
CHANGED
@@ -343,7 +343,7 @@ end
|
|
343
343
|
|
344
344
|
=begin
|
345
345
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
346
|
-
Copyright (c) 2013-
|
346
|
+
Copyright (c) 2013-2020 vaiorabbit <http://twitter.com/vaiorabbit>
|
347
347
|
|
348
348
|
This software is provided 'as-is', without any express or implied
|
349
349
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/glut.rb
CHANGED
@@ -553,7 +553,7 @@ end
|
|
553
553
|
|
554
554
|
=begin
|
555
555
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
556
|
-
Copyright (c) 2013-
|
556
|
+
Copyright (c) 2013-2020 vaiorabbit <http://twitter.com/vaiorabbit>
|
557
557
|
|
558
558
|
This software is provided 'as-is', without any express or implied
|
559
559
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl.rb
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
|
21
21
|
=begin
|
22
22
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
23
|
-
Copyright (c) 2013-
|
23
|
+
Copyright (c) 2013-2020 vaiorabbit <http://twitter.com/vaiorabbit>
|
24
24
|
|
25
25
|
This software is provided 'as-is', without any express or implied
|
26
26
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_command.rb
CHANGED
@@ -4616,9 +4616,9 @@ module OpenGL
|
|
4616
4616
|
|
4617
4617
|
GL_FUNCTIONS_ARGS_MAP[:glGetSynciv] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
4618
4618
|
GL_FUNCTIONS_RETVAL_MAP[:glGetSynciv] = Fiddle::TYPE_VOID
|
4619
|
-
def glGetSynciv(_sync_, _pname_,
|
4619
|
+
def glGetSynciv(_sync_, _pname_, _count_, _length_, _values_)
|
4620
4620
|
f = OpenGL::get_command(:glGetSynciv)
|
4621
|
-
f.call(_sync_, _pname_,
|
4621
|
+
f.call(_sync_, _pname_, _count_, _length_, _values_)
|
4622
4622
|
end
|
4623
4623
|
|
4624
4624
|
GL_FUNCTIONS_ARGS_MAP[:glGetInteger64i_v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
@@ -5274,16 +5274,16 @@ module OpenGL
|
|
5274
5274
|
|
5275
5275
|
GL_FUNCTIONS_ARGS_MAP[:glGetActiveSubroutineUniformName] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
5276
5276
|
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveSubroutineUniformName] = Fiddle::TYPE_VOID
|
5277
|
-
def glGetActiveSubroutineUniformName(_program_, _shadertype_, _index_,
|
5277
|
+
def glGetActiveSubroutineUniformName(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
|
5278
5278
|
f = OpenGL::get_command(:glGetActiveSubroutineUniformName)
|
5279
|
-
f.call(_program_, _shadertype_, _index_,
|
5279
|
+
f.call(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
|
5280
5280
|
end
|
5281
5281
|
|
5282
5282
|
GL_FUNCTIONS_ARGS_MAP[:glGetActiveSubroutineName] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
5283
5283
|
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveSubroutineName] = Fiddle::TYPE_VOID
|
5284
|
-
def glGetActiveSubroutineName(_program_, _shadertype_, _index_,
|
5284
|
+
def glGetActiveSubroutineName(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
|
5285
5285
|
f = OpenGL::get_command(:glGetActiveSubroutineName)
|
5286
|
-
f.call(_program_, _shadertype_, _index_,
|
5286
|
+
f.call(_program_, _shadertype_, _index_, _bufSize_, _length_, _name_)
|
5287
5287
|
end
|
5288
5288
|
|
5289
5289
|
GL_FUNCTIONS_ARGS_MAP[:glUniformSubroutinesuiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
@@ -6037,9 +6037,9 @@ module OpenGL
|
|
6037
6037
|
|
6038
6038
|
GL_FUNCTIONS_ARGS_MAP[:glGetInternalformativ] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6039
6039
|
GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformativ] = Fiddle::TYPE_VOID
|
6040
|
-
def glGetInternalformativ(_target_, _internalformat_, _pname_,
|
6040
|
+
def glGetInternalformativ(_target_, _internalformat_, _pname_, _count_, _params_)
|
6041
6041
|
f = OpenGL::get_command(:glGetInternalformativ)
|
6042
|
-
f.call(_target_, _internalformat_, _pname_,
|
6042
|
+
f.call(_target_, _internalformat_, _pname_, _count_, _params_)
|
6043
6043
|
end
|
6044
6044
|
|
6045
6045
|
GL_FUNCTIONS_ARGS_MAP[:glGetActiveAtomicCounterBufferiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
@@ -6149,9 +6149,9 @@ module OpenGL
|
|
6149
6149
|
|
6150
6150
|
GL_FUNCTIONS_ARGS_MAP[:glGetInternalformati64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6151
6151
|
GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformati64v] = Fiddle::TYPE_VOID
|
6152
|
-
def glGetInternalformati64v(_target_, _internalformat_, _pname_,
|
6152
|
+
def glGetInternalformati64v(_target_, _internalformat_, _pname_, _count_, _params_)
|
6153
6153
|
f = OpenGL::get_command(:glGetInternalformati64v)
|
6154
|
-
f.call(_target_, _internalformat_, _pname_,
|
6154
|
+
f.call(_target_, _internalformat_, _pname_, _count_, _params_)
|
6155
6155
|
end
|
6156
6156
|
|
6157
6157
|
GL_FUNCTIONS_ARGS_MAP[:glInvalidateTexSubImage] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
@@ -6233,9 +6233,9 @@ module OpenGL
|
|
6233
6233
|
|
6234
6234
|
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]
|
6235
6235
|
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramResourceiv] = Fiddle::TYPE_VOID
|
6236
|
-
def glGetProgramResourceiv(_program_, _programInterface_, _index_, _propCount_, _props_,
|
6236
|
+
def glGetProgramResourceiv(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
|
6237
6237
|
f = OpenGL::get_command(:glGetProgramResourceiv)
|
6238
|
-
f.call(_program_, _programInterface_, _index_, _propCount_, _props_,
|
6238
|
+
f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
|
6239
6239
|
end
|
6240
6240
|
|
6241
6241
|
GL_FUNCTIONS_ARGS_MAP[:glGetProgramResourceLocation] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
data/lib/opengl_common.rb
CHANGED
File without changes
|
data/lib/opengl_enum.rb
CHANGED
File without changes
|
data/lib/opengl_es.rb
CHANGED
@@ -8,7 +8,7 @@ end
|
|
8
8
|
|
9
9
|
=begin
|
10
10
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
11
|
-
Copyright (c) 2013-
|
11
|
+
Copyright (c) 2013-2020 vaiorabbit <http://twitter.com/vaiorabbit>
|
12
12
|
|
13
13
|
This software is provided 'as-is', without any express or implied
|
14
14
|
warranty. In no event will the authors be held liable for any damages
|
data/lib/opengl_es_command.rb
CHANGED
@@ -1536,9 +1536,9 @@ module OpenGL
|
|
1536
1536
|
|
1537
1537
|
GL_FUNCTIONS_ARGS_MAP[:glGetSynciv] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1538
1538
|
GL_FUNCTIONS_RETVAL_MAP[:glGetSynciv] = Fiddle::TYPE_VOID
|
1539
|
-
def glGetSynciv(_sync_, _pname_,
|
1539
|
+
def glGetSynciv(_sync_, _pname_, _count_, _length_, _values_)
|
1540
1540
|
f = OpenGL::get_command(:glGetSynciv)
|
1541
|
-
f.call(_sync_, _pname_,
|
1541
|
+
f.call(_sync_, _pname_, _count_, _length_, _values_)
|
1542
1542
|
end
|
1543
1543
|
|
1544
1544
|
GL_FUNCTIONS_ARGS_MAP[:glGetInteger64i_v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
@@ -1725,9 +1725,9 @@ module OpenGL
|
|
1725
1725
|
|
1726
1726
|
GL_FUNCTIONS_ARGS_MAP[:glGetInternalformativ] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1727
1727
|
GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformativ] = Fiddle::TYPE_VOID
|
1728
|
-
def glGetInternalformativ(_target_, _internalformat_, _pname_,
|
1728
|
+
def glGetInternalformativ(_target_, _internalformat_, _pname_, _count_, _params_)
|
1729
1729
|
f = OpenGL::get_command(:glGetInternalformativ)
|
1730
|
-
f.call(_target_, _internalformat_, _pname_,
|
1730
|
+
f.call(_target_, _internalformat_, _pname_, _count_, _params_)
|
1731
1731
|
end
|
1732
1732
|
|
1733
1733
|
GL_FUNCTIONS_ARGS_MAP[:glDispatchCompute] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
@@ -1795,9 +1795,9 @@ module OpenGL
|
|
1795
1795
|
|
1796
1796
|
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]
|
1797
1797
|
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramResourceiv] = Fiddle::TYPE_VOID
|
1798
|
-
def glGetProgramResourceiv(_program_, _programInterface_, _index_, _propCount_, _props_,
|
1798
|
+
def glGetProgramResourceiv(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
|
1799
1799
|
f = OpenGL::get_command(:glGetProgramResourceiv)
|
1800
|
-
f.call(_program_, _programInterface_, _index_, _propCount_, _props_,
|
1800
|
+
f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
|
1801
1801
|
end
|
1802
1802
|
|
1803
1803
|
GL_FUNCTIONS_ARGS_MAP[:glGetProgramResourceLocation] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
data/lib/opengl_es_enum.rb
CHANGED
File without changes
|
data/lib/opengl_es_ext.rb
CHANGED
@@ -5,7 +5,7 @@ require_relative 'opengl_es_ext_command'
|
|
5
5
|
|
6
6
|
=begin
|
7
7
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
8
|
-
Copyright (c) 2013-
|
8
|
+
Copyright (c) 2013-2020 vaiorabbit <http://twitter.com/vaiorabbit>
|
9
9
|
|
10
10
|
This software is provided 'as-is', without any express or implied
|
11
11
|
warranty. In no event will the authors be held liable for any damages
|
@@ -322,9 +322,9 @@ module OpenGLExt
|
|
322
322
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetTranslatedShaderSourceANGLE] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
323
323
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetTranslatedShaderSourceANGLE] = Fiddle::TYPE_VOID
|
324
324
|
OpenGL.module_eval(<<-SRC)
|
325
|
-
def glGetTranslatedShaderSourceANGLE(_shader_,
|
325
|
+
def glGetTranslatedShaderSourceANGLE(_shader_, _bufSize_, _length_, _source_)
|
326
326
|
f = OpenGL::get_command(:glGetTranslatedShaderSourceANGLE)
|
327
|
-
f.call(_shader_,
|
327
|
+
f.call(_shader_, _bufSize_, _length_, _source_)
|
328
328
|
end
|
329
329
|
SRC
|
330
330
|
end # self.define_ext_command_GL_ANGLE_translated_shader_source
|
@@ -467,9 +467,9 @@ module OpenGLExt
|
|
467
467
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetSyncivAPPLE] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
468
468
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetSyncivAPPLE] = Fiddle::TYPE_VOID
|
469
469
|
OpenGL.module_eval(<<-SRC)
|
470
|
-
def glGetSyncivAPPLE(_sync_, _pname_,
|
470
|
+
def glGetSyncivAPPLE(_sync_, _pname_, _count_, _length_, _values_)
|
471
471
|
f = OpenGL::get_command(:glGetSyncivAPPLE)
|
472
|
-
f.call(_sync_, _pname_,
|
472
|
+
f.call(_sync_, _pname_, _count_, _length_, _values_)
|
473
473
|
end
|
474
474
|
SRC
|
475
475
|
end # self.define_ext_command_GL_APPLE_sync
|
@@ -559,6 +559,15 @@ module OpenGLExt
|
|
559
559
|
end # self.get_ext_command_GL_ARM_shader_framebuffer_fetch_depth_stencil
|
560
560
|
|
561
561
|
|
562
|
+
def self.define_ext_command_GL_ARM_texture_unnormalized_coordinates
|
563
|
+
end # self.define_ext_command_GL_ARM_texture_unnormalized_coordinates
|
564
|
+
|
565
|
+
def self.get_ext_command_GL_ARM_texture_unnormalized_coordinates
|
566
|
+
[
|
567
|
+
]
|
568
|
+
end # self.get_ext_command_GL_ARM_texture_unnormalized_coordinates
|
569
|
+
|
570
|
+
|
562
571
|
def self.define_ext_command_GL_DMP_program_binary
|
563
572
|
end # self.define_ext_command_GL_DMP_program_binary
|
564
573
|
|
@@ -1037,6 +1046,15 @@ module OpenGLExt
|
|
1037
1046
|
f.call(_id_, _pname_, _params_)
|
1038
1047
|
end
|
1039
1048
|
SRC
|
1049
|
+
|
1050
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetInteger64vEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1051
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetInteger64vEXT] = Fiddle::TYPE_VOID
|
1052
|
+
OpenGL.module_eval(<<-SRC)
|
1053
|
+
def glGetInteger64vEXT(_pname_, _data_)
|
1054
|
+
f = OpenGL::get_command(:glGetInteger64vEXT)
|
1055
|
+
f.call(_pname_, _data_)
|
1056
|
+
end
|
1057
|
+
SRC
|
1040
1058
|
end # self.define_ext_command_GL_EXT_disjoint_timer_query
|
1041
1059
|
|
1042
1060
|
def self.get_ext_command_GL_EXT_disjoint_timer_query
|
@@ -1052,6 +1070,7 @@ module OpenGLExt
|
|
1052
1070
|
'glGetQueryObjectuivEXT',
|
1053
1071
|
'glGetQueryObjecti64vEXT',
|
1054
1072
|
'glGetQueryObjectui64vEXT',
|
1073
|
+
'glGetInteger64vEXT',
|
1055
1074
|
]
|
1056
1075
|
end # self.get_ext_command_GL_EXT_disjoint_timer_query
|
1057
1076
|
|
@@ -1780,6 +1799,33 @@ module OpenGLExt
|
|
1780
1799
|
end # self.get_ext_command_GL_EXT_multiview_draw_buffers
|
1781
1800
|
|
1782
1801
|
|
1802
|
+
def self.define_ext_command_GL_EXT_multiview_tessellation_geometry_shader
|
1803
|
+
end # self.define_ext_command_GL_EXT_multiview_tessellation_geometry_shader
|
1804
|
+
|
1805
|
+
def self.get_ext_command_GL_EXT_multiview_tessellation_geometry_shader
|
1806
|
+
[
|
1807
|
+
]
|
1808
|
+
end # self.get_ext_command_GL_EXT_multiview_tessellation_geometry_shader
|
1809
|
+
|
1810
|
+
|
1811
|
+
def self.define_ext_command_GL_EXT_multiview_texture_multisample
|
1812
|
+
end # self.define_ext_command_GL_EXT_multiview_texture_multisample
|
1813
|
+
|
1814
|
+
def self.get_ext_command_GL_EXT_multiview_texture_multisample
|
1815
|
+
[
|
1816
|
+
]
|
1817
|
+
end # self.get_ext_command_GL_EXT_multiview_texture_multisample
|
1818
|
+
|
1819
|
+
|
1820
|
+
def self.define_ext_command_GL_EXT_multiview_timer_query
|
1821
|
+
end # self.define_ext_command_GL_EXT_multiview_timer_query
|
1822
|
+
|
1823
|
+
def self.get_ext_command_GL_EXT_multiview_timer_query
|
1824
|
+
[
|
1825
|
+
]
|
1826
|
+
end # self.get_ext_command_GL_EXT_multiview_timer_query
|
1827
|
+
|
1828
|
+
|
1783
1829
|
def self.define_ext_command_GL_EXT_occlusion_query_boolean
|
1784
1830
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGenQueriesEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1785
1831
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGenQueriesEXT] = Fiddle::TYPE_VOID
|
@@ -3985,6 +4031,15 @@ module OpenGLExt
|
|
3985
4031
|
end # self.get_ext_command_GL_KHR_robustness
|
3986
4032
|
|
3987
4033
|
|
4034
|
+
def self.define_ext_command_GL_KHR_shader_subgroup
|
4035
|
+
end # self.define_ext_command_GL_KHR_shader_subgroup
|
4036
|
+
|
4037
|
+
def self.get_ext_command_GL_KHR_shader_subgroup
|
4038
|
+
[
|
4039
|
+
]
|
4040
|
+
end # self.get_ext_command_GL_KHR_shader_subgroup
|
4041
|
+
|
4042
|
+
|
3988
4043
|
def self.define_ext_command_GL_KHR_texture_compression_astc_hdr
|
3989
4044
|
end # self.define_ext_command_GL_KHR_texture_compression_astc_hdr
|
3990
4045
|
|
@@ -4030,15 +4085,52 @@ module OpenGLExt
|
|
4030
4085
|
end # self.get_ext_command_GL_KHR_parallel_shader_compile
|
4031
4086
|
|
4032
4087
|
|
4088
|
+
def self.define_ext_command_GL_MESA_framebuffer_flip_x
|
4089
|
+
end # self.define_ext_command_GL_MESA_framebuffer_flip_x
|
4090
|
+
|
4091
|
+
def self.get_ext_command_GL_MESA_framebuffer_flip_x
|
4092
|
+
[
|
4093
|
+
]
|
4094
|
+
end # self.get_ext_command_GL_MESA_framebuffer_flip_x
|
4095
|
+
|
4096
|
+
|
4033
4097
|
def self.define_ext_command_GL_MESA_framebuffer_flip_y
|
4098
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferParameteriMESA] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
4099
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferParameteriMESA] = Fiddle::TYPE_VOID
|
4100
|
+
OpenGL.module_eval(<<-SRC)
|
4101
|
+
def glFramebufferParameteriMESA(_target_, _pname_, _param_)
|
4102
|
+
f = OpenGL::get_command(:glFramebufferParameteriMESA)
|
4103
|
+
f.call(_target_, _pname_, _param_)
|
4104
|
+
end
|
4105
|
+
SRC
|
4106
|
+
|
4107
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetFramebufferParameterivMESA] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
4108
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetFramebufferParameterivMESA] = Fiddle::TYPE_VOID
|
4109
|
+
OpenGL.module_eval(<<-SRC)
|
4110
|
+
def glGetFramebufferParameterivMESA(_target_, _pname_, _params_)
|
4111
|
+
f = OpenGL::get_command(:glGetFramebufferParameterivMESA)
|
4112
|
+
f.call(_target_, _pname_, _params_)
|
4113
|
+
end
|
4114
|
+
SRC
|
4034
4115
|
end # self.define_ext_command_GL_MESA_framebuffer_flip_y
|
4035
4116
|
|
4036
4117
|
def self.get_ext_command_GL_MESA_framebuffer_flip_y
|
4037
4118
|
[
|
4119
|
+
'glFramebufferParameteriMESA',
|
4120
|
+
'glGetFramebufferParameterivMESA',
|
4038
4121
|
]
|
4039
4122
|
end # self.get_ext_command_GL_MESA_framebuffer_flip_y
|
4040
4123
|
|
4041
4124
|
|
4125
|
+
def self.define_ext_command_GL_MESA_framebuffer_swap_xy
|
4126
|
+
end # self.define_ext_command_GL_MESA_framebuffer_swap_xy
|
4127
|
+
|
4128
|
+
def self.get_ext_command_GL_MESA_framebuffer_swap_xy
|
4129
|
+
[
|
4130
|
+
]
|
4131
|
+
end # self.get_ext_command_GL_MESA_framebuffer_swap_xy
|
4132
|
+
|
4133
|
+
|
4042
4134
|
def self.define_ext_command_GL_MESA_program_binary_formats
|
4043
4135
|
end # self.define_ext_command_GL_MESA_program_binary_formats
|
4044
4136
|
|
@@ -4690,9 +4782,9 @@ module OpenGLExt
|
|
4690
4782
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetCoverageModulationTableNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
4691
4783
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetCoverageModulationTableNV] = Fiddle::TYPE_VOID
|
4692
4784
|
OpenGL.module_eval(<<-SRC)
|
4693
|
-
def glGetCoverageModulationTableNV(
|
4785
|
+
def glGetCoverageModulationTableNV(_bufSize_, _v_)
|
4694
4786
|
f = OpenGL::get_command(:glGetCoverageModulationTableNV)
|
4695
|
-
f.call(
|
4787
|
+
f.call(_bufSize_, _v_)
|
4696
4788
|
end
|
4697
4789
|
SRC
|
4698
4790
|
|
@@ -5121,9 +5213,9 @@ module OpenGLExt
|
|
5121
5213
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetInternalformatSampleivNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
5122
5214
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformatSampleivNV] = Fiddle::TYPE_VOID
|
5123
5215
|
OpenGL.module_eval(<<-SRC)
|
5124
|
-
def glGetInternalformatSampleivNV(_target_, _internalformat_, _samples_, _pname_,
|
5216
|
+
def glGetInternalformatSampleivNV(_target_, _internalformat_, _samples_, _pname_, _count_, _params_)
|
5125
5217
|
f = OpenGL::get_command(:glGetInternalformatSampleivNV)
|
5126
|
-
f.call(_target_, _internalformat_, _samples_, _pname_,
|
5218
|
+
f.call(_target_, _internalformat_, _samples_, _pname_, _count_, _params_)
|
5127
5219
|
end
|
5128
5220
|
SRC
|
5129
5221
|
end # self.define_ext_command_GL_NV_internalformat_sample_query
|
@@ -5827,9 +5919,9 @@ module OpenGLExt
|
|
5827
5919
|
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]
|
5828
5920
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetProgramResourcefvNV] = Fiddle::TYPE_VOID
|
5829
5921
|
OpenGL.module_eval(<<-SRC)
|
5830
|
-
def glGetProgramResourcefvNV(_program_, _programInterface_, _index_, _propCount_, _props_,
|
5922
|
+
def glGetProgramResourcefvNV(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
|
5831
5923
|
f = OpenGL::get_command(:glGetProgramResourcefvNV)
|
5832
|
-
f.call(_program_, _programInterface_, _index_, _propCount_, _props_,
|
5924
|
+
f.call(_program_, _programInterface_, _index_, _propCount_, _props_, _count_, _length_, _params_)
|
5833
5925
|
end
|
5834
5926
|
SRC
|
5835
5927
|
|
@@ -6358,6 +6450,15 @@ module OpenGLExt
|
|
6358
6450
|
end # self.get_ext_command_GL_NV_shader_noperspective_interpolation
|
6359
6451
|
|
6360
6452
|
|
6453
|
+
def self.define_ext_command_GL_NV_shader_subgroup_partitioned
|
6454
|
+
end # self.define_ext_command_GL_NV_shader_subgroup_partitioned
|
6455
|
+
|
6456
|
+
def self.get_ext_command_GL_NV_shader_subgroup_partitioned
|
6457
|
+
[
|
6458
|
+
]
|
6459
|
+
end # self.get_ext_command_GL_NV_shader_subgroup_partitioned
|
6460
|
+
|
6461
|
+
|
6361
6462
|
def self.define_ext_command_GL_NV_shader_texture_footprint
|
6362
6463
|
end # self.define_ext_command_GL_NV_shader_texture_footprint
|
6363
6464
|
|
@@ -7969,6 +8070,34 @@ module OpenGLExt
|
|
7969
8070
|
end # self.get_ext_command_GL_QCOM_framebuffer_foveated
|
7970
8071
|
|
7971
8072
|
|
8073
|
+
def self.define_ext_command_GL_QCOM_motion_estimation
|
8074
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexEstimateMotionQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
8075
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexEstimateMotionQCOM] = Fiddle::TYPE_VOID
|
8076
|
+
OpenGL.module_eval(<<-SRC)
|
8077
|
+
def glTexEstimateMotionQCOM(_ref_, _target_, _output_)
|
8078
|
+
f = OpenGL::get_command(:glTexEstimateMotionQCOM)
|
8079
|
+
f.call(_ref_, _target_, _output_)
|
8080
|
+
end
|
8081
|
+
SRC
|
8082
|
+
|
8083
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexEstimateMotionRegionsQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
8084
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexEstimateMotionRegionsQCOM] = Fiddle::TYPE_VOID
|
8085
|
+
OpenGL.module_eval(<<-SRC)
|
8086
|
+
def glTexEstimateMotionRegionsQCOM(_ref_, _target_, _output_, _mask_)
|
8087
|
+
f = OpenGL::get_command(:glTexEstimateMotionRegionsQCOM)
|
8088
|
+
f.call(_ref_, _target_, _output_, _mask_)
|
8089
|
+
end
|
8090
|
+
SRC
|
8091
|
+
end # self.define_ext_command_GL_QCOM_motion_estimation
|
8092
|
+
|
8093
|
+
def self.get_ext_command_GL_QCOM_motion_estimation
|
8094
|
+
[
|
8095
|
+
'glTexEstimateMotionQCOM',
|
8096
|
+
'glTexEstimateMotionRegionsQCOM',
|
8097
|
+
]
|
8098
|
+
end # self.get_ext_command_GL_QCOM_motion_estimation
|
8099
|
+
|
8100
|
+
|
7972
8101
|
def self.define_ext_command_GL_QCOM_texture_foveated
|
7973
8102
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureFoveationParametersQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
7974
8103
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureFoveationParametersQCOM] = Fiddle::TYPE_VOID
|
@@ -8032,6 +8161,24 @@ module OpenGLExt
|
|
8032
8161
|
end # self.get_ext_command_GL_QCOM_shader_framebuffer_fetch_rate
|
8033
8162
|
|
8034
8163
|
|
8164
|
+
def self.define_ext_command_GL_QCOM_shading_rate
|
8165
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateQCOM] = [-Fiddle::TYPE_INT]
|
8166
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateQCOM] = Fiddle::TYPE_VOID
|
8167
|
+
OpenGL.module_eval(<<-SRC)
|
8168
|
+
def glShadingRateQCOM(_rate_)
|
8169
|
+
f = OpenGL::get_command(:glShadingRateQCOM)
|
8170
|
+
f.call(_rate_)
|
8171
|
+
end
|
8172
|
+
SRC
|
8173
|
+
end # self.define_ext_command_GL_QCOM_shading_rate
|
8174
|
+
|
8175
|
+
def self.get_ext_command_GL_QCOM_shading_rate
|
8176
|
+
[
|
8177
|
+
'glShadingRateQCOM',
|
8178
|
+
]
|
8179
|
+
end # self.get_ext_command_GL_QCOM_shading_rate
|
8180
|
+
|
8181
|
+
|
8035
8182
|
def self.define_ext_command_GL_QCOM_tiled_rendering
|
8036
8183
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glStartTilingQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
8037
8184
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glStartTilingQCOM] = Fiddle::TYPE_VOID
|
@@ -8087,4 +8234,13 @@ module OpenGLExt
|
|
8087
8234
|
end # self.get_ext_command_GL_VIV_shader_binary
|
8088
8235
|
|
8089
8236
|
|
8237
|
+
def self.define_ext_command_GL_EXT_texture_shadow_lod
|
8238
|
+
end # self.define_ext_command_GL_EXT_texture_shadow_lod
|
8239
|
+
|
8240
|
+
def self.get_ext_command_GL_EXT_texture_shadow_lod
|
8241
|
+
[
|
8242
|
+
]
|
8243
|
+
end # self.get_ext_command_GL_EXT_texture_shadow_lod
|
8244
|
+
|
8245
|
+
|
8090
8246
|
end
|
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -454,6 +454,17 @@ module OpenGLExt
|
|
454
454
|
end # self.get_ext_enum_GL_ARM_shader_framebuffer_fetch_depth_stencil
|
455
455
|
|
456
456
|
|
457
|
+
def self.define_ext_enum_GL_ARM_texture_unnormalized_coordinates
|
458
|
+
OpenGL.const_set('GL_TEXTURE_UNNORMALIZED_COORDINATES_ARM', 0x8F6A) unless defined?(OpenGL::GL_TEXTURE_UNNORMALIZED_COORDINATES_ARM)
|
459
|
+
end # self.define_ext_enum_GL_ARM_texture_unnormalized_coordinates
|
460
|
+
|
461
|
+
def self.get_ext_enum_GL_ARM_texture_unnormalized_coordinates
|
462
|
+
[
|
463
|
+
'GL_TEXTURE_UNNORMALIZED_COORDINATES_ARM',
|
464
|
+
]
|
465
|
+
end # self.get_ext_enum_GL_ARM_texture_unnormalized_coordinates
|
466
|
+
|
467
|
+
|
457
468
|
def self.define_ext_enum_GL_DMP_program_binary
|
458
469
|
OpenGL.const_set('GL_SMAPHS30_PROGRAM_BINARY_DMP', 0x9251) unless defined?(OpenGL::GL_SMAPHS30_PROGRAM_BINARY_DMP)
|
459
470
|
OpenGL.const_set('GL_SMAPHS_PROGRAM_BINARY_DMP', 0x9252) unless defined?(OpenGL::GL_SMAPHS_PROGRAM_BINARY_DMP)
|
@@ -1231,6 +1242,33 @@ module OpenGLExt
|
|
1231
1242
|
end # self.get_ext_enum_GL_EXT_multiview_draw_buffers
|
1232
1243
|
|
1233
1244
|
|
1245
|
+
def self.define_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
|
1246
|
+
end # self.define_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
|
1247
|
+
|
1248
|
+
def self.get_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
|
1249
|
+
[
|
1250
|
+
]
|
1251
|
+
end # self.get_ext_enum_GL_EXT_multiview_tessellation_geometry_shader
|
1252
|
+
|
1253
|
+
|
1254
|
+
def self.define_ext_enum_GL_EXT_multiview_texture_multisample
|
1255
|
+
end # self.define_ext_enum_GL_EXT_multiview_texture_multisample
|
1256
|
+
|
1257
|
+
def self.get_ext_enum_GL_EXT_multiview_texture_multisample
|
1258
|
+
[
|
1259
|
+
]
|
1260
|
+
end # self.get_ext_enum_GL_EXT_multiview_texture_multisample
|
1261
|
+
|
1262
|
+
|
1263
|
+
def self.define_ext_enum_GL_EXT_multiview_timer_query
|
1264
|
+
end # self.define_ext_enum_GL_EXT_multiview_timer_query
|
1265
|
+
|
1266
|
+
def self.get_ext_enum_GL_EXT_multiview_timer_query
|
1267
|
+
[
|
1268
|
+
]
|
1269
|
+
end # self.get_ext_enum_GL_EXT_multiview_timer_query
|
1270
|
+
|
1271
|
+
|
1234
1272
|
def self.define_ext_enum_GL_EXT_occlusion_query_boolean
|
1235
1273
|
OpenGL.const_set('GL_ANY_SAMPLES_PASSED_EXT', 0x8C2F) unless defined?(OpenGL::GL_ANY_SAMPLES_PASSED_EXT)
|
1236
1274
|
OpenGL.const_set('GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT', 0x8D6A) unless defined?(OpenGL::GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT)
|
@@ -2767,6 +2805,39 @@ module OpenGLExt
|
|
2767
2805
|
end # self.get_ext_enum_GL_KHR_robustness
|
2768
2806
|
|
2769
2807
|
|
2808
|
+
def self.define_ext_enum_GL_KHR_shader_subgroup
|
2809
|
+
OpenGL.const_set('GL_SUBGROUP_SIZE_KHR', 0x9532) unless defined?(OpenGL::GL_SUBGROUP_SIZE_KHR)
|
2810
|
+
OpenGL.const_set('GL_SUBGROUP_SUPPORTED_STAGES_KHR', 0x9533) unless defined?(OpenGL::GL_SUBGROUP_SUPPORTED_STAGES_KHR)
|
2811
|
+
OpenGL.const_set('GL_SUBGROUP_SUPPORTED_FEATURES_KHR', 0x9534) unless defined?(OpenGL::GL_SUBGROUP_SUPPORTED_FEATURES_KHR)
|
2812
|
+
OpenGL.const_set('GL_SUBGROUP_QUAD_ALL_STAGES_KHR', 0x9535) unless defined?(OpenGL::GL_SUBGROUP_QUAD_ALL_STAGES_KHR)
|
2813
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_BASIC_BIT_KHR', 0x00000001) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_BASIC_BIT_KHR)
|
2814
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_VOTE_BIT_KHR', 0x00000002) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_VOTE_BIT_KHR)
|
2815
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR', 0x00000004) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR)
|
2816
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR', 0x00000008) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR)
|
2817
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR', 0x00000010) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR)
|
2818
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR', 0x00000020) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR)
|
2819
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR', 0x00000040) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR)
|
2820
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_QUAD_BIT_KHR', 0x00000080) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_QUAD_BIT_KHR)
|
2821
|
+
end # self.define_ext_enum_GL_KHR_shader_subgroup
|
2822
|
+
|
2823
|
+
def self.get_ext_enum_GL_KHR_shader_subgroup
|
2824
|
+
[
|
2825
|
+
'GL_SUBGROUP_SIZE_KHR',
|
2826
|
+
'GL_SUBGROUP_SUPPORTED_STAGES_KHR',
|
2827
|
+
'GL_SUBGROUP_SUPPORTED_FEATURES_KHR',
|
2828
|
+
'GL_SUBGROUP_QUAD_ALL_STAGES_KHR',
|
2829
|
+
'GL_SUBGROUP_FEATURE_BASIC_BIT_KHR',
|
2830
|
+
'GL_SUBGROUP_FEATURE_VOTE_BIT_KHR',
|
2831
|
+
'GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR',
|
2832
|
+
'GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR',
|
2833
|
+
'GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR',
|
2834
|
+
'GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR',
|
2835
|
+
'GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR',
|
2836
|
+
'GL_SUBGROUP_FEATURE_QUAD_BIT_KHR',
|
2837
|
+
]
|
2838
|
+
end # self.get_ext_enum_GL_KHR_shader_subgroup
|
2839
|
+
|
2840
|
+
|
2770
2841
|
def self.define_ext_enum_GL_KHR_texture_compression_astc_hdr
|
2771
2842
|
OpenGL.const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(OpenGL::GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
2772
2843
|
OpenGL.const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(OpenGL::GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
@@ -2919,6 +2990,17 @@ module OpenGLExt
|
|
2919
2990
|
end # self.get_ext_enum_GL_KHR_parallel_shader_compile
|
2920
2991
|
|
2921
2992
|
|
2993
|
+
def self.define_ext_enum_GL_MESA_framebuffer_flip_x
|
2994
|
+
OpenGL.const_set('GL_FRAMEBUFFER_FLIP_X_MESA', 0x8BBC) unless defined?(OpenGL::GL_FRAMEBUFFER_FLIP_X_MESA)
|
2995
|
+
end # self.define_ext_enum_GL_MESA_framebuffer_flip_x
|
2996
|
+
|
2997
|
+
def self.get_ext_enum_GL_MESA_framebuffer_flip_x
|
2998
|
+
[
|
2999
|
+
'GL_FRAMEBUFFER_FLIP_X_MESA',
|
3000
|
+
]
|
3001
|
+
end # self.get_ext_enum_GL_MESA_framebuffer_flip_x
|
3002
|
+
|
3003
|
+
|
2922
3004
|
def self.define_ext_enum_GL_MESA_framebuffer_flip_y
|
2923
3005
|
OpenGL.const_set('GL_FRAMEBUFFER_FLIP_Y_MESA', 0x8BBB) unless defined?(OpenGL::GL_FRAMEBUFFER_FLIP_Y_MESA)
|
2924
3006
|
end # self.define_ext_enum_GL_MESA_framebuffer_flip_y
|
@@ -2930,6 +3012,17 @@ module OpenGLExt
|
|
2930
3012
|
end # self.get_ext_enum_GL_MESA_framebuffer_flip_y
|
2931
3013
|
|
2932
3014
|
|
3015
|
+
def self.define_ext_enum_GL_MESA_framebuffer_swap_xy
|
3016
|
+
OpenGL.const_set('GL_FRAMEBUFFER_SWAP_XY_MESA', 0x8BBD) unless defined?(OpenGL::GL_FRAMEBUFFER_SWAP_XY_MESA)
|
3017
|
+
end # self.define_ext_enum_GL_MESA_framebuffer_swap_xy
|
3018
|
+
|
3019
|
+
def self.get_ext_enum_GL_MESA_framebuffer_swap_xy
|
3020
|
+
[
|
3021
|
+
'GL_FRAMEBUFFER_SWAP_XY_MESA',
|
3022
|
+
]
|
3023
|
+
end # self.get_ext_enum_GL_MESA_framebuffer_swap_xy
|
3024
|
+
|
3025
|
+
|
2933
3026
|
def self.define_ext_enum_GL_MESA_program_binary_formats
|
2934
3027
|
OpenGL.const_set('GL_PROGRAM_BINARY_FORMAT_MESA', 0x875F) unless defined?(OpenGL::GL_PROGRAM_BINARY_FORMAT_MESA)
|
2935
3028
|
end # self.define_ext_enum_GL_MESA_program_binary_formats
|
@@ -4330,6 +4423,17 @@ module OpenGLExt
|
|
4330
4423
|
end # self.get_ext_enum_GL_NV_shader_noperspective_interpolation
|
4331
4424
|
|
4332
4425
|
|
4426
|
+
def self.define_ext_enum_GL_NV_shader_subgroup_partitioned
|
4427
|
+
OpenGL.const_set('GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV', 0x00000100) unless defined?(OpenGL::GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV)
|
4428
|
+
end # self.define_ext_enum_GL_NV_shader_subgroup_partitioned
|
4429
|
+
|
4430
|
+
def self.get_ext_enum_GL_NV_shader_subgroup_partitioned
|
4431
|
+
[
|
4432
|
+
'GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV',
|
4433
|
+
]
|
4434
|
+
end # self.get_ext_enum_GL_NV_shader_subgroup_partitioned
|
4435
|
+
|
4436
|
+
|
4333
4437
|
def self.define_ext_enum_GL_NV_shader_texture_footprint
|
4334
4438
|
end # self.define_ext_enum_GL_NV_shader_texture_footprint
|
4335
4439
|
|
@@ -5658,6 +5762,21 @@ module OpenGLExt
|
|
5658
5762
|
end # self.get_ext_enum_GL_QCOM_framebuffer_foveated
|
5659
5763
|
|
5660
5764
|
|
5765
|
+
def self.define_ext_enum_GL_QCOM_motion_estimation
|
5766
|
+
OpenGL.const_set('GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM', 0x8C90) unless defined?(OpenGL::GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM)
|
5767
|
+
OpenGL.const_set('GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM', 0x8C91) unless defined?(OpenGL::GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM)
|
5768
|
+
OpenGL.const_set('GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM', 0x00000002) unless defined?(OpenGL::GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM)
|
5769
|
+
end # self.define_ext_enum_GL_QCOM_motion_estimation
|
5770
|
+
|
5771
|
+
def self.get_ext_enum_GL_QCOM_motion_estimation
|
5772
|
+
[
|
5773
|
+
'GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM',
|
5774
|
+
'GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM',
|
5775
|
+
'GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM',
|
5776
|
+
]
|
5777
|
+
end # self.get_ext_enum_GL_QCOM_motion_estimation
|
5778
|
+
|
5779
|
+
|
5661
5780
|
def self.define_ext_enum_GL_QCOM_texture_foveated
|
5662
5781
|
OpenGL.const_set('GL_FOVEATION_ENABLE_BIT_QCOM', 0x00000001) unless defined?(OpenGL::GL_FOVEATION_ENABLE_BIT_QCOM)
|
5663
5782
|
OpenGL.const_set('GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM', 0x00000002) unless defined?(OpenGL::GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM)
|
@@ -5725,6 +5844,31 @@ module OpenGLExt
|
|
5725
5844
|
end # self.get_ext_enum_GL_QCOM_shader_framebuffer_fetch_rate
|
5726
5845
|
|
5727
5846
|
|
5847
|
+
def self.define_ext_enum_GL_QCOM_shading_rate
|
5848
|
+
OpenGL.const_set('GL_SHADING_RATE_QCOM', 0x96A4) unless defined?(OpenGL::GL_SHADING_RATE_QCOM)
|
5849
|
+
OpenGL.const_set('GL_SHADING_RATE_PRESERVE_ASPECT_RATIO_QCOM', 0x96A5) unless defined?(OpenGL::GL_SHADING_RATE_PRESERVE_ASPECT_RATIO_QCOM)
|
5850
|
+
OpenGL.const_set('GL_SHADING_RATE_1X1_PIXELS_QCOM', 0x96A6) unless defined?(OpenGL::GL_SHADING_RATE_1X1_PIXELS_QCOM)
|
5851
|
+
OpenGL.const_set('GL_SHADING_RATE_1X2_PIXELS_QCOM', 0x96A7) unless defined?(OpenGL::GL_SHADING_RATE_1X2_PIXELS_QCOM)
|
5852
|
+
OpenGL.const_set('GL_SHADING_RATE_2X1_PIXELS_QCOM', 0x96A8) unless defined?(OpenGL::GL_SHADING_RATE_2X1_PIXELS_QCOM)
|
5853
|
+
OpenGL.const_set('GL_SHADING_RATE_2X2_PIXELS_QCOM', 0x96A9) unless defined?(OpenGL::GL_SHADING_RATE_2X2_PIXELS_QCOM)
|
5854
|
+
OpenGL.const_set('GL_SHADING_RATE_4X2_PIXELS_QCOM', 0x96AC) unless defined?(OpenGL::GL_SHADING_RATE_4X2_PIXELS_QCOM)
|
5855
|
+
OpenGL.const_set('GL_SHADING_RATE_4X4_PIXELS_QCOM', 0x96AE) unless defined?(OpenGL::GL_SHADING_RATE_4X4_PIXELS_QCOM)
|
5856
|
+
end # self.define_ext_enum_GL_QCOM_shading_rate
|
5857
|
+
|
5858
|
+
def self.get_ext_enum_GL_QCOM_shading_rate
|
5859
|
+
[
|
5860
|
+
'GL_SHADING_RATE_QCOM',
|
5861
|
+
'GL_SHADING_RATE_PRESERVE_ASPECT_RATIO_QCOM',
|
5862
|
+
'GL_SHADING_RATE_1X1_PIXELS_QCOM',
|
5863
|
+
'GL_SHADING_RATE_1X2_PIXELS_QCOM',
|
5864
|
+
'GL_SHADING_RATE_2X1_PIXELS_QCOM',
|
5865
|
+
'GL_SHADING_RATE_2X2_PIXELS_QCOM',
|
5866
|
+
'GL_SHADING_RATE_4X2_PIXELS_QCOM',
|
5867
|
+
'GL_SHADING_RATE_4X4_PIXELS_QCOM',
|
5868
|
+
]
|
5869
|
+
end # self.get_ext_enum_GL_QCOM_shading_rate
|
5870
|
+
|
5871
|
+
|
5728
5872
|
def self.define_ext_enum_GL_QCOM_tiled_rendering
|
5729
5873
|
OpenGL.const_set('GL_COLOR_BUFFER_BIT0_QCOM', 0x00000001) unless defined?(OpenGL::GL_COLOR_BUFFER_BIT0_QCOM)
|
5730
5874
|
OpenGL.const_set('GL_COLOR_BUFFER_BIT1_QCOM', 0x00000002) unless defined?(OpenGL::GL_COLOR_BUFFER_BIT1_QCOM)
|
@@ -5829,4 +5973,13 @@ module OpenGLExt
|
|
5829
5973
|
end # self.get_ext_enum_GL_VIV_shader_binary
|
5830
5974
|
|
5831
5975
|
|
5976
|
+
def self.define_ext_enum_GL_EXT_texture_shadow_lod
|
5977
|
+
end # self.define_ext_enum_GL_EXT_texture_shadow_lod
|
5978
|
+
|
5979
|
+
def self.get_ext_enum_GL_EXT_texture_shadow_lod
|
5980
|
+
[
|
5981
|
+
]
|
5982
|
+
end # self.get_ext_enum_GL_EXT_texture_shadow_lod
|
5983
|
+
|
5984
|
+
|
5832
5985
|
end
|