opengl-bindings 1.2.2 → 1.2.3

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
  SHA1:
3
- metadata.gz: 2d859718ed8f6ade732fae66f2d3c1dbfee15c2d
4
- data.tar.gz: 8f7cda9742fc340c11334026f5ace952548f0d4f
3
+ metadata.gz: c7ab4d5a270eca40fba926f554f5ef01a38fd835
4
+ data.tar.gz: d62ad050f5fb065d498ae824fc9e98a299ce5b3d
5
5
  SHA512:
6
- metadata.gz: 3488767d45d010c57b55839e95becb81a6fdaf3c8158856f45ac22628691c415b2d6757e0e661cbc2cfd192de5e7d6b79c506ac53a740a78a829f1d3e2a92157
7
- data.tar.gz: 849de0186d2fb4fcceb9184a11ee06236829108efbf9ff73753066dcfb2bb05f4721e4eda774591c072ac9568b2612a976ec5d1e6109674a175247c60d5a1cc9
6
+ metadata.gz: d8f289e47301bc911bf7a925d23e6793e82fb52d219c5233848b384eeda89826ce33073ae9738bca5e06d6d8f6916b67cc1595f7a2c7a725c885bf3e31084091
7
+ data.tar.gz: 1aca45de73c64301d325bada99eec3cc8933b65f6fe4945eb3b90954369923a9aacc5c9e36270388615de5dd40ae9142b55d23ffee867102dbb6605c9906862f
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2013-10-05 vaiorabbit <https://twitter.com/vaiorabbit>
2
+
3
+ * opengl_command.rb, opengl_ext_command.rb, opengl_ext_enum.rb: Updated using latest gl.xml.
4
+
1
5
  2013-09-21 vaiorabbit <https://twitter.com/vaiorabbit>
2
6
 
3
7
  * glut.rb: Minimal GLUT wrapper.
data/LICENSE.txt CHANGED
File without changes
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 : 2013-09-21
8
+ * Last modified : 2013-10-05
9
9
 
10
10
 
11
11
  ## Features ##
data/lib/glfw.rb CHANGED
File without changes
data/lib/glu.rb CHANGED
File without changes
data/lib/glut.rb CHANGED
File without changes
data/lib/opengl.rb CHANGED
File without changes
@@ -4642,14 +4642,14 @@ module OpenGL
4642
4642
  f.call(_target_, _attachment_, _texture_, _level_)
4643
4643
  end
4644
4644
 
