opengl 0.8.0-x86-mingw32 → 0.9.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data.tar.gz.sig +2 -0
- data/.gitignore +2 -1
- data/.travis.yml +19 -0
- data/History.rdoc +26 -0
- data/Manifest.txt +3 -23
- data/README.rdoc +43 -37
- data/Rakefile +6 -62
- data/examples/NeHe/nehe_lesson02.rb +3 -2
- data/examples/NeHe/nehe_lesson03.rb +3 -2
- data/examples/NeHe/nehe_lesson04.rb +3 -1
- data/examples/NeHe/nehe_lesson05.rb +4 -1
- data/examples/NeHe/nehe_lesson06.rb +9 -6
- data/examples/NeHe/nehe_lesson07.rb +9 -6
- data/examples/NeHe/nehe_lesson08.rb +9 -6
- data/examples/NeHe/nehe_lesson09.rb +10 -6
- data/examples/NeHe/nehe_lesson11.rb +9 -6
- data/examples/NeHe/nehe_lesson12.rb +9 -6
- data/examples/NeHe/nehe_lesson16.rb +50 -47
- data/examples/NeHe/nehe_lesson19.rb +10 -7
- data/examples/NeHe/nehe_lesson36.rb +234 -229
- data/examples/OrangeBook/brick.rb +227 -225
- data/examples/OrangeBook/particle.rb +233 -231
- data/examples/RedBook/aapoly.rb +71 -70
- data/examples/RedBook/aargb.rb +54 -52
- data/examples/RedBook/accanti.rb +96 -94
- data/examples/RedBook/accpersp.rb +106 -104
- data/examples/RedBook/alpha.rb +54 -52
- data/examples/RedBook/alpha3D.rb +90 -88
- data/examples/RedBook/bezcurve.rb +48 -46
- data/examples/RedBook/bezmesh.rb +71 -69
- data/examples/RedBook/checker.rb +57 -55
- data/examples/RedBook/clip.rb +41 -39
- data/examples/RedBook/colormat.rb +72 -70
- data/examples/RedBook/cube.rb +39 -37
- data/examples/RedBook/depthcue.rb +37 -35
- data/examples/RedBook/dof.rb +110 -109
- data/examples/RedBook/double.rb +40 -38
- data/examples/RedBook/drawf.rb +30 -28
- data/examples/RedBook/feedback.rb +79 -77
- data/examples/RedBook/fog.rb +90 -89
- data/examples/RedBook/font.rb +78 -76
- data/examples/RedBook/hello.rb +29 -27
- data/examples/RedBook/image.rb +57 -55
- data/examples/RedBook/jitter.rb +131 -131
- data/examples/RedBook/light.rb +2 -1
- data/examples/RedBook/lines.rb +70 -68
- data/examples/RedBook/list.rb +48 -46
- data/examples/RedBook/material.rb +200 -199
- data/examples/RedBook/mipmap.rb +84 -82
- data/examples/RedBook/model.rb +55 -53
- data/examples/RedBook/movelight.rb +52 -50
- data/examples/RedBook/pickdepth.rb +103 -101
- data/examples/RedBook/planet.rb +46 -44
- data/examples/RedBook/quadric.rb +97 -95
- data/examples/RedBook/robot.rb +55 -53
- data/examples/RedBook/select.rb +118 -116
- data/examples/RedBook/smooth.rb +35 -33
- data/examples/RedBook/stencil.rb +96 -94
- data/examples/RedBook/stroke.rb +75 -73
- data/examples/RedBook/surface.rb +93 -91
- data/examples/RedBook/teaambient.rb +71 -69
- data/examples/RedBook/teapots.rb +105 -103
- data/examples/RedBook/tess.rb +96 -94
- data/examples/RedBook/texbind.rb +79 -77
- data/examples/RedBook/texgen.rb +88 -86
- data/examples/RedBook/texturesurf.rb +57 -55
- data/examples/RedBook/varray.rb +85 -83
- data/examples/RedBook/wrap.rb +76 -74
- data/examples/misc/OGLBench.rb +114 -113
- data/examples/misc/anisotropic.rb +154 -152
- data/examples/misc/fbo_test.rb +37 -36
- data/examples/misc/font-glut.rb +47 -46
- data/examples/misc/glfwtest.rb +16 -16
- data/examples/misc/plane.rb +13 -13
- data/examples/misc/readpixel.rb +66 -65
- data/examples/misc/sdltest.rb +21 -19
- data/examples/misc/trislam.rb +548 -547
- data/ext/opengl/common.h +16 -38
- data/ext/opengl/conv.h +39 -41
- data/ext/opengl/extconf.rb +4 -31
- data/ext/opengl/funcdef.h +126 -124
- data/ext/opengl/gl-1.0-1.1.c +1917 -1917
- data/ext/opengl/gl-1.2.c +4 -667
- data/ext/opengl/gl-1.3.c +9 -9
- data/ext/opengl/gl-1.4.c +8 -8
- data/ext/opengl/gl-1.5.c +1 -1
- data/ext/opengl/gl-2.0.c +392 -388
- data/ext/opengl/gl-3.0.c +493 -0
- data/ext/opengl/gl-enums.c +1523 -5
- data/ext/opengl/gl-enums.h +4679 -122
- data/ext/opengl/gl-error.c +7 -7
- data/ext/opengl/gl-error.h +4 -4
- data/ext/opengl/gl-ext-arb.c +468 -464
- data/ext/opengl/gl-ext-ext.c +18 -18
- data/ext/opengl/gl-ext-nv.c +15 -15
- data/ext/opengl/gl.c +2 -0
- data/ext/opengl/gl_buffer.c +92 -92
- data/ext/opengl/opengl.c +1 -7
- data/lib/opengl.rb +23 -59
- data/lib/opengl/1.9/opengl.so +0 -0
- data/lib/opengl/2.0/opengl.so +0 -0
- data/lib/opengl/2.1/opengl.so +0 -0
- data/lib/opengl/test_case.rb +1 -2
- data/test/dummy.xorg.conf +140 -0
- data/test/test_gl.rb +18 -22
- data/test/test_gl_10_11.rb +220 -220
- data/test/test_gl_12.rb +11 -122
- data/test/test_gl_13.rb +202 -210
- data/test/test_gl_14.rb +16 -19
- data/test/test_gl_15.rb +2 -4
- data/test/test_gl_20.rb +45 -58
- data/test/test_gl_21.rb +46 -163
- data/test/test_gl_ext_arb.rb +54 -72
- data/test/test_gl_ext_ati.rb +0 -2
- data/test/test_gl_ext_ext.rb +66 -66
- data/test/test_gl_ext_gremedy.rb +8 -15
- data/test/test_gl_ext_nv.rb +109 -112
- data/test/test_opengl_buffer.rb +8 -25
- data/utils/README +0 -5
- data/utils/enumgen.rb +72 -76
- data/utils/extlistgen.rb +55 -55
- metadata +90 -67
- metadata.gz.sig +0 -0
- data/Rakefile.cross +0 -107
- data/docs/build_install.txt +0 -119
- data/docs/extensions.txt.in +0 -348
- data/docs/history.txt +0 -66
- data/docs/requirements_and_design.txt +0 -117
- data/docs/roadmap.txt +0 -28
- data/docs/scientific_use.txt +0 -35
- data/docs/supplies/page_template.html +0 -71
- data/docs/thanks.txt +0 -29
- data/docs/tutorial.txt +0 -469
- data/ext/opengl/glu-enums.c +0 -164
- data/ext/opengl/glu-enums.h +0 -463
- data/ext/opengl/glu.c +0 -1534
- data/ext/opengl/glut.c +0 -1145
- data/ext/opengl/glut_callbacks.c +0 -845
- data/lib/glu.rb +0 -1
- data/lib/glut.rb +0 -1
- data/lib/opengl/opengl.so +0 -0
- data/test/test_glu.rb +0 -309
- data/utils/mkdn2html.rb +0 -59
- data/utils/post-mkdn2html.rb +0 -91
- data/website/images/ogl.jpg +0 -0
- data/website/images/tab_bottom.gif +0 -0
- data/website/style.css +0 -198
data/utils/README
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
The utils directory
|
2
2
|
-------------------
|
3
3
|
|
4
|
-
* For generating website html
|
5
|
-
* `mkdn2html.rb` -- for converting the .txt files to html.
|
6
|
-
* `post-mkdn2html.rb` -- for the html syntax highlighting.
|
7
|
-
* `extlistgen.rb` -- generates supported extension table from extensions.txt.in
|
8
|
-
|
9
4
|
* For generating code
|
10
5
|
* `enumgen.rb` -- fetches opengl enum .spec files from web and generates
|
11
6
|
enumerator lists.
|
data/utils/enumgen.rb
CHANGED
@@ -17,96 +17,92 @@
|
|
17
17
|
require 'open-uri'
|
18
18
|
|
19
19
|
def parse_enum_spec(infilename)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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
36
|
else
|
37
37
|
puts "Unexpected line: #{line}"
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
end
|
39
|
+
end
|
40
|
+
f.close
|
41
|
+
enum_list
|
42
42
|
end
|
43
43
|
|
44
44
|
def write_enums(enum_list, task)
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
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
58
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
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
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
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
73
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
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
78
|
|
79
|
-
|
80
|
-
|
79
|
+
f << "}" << "\n"
|
80
|
+
end
|
81
81
|
end
|
82
82
|
|
83
83
|
|
84
84
|
# main
|
85
85
|
begin
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
86
|
+
gl_enums = {:c => "../ext/opengl/gl-enums.c",:h => "../ext/opengl/gl-enums.h",
|
87
|
+
:sources => ["http://www.opengl.org/registry/api/enum.spec",
|
88
|
+
"http://www.opengl.org/registry/api/enumext.spec"],
|
89
|
+
:prefix => "GL_"
|
90
|
+
}
|
91
91
|
|
92
|
-
|
93
|
-
:sources => "http://oss.sgi.com/cgi-bin/cvsweb.cgi/~checkout~/projects/ogl-sample/main/doc/registry/specs/enumglu.spec",
|
94
|
-
:prefix => "GLU_"
|
95
|
-
}
|
92
|
+
task_list = [gl_enums]
|
96
93
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
puts $!
|
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
|
112
108
|
end
|
data/utils/extlistgen.rb
CHANGED
@@ -22,69 +22,69 @@ opengl_extdoc_url = "http://opengl.org/registry/specs/"
|
|
22
22
|
|
23
23
|
# the extension / doc url naming is sometimes inconsistent
|
24
24
|
link_exceptions = {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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
30
|
}
|
31
31
|
|
32
32
|
begin
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
infile,outfile,*versions = ARGV
|
39
|
-
|
40
|
-
# read the list
|
41
|
-
extensions = []
|
42
|
-
CSV.open(infile, 'r') do |row|
|
43
|
-
next if row[0][0] == ?# # discard comment line
|
44
|
-
extensions << row
|
45
|
-
end
|
46
|
-
extensions.sort!
|
33
|
+
if ARGV.size < 3
|
34
|
+
puts "Parameters: infile outfile version [version ...]"
|
35
|
+
raise
|
36
|
+
end
|
47
37
|
|
48
|
-
|
49
|
-
File.open(outfile, 'w') do |f|
|
50
|
-
f << "<table class='extlist'>\n"
|
51
|
-
f << "<tr>\n"
|
38
|
+
infile,outfile,*versions = ARGV
|
52
39
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
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!
|
59
47
|
|
60
|
-
|
61
|
-
|
62
|
-
|
48
|
+
# create output
|
49
|
+
File.open(outfile, 'w') do |f|
|
50
|
+
f << "<table class='extlist'>\n"
|
51
|
+
f << "<tr>\n"
|
63
52
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
f << "<tr>\n"
|
72
|
-
f << "<td><a href='#{link}'>#{ext[0]}</a></td>"
|
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"
|
73
59
|
|
74
|
-
|
75
|
-
|
76
|
-
|
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
|
60
|
+
# content
|
61
|
+
extensions.each do |ext|
|
62
|
+
next if ext[1]=="NonGL" # skip non-GL (WGL,GLX) extensions
|
85
63
|
|
86
|
-
|
87
|
-
|
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
88
|
rescue
|
89
|
-
|
89
|
+
puts $!
|
90
90
|
end
|
metadata
CHANGED
@@ -1,80 +1,129 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.0
|
6
5
|
platform: x86-mingw32
|
7
6
|
authors:
|
8
7
|
- Eric Hodel
|
8
|
+
- Lars Kanis
|
9
|
+
- Blaž Hrastnik
|
9
10
|
- Alain Hoang
|
10
11
|
- Jan Dvorak
|
11
12
|
- Minh Thu Vo
|
12
13
|
- James Adam
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
|
-
cert_chain:
|
16
|
-
|
16
|
+
cert_chain:
|
17
|
+
- |
|
18
|
+
-----BEGIN CERTIFICATE-----
|
19
|
+
MIIDLjCCAhagAwIBAgIBAjANBgkqhkiG9w0BAQUFADA9MQ4wDAYDVQQDDAVrYW5p
|
20
|
+
czEXMBUGCgmSJomT8ixkARkWB2NvbWNhcmQxEjAQBgoJkiaJk/IsZAEZFgJkZTAe
|
21
|
+
Fw0xNDAyMjYwOTMzMDBaFw0xNTAyMjYwOTMzMDBaMD0xDjAMBgNVBAMMBWthbmlz
|
22
|
+
MRcwFQYKCZImiZPyLGQBGRYHY29tY2FyZDESMBAGCgmSJomT8ixkARkWAmRlMIIB
|
23
|
+
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApop+rNmg35bzRugZ21VMGqI6
|
24
|
+
HGzPLO4VHYncWn/xmgPU/ZMcZdfj6MzIaZJ/czXyt4eHpBk1r8QOV3gBXnRXEjVW
|
25
|
+
9xi+EdVOkTV2/AVFKThcbTAQGiF/bT1n2M+B1GTybRzMg6hyhOJeGPqIhLfJEpxn
|
26
|
+
lJi4+ENAVT4MpqHEAGB8yFoPC0GqiOHQsdHxQV3P3c2OZqG+yJey74QtwA2tLcLn
|
27
|
+
Q53c63+VLGsOjODl1yPn/2ejyq8qWu6ahfTxiIlSar2UbwtaQGBDFdb2CXgEufXT
|
28
|
+
L7oaPxlmj+Q2oLOfOnInd2Oxop59HoJCQPsg8f921J43NCQGA8VHK6paxIRDLQID
|
29
|
+
AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUvgTdT7fe
|
30
|
+
x17ugO3IOsjEJwW7KP4wDQYJKoZIhvcNAQEFBQADggEBAFmIAhRT0awqLQN9e4Uv
|
31
|
+
ZEk+jUWv4zkb+TWiKFJXlwjPyjGbZY9gVfOwAwMibYOK/t/+57ZzW3d0L12OUwvo
|
32
|
+
on84NVvYtIr1/iskJFWFkMoIquAFCdi9p68stSPMQK2XcrJJuRot29fJtropsZBa
|
33
|
+
2cpaNd/sRYdK4oep2usdKifA1lI0hIkPb3r5nLfwG2lAqBH7WZsUICHcTgR0VEbG
|
34
|
+
z9Ug5qQp9Uz73xC9YdGvGiuOX53LYobHAR4MWi2xxDlHI+ER8mRz0eY2FUuNu/Wj
|
35
|
+
GrqF74zpLl7/KFdHC8VmzwZS18hvDjxeLVuVI2gIGnBInqnlqv05g/l4/1pISh5j
|
36
|
+
dS4=
|
37
|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
17
39
|
dependencies:
|
18
40
|
- !ruby/object:Gem::Dependency
|
19
41
|
name: rdoc
|
20
42
|
requirement: !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
43
|
requirements:
|
23
44
|
- - ~>
|
24
45
|
- !ruby/object:Gem::Version
|
25
|
-
version: '
|
46
|
+
version: '4.0'
|
26
47
|
type: :development
|
27
48
|
prerelease: false
|
28
49
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
50
|
requirements:
|
31
51
|
- - ~>
|
32
52
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
53
|
+
version: '4.0'
|
34
54
|
- !ruby/object:Gem::Dependency
|
35
55
|
name: rake-compiler
|
36
56
|
requirement: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
57
|
requirements:
|
39
58
|
- - ~>
|
40
59
|
- !ruby/object:Gem::Version
|
41
60
|
version: '0.7'
|
42
|
-
- -
|
61
|
+
- - '>='
|
43
62
|
- !ruby/object:Gem::Version
|
44
63
|
version: 0.7.9
|
45
64
|
type: :development
|
46
65
|
prerelease: false
|
47
66
|
version_requirements: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
67
|
requirements:
|
50
68
|
- - ~>
|
51
69
|
- !ruby/object:Gem::Version
|
52
70
|
version: '0.7'
|
53
|
-
- -
|
71
|
+
- - '>='
|
54
72
|
- !ruby/object:Gem::Version
|
55
73
|
version: 0.7.9
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: glu
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '8.1'
|
81
|
+
type: :development
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '8.1'
|
88
|
+
- !ruby/object:Gem::Dependency
|
89
|
+
name: glut
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '8.1'
|
95
|
+
type: :development
|
96
|
+
prerelease: false
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '8.1'
|
56
102
|
- !ruby/object:Gem::Dependency
|
57
103
|
name: hoe
|
58
104
|
requirement: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
105
|
requirements:
|
61
106
|
- - ~>
|
62
107
|
- !ruby/object:Gem::Version
|
63
|
-
version: '3.
|
108
|
+
version: '3.7'
|
64
109
|
type: :development
|
65
110
|
prerelease: false
|
66
111
|
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
112
|
requirements:
|
69
113
|
- - ~>
|
70
114
|
- !ruby/object:Gem::Version
|
71
|
-
version: '3.
|
72
|
-
description:
|
73
|
-
|
115
|
+
version: '3.7'
|
116
|
+
description: |-
|
117
|
+
An OpenGL wrapper for Ruby. opengl contains bindings for OpenGL.
|
74
118
|
|
75
|
-
|
119
|
+
Be sure to check out
|
120
|
+
{GLU}[https://github.com/larskanis/glu] and
|
121
|
+
{GLUT}[https://github.com/larskanis/glut]
|
122
|
+
gems.
|
76
123
|
email:
|
77
124
|
- drbrain@segment7.net
|
125
|
+
- lars@greiz-reinsdorf.de
|
126
|
+
- speed.the.bboy@gmail.com
|
78
127
|
- ''
|
79
128
|
- ''
|
80
129
|
- ''
|
@@ -85,33 +134,17 @@ extra_rdoc_files:
|
|
85
134
|
- History.rdoc
|
86
135
|
- Manifest.txt
|
87
136
|
- README.rdoc
|
88
|
-
- docs/build_install.txt
|
89
|
-
- docs/history.txt
|
90
|
-
- docs/requirements_and_design.txt
|
91
|
-
- docs/roadmap.txt
|
92
|
-
- docs/scientific_use.txt
|
93
|
-
- docs/thanks.txt
|
94
|
-
- docs/tutorial.txt
|
95
137
|
- examples/OrangeBook/3Dlabs-License.txt
|
96
138
|
files:
|
97
139
|
- .autotest
|
98
140
|
- .gemtest
|
99
141
|
- .gitignore
|
142
|
+
- .travis.yml
|
100
143
|
- History.rdoc
|
101
144
|
- MIT-LICENSE
|
102
145
|
- Manifest.txt
|
103
146
|
- README.rdoc
|
104
147
|
- Rakefile
|
105
|
-
- Rakefile.cross
|
106
|
-
- docs/build_install.txt
|
107
|
-
- docs/extensions.txt.in
|
108
|
-
- docs/history.txt
|
109
|
-
- docs/requirements_and_design.txt
|
110
|
-
- docs/roadmap.txt
|
111
|
-
- docs/scientific_use.txt
|
112
|
-
- docs/supplies/page_template.html
|
113
|
-
- docs/thanks.txt
|
114
|
-
- docs/tutorial.txt
|
115
148
|
- examples/NeHe/NeHe.png
|
116
149
|
- examples/NeHe/crate.png
|
117
150
|
- examples/NeHe/glass.png
|
@@ -205,6 +238,7 @@ files:
|
|
205
238
|
- ext/opengl/gl-1.5.c
|
206
239
|
- ext/opengl/gl-2.0.c
|
207
240
|
- ext/opengl/gl-2.1.c
|
241
|
+
- ext/opengl/gl-3.0.c
|
208
242
|
- ext/opengl/gl-enums.c
|
209
243
|
- ext/opengl/gl-enums.h
|
210
244
|
- ext/opengl/gl-error.c
|
@@ -218,17 +252,14 @@ files:
|
|
218
252
|
- ext/opengl/gl-types.h
|
219
253
|
- ext/opengl/gl.c
|
220
254
|
- ext/opengl/gl_buffer.c
|
221
|
-
- ext/opengl/glu-enums.c
|
222
|
-
- ext/opengl/glu-enums.h
|
223
|
-
- ext/opengl/glu.c
|
224
|
-
- ext/opengl/glut.c
|
225
|
-
- ext/opengl/glut_callbacks.c
|
226
255
|
- ext/opengl/opengl.c
|
227
256
|
- lib/gl.rb
|
228
|
-
- lib/glu.rb
|
229
|
-
- lib/glut.rb
|
230
257
|
- lib/opengl.rb
|
258
|
+
- lib/opengl/1.9/opengl.so
|
259
|
+
- lib/opengl/2.0/opengl.so
|
260
|
+
- lib/opengl/2.1/opengl.so
|
231
261
|
- lib/opengl/test_case.rb
|
262
|
+
- test/dummy.xorg.conf
|
232
263
|
- test/test_gl.rb
|
233
264
|
- test/test_gl_10_11.rb
|
234
265
|
- test/test_gl_12.rb
|
@@ -242,19 +273,14 @@ files:
|
|
242
273
|
- test/test_gl_ext_ext.rb
|
243
274
|
- test/test_gl_ext_gremedy.rb
|
244
275
|
- test/test_gl_ext_nv.rb
|
245
|
-
- test/test_glu.rb
|
246
276
|
- test/test_opengl_buffer.rb
|
247
277
|
- utils/README
|
248
278
|
- utils/enumgen.rb
|
249
279
|
- utils/extlistgen.rb
|
250
|
-
|
251
|
-
|
252
|
-
-
|
253
|
-
|
254
|
-
- website/style.css
|
255
|
-
- lib/opengl/opengl.so
|
256
|
-
homepage: https://github.com/drbrain/opengl
|
257
|
-
licenses: []
|
280
|
+
homepage: https://github.com/larskanis/opengl
|
281
|
+
licenses:
|
282
|
+
- MIT
|
283
|
+
metadata: {}
|
258
284
|
post_install_message:
|
259
285
|
rdoc_options:
|
260
286
|
- --main
|
@@ -262,36 +288,33 @@ rdoc_options:
|
|
262
288
|
require_paths:
|
263
289
|
- lib
|
264
290
|
required_ruby_version: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
291
|
requirements:
|
267
|
-
- -
|
292
|
+
- - '>='
|
268
293
|
- !ruby/object:Gem::Version
|
269
294
|
version: 1.9.2
|
270
295
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
|
-
none: false
|
272
296
|
requirements:
|
273
|
-
- -
|
297
|
+
- - '>='
|
274
298
|
- !ruby/object:Gem::Version
|
275
299
|
version: '0'
|
276
300
|
requirements: []
|
277
301
|
rubyforge_project: opengl
|
278
|
-
rubygems_version:
|
302
|
+
rubygems_version: 2.2.2
|
279
303
|
signing_key:
|
280
|
-
specification_version:
|
304
|
+
specification_version: 4
|
281
305
|
summary: An OpenGL wrapper for Ruby
|
282
306
|
test_files:
|
307
|
+
- test/test_gl_21.rb
|
308
|
+
- test/test_gl_15.rb
|
283
309
|
- test/test_gl_ext_ext.rb
|
310
|
+
- test/test_opengl_buffer.rb
|
311
|
+
- test/test_gl_ext_ati.rb
|
284
312
|
- test/test_gl_12.rb
|
285
|
-
- test/test_gl_15.rb
|
286
|
-
- test/test_glu.rb
|
287
|
-
- test/test_gl_20.rb
|
288
|
-
- test/test_gl_13.rb
|
289
313
|
- test/test_gl_ext_gremedy.rb
|
290
|
-
- test/test_gl.rb
|
291
314
|
- test/test_gl_ext_nv.rb
|
292
315
|
- test/test_gl_ext_arb.rb
|
293
|
-
- test/
|
294
|
-
- test/
|
295
|
-
- test/test_gl_ext_ati.rb
|
316
|
+
- test/test_gl_13.rb
|
317
|
+
- test/test_gl_20.rb
|
296
318
|
- test/test_gl_14.rb
|
297
|
-
- test/
|
319
|
+
- test/test_gl_10_11.rb
|
320
|
+
- test/test_gl.rb
|