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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4408923c78cdc0139820ede7899e9f923253641d7105d7ad06ba557a7b3d3aef
4
- data.tar.gz: 9b29dbb86c6985a96571562dba440d105ff37c329b1a96d72a5e7715b2b60f6a
3
+ metadata.gz: 1f41e07b496a8a10bd17eea4eb5be05a75dfe28849d7983e69f270f53fb23de0
4
+ data.tar.gz: b865df54646232987eccb64f2e9f2e3410e008101262a115f4329a946e8d9cfd
5
5
  SHA512:
6
- metadata.gz: 8ca4dd4ff54cea91df7a6113d63dcddcb8d269415cfb181b2113f30f01eeedeec57e8e7bd7245c74dae63eed4e4c9565ed68fc0ceb1756966dbdf87d2a17e112
7
- data.tar.gz: 4b2fa4257cc390205d8d5463a9d14628599f3dbf6c23714d793713ffd2ec69275d54d39a9855752dd271f3224dd48d6f00917efaa2392c0c4b29f9b5a2768411
6
+ metadata.gz: 1ce523bc08d657989dbf593de568030c7686d13b29dc796bd9768ad534814b2e7115badcb54c5b46307a860917e1ee4a8e23e6bef0cd492d17f12388fade43e5
7
+ data.tar.gz: 4bcab8d84d93ade07937e2f901a5a2207f824257dbe2e7f780fc012a2ada4bdd70f7f9f6b13467b4c89c9d8524828f74a43728dd6b8d345cc40e38010d578b7e
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2018-02-15 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Fix NoMethodError when calling wglGetProcAddress ( Thanks: https://github.com/larskanis )
4
+
1
5
  2018-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
2
6
 
3
7
  * Updated using latest gl.xml.
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ...and wrapper code generator.
6
6
 
7
7
  * Created : 2013-08-28
8
- * Last modified : 2018-01-01
8
+ * Last modified : 2018-02-15
9
9
 
10
10
 
11
11
  ## Features ##
@@ -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
 
@@ -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('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(OpenGL::GL_RASTER_MULTISAMPLE_EXT)
1939
- OpenGL.const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(OpenGL::GL_RASTER_SAMPLES_EXT)
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
- 'GL_RASTER_MULTISAMPLE_EXT',
1949
- 'GL_RASTER_SAMPLES_EXT',
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
 
@@ -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
 
@@ -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('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(OpenGL::GL_RASTER_MULTISAMPLE_EXT)
7650
- OpenGL.const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(OpenGL::GL_RASTER_SAMPLES_EXT)
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
- 'GL_RASTER_MULTISAMPLE_EXT',
7660
- 'GL_RASTER_SAMPLES_EXT',
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
 
@@ -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.5
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-01-01 00:00:00.000000000 Z
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.