4645
- GL_FUNCTIONS_ARGS_MAP[:glTexImage2DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4645
+ GL_FUNCTIONS_ARGS_MAP[:glTexImage2DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4646
4646
  GL_FUNCTIONS_RETVAL_MAP[:glTexImage2DMultisample] = Fiddle::TYPE_VOID
4647
4647
  def glTexImage2DMultisample(_target_, _samples_, _internalformat_, _width_, _height_, _fixedsamplelocations_)
4648
4648
  f = OpenGL::get_command(:glTexImage2DMultisample)
4649
4649
  f.call(_target_, _samples_, _internalformat_, _width_, _height_, _fixedsamplelocations_)
4650
4650
  end
4651
4651
 
4652
- GL_FUNCTIONS_ARGS_MAP[:glTexImage3DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4652
+ GL_FUNCTIONS_ARGS_MAP[:glTexImage3DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4653
4653
  GL_FUNCTIONS_RETVAL_MAP[:glTexImage3DMultisample] = Fiddle::TYPE_VOID
4654
4654
  def glTexImage3DMultisample(_target_, _samples_, _internalformat_, _width_, _height_, _depth_, _fixedsamplelocations_)
4655
4655
  f = OpenGL::get_command(:glTexImage3DMultisample)
data/lib/opengl_common.rb CHANGED
File without changes
@@ -4625,7 +4625,7 @@ module OpenGL
4625
4625
  end # define_command_GL_ARB_texture_mirrored_repeat
4626
4626
 
4627
4627
  def define_command_GL_ARB_texture_multisample
4628
- GL_FUNCTIONS_ARGS_MAP[:glTexImage2DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4628
+ GL_FUNCTIONS_ARGS_MAP[:glTexImage2DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4629
4629
  GL_FUNCTIONS_RETVAL_MAP[:glTexImage2DMultisample] = Fiddle::TYPE_VOID
4630
4630
  module_eval(<<-SRC_GL_ARB_texture_multisample)
4631
4631
  def glTexImage2DMultisample(_target_, _samples_, _internalformat_, _width_, _height_, _fixedsamplelocations_)
@@ -4634,7 +4634,7 @@ module OpenGL
4634
4634
  end
4635
4635
  SRC_GL_ARB_texture_multisample
4636
4636
 
4637
- GL_FUNCTIONS_ARGS_MAP[:glTexImage3DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4637
+ GL_FUNCTIONS_ARGS_MAP[:glTexImage3DMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
4638
4638
  GL_FUNCTIONS_RETVAL_MAP[:glTexImage3DMultisample] = Fiddle::TYPE_VOID
4639
4639
  module_eval(<<-SRC_GL_ARB_texture_multisample)
4640
4640
  def glTexImage3DMultisample(_target_, _samples_, _internalformat_, _width_, _height_, _depth_, _fixedsamplelocations_)
@@ -12000,6 +12000,9 @@ module OpenGL
12000
12000
  SRC_GL_EXT_shader_image_load_store
12001
12001
  end # define_command_GL_EXT_shader_image_load_store
12002
12002
 
12003
+ def define_command_GL_EXT_shader_integer_mix
12004
+ end # define_command_GL_EXT_shader_integer_mix
12005
+
12003
12006
  def define_command_GL_EXT_shadow_funcs
12004
12007
  end # define_command_GL_EXT_shadow_funcs
12005
12008
 
@@ -13424,6 +13427,9 @@ module OpenGL
13424
13427
  SRC_GL_KHR_debug
13425
13428
  end # define_command_GL_KHR_debug
13426
13429
 
13430
+ def define_command_GL_KHR_texture_compression_astc_hdr
13431
+ end # define_command_GL_KHR_texture_compression_astc_hdr
13432
+
13427
13433
  def define_command_GL_KHR_texture_compression_astc_ldr
13428
13434
  end # define_command_GL_KHR_texture_compression_astc_ldr
13429
13435
 
@@ -2822,6 +2822,9 @@ module OpenGL
2822
2822
  const_set('GL_ALL_BARRIER_BITS_EXT', 0xFFFFFFFF) unless defined?(GL_ALL_BARRIER_BITS_EXT)
2823
2823
  end # define_enum_GL_EXT_shader_image_load_store
2824
2824
 
2825
+ def define_enum_GL_EXT_shader_integer_mix
2826
+ end # define_enum_GL_EXT_shader_integer_mix
2827
+
2825
2828
  def define_enum_GL_EXT_shadow_funcs
2826
2829
  end # define_enum_GL_EXT_shadow_funcs
2827
2830
 
@@ -3547,6 +3550,37 @@ module OpenGL
3547
3550
  const_set('GL_DISPLAY_LIST', 0x82E7) unless defined?(GL_DISPLAY_LIST)
3548
3551
  end # define_enum_GL_KHR_debug
3549
3552
 
3553
+ def define_enum_GL_KHR_texture_compression_astc_hdr
3554
+ const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
3555
+ const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
3556
+ const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
3557
+ const_set('GL_COMPRESSED_RGBA_ASTC_6x5_KHR', 0x93B3) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x5_KHR)
3558
+ const_set('GL_COMPRESSED_RGBA_ASTC_6x6_KHR', 0x93B4) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x6_KHR)
3559
+ const_set('GL_COMPRESSED_RGBA_ASTC_8x5_KHR', 0x93B5) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x5_KHR)
3560
+ const_set('GL_COMPRESSED_RGBA_ASTC_8x6_KHR', 0x93B6) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x6_KHR)
3561
+ const_set('GL_COMPRESSED_RGBA_ASTC_8x8_KHR', 0x93B7) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x8_KHR)
3562
+ const_set('GL_COMPRESSED_RGBA_ASTC_10x5_KHR', 0x93B8) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x5_KHR)
3563
+ const_set('GL_COMPRESSED_RGBA_ASTC_10x6_KHR', 0x93B9) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x6_KHR)
3564
+ const_set('GL_COMPRESSED_RGBA_ASTC_10x8_KHR', 0x93BA) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x8_KHR)
3565
+ const_set('GL_COMPRESSED_RGBA_ASTC_10x10_KHR', 0x93BB) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x10_KHR)
3566
+ const_set('GL_COMPRESSED_RGBA_ASTC_12x10_KHR', 0x93BC) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x10_KHR)
3567
+ const_set('GL_COMPRESSED_RGBA_ASTC_12x12_KHR', 0x93BD) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x12_KHR)
3568
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 0x93D0) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR)
3569
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 0x93D1) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR)
3570
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 0x93D2) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR)
3571
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 0x93D3) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR)
3572
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 0x93D4) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR)
3573
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 0x93D5) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR)
3574
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 0x93D6) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR)
3575
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR', 0x93D7) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR)
3576
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 0x93D8) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR)
3577
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 0x93D9) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR)
3578
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 0x93DA) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR)
3579
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 0x93DB) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR)
3580
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 0x93DC) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR)
3581
+ const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 0x93DD) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR)
3582
+ end # define_enum_GL_KHR_texture_compression_astc_hdr
3583
+
3550
3584
  def define_enum_GL_KHR_texture_compression_astc_ldr
3551
3585
  const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
3552
3586
  const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
File without changes
File without changes
data/sample/README.md CHANGED
File without changes
File without changes
data/sample/report_env.rb CHANGED
File without changes
data/sample/simple.rb CHANGED
File without changes
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.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-21 00:00:00.000000000 Z
11
+ date: 2013-10-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Ruby bindings for OpenGL 1.0-4.4 and all extensions using Fiddle (For MRI >= 2.0.0).