opengl-bindings 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README.md +1 -1
- data/lib/opengl_es_ext_command.rb +0 -9
- data/lib/opengl_es_ext_enum.rb +4 -12
- data/lib/opengl_ext_command.rb +9 -9
- data/lib/opengl_ext_enum.rb +13 -12
- data/lib/opengl_windows.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f41e07b496a8a10bd17eea4eb5be05a75dfe28849d7983e69f270f53fb23de0
|
4
|
+
data.tar.gz: b865df54646232987eccb64f2e9f2e3410e008101262a115f4329a946e8d9cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ce523bc08d657989dbf593de568030c7686d13b29dc796bd9768ad534814b2e7115badcb54c5b46307a860917e1ee4a8e23e6bef0cd492d17f12388fade43e5
|
7
|
+
data.tar.gz: 4bcab8d84d93ade07937e2f901a5a2207f824257dbe2e7f780fc012a2ada4bdd70f7f9f6b13467b4c89c9d8524828f74a43728dd6b8d345cc40e38010d578b7e
|
data/ChangeLog
CHANGED
data/README.md
CHANGED
@@ -2942,19 +2942,10 @@ module OpenGLExt
|
|
2942
2942
|
|
2943
2943
|
|
2944
2944
|
def self.define_ext_command_GL_EXT_texture_filter_minmax
|
2945
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
|
2946
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
|
2947
|
-
OpenGL.module_eval(<<-SRC)
|
2948
|
-
def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
|
2949
|
-
f = OpenGL::get_command(:glRasterSamplesEXT)
|
2950
|
-
f.call(_samples_, _fixedsamplelocations_)
|
2951
|
-
end
|
2952
|
-
SRC
|
2953
2945
|
end # self.define_ext_command_GL_EXT_texture_filter_minmax
|
2954
2946
|
|
2955
2947
|
def self.get_ext_command_GL_EXT_texture_filter_minmax
|
2956
2948
|
[
|
2957
|
-
'glRasterSamplesEXT',
|
2958
2949
|
]
|
2959
2950
|
end # self.get_ext_command_GL_EXT_texture_filter_minmax
|
2960
2951
|
|
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -1935,22 +1935,14 @@ module OpenGLExt
|
|
1935
1935
|
|
1936
1936
|
|
1937
1937
|
def self.define_ext_enum_GL_EXT_texture_filter_minmax
|
1938
|
-
OpenGL.const_set('
|
1939
|
-
OpenGL.const_set('
|
1940
|
-
OpenGL.const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(OpenGL::GL_MAX_RASTER_SAMPLES_EXT)
|
1941
|
-
OpenGL.const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(OpenGL::GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
|
1942
|
-
OpenGL.const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(OpenGL::GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
|
1943
|
-
OpenGL.const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(OpenGL::GL_EFFECTIVE_RASTER_SAMPLES_EXT)
|
1938
|
+
OpenGL.const_set('GL_TEXTURE_REDUCTION_MODE_EXT', 0x9366) unless defined?(OpenGL::GL_TEXTURE_REDUCTION_MODE_EXT)
|
1939
|
+
OpenGL.const_set('GL_WEIGHTED_AVERAGE_EXT', 0x9367) unless defined?(OpenGL::GL_WEIGHTED_AVERAGE_EXT)
|
1944
1940
|
end # self.define_ext_enum_GL_EXT_texture_filter_minmax
|
1945
1941
|
|
1946
1942
|
def self.get_ext_enum_GL_EXT_texture_filter_minmax
|
1947
1943
|
[
|
1948
|
-
'
|
1949
|
-
'
|
1950
|
-
'GL_MAX_RASTER_SAMPLES_EXT',
|
1951
|
-
'GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT',
|
1952
|
-
'GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT',
|
1953
|
-
'GL_EFFECTIVE_RASTER_SAMPLES_EXT',
|
1944
|
+
'GL_TEXTURE_REDUCTION_MODE_EXT',
|
1945
|
+
'GL_WEIGHTED_AVERAGE_EXT',
|
1954
1946
|
]
|
1955
1947
|
end # self.get_ext_enum_GL_EXT_texture_filter_minmax
|
1956
1948
|
|
data/lib/opengl_ext_command.rb
CHANGED
@@ -873,6 +873,15 @@ module OpenGLExt
|
|
873
873
|
end # self.get_ext_command_GL_AMD_shader_ballot
|
874
874
|
|
875
875
|
|
876
|
+
def self.define_ext_command_GL_AMD_shader_gpu_shader_half_float_fetch
|
877
|
+
end # self.define_ext_command_GL_AMD_shader_gpu_shader_half_float_fetch
|
878
|
+
|
879
|
+
def self.get_ext_command_GL_AMD_shader_gpu_shader_half_float_fetch
|
880
|
+
[
|
881
|
+
]
|
882
|
+
end # self.get_ext_command_GL_AMD_shader_gpu_shader_half_float_fetch
|
883
|
+
|
884
|
+
|
876
885
|
def self.define_ext_command_GL_AMD_shader_image_load_store_lod
|
877
886
|
end # self.define_ext_command_GL_AMD_shader_image_load_store_lod
|
878
887
|
|
@@ -17845,19 +17854,10 @@ module OpenGLExt
|
|
17845
17854
|
|
17846
17855
|
|
17847
17856
|
def self.define_ext_command_GL_EXT_texture_filter_minmax
|
17848
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
|
17849
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
|
17850
|
-
OpenGL.module_eval(<<-SRC)
|
17851
|
-
def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
|
17852
|
-
f = OpenGL::get_command(:glRasterSamplesEXT)
|
17853
|
-
f.call(_samples_, _fixedsamplelocations_)
|
17854
|
-
end
|
17855
|
-
SRC
|
17856
17857
|
end # self.define_ext_command_GL_EXT_texture_filter_minmax
|
17857
17858
|
|
17858
17859
|
def self.get_ext_command_GL_EXT_texture_filter_minmax
|
17859
17860
|
[
|
17860
|
-
'glRasterSamplesEXT',
|
17861
17861
|
]
|
17862
17862
|
end # self.get_ext_command_GL_EXT_texture_filter_minmax
|
17863
17863
|
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -426,6 +426,15 @@ module OpenGLExt
|
|
426
426
|
end # self.get_ext_enum_GL_AMD_shader_ballot
|
427
427
|
|
428
428
|
|
429
|
+
def self.define_ext_enum_GL_AMD_shader_gpu_shader_half_float_fetch
|
430
|
+
end # self.define_ext_enum_GL_AMD_shader_gpu_shader_half_float_fetch
|
431
|
+
|
432
|
+
def self.get_ext_enum_GL_AMD_shader_gpu_shader_half_float_fetch
|
433
|
+
[
|
434
|
+
]
|
435
|
+
end # self.get_ext_enum_GL_AMD_shader_gpu_shader_half_float_fetch
|
436
|
+
|
437
|
+
|
429
438
|
def self.define_ext_enum_GL_AMD_shader_image_load_store_lod
|
430
439
|
end # self.define_ext_enum_GL_AMD_shader_image_load_store_lod
|
431
440
|
|
@@ -7646,22 +7655,14 @@ module OpenGLExt
|
|
7646
7655
|
|
7647
7656
|
|
7648
7657
|
def self.define_ext_enum_GL_EXT_texture_filter_minmax
|
7649
|
-
OpenGL.const_set('
|
7650
|
-
OpenGL.const_set('
|
7651
|
-
OpenGL.const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(OpenGL::GL_MAX_RASTER_SAMPLES_EXT)
|
7652
|
-
OpenGL.const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(OpenGL::GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
|
7653
|
-
OpenGL.const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(OpenGL::GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
|
7654
|
-
OpenGL.const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(OpenGL::GL_EFFECTIVE_RASTER_SAMPLES_EXT)
|
7658
|
+
OpenGL.const_set('GL_TEXTURE_REDUCTION_MODE_EXT', 0x9366) unless defined?(OpenGL::GL_TEXTURE_REDUCTION_MODE_EXT)
|
7659
|
+
OpenGL.const_set('GL_WEIGHTED_AVERAGE_EXT', 0x9367) unless defined?(OpenGL::GL_WEIGHTED_AVERAGE_EXT)
|
7655
7660
|
end # self.define_ext_enum_GL_EXT_texture_filter_minmax
|
7656
7661
|
|
7657
7662
|
def self.get_ext_enum_GL_EXT_texture_filter_minmax
|
7658
7663
|
[
|
7659
|
-
'
|
7660
|
-
'
|
7661
|
-
'GL_MAX_RASTER_SAMPLES_EXT',
|
7662
|
-
'GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT',
|
7663
|
-
'GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT',
|
7664
|
-
'GL_EFFECTIVE_RASTER_SAMPLES_EXT',
|
7664
|
+
'GL_TEXTURE_REDUCTION_MODE_EXT',
|
7665
|
+
'GL_WEIGHTED_AVERAGE_EXT',
|
7665
7666
|
]
|
7666
7667
|
end # self.get_ext_enum_GL_EXT_texture_filter_minmax
|
7667
7668
|
|
data/lib/opengl_windows.rb
CHANGED
@@ -23,7 +23,7 @@ module OpenGL
|
|
23
23
|
WGL_FUNCTIONS_ARGS_MAP[:wglGetProcAddress] = [Fiddle::TYPE_VOIDP]
|
24
24
|
WGL_FUNCTIONS_RETVAL_MAP[:wglGetProcAddress] = Fiddle::TYPE_VOIDP
|
25
25
|
|
26
|
-
def wglGetProcAddress(_lpszProc_)
|
26
|
+
def self.wglGetProcAddress(_lpszProc_)
|
27
27
|
f = OpenGL::get_wgl_command(:wglGetProcAddress)
|
28
28
|
f.call(_lpszProc_)
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Ruby bindings for OpenGL - 4.6, OpenGL ES - 3.2 and all extensions using
|
14
14
|
Fiddle (For MRI >= 2.0.0). GLFW/GLUT/GLU bindings are also available.
|