opengl 0.9.0-x64-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 +3 -0
- data.tar.gz.sig +0 -0
- data/.autotest +29 -0
- data/.gemtest +0 -0
- data/.gitignore +6 -0
- data/.travis.yml +19 -0
- data/History.rdoc +77 -0
- data/MIT-LICENSE +18 -0
- data/Manifest.txt +138 -0
- data/README.rdoc +102 -0
- data/Rakefile +60 -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 +155 -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/common.h +428 -0
- data/ext/opengl/conv.h +244 -0
- data/ext/opengl/extconf.rb +47 -0
- data/ext/opengl/funcdef.h +313 -0
- data/ext/opengl/gl-1.0-1.1.c +3075 -0
- data/ext/opengl/gl-1.2.c +155 -0
- data/ext/opengl/gl-1.3.c +443 -0
- data/ext/opengl/gl-1.4.c +348 -0
- data/ext/opengl/gl-1.5.c +224 -0
- data/ext/opengl/gl-2.0.c +667 -0
- data/ext/opengl/gl-2.1.c +57 -0
- data/ext/opengl/gl-3.0.c +493 -0
- data/ext/opengl/gl-enums.c +4873 -0
- data/ext/opengl/gl-enums.h +14588 -0
- data/ext/opengl/gl-error.c +112 -0
- data/ext/opengl/gl-error.h +28 -0
- data/ext/opengl/gl-ext-3dfx.c +27 -0
- data/ext/opengl/gl-ext-arb.c +875 -0
- data/ext/opengl/gl-ext-ati.c +41 -0
- data/ext/opengl/gl-ext-ext.c +889 -0
- data/ext/opengl/gl-ext-gremedy.c +41 -0
- data/ext/opengl/gl-ext-nv.c +680 -0
- data/ext/opengl/gl-types.h +67 -0
- data/ext/opengl/gl.c +220 -0
- data/ext/opengl/gl_buffer.c +177 -0
- data/ext/opengl/opengl.c +7 -0
- data/lib/gl.rb +1 -0
- data/lib/opengl.rb +53 -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 +86 -0
- data/test/dummy.xorg.conf +140 -0
- data/test/test_gl.rb +38 -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_opengl_buffer.rb +120 -0
- data/utils/README +6 -0
- data/utils/enumgen.rb +108 -0
- data/utils/extlistgen.rb +90 -0
- metadata +319 -0
- metadata.gz.sig +1 -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 => ["http://www.opengl.org/registry/api/enum.spec",
|
88
|
+
"http://www.opengl.org/registry/api/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,319 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: opengl
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.0
|
5
|
+
platform: x64-mingw32
|
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
|
+
- |
|
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
|
39
|
+
dependencies:
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: rdoc
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '4.0'
|
47
|
+
type: :development
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '4.0'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rake-compiler
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.7'
|
61
|
+
- - '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.7.9
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0.7'
|
71
|
+
- - '>='
|
72
|
+
- !ruby/object:Gem::Version
|
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'
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: hoe
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '3.7'
|
109
|
+
type: :development
|
110
|
+
prerelease: false
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ~>
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '3.7'
|
116
|
+
description: |-
|
117
|
+
An OpenGL wrapper for Ruby. opengl contains bindings for OpenGL.
|
118
|
+
|
119
|
+
Be sure to check out
|
120
|
+
{GLU}[https://github.com/larskanis/glu] and
|
121
|
+
{GLUT}[https://github.com/larskanis/glut]
|
122
|
+
gems.
|
123
|
+
email:
|
124
|
+
- drbrain@segment7.net
|
125
|
+
- lars@greiz-reinsdorf.de
|
126
|
+
- speed.the.bboy@gmail.com
|
127
|
+
- ''
|
128
|
+
- ''
|
129
|
+
- ''
|
130
|
+
- ''
|
131
|
+
executables: []
|
132
|
+
extensions: []
|
133
|
+
extra_rdoc_files:
|
134
|
+
- History.rdoc
|
135
|
+
- Manifest.txt
|
136
|
+
- README.rdoc
|
137
|
+
- examples/OrangeBook/3Dlabs-License.txt
|
138
|
+
files:
|
139
|
+
- .autotest
|
140
|
+
- .gemtest
|
141
|
+
- .gitignore
|
142
|
+
- .travis.yml
|
143
|
+
- History.rdoc
|
144
|
+
- MIT-LICENSE
|
145
|
+
- Manifest.txt
|
146
|
+
- README.rdoc
|
147
|
+
- Rakefile
|
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/common.h
|
231
|
+
- ext/opengl/conv.h
|
232
|
+
- ext/opengl/extconf.rb
|
233
|
+
- ext/opengl/funcdef.h
|
234
|
+
- ext/opengl/gl-1.0-1.1.c
|
235
|
+
- ext/opengl/gl-1.2.c
|
236
|
+
- ext/opengl/gl-1.3.c
|
237
|
+
- ext/opengl/gl-1.4.c
|
238
|
+
- ext/opengl/gl-1.5.c
|
239
|
+
- ext/opengl/gl-2.0.c
|
240
|
+
- ext/opengl/gl-2.1.c
|
241
|
+
- ext/opengl/gl-3.0.c
|
242
|
+
- ext/opengl/gl-enums.c
|
243
|
+
- ext/opengl/gl-enums.h
|
244
|
+
- ext/opengl/gl-error.c
|
245
|
+
- ext/opengl/gl-error.h
|
246
|
+
- ext/opengl/gl-ext-3dfx.c
|
247
|
+
- ext/opengl/gl-ext-arb.c
|
248
|
+
- ext/opengl/gl-ext-ati.c
|
249
|
+
- ext/opengl/gl-ext-ext.c
|
250
|
+
- ext/opengl/gl-ext-gremedy.c
|
251
|
+
- ext/opengl/gl-ext-nv.c
|
252
|
+
- ext/opengl/gl-types.h
|
253
|
+
- ext/opengl/gl.c
|
254
|
+
- ext/opengl/gl_buffer.c
|
255
|
+
- ext/opengl/opengl.c
|
256
|
+
- lib/gl.rb
|
257
|
+
- lib/opengl.rb
|
258
|
+
- lib/opengl/2.0/opengl.so
|
259
|
+
- lib/opengl/2.1/opengl.so
|
260
|
+
- lib/opengl/test_case.rb
|
261
|
+
- test/dummy.xorg.conf
|
262
|
+
- test/test_gl.rb
|
263
|
+
- test/test_gl_10_11.rb
|
264
|
+
- test/test_gl_12.rb
|
265
|
+
- test/test_gl_13.rb
|
266
|
+
- test/test_gl_14.rb
|
267
|
+
- test/test_gl_15.rb
|
268
|
+
- test/test_gl_20.rb
|
269
|
+
- test/test_gl_21.rb
|
270
|
+
- test/test_gl_ext_arb.rb
|
271
|
+
- test/test_gl_ext_ati.rb
|
272
|
+
- test/test_gl_ext_ext.rb
|
273
|
+
- test/test_gl_ext_gremedy.rb
|
274
|
+
- test/test_gl_ext_nv.rb
|
275
|
+
- test/test_opengl_buffer.rb
|
276
|
+
- utils/README
|
277
|
+
- utils/enumgen.rb
|
278
|
+
- utils/extlistgen.rb
|
279
|
+
homepage: https://github.com/larskanis/opengl
|
280
|
+
licenses:
|
281
|
+
- MIT
|
282
|
+
metadata: {}
|
283
|
+
post_install_message:
|
284
|
+
rdoc_options:
|
285
|
+
- --main
|
286
|
+
- README.rdoc
|
287
|
+
require_paths:
|
288
|
+
- lib
|
289
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: 1.9.2
|
294
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - '>='
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '0'
|
299
|
+
requirements: []
|
300
|
+
rubyforge_project: opengl
|
301
|
+
rubygems_version: 2.2.2
|
302
|
+
signing_key:
|
303
|
+
specification_version: 4
|
304
|
+
summary: An OpenGL wrapper for Ruby
|
305
|
+
test_files:
|
306
|
+
- test/test_gl_21.rb
|
307
|
+
- test/test_gl_15.rb
|
308
|
+
- test/test_gl_ext_ext.rb
|
309
|
+
- test/test_opengl_buffer.rb
|
310
|
+
- test/test_gl_ext_ati.rb
|
311
|
+
- test/test_gl_12.rb
|
312
|
+
- test/test_gl_ext_gremedy.rb
|
313
|
+
- test/test_gl_ext_nv.rb
|
314
|
+
- test/test_gl_ext_arb.rb
|
315
|
+
- test/test_gl_13.rb
|
316
|
+
- test/test_gl_20.rb
|
317
|
+
- test/test_gl_14.rb
|
318
|
+
- test/test_gl_10_11.rb
|
319
|
+
- test/test_gl.rb
|