danabr75-opengl 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.autotest +29 -0
- data/.gemtest +0 -0
- data/.gitignore +6 -0
- data/.travis.yml +19 -0
- data/Gemfile +8 -0
- data/History.md +101 -0
- data/MIT-LICENSE +18 -0
- data/Manifest.txt +142 -0
- data/README.rdoc +105 -0
- data/Rakefile +170 -0
- data/danabr75-opengl.gemspec +32 -0
- data/examples/NeHe/NeHe.png +0 -0
- data/examples/NeHe/crate.png +0 -0
- data/examples/NeHe/glass.png +0 -0
- data/examples/NeHe/nehe_lesson02.rb +117 -0
- data/examples/NeHe/nehe_lesson03.rb +123 -0
- data/examples/NeHe/nehe_lesson04.rb +132 -0
- data/examples/NeHe/nehe_lesson05.rb +182 -0
- data/examples/NeHe/nehe_lesson06.rb +186 -0
- data/examples/NeHe/nehe_lesson07.rb +240 -0
- data/examples/NeHe/nehe_lesson08.rb +255 -0
- data/examples/NeHe/nehe_lesson09.rb +203 -0
- data/examples/NeHe/nehe_lesson11.rb +176 -0
- data/examples/NeHe/nehe_lesson12.rb +203 -0
- data/examples/NeHe/nehe_lesson16.rb +211 -0
- data/examples/NeHe/nehe_lesson19.rb +209 -0
- data/examples/NeHe/nehe_lesson36.rb +308 -0
- data/examples/NeHe/particle.png +0 -0
- data/examples/NeHe/star.png +0 -0
- data/examples/NeHe/tim.png +0 -0
- data/examples/OrangeBook/3Dlabs-License.txt +33 -0
- data/examples/OrangeBook/brick.frag +36 -0
- data/examples/OrangeBook/brick.rb +378 -0
- data/examples/OrangeBook/brick.vert +41 -0
- data/examples/OrangeBook/particle.frag +17 -0
- data/examples/OrangeBook/particle.rb +408 -0
- data/examples/OrangeBook/particle.vert +38 -0
- data/examples/README +16 -0
- data/examples/RedBook/aapoly.rb +143 -0
- data/examples/RedBook/aargb.rb +121 -0
- data/examples/RedBook/accanti.rb +164 -0
- data/examples/RedBook/accpersp.rb +217 -0
- data/examples/RedBook/alpha.rb +125 -0
- data/examples/RedBook/alpha3D.rb +160 -0
- data/examples/RedBook/bezcurve.rb +107 -0
- data/examples/RedBook/bezmesh.rb +139 -0
- data/examples/RedBook/checker.rb +126 -0
- data/examples/RedBook/clip.rb +97 -0
- data/examples/RedBook/colormat.rb +137 -0
- data/examples/RedBook/cube.rb +71 -0
- data/examples/RedBook/depthcue.rb +101 -0
- data/examples/RedBook/dof.rb +206 -0
- data/examples/RedBook/double.rb +107 -0
- data/examples/RedBook/drawf.rb +93 -0
- data/examples/RedBook/feedback.rb +147 -0
- data/examples/RedBook/fog.rb +168 -0
- data/examples/RedBook/font.rb +153 -0
- data/examples/RedBook/hello.rb +81 -0
- data/examples/RedBook/image.rb +139 -0
- data/examples/RedBook/jitter.rb +207 -0
- data/examples/RedBook/light.rb +157 -0
- data/examples/RedBook/lines.rb +130 -0
- data/examples/RedBook/list.rb +113 -0
- data/examples/RedBook/material.rb +276 -0
- data/examples/RedBook/mipmap.rb +158 -0
- data/examples/RedBook/model.rb +115 -0
- data/examples/RedBook/movelight.rb +134 -0
- data/examples/RedBook/pickdepth.rb +181 -0
- data/examples/RedBook/planet.rb +110 -0
- data/examples/RedBook/quadric.rb +160 -0
- data/examples/RedBook/robot.rb +117 -0
- data/examples/RedBook/select.rb +198 -0
- data/examples/RedBook/smooth.rb +97 -0
- data/examples/RedBook/stencil.rb +165 -0
- data/examples/RedBook/stroke.rb +169 -0
- data/examples/RedBook/surface.rb +168 -0
- data/examples/RedBook/teaambient.rb +134 -0
- data/examples/RedBook/teapots.rb +184 -0
- data/examples/RedBook/tess.rb +185 -0
- data/examples/RedBook/texbind.rb +149 -0
- data/examples/RedBook/texgen.rb +171 -0
- data/examples/RedBook/texturesurf.rb +130 -0
- data/examples/RedBook/varray.rb +161 -0
- data/examples/RedBook/wrap.rb +150 -0
- data/examples/misc/OGLBench.rb +338 -0
- data/examples/misc/anisotropic.rb +196 -0
- data/examples/misc/fbo_test.rb +357 -0
- data/examples/misc/font-glut.rb +47 -0
- data/examples/misc/glfwtest.rb +30 -0
- data/examples/misc/plane.rb +161 -0
- data/examples/misc/readpixel.rb +66 -0
- data/examples/misc/sdltest.rb +36 -0
- data/examples/misc/trislam.rb +829 -0
- data/ext/opengl/GL/gl.h +2115 -0
- data/ext/opengl/GL/glext.h +11770 -0
- data/ext/opengl/common.h +372 -0
- data/ext/opengl/conv.h +247 -0
- data/ext/opengl/extconf.rb +19 -0
- data/ext/opengl/fptr_struct.h +912 -0
- data/ext/opengl/funcdef.h +279 -0
- data/ext/opengl/gl-1.0-1.1.c +3345 -0
- data/ext/opengl/gl-1.2.c +155 -0
- data/ext/opengl/gl-1.3.c +447 -0
- data/ext/opengl/gl-1.4.c +346 -0
- data/ext/opengl/gl-1.5.c +225 -0
- data/ext/opengl/gl-2.0.c +665 -0
- data/ext/opengl/gl-2.1.c +57 -0
- data/ext/opengl/gl-3.0.c +502 -0
- data/ext/opengl/gl-enums.c +4853 -0
- data/ext/opengl/gl-enums.h +14528 -0
- data/ext/opengl/gl-error.c +110 -0
- data/ext/opengl/gl-error.h +25 -0
- data/ext/opengl/gl-ext-3dfx.c +27 -0
- data/ext/opengl/gl-ext-arb.c +880 -0
- data/ext/opengl/gl-ext-ati.c +41 -0
- data/ext/opengl/gl-ext-ext.c +885 -0
- data/ext/opengl/gl-ext-gremedy.c +41 -0
- data/ext/opengl/gl-ext-nv.c +679 -0
- data/ext/opengl/gl.c +265 -0
- data/ext/opengl/gl_buffer.c +202 -0
- data/ext/opengl/glimpl.c +187 -0
- data/ext/opengl/glimpl.h +47 -0
- data/ext/opengl/opengl.c +9 -0
- data/lib/gl.rb +1 -0
- data/lib/opengl.rb +79 -0
- data/lib/opengl/bindings_version.rb +4 -0
- data/lib/opengl/implementation.rb +38 -0
- data/lib/opengl/test_case.rb +86 -0
- data/test/dummy.xorg.conf +140 -0
- data/test/test_gl.rb +45 -0
- data/test/test_gl_10_11.rb +1363 -0
- data/test/test_gl_12.rb +71 -0
- data/test/test_gl_13.rb +221 -0
- data/test/test_gl_14.rb +218 -0
- data/test/test_gl_15.rb +258 -0
- data/test/test_gl_20.rb +417 -0
- data/test/test_gl_21.rb +436 -0
- data/test/test_gl_ext_arb.rb +508 -0
- data/test/test_gl_ext_ati.rb +28 -0
- data/test/test_gl_ext_ext.rb +608 -0
- data/test/test_gl_ext_gremedy.rb +29 -0
- data/test/test_gl_ext_nv.rb +349 -0
- data/test/test_glimpl.rb +23 -0
- data/test/test_opengl_buffer.rb +122 -0
- data/utils/README +6 -0
- data/utils/enumgen.rb +108 -0
- data/utils/extlistgen.rb +90 -0
- metadata +326 -0
data/utils/README
ADDED
data/utils/enumgen.rb
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>
|
3
|
+
#
|
4
|
+
# This program is distributed under the terms of the MIT license.
|
5
|
+
# See the included MIT-LICENSE file for the terms of this license.
|
6
|
+
#
|
7
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
8
|
+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
9
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
10
|
+
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
11
|
+
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
12
|
+
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
13
|
+
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
14
|
+
#
|
15
|
+
# enumgen.rb - generates GL/GLU enumerators code based on enum/enumext/gluenum .spec files
|
16
|
+
|
17
|
+
require 'open-uri'
|
18
|
+
|
19
|
+
def parse_enum_spec(infilename)
|
20
|
+
puts "Reading #{infilename} ..."
|
21
|
+
enum_list = {}
|
22
|
+
f = open(infilename,"r")
|
23
|
+
f.each do |line|
|
24
|
+
case line
|
25
|
+
when /^#|:|^$/ # skip comment, directive or empty line
|
26
|
+
next
|
27
|
+
when /^\tuse/ # enum alias for organization purpose, we don't need that
|
28
|
+
next
|
29
|
+
when /^\t|^ / # enum
|
30
|
+
# remove trailing comment (if any) and split
|
31
|
+
name,equals,value,*rest = line.split("#")[0].split(" ")
|
32
|
+
# true/false are special constants
|
33
|
+
unless (name=="TRUE" or name=="FALSE")
|
34
|
+
enum_list[name] = value
|
35
|
+
end
|
36
|
+
else
|
37
|
+
puts "Unexpected line: #{line}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
f.close
|
41
|
+
enum_list
|
42
|
+
end
|
43
|
+
|
44
|
+
def write_enums(enum_list, task)
|
45
|
+
# .h
|
46
|
+
puts "Writing #{task[:h]}"
|
47
|
+
File.open(task[:h], "w") do |f|
|
48
|
+
f << "/* This file was genereated on #{Time.now}" << "\n"
|
49
|
+
task[:sources].each do |source| f << " source: #{source}" << "\n" end
|
50
|
+
f << "*/" << "\n\n"
|
51
|
+
enum_list.each do |name,value|
|
52
|
+
gl_name = task[:prefix] + name
|
53
|
+
f << "#ifndef #{gl_name}" << "\n"
|
54
|
+
f << "#define #{gl_name} #{value}" << "\n"
|
55
|
+
f << "#endif" << "\n"
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# .c
|
60
|
+
puts "Writing #{task[:c]}"
|
61
|
+
File.open(task[:c], "w") do |f|
|
62
|
+
f << "/* This file was genereated on #{Time.now}" << "\n"
|
63
|
+
task[:sources].each do |source| f << " source: #{source}" << "\n" end
|
64
|
+
f << "*/" << "\n\n"
|
65
|
+
f << '#include "common.h"' << "\n"
|
66
|
+
f << "void #{task[:prefix].downcase}init_enums(VALUE module)" << "\n"
|
67
|
+
f << "{" << "\n"
|
68
|
+
|
69
|
+
# true/false are special constants
|
70
|
+
f << "\trb_define_const(module, \"#{task[:prefix]}TRUE\", Qtrue);" << "\n"
|
71
|
+
f << "\trb_define_const(module, \"#{task[:prefix]}FALSE\", Qfalse);" << "\n"
|
72
|
+
f << "\n"
|
73
|
+
|
74
|
+
enum_list.each do |name,value|
|
75
|
+
gl_name = task[:prefix] + name
|
76
|
+
f << "\trb_define_const(module, \"#{gl_name}\", INT2NUM(#{gl_name}));" << "\n"
|
77
|
+
end
|
78
|
+
|
79
|
+
f << "}" << "\n"
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
|
84
|
+
# main
|
85
|
+
begin
|
86
|
+
gl_enums = {:c => "../ext/opengl/gl-enums.c",:h => "../ext/opengl/gl-enums.h",
|
87
|
+
:sources => ["https://www.opengl.org/registry/oldspecs/enum.spec",
|
88
|
+
"https://www.opengl.org/registry/oldspecs/enumext.spec"],
|
89
|
+
:prefix => "GL_"
|
90
|
+
}
|
91
|
+
|
92
|
+
task_list = [gl_enums]
|
93
|
+
|
94
|
+
# main loop
|
95
|
+
task_list.each do |task|
|
96
|
+
enum_list = {}
|
97
|
+
# gather enums from each source file/url
|
98
|
+
task[:sources].each do |fname|
|
99
|
+
enum_list.update(parse_enum_spec(fname))
|
100
|
+
end
|
101
|
+
# write to files
|
102
|
+
write_enums(enum_list.sort,task)
|
103
|
+
end
|
104
|
+
puts "All OK"
|
105
|
+
rescue => e
|
106
|
+
puts e
|
107
|
+
puts e.backtrace
|
108
|
+
end
|
data/utils/extlistgen.rb
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>
|
4
|
+
#
|
5
|
+
# This program is distributed under the terms of the MIT license.
|
6
|
+
# See the included MIT-LICENSE file for the terms of this license.
|
7
|
+
#
|
8
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
9
|
+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
10
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
11
|
+
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
12
|
+
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
13
|
+
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
14
|
+
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
15
|
+
#
|
16
|
+
# extlistgen.rb - generates HTML table of extension support from .in file
|
17
|
+
|
18
|
+
# main
|
19
|
+
require 'csv'
|
20
|
+
|
21
|
+
opengl_extdoc_url = "http://opengl.org/registry/specs/"
|
22
|
+
|
23
|
+
# the extension / doc url naming is sometimes inconsistent
|
24
|
+
link_exceptions = {
|
25
|
+
"GL_SGIX_texture_add_env" => "SGIX/texture_env_add.txt",
|
26
|
+
"GL_SUN_multi_draw_arrays" => "EXT/multi_draw_arrays.txt",
|
27
|
+
"GL_SGIX_pixel_texture" => "SGIX/sgix_pixel_texture.txt",
|
28
|
+
"GL_SGIS_fog_function" => "SGIS/fog_func.txt",
|
29
|
+
"GL_SGIX_vertex_preclip_hint" => "SGIX/vertex_preclip.txt"
|
30
|
+
}
|
31
|
+
|
32
|
+
begin
|
33
|
+
if ARGV.size < 3
|
34
|
+
puts "Parameters: infile outfile version [version ...]"
|
35
|
+
raise
|
36
|
+
end
|
37
|
+
|
38
|
+
infile,outfile,*versions = ARGV
|
39
|
+
|
40
|
+
# read the list
|
41
|
+
extensions = []
|
42
|
+
CSV.foreach(infile, 'r') do |row|
|
43
|
+
next if row[0][0] == ?# # discard comment line
|
44
|
+
extensions << row
|
45
|
+
end
|
46
|
+
extensions.sort!
|
47
|
+
|
48
|
+
# create output
|
49
|
+
File.open(outfile, 'w') do |f|
|
50
|
+
f << "<table class='extlist'>\n"
|
51
|
+
f << "<tr>\n"
|
52
|
+
|
53
|
+
# header
|
54
|
+
f << "<th>Extension</th>\n"
|
55
|
+
versions.each do |ver|
|
56
|
+
f << "<th>#{ver}</th>\n"
|
57
|
+
end
|
58
|
+
f << "</tr>\n"
|
59
|
+
|
60
|
+
# content
|
61
|
+
extensions.each do |ext|
|
62
|
+
next if ext[1]=="NonGL" # skip non-GL (WGL,GLX) extensions
|
63
|
+
|
64
|
+
if (link_exceptions[ext[0]])
|
65
|
+
link = opengl_extdoc_url + link_exceptions[ext[0]]
|
66
|
+
else
|
67
|
+
tmp, subdir, *fname = ext[0].split("_")
|
68
|
+
link = opengl_extdoc_url + subdir + "/" + fname.join("_") + ".txt"
|
69
|
+
end
|
70
|
+
|
71
|
+
f << "<tr>\n"
|
72
|
+
f << "<td><a href='#{link}'>#{ext[0]}</a></td>"
|
73
|
+
|
74
|
+
versions.each do |ver|
|
75
|
+
if (ext[1]=="Supported" && (ver>=ext[2]))
|
76
|
+
f << "<td class='supported'>YES</td>"
|
77
|
+
elsif (ext[1]=="Other")
|
78
|
+
f << "<td class='other'>NO</td>"
|
79
|
+
else # unsupported
|
80
|
+
f << "<td class='unsupported'>NO</td>"
|
81
|
+
end
|
82
|
+
end
|
83
|
+
f << "</tr>\n"
|
84
|
+
end
|
85
|
+
|
86
|
+
f << "</table>"
|
87
|
+
end
|
88
|
+
rescue
|
89
|
+
puts $!
|
90
|
+
end
|
metadata
ADDED
@@ -0,0 +1,326 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: danabr75-opengl
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.10.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Hodel
|
8
|
+
- Lars Kanis
|
9
|
+
- Blaž Hrastnik
|
10
|
+
- Alain Hoang
|
11
|
+
- Jan Dvorak
|
12
|
+
- Minh Thu Vo
|
13
|
+
- James Adam
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
date: 2018-05-26 00:00:00.000000000 Z
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: bundler
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.5'
|
26
|
+
type: :development
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.5'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rake
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: minitest
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '5.3'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '5.3'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rake-compiler
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rake-compiler-dock
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 0.6.0
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.6.0
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: glu
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '8.1'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '8.1'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: glut
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '8.1'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '8.1'
|
117
|
+
description: |-
|
118
|
+
PATCHED FOR WINDOWS: An OpenGL wrapper for Ruby. opengl contains bindings for OpenGL.
|
119
|
+
|
120
|
+
Be sure to check out
|
121
|
+
{GLU}[https://github.com/larskanis/glu] and
|
122
|
+
{GLUT}[https://github.com/larskanis/glut]
|
123
|
+
gems.
|
124
|
+
email:
|
125
|
+
- drbrain@segment7.net
|
126
|
+
- lars@greiz-reinsdorf.de
|
127
|
+
- blaz@mxxn.io
|
128
|
+
- ''
|
129
|
+
- ''
|
130
|
+
- ''
|
131
|
+
- ''
|
132
|
+
executables: []
|
133
|
+
extensions:
|
134
|
+
- ext/opengl/extconf.rb
|
135
|
+
extra_rdoc_files: []
|
136
|
+
files:
|
137
|
+
- ".autotest"
|
138
|
+
- ".gemtest"
|
139
|
+
- ".gitignore"
|
140
|
+
- ".travis.yml"
|
141
|
+
- Gemfile
|
142
|
+
- History.md
|
143
|
+
- MIT-LICENSE
|
144
|
+
- Manifest.txt
|
145
|
+
- README.rdoc
|
146
|
+
- Rakefile
|
147
|
+
- danabr75-opengl.gemspec
|
148
|
+
- examples/NeHe/NeHe.png
|
149
|
+
- examples/NeHe/crate.png
|
150
|
+
- examples/NeHe/glass.png
|
151
|
+
- examples/NeHe/nehe_lesson02.rb
|
152
|
+
- examples/NeHe/nehe_lesson03.rb
|
153
|
+
- examples/NeHe/nehe_lesson04.rb
|
154
|
+
- examples/NeHe/nehe_lesson05.rb
|
155
|
+
- examples/NeHe/nehe_lesson06.rb
|
156
|
+
- examples/NeHe/nehe_lesson07.rb
|
157
|
+
- examples/NeHe/nehe_lesson08.rb
|
158
|
+
- examples/NeHe/nehe_lesson09.rb
|
159
|
+
- examples/NeHe/nehe_lesson11.rb
|
160
|
+
- examples/NeHe/nehe_lesson12.rb
|
161
|
+
- examples/NeHe/nehe_lesson16.rb
|
162
|
+
- examples/NeHe/nehe_lesson19.rb
|
163
|
+
- examples/NeHe/nehe_lesson36.rb
|
164
|
+
- examples/NeHe/particle.png
|
165
|
+
- examples/NeHe/star.png
|
166
|
+
- examples/NeHe/tim.png
|
167
|
+
- examples/OrangeBook/3Dlabs-License.txt
|
168
|
+
- examples/OrangeBook/brick.frag
|
169
|
+
- examples/OrangeBook/brick.rb
|
170
|
+
- examples/OrangeBook/brick.vert
|
171
|
+
- examples/OrangeBook/particle.frag
|
172
|
+
- examples/OrangeBook/particle.rb
|
173
|
+
- examples/OrangeBook/particle.vert
|
174
|
+
- examples/README
|
175
|
+
- examples/RedBook/aapoly.rb
|
176
|
+
- examples/RedBook/aargb.rb
|
177
|
+
- examples/RedBook/accanti.rb
|
178
|
+
- examples/RedBook/accpersp.rb
|
179
|
+
- examples/RedBook/alpha.rb
|
180
|
+
- examples/RedBook/alpha3D.rb
|
181
|
+
- examples/RedBook/bezcurve.rb
|
182
|
+
- examples/RedBook/bezmesh.rb
|
183
|
+
- examples/RedBook/checker.rb
|
184
|
+
- examples/RedBook/clip.rb
|
185
|
+
- examples/RedBook/colormat.rb
|
186
|
+
- examples/RedBook/cube.rb
|
187
|
+
- examples/RedBook/depthcue.rb
|
188
|
+
- examples/RedBook/dof.rb
|
189
|
+
- examples/RedBook/double.rb
|
190
|
+
- examples/RedBook/drawf.rb
|
191
|
+
- examples/RedBook/feedback.rb
|
192
|
+
- examples/RedBook/fog.rb
|
193
|
+
- examples/RedBook/font.rb
|
194
|
+
- examples/RedBook/hello.rb
|
195
|
+
- examples/RedBook/image.rb
|
196
|
+
- examples/RedBook/jitter.rb
|
197
|
+
- examples/RedBook/light.rb
|
198
|
+
- examples/RedBook/lines.rb
|
199
|
+
- examples/RedBook/list.rb
|
200
|
+
- examples/RedBook/material.rb
|
201
|
+
- examples/RedBook/mipmap.rb
|
202
|
+
- examples/RedBook/model.rb
|
203
|
+
- examples/RedBook/movelight.rb
|
204
|
+
- examples/RedBook/pickdepth.rb
|
205
|
+
- examples/RedBook/planet.rb
|
206
|
+
- examples/RedBook/quadric.rb
|
207
|
+
- examples/RedBook/robot.rb
|
208
|
+
- examples/RedBook/select.rb
|
209
|
+
- examples/RedBook/smooth.rb
|
210
|
+
- examples/RedBook/stencil.rb
|
211
|
+
- examples/RedBook/stroke.rb
|
212
|
+
- examples/RedBook/surface.rb
|
213
|
+
- examples/RedBook/teaambient.rb
|
214
|
+
- examples/RedBook/teapots.rb
|
215
|
+
- examples/RedBook/tess.rb
|
216
|
+
- examples/RedBook/texbind.rb
|
217
|
+
- examples/RedBook/texgen.rb
|
218
|
+
- examples/RedBook/texturesurf.rb
|
219
|
+
- examples/RedBook/varray.rb
|
220
|
+
- examples/RedBook/wrap.rb
|
221
|
+
- examples/misc/OGLBench.rb
|
222
|
+
- examples/misc/anisotropic.rb
|
223
|
+
- examples/misc/fbo_test.rb
|
224
|
+
- examples/misc/font-glut.rb
|
225
|
+
- examples/misc/glfwtest.rb
|
226
|
+
- examples/misc/plane.rb
|
227
|
+
- examples/misc/readpixel.rb
|
228
|
+
- examples/misc/sdltest.rb
|
229
|
+
- examples/misc/trislam.rb
|
230
|
+
- ext/opengl/GL/gl.h
|
231
|
+
- ext/opengl/GL/glext.h
|
232
|
+
- ext/opengl/common.h
|
233
|
+
- ext/opengl/conv.h
|
234
|
+
- ext/opengl/extconf.rb
|
235
|
+
- ext/opengl/fptr_struct.h
|
236
|
+
- ext/opengl/funcdef.h
|
237
|
+
- ext/opengl/gl-1.0-1.1.c
|
238
|
+
- ext/opengl/gl-1.2.c
|
239
|
+
- ext/opengl/gl-1.3.c
|
240
|
+
- ext/opengl/gl-1.4.c
|
241
|
+
- ext/opengl/gl-1.5.c
|
242
|
+
- ext/opengl/gl-2.0.c
|
243
|
+
- ext/opengl/gl-2.1.c
|
244
|
+
- ext/opengl/gl-3.0.c
|
245
|
+
- ext/opengl/gl-enums.c
|
246
|
+
- ext/opengl/gl-enums.h
|
247
|
+
- ext/opengl/gl-error.c
|
248
|
+
- ext/opengl/gl-error.h
|
249
|
+
- ext/opengl/gl-ext-3dfx.c
|
250
|
+
- ext/opengl/gl-ext-arb.c
|
251
|
+
- ext/opengl/gl-ext-ati.c
|
252
|
+
- ext/opengl/gl-ext-ext.c
|
253
|
+
- ext/opengl/gl-ext-gremedy.c
|
254
|
+
- ext/opengl/gl-ext-nv.c
|
255
|
+
- ext/opengl/gl.c
|
256
|
+
- ext/opengl/gl_buffer.c
|
257
|
+
- ext/opengl/glimpl.c
|
258
|
+
- ext/opengl/glimpl.h
|
259
|
+
- ext/opengl/opengl.c
|
260
|
+
- lib/gl.rb
|
261
|
+
- lib/opengl.rb
|
262
|
+
- lib/opengl/bindings_version.rb
|
263
|
+
- lib/opengl/implementation.rb
|
264
|
+
- lib/opengl/test_case.rb
|
265
|
+
- test/dummy.xorg.conf
|
266
|
+
- test/test_gl.rb
|
267
|
+
- test/test_gl_10_11.rb
|
268
|
+
- test/test_gl_12.rb
|
269
|
+
- test/test_gl_13.rb
|
270
|
+
- test/test_gl_14.rb
|
271
|
+
- test/test_gl_15.rb
|
272
|
+
- test/test_gl_20.rb
|
273
|
+
- test/test_gl_21.rb
|
274
|
+
- test/test_gl_ext_arb.rb
|
275
|
+
- test/test_gl_ext_ati.rb
|
276
|
+
- test/test_gl_ext_ext.rb
|
277
|
+
- test/test_gl_ext_gremedy.rb
|
278
|
+
- test/test_gl_ext_nv.rb
|
279
|
+
- test/test_glimpl.rb
|
280
|
+
- test/test_opengl_buffer.rb
|
281
|
+
- utils/README
|
282
|
+
- utils/enumgen.rb
|
283
|
+
- utils/extlistgen.rb
|
284
|
+
homepage: https://github.com/larskanis/opengl
|
285
|
+
licenses:
|
286
|
+
- MIT
|
287
|
+
metadata: {}
|
288
|
+
post_install_message:
|
289
|
+
rdoc_options:
|
290
|
+
- "--main"
|
291
|
+
- README.rdoc
|
292
|
+
require_paths:
|
293
|
+
- lib
|
294
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: 1.9.2
|
299
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - ">="
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
requirements: []
|
305
|
+
rubyforge_project:
|
306
|
+
rubygems_version: 2.4.8
|
307
|
+
signing_key:
|
308
|
+
specification_version: 4
|
309
|
+
summary: An OpenGL wrapper for Ruby
|
310
|
+
test_files:
|
311
|
+
- test/dummy.xorg.conf
|
312
|
+
- test/test_gl.rb
|
313
|
+
- test/test_gl_10_11.rb
|
314
|
+
- test/test_gl_12.rb
|
315
|
+
- test/test_gl_13.rb
|
316
|
+
- test/test_gl_14.rb
|
317
|
+
- test/test_gl_15.rb
|
318
|
+
- test/test_gl_20.rb
|
319
|
+
- test/test_gl_21.rb
|
320
|
+
- test/test_gl_ext_arb.rb
|
321
|
+
- test/test_gl_ext_ati.rb
|
322
|
+
- test/test_gl_ext_ext.rb
|
323
|
+
- test/test_gl_ext_gremedy.rb
|
324
|
+
- test/test_gl_ext_nv.rb
|
325
|
+
- test/test_glimpl.rb
|
326
|
+
- test/test_opengl_buffer.rb
|