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 +4 -4
- data/ChangeLog +4 -0
- data/LICENSE.txt +0 -0
- data/README.md +1 -1
- data/lib/glfw.rb +0 -0
- data/lib/glu.rb +0 -0
- data/lib/glut.rb +0 -0
- data/lib/opengl.rb +0 -0
- data/lib/opengl_command.rb +2 -2
- data/lib/opengl_common.rb +0 -0
- data/lib/opengl_ext_command.rb +8 -2
- data/lib/opengl_ext_enum.rb +34 -0
- data/lib/opengl_platform.rb +0 -0
- data/lib/opengl_windows.rb +0 -0
- data/sample/README.md +0 -0
- data/sample/glfw_build_dylib.sh +0 -0
- data/sample/report_env.rb +0 -0
- data/sample/simple.rb +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7ab4d5a270eca40fba926f554f5ef01a38fd835
|
4
|
+
data.tar.gz: d62ad050f5fb065d498ae824fc9e98a299ce5b3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f289e47301bc911bf7a925d23e6793e82fb52d219c5233848b384eeda89826ce33073ae9738bca5e06d6d8f6916b67cc1595f7a2c7a725c885bf3e31084091
|
7
|
+
data.tar.gz: 1aca45de73c64301d325bada99eec3cc8933b65f6fe4945eb3b90954369923a9aacc5c9e36270388615de5dd40ae9142b55d23ffee867102dbb6605c9906862f
|
data/ChangeLog
CHANGED
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
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
|
data/lib/opengl_command.rb
CHANGED
@@ -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
|
data/lib/opengl_ext_command.rb
CHANGED
@@ -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
|
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -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)
|
data/lib/opengl_platform.rb
CHANGED
File without changes
|
data/lib/opengl_windows.rb
CHANGED
File without changes
|
data/sample/README.md
CHANGED
File without changes
|
data/sample/glfw_build_dylib.sh
CHANGED
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.
|
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-
|
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).
|