opengl-bindings_c 0.6.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ChangeLog +79 -0
- data/LICENSE.txt +21 -0
- data/README.md +69 -0
- data/ext/opengl_c/extconf.rb +7 -0
- data/ext/opengl_c/rogl.c +110 -0
- data/ext/opengl_c/rogl_commands.c.inc +22756 -0
- data/ext/opengl_c/rogl_ext_commands.c.inc +38031 -0
- data/ext/opengl_c/rogl_platform.c +104 -0
- data/ext/opengl_c/rogl_platform.h +32 -0
- data/ext/opengl_c/rogl_pointer.c +35 -0
- data/ext/opengl_c/rogl_pointer.h +21 -0
- data/ext/opengl_c/rogl_proc_address.c +150 -0
- data/ext/opengl_c/rogl_proc_address.h +32 -0
- data/lib/opengl_c.rb +9 -0
- data/lib/opengl_ext_c.rb +44 -0
- data/lib/opengl_ext_command.rb +5100 -0
- data/lib/opengl_ext_enum.rb +6732 -0
- data/lib/opengl_platform.rb +19 -0
- metadata +85 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'rbconfig'
|
2
|
+
|
3
|
+
module OpenGL
|
4
|
+
@@opengl_platform = case RbConfig::CONFIG['host_os']
|
5
|
+
when /mswin|msys|mingw|cygwin/
|
6
|
+
:OPENGL_PLATFORM_WINDOWS
|
7
|
+
when /darwin/
|
8
|
+
:OPENGL_PLATFORM_MACOSX
|
9
|
+
when /linux/
|
10
|
+
:OPENGL_PLATFORM_LINUX
|
11
|
+
else
|
12
|
+
raise RuntimeError, "OpenGL : Unknown OS: #{host_os.inspect}"
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.get_platform()
|
16
|
+
return @@opengl_platform
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: opengl-bindings_c
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.1.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- vaiorabbit
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-10-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: opengl-bindings
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.6.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.6'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.6.1
|
33
|
+
description: |
|
34
|
+
Replaces pure-ruby OpenGL API calls in opengl-bindings ( https://github.com/vaiorabbit/ruby-opengl ) with native C function calls.
|
35
|
+
Notice: This library provides native extension. You must setup development environment (or DevKit) before installation.
|
36
|
+
email:
|
37
|
+
- vaiorabbit@gmail.com
|
38
|
+
executables: []
|
39
|
+
extensions:
|
40
|
+
- ext/opengl_c/extconf.rb
|
41
|
+
extra_rdoc_files: []
|
42
|
+
files:
|
43
|
+
- ChangeLog
|
44
|
+
- LICENSE.txt
|
45
|
+
- README.md
|
46
|
+
- ext/opengl_c/extconf.rb
|
47
|
+
- ext/opengl_c/rogl.c
|
48
|
+
- ext/opengl_c/rogl_commands.c.inc
|
49
|
+
- ext/opengl_c/rogl_ext_commands.c.inc
|
50
|
+
- ext/opengl_c/rogl_platform.c
|
51
|
+
- ext/opengl_c/rogl_platform.h
|
52
|
+
- ext/opengl_c/rogl_pointer.c
|
53
|
+
- ext/opengl_c/rogl_pointer.h
|
54
|
+
- ext/opengl_c/rogl_proc_address.c
|
55
|
+
- ext/opengl_c/rogl_proc_address.h
|
56
|
+
- lib/opengl_c.rb
|
57
|
+
- lib/opengl_ext_c.rb
|
58
|
+
- lib/opengl_ext_command.rb
|
59
|
+
- lib/opengl_ext_enum.rb
|
60
|
+
- lib/opengl_platform.rb
|
61
|
+
homepage: https://github.com/vaiorabbit/ruby-opengl_c
|
62
|
+
licenses:
|
63
|
+
- Zlib
|
64
|
+
metadata: {}
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.2.0
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 1.3.1
|
79
|
+
requirements: []
|
80
|
+
rubyforge_project:
|
81
|
+
rubygems_version: 2.6.4
|
82
|
+
signing_key:
|
83
|
+
specification_version: 4
|
84
|
+
summary: Ruby OpenGL Bindings (C Edition)
|
85
|
+
test_files: []
|