opengl-bindings 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ChangeLog +4 -0
- data/README.md +1 -1
- data/lib/opengl_enum.rb +2 -2
- data/lib/opengl_ext_enum.rb +11 -7
- data/sample/glfw_build_dylib.sh +3 -3
- metadata +9 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4ddc4180b77f1462a9332d837f6407f64d8b2ae2
|
4
|
+
data.tar.gz: a031f8fcd1fb28f05f26ec84442aac439168f379
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 46d5d104ad614132980dff88cc387d6697b66df278f92d21c4ec768f27e14eab8c83e9b621236f7ac880888d472b627d79dc187f0327ac8d0d99ccb29b20daeb
|
7
|
+
data.tar.gz: 734edfebe89c53b3a381db9ba5dffcedfb3230ed9f5d1b11d0ae4bfc5375e3c81b29813af44970c765de4878375db095238ccd22807a3d4d96ff419ee4586e41
|
data/ChangeLog
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
2013-10-19 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-10-06 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
6
|
|
3
7
|
* opengl_ext.rb (OpenGL.check_extension): Now compatible with OpenGL 3.0 and later (glGetString(GL_EXTENSIONS) was deprecated).
|
data/README.md
CHANGED
data/lib/opengl_enum.rb
CHANGED
@@ -1475,10 +1475,10 @@ module OpenGL
|
|
1475
1475
|
GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS = 0x8264
|
1476
1476
|
GL_MAX_COMPUTE_ATOMIC_COUNTERS = 0x8265
|
1477
1477
|
GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS = 0x8266
|
1478
|
-
|
1478
|
+
GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS = 0x90EB
|
1479
1479
|
GL_MAX_COMPUTE_WORK_GROUP_COUNT = 0x91BE
|
1480
1480
|
GL_MAX_COMPUTE_WORK_GROUP_SIZE = 0x91BF
|
1481
|
-
|
1481
|
+
GL_COMPUTE_WORK_GROUP_SIZE = 0x8267
|
1482
1482
|
GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER = 0x90EC
|
1483
1483
|
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER = 0x90ED
|
1484
1484
|
GL_DISPATCH_INDIRECT_BUFFER = 0x90EE
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -376,10 +376,10 @@ module OpenGL
|
|
376
376
|
const_set('GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS', 0x8264) unless defined?(GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS)
|
377
377
|
const_set('GL_MAX_COMPUTE_ATOMIC_COUNTERS', 0x8265) unless defined?(GL_MAX_COMPUTE_ATOMIC_COUNTERS)
|
378
378
|
const_set('GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS', 0x8266) unless defined?(GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS)
|
379
|
-
const_set('
|
379
|
+
const_set('GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS', 0x90EB) unless defined?(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS)
|
380
380
|
const_set('GL_MAX_COMPUTE_WORK_GROUP_COUNT', 0x91BE) unless defined?(GL_MAX_COMPUTE_WORK_GROUP_COUNT)
|
381
381
|
const_set('GL_MAX_COMPUTE_WORK_GROUP_SIZE', 0x91BF) unless defined?(GL_MAX_COMPUTE_WORK_GROUP_SIZE)
|
382
|
-
const_set('
|
382
|
+
const_set('GL_COMPUTE_WORK_GROUP_SIZE', 0x8267) unless defined?(GL_COMPUTE_WORK_GROUP_SIZE)
|
383
383
|
const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER', 0x90EC) unless defined?(GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER)
|
384
384
|
const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER', 0x90ED) unless defined?(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER)
|
385
385
|
const_set('GL_DISPATCH_INDIRECT_BUFFER', 0x90EE) unless defined?(GL_DISPATCH_INDIRECT_BUFFER)
|
@@ -3647,10 +3647,16 @@ module OpenGL
|
|
3647
3647
|
end # define_enum_GL_NV_bindless_texture
|
3648
3648
|
|
3649
3649
|
def define_enum_GL_NV_blend_equation_advanced
|
3650
|
-
const_set('
|
3650
|
+
const_set('GL_BLUE_NV', 0x1905) unless defined?(GL_BLUE_NV)
|
3651
|
+
const_set('GL_GREEN_NV', 0x1904) unless defined?(GL_GREEN_NV)
|
3652
|
+
const_set('GL_RED_NV', 0x1903) unless defined?(GL_RED_NV)
|
3653
|
+
const_set('GL_XOR_NV', 0x1506) unless defined?(GL_XOR_NV)
|
3654
|
+
const_set('GL_BLUE', 0x1905) unless defined?(GL_BLUE)
|
3655
|
+
const_set('GL_GREEN', 0x1904) unless defined?(GL_GREEN)
|
3656
|
+
const_set('GL_RED', 0x1903) unless defined?(GL_RED)
|
3657
|
+
const_set('GL_XOR', 0x1506) unless defined?(GL_XOR)
|
3651
3658
|
const_set('GL_BLEND_OVERLAP_NV', 0x9281) unless defined?(GL_BLEND_OVERLAP_NV)
|
3652
3659
|
const_set('GL_BLEND_PREMULTIPLIED_SRC_NV', 0x9280) unless defined?(GL_BLEND_PREMULTIPLIED_SRC_NV)
|
3653
|
-
const_set('GL_BLUE', 0x1905) unless defined?(GL_BLUE)
|
3654
3660
|
const_set('GL_COLORBURN_NV', 0x929A) unless defined?(GL_COLORBURN_NV)
|
3655
3661
|
const_set('GL_COLORDODGE_NV', 0x9299) unless defined?(GL_COLORDODGE_NV)
|
3656
3662
|
const_set('GL_CONJOINT_NV', 0x9284) unless defined?(GL_CONJOINT_NV)
|
@@ -3664,7 +3670,6 @@ module OpenGL
|
|
3664
3670
|
const_set('GL_DST_OUT_NV', 0x928D) unless defined?(GL_DST_OUT_NV)
|
3665
3671
|
const_set('GL_DST_OVER_NV', 0x9289) unless defined?(GL_DST_OVER_NV)
|
3666
3672
|
const_set('GL_EXCLUSION_NV', 0x92A0) unless defined?(GL_EXCLUSION_NV)
|
3667
|
-
const_set('GL_GREEN', 0x1904) unless defined?(GL_GREEN)
|
3668
3673
|
const_set('GL_HARDLIGHT_NV', 0x929B) unless defined?(GL_HARDLIGHT_NV)
|
3669
3674
|
const_set('GL_HARDMIX_NV', 0x92A9) unless defined?(GL_HARDMIX_NV)
|
3670
3675
|
const_set('GL_HSL_COLOR_NV', 0x92AF) unless defined?(GL_HSL_COLOR_NV)
|
@@ -3687,7 +3692,6 @@ module OpenGL
|
|
3687
3692
|
const_set('GL_PLUS_CLAMPED_NV', 0x92B1) unless defined?(GL_PLUS_CLAMPED_NV)
|
3688
3693
|
const_set('GL_PLUS_DARKER_NV', 0x9292) unless defined?(GL_PLUS_DARKER_NV)
|
3689
3694
|
const_set('GL_PLUS_NV', 0x9291) unless defined?(GL_PLUS_NV)
|
3690
|
-
const_set('GL_RED', 0x1903) unless defined?(GL_RED)
|
3691
3695
|
const_set('GL_SCREEN_NV', 0x9295) unless defined?(GL_SCREEN_NV)
|
3692
3696
|
const_set('GL_SOFTLIGHT_NV', 0x929C) unless defined?(GL_SOFTLIGHT_NV)
|
3693
3697
|
const_set('GL_SRC_ATOP_NV', 0x928E) unless defined?(GL_SRC_ATOP_NV)
|
@@ -3697,11 +3701,11 @@ module OpenGL
|
|
3697
3701
|
const_set('GL_SRC_OVER_NV', 0x9288) unless defined?(GL_SRC_OVER_NV)
|
3698
3702
|
const_set('GL_UNCORRELATED_NV', 0x9282) unless defined?(GL_UNCORRELATED_NV)
|
3699
3703
|
const_set('GL_VIVIDLIGHT_NV', 0x92A6) unless defined?(GL_VIVIDLIGHT_NV)
|
3700
|
-
const_set('GL_XOR', 0x1506) unless defined?(GL_XOR)
|
3701
3704
|
const_set('GL_ZERO', 0) unless defined?(GL_ZERO)
|
3702
3705
|
end # define_enum_GL_NV_blend_equation_advanced
|
3703
3706
|
|
3704
3707
|
def define_enum_GL_NV_blend_equation_advanced_coherent
|
3708
|
+
const_set('GL_BLEND_ADVANCED_COHERENT_NV', 0x9285) unless defined?(GL_BLEND_ADVANCED_COHERENT_NV)
|
3705
3709
|
end # define_enum_GL_NV_blend_equation_advanced_coherent
|
3706
3710
|
|
3707
3711
|
def define_enum_GL_NV_blend_square
|
data/sample/glfw_build_dylib.sh
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
#
|
4
4
|
# Ref.: https://github.com/malkia/ufo/blob/master/build/OSX/glfw.sh
|
5
5
|
#
|
6
|
-
wget http://downloads.sourceforge.net/project/glfw/glfw/3.0.
|
7
|
-
tar xvjf glfw-3.0.
|
8
|
-
cd glfw-3.0.
|
6
|
+
wget http://downloads.sourceforge.net/project/glfw/glfw/3.0.3/glfw-3.0.3.tar.bz2
|
7
|
+
tar xvjf glfw-3.0.3.tar.bz2
|
8
|
+
cd glfw-3.0.3/
|
9
9
|
mkdir build
|
10
10
|
cd build
|
11
11
|
export MACOSX_DEPLOYMENT_TARGET=10.8
|
metadata
CHANGED
@@ -1,20 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- vaiorabbit
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-18 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
description:
|
15
|
-
MRI >= 2.0.0).
|
16
|
-
|
17
|
-
'
|
13
|
+
description: |
|
14
|
+
Ruby bindings for OpenGL 1.0-4.4 and all extensions using Fiddle (For MRI >= 2.0.0).
|
18
15
|
email:
|
19
16
|
- vaiorabbit@gmail.com
|
20
17
|
executables: []
|
@@ -43,26 +40,25 @@ files:
|
|
43
40
|
homepage: https://github.com/vaiorabbit/ruby-opengl
|
44
41
|
licenses:
|
45
42
|
- zlib/libpng
|
43
|
+
metadata: {}
|
46
44
|
post_install_message:
|
47
45
|
rdoc_options: []
|
48
46
|
require_paths:
|
49
47
|
- lib
|
50
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
49
|
requirements:
|
53
|
-
- -
|
50
|
+
- - '>='
|
54
51
|
- !ruby/object:Gem::Version
|
55
52
|
version: 2.0.0
|
56
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
54
|
requirements:
|
59
|
-
- -
|
55
|
+
- - '>='
|
60
56
|
- !ruby/object:Gem::Version
|
61
57
|
version: '0'
|
62
58
|
requirements: []
|
63
59
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.
|
60
|
+
rubygems_version: 2.1.4
|
65
61
|
signing_key:
|
66
|
-
specification_version:
|
62
|
+
specification_version: 4
|
67
63
|
summary: Bindings for OpenGL 1.0-4.4 and extensions (For MRI >= 2.0.0)
|
68
64
|
test_files: []
|