opengl 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +1 -0
  3. data.tar.gz.sig +0 -0
  4. data/.gitignore +2 -1
  5. data/.travis.yml +19 -0
  6. data/History.rdoc +26 -0
  7. data/Manifest.txt +3 -23
  8. data/README.rdoc +43 -37
  9. data/Rakefile +6 -62
  10. data/examples/NeHe/nehe_lesson02.rb +3 -2
  11. data/examples/NeHe/nehe_lesson03.rb +3 -2
  12. data/examples/NeHe/nehe_lesson04.rb +3 -1
  13. data/examples/NeHe/nehe_lesson05.rb +4 -1
  14. data/examples/NeHe/nehe_lesson06.rb +9 -6
  15. data/examples/NeHe/nehe_lesson07.rb +9 -6
  16. data/examples/NeHe/nehe_lesson08.rb +9 -6
  17. data/examples/NeHe/nehe_lesson09.rb +10 -6
  18. data/examples/NeHe/nehe_lesson11.rb +9 -6
  19. data/examples/NeHe/nehe_lesson12.rb +9 -6
  20. data/examples/NeHe/nehe_lesson16.rb +50 -47
  21. data/examples/NeHe/nehe_lesson19.rb +10 -7
  22. data/examples/NeHe/nehe_lesson36.rb +234 -229
  23. data/examples/OrangeBook/brick.rb +227 -225
  24. data/examples/OrangeBook/particle.rb +233 -231
  25. data/examples/RedBook/aapoly.rb +71 -70
  26. data/examples/RedBook/aargb.rb +54 -52
  27. data/examples/RedBook/accanti.rb +96 -94
  28. data/examples/RedBook/accpersp.rb +106 -104
  29. data/examples/RedBook/alpha.rb +54 -52
  30. data/examples/RedBook/alpha3D.rb +90 -88
  31. data/examples/RedBook/bezcurve.rb +48 -46
  32. data/examples/RedBook/bezmesh.rb +71 -69
  33. data/examples/RedBook/checker.rb +57 -55
  34. data/examples/RedBook/clip.rb +41 -39
  35. data/examples/RedBook/colormat.rb +72 -70
  36. data/examples/RedBook/cube.rb +39 -37
  37. data/examples/RedBook/depthcue.rb +37 -35
  38. data/examples/RedBook/dof.rb +110 -109
  39. data/examples/RedBook/double.rb +40 -38
  40. data/examples/RedBook/drawf.rb +30 -28
  41. data/examples/RedBook/feedback.rb +79 -77
  42. data/examples/RedBook/fog.rb +90 -89
  43. data/examples/RedBook/font.rb +78 -76
  44. data/examples/RedBook/hello.rb +29 -27
  45. data/examples/RedBook/image.rb +57 -55
  46. data/examples/RedBook/jitter.rb +131 -131
  47. data/examples/RedBook/light.rb +2 -1
  48. data/examples/RedBook/lines.rb +70 -68
  49. data/examples/RedBook/list.rb +48 -46
  50. data/examples/RedBook/material.rb +200 -199
  51. data/examples/RedBook/mipmap.rb +84 -82
  52. data/examples/RedBook/model.rb +55 -53
  53. data/examples/RedBook/movelight.rb +52 -50
  54. data/examples/RedBook/pickdepth.rb +103 -101
  55. data/examples/RedBook/planet.rb +46 -44
  56. data/examples/RedBook/quadric.rb +97 -95
  57. data/examples/RedBook/robot.rb +55 -53
  58. data/examples/RedBook/select.rb +118 -116
  59. data/examples/RedBook/smooth.rb +35 -33
  60. data/examples/RedBook/stencil.rb +96 -94
  61. data/examples/RedBook/stroke.rb +75 -73
  62. data/examples/RedBook/surface.rb +93 -91
  63. data/examples/RedBook/teaambient.rb +71 -69
  64. data/examples/RedBook/teapots.rb +105 -103
  65. data/examples/RedBook/tess.rb +96 -94
  66. data/examples/RedBook/texbind.rb +79 -77
  67. data/examples/RedBook/texgen.rb +88 -86
  68. data/examples/RedBook/texturesurf.rb +57 -55
  69. data/examples/RedBook/varray.rb +85 -83
  70. data/examples/RedBook/wrap.rb +76 -74
  71. data/examples/misc/OGLBench.rb +114 -113
  72. data/examples/misc/anisotropic.rb +154 -152
  73. data/examples/misc/fbo_test.rb +37 -36
  74. data/examples/misc/font-glut.rb +47 -46
  75. data/examples/misc/glfwtest.rb +16 -16
  76. data/examples/misc/plane.rb +13 -13
  77. data/examples/misc/readpixel.rb +66 -65
  78. data/examples/misc/sdltest.rb +21 -19
  79. data/examples/misc/trislam.rb +548 -547
  80. data/ext/opengl/common.h +16 -38
  81. data/ext/opengl/conv.h +39 -41
  82. data/ext/opengl/extconf.rb +4 -31
  83. data/ext/opengl/funcdef.h +126 -124
  84. data/ext/opengl/gl-1.0-1.1.c +1917 -1917
  85. data/ext/opengl/gl-1.2.c +4 -667
  86. data/ext/opengl/gl-1.3.c +9 -9
  87. data/ext/opengl/gl-1.4.c +8 -8
  88. data/ext/opengl/gl-1.5.c +1 -1
  89. data/ext/opengl/gl-2.0.c +392 -388
  90. data/ext/opengl/gl-3.0.c +493 -0
  91. data/ext/opengl/gl-enums.c +1523 -5
  92. data/ext/opengl/gl-enums.h +4679 -122
  93. data/ext/opengl/gl-error.c +7 -7
  94. data/ext/opengl/gl-error.h +4 -4
  95. data/ext/opengl/gl-ext-arb.c +468 -464
  96. data/ext/opengl/gl-ext-ext.c +18 -18
  97. data/ext/opengl/gl-ext-nv.c +15 -15
  98. data/ext/opengl/gl.c +2 -0
  99. data/ext/opengl/gl_buffer.c +92 -92
  100. data/ext/opengl/opengl.c +1 -7
  101. data/lib/opengl.rb +23 -59
  102. data/lib/opengl/test_case.rb +1 -2
  103. data/test/dummy.xorg.conf +140 -0
  104. data/test/test_gl.rb +18 -22
  105. data/test/test_gl_10_11.rb +220 -220
  106. data/test/test_gl_12.rb +11 -122
  107. data/test/test_gl_13.rb +202 -210
  108. data/test/test_gl_14.rb +16 -19
  109. data/test/test_gl_15.rb +2 -4
  110. data/test/test_gl_20.rb +45 -58
  111. data/test/test_gl_21.rb +46 -163
  112. data/test/test_gl_ext_arb.rb +54 -72
  113. data/test/test_gl_ext_ati.rb +0 -2
  114. data/test/test_gl_ext_ext.rb +66 -66
  115. data/test/test_gl_ext_gremedy.rb +8 -15
  116. data/test/test_gl_ext_nv.rb +109 -112
  117. data/test/test_opengl_buffer.rb +8 -25
  118. data/utils/README +0 -5
  119. data/utils/enumgen.rb +72 -76
  120. data/utils/extlistgen.rb +55 -55
  121. metadata +87 -66
  122. metadata.gz.sig +2 -0
  123. data/Rakefile.cross +0 -107
  124. data/docs/build_install.txt +0 -119
  125. data/docs/extensions.txt.in +0 -348
  126. data/docs/history.txt +0 -66
  127. data/docs/requirements_and_design.txt +0 -117
  128. data/docs/roadmap.txt +0 -28
  129. data/docs/scientific_use.txt +0 -35
  130. data/docs/supplies/page_template.html +0 -71
  131. data/docs/thanks.txt +0 -29
  132. data/docs/tutorial.txt +0 -469
  133. data/ext/opengl/glu-enums.c +0 -164
  134. data/ext/opengl/glu-enums.h +0 -463
  135. data/ext/opengl/glu.c +0 -1534
  136. data/ext/opengl/glut.c +0 -1145
  137. data/ext/opengl/glut_callbacks.c +0 -845
  138. data/lib/glu.rb +0 -1
  139. data/lib/glut.rb +0 -1
  140. data/test/test_glu.rb +0 -309
  141. data/utils/mkdn2html.rb +0 -59
  142. data/utils/post-mkdn2html.rb +0 -91
  143. data/website/images/ogl.jpg +0 -0
  144. data/website/images/tab_bottom.gif +0 -0
  145. data/website/style.css +0 -198
@@ -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.
@@ -17,96 +17,92 @@
17
17
  require 'open-uri'
18
18
 
19
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
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
- end
39
- end
40
- f.close
41
- enum_list
38
+ end
39
+ end
40
+ f.close
41
+ enum_list
42
42
  end
43
43
 
44
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
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
- # .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/common.h"' << "\n"
66
- f << "void #{task[:prefix].downcase}init_enums(VALUE module)" << "\n"
67
- f << "{" << "\n"
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
- # 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"
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
- 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
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
- f << "}" << "\n"
80
- end
79
+ f << "}" << "\n"
80
+ end
81
81
  end
82
82
 
83
83
 
84
84
  # main
85
85
  begin
86
- gl_enums = {:c => "../ext/gl/gl-enums.c",:h => "../ext/common/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
- }
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
- glu_enums = {:c => "../ext/glu/glu-enums.c",:h => "../ext/common/glu-enums.h",
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
- task_list = [gl_enums, glu_enums]
98
-
99
- # main loop
100
- task_list.each do |task|
101
- enum_list = {}
102
- # gather enums from each source file/url
103
- task[:sources].each do |fname|
104
- enum_list.update(parse_enum_spec(fname))
105
- end
106
- # write to files
107
- write_enums(enum_list.sort,task)
108
- end
109
- puts "All OK"
110
- rescue
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
@@ -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
- "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"
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
- 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.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
- # create output
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
- # header
54
- f << "<th>Extension</th>\n"
55
- versions.each do |ver|
56
- f << "<th>#{ver}</th>\n"
57
- end
58
- f << "</tr>\n"
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
- # content
61
- extensions.each do |ext|
62
- next if ext[1]=="NonGL" # skip non-GL (WGL,GLX) extensions
48
+ # create output
49
+ File.open(outfile, 'w') do |f|
50
+ f << "<table class='extlist'>\n"
51
+ f << "<tr>\n"
63
52
 
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>"
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
- 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
60
+ # content
61
+ extensions.each do |ext|
62
+ next if ext[1]=="NonGL" # skip non-GL (WGL,GLX) extensions
85
63
 
86
- f << "</table>"
87
- end
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
- puts $!
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.8.0
5
- prerelease:
4
+ version: 0.9.0
6
5
  platform: ruby
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
- date: 2013-02-03 00:00:00.000000000 Z
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: '3.10'
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: '3.10'
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.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.3'
72
- description: ! 'An OpenGL wrapper for Ruby. ruby-opengl contains bindings for OpenGL
73
- and the
115
+ version: '3.7'
116
+ description: |-
117
+ An OpenGL wrapper for Ruby. opengl contains bindings for OpenGL.
74
118
 
75
- GLU and GLUT libraries.'
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
  - ''
@@ -86,33 +135,17 @@ extra_rdoc_files:
86
135
  - History.rdoc
87
136
  - Manifest.txt
88
137
  - README.rdoc
89
- - docs/build_install.txt
90
- - docs/history.txt
91
- - docs/requirements_and_design.txt
92
- - docs/roadmap.txt
93
- - docs/scientific_use.txt
94
- - docs/thanks.txt
95
- - docs/tutorial.txt
96
138
  - examples/OrangeBook/3Dlabs-License.txt
97
139
  files:
98
140
  - .autotest
99
141
  - .gemtest
100
142
  - .gitignore
143
+ - .travis.yml
101
144
  - History.rdoc
102
145
  - MIT-LICENSE
103
146
  - Manifest.txt
104
147
  - README.rdoc
105
148
  - Rakefile
106
- - Rakefile.cross
107
- - docs/build_install.txt
108
- - docs/extensions.txt.in
109
- - docs/history.txt
110
- - docs/requirements_and_design.txt
111
- - docs/roadmap.txt
112
- - docs/scientific_use.txt
113
- - docs/supplies/page_template.html
114
- - docs/thanks.txt
115
- - docs/tutorial.txt
116
149
  - examples/NeHe/NeHe.png
117
150
  - examples/NeHe/crate.png
118
151
  - examples/NeHe/glass.png
@@ -206,6 +239,7 @@ files:
206
239
  - ext/opengl/gl-1.5.c
207
240
  - ext/opengl/gl-2.0.c
208
241
  - ext/opengl/gl-2.1.c
242
+ - ext/opengl/gl-3.0.c
209
243
  - ext/opengl/gl-enums.c
210
244
  - ext/opengl/gl-enums.h
211
245
  - ext/opengl/gl-error.c
@@ -219,17 +253,11 @@ files:
219
253
  - ext/opengl/gl-types.h
220
254
  - ext/opengl/gl.c
221
255
  - ext/opengl/gl_buffer.c
222
- - ext/opengl/glu-enums.c
223
- - ext/opengl/glu-enums.h
224
- - ext/opengl/glu.c
225
- - ext/opengl/glut.c
226
- - ext/opengl/glut_callbacks.c
227
256
  - ext/opengl/opengl.c
228
257
  - lib/gl.rb
229
- - lib/glu.rb
230
- - lib/glut.rb
231
258
  - lib/opengl.rb
232
259
  - lib/opengl/test_case.rb
260
+ - test/dummy.xorg.conf
233
261
  - test/test_gl.rb
234
262
  - test/test_gl_10_11.rb
235
263
  - test/test_gl_12.rb
@@ -243,18 +271,14 @@ files:
243
271
  - test/test_gl_ext_ext.rb
244
272
  - test/test_gl_ext_gremedy.rb
245
273
  - test/test_gl_ext_nv.rb
246
- - test/test_glu.rb
247
274
  - test/test_opengl_buffer.rb
248
275
  - utils/README
249
276
  - utils/enumgen.rb
250
277
  - utils/extlistgen.rb
251
- - utils/mkdn2html.rb
252
- - utils/post-mkdn2html.rb
253
- - website/images/ogl.jpg
254
- - website/images/tab_bottom.gif
255
- - website/style.css
256
- homepage: https://github.com/drbrain/opengl
257
- licenses: []
278
+ homepage: https://github.com/larskanis/opengl
279
+ licenses:
280
+ - MIT
281
+ metadata: {}
258
282
  post_install_message:
259
283
  rdoc_options:
260
284
  - --main
@@ -262,36 +286,33 @@ rdoc_options:
262
286
  require_paths:
263
287
  - lib
264
288
  required_ruby_version: !ruby/object:Gem::Requirement
265
- none: false
266
289
  requirements:
267
- - - ! '>='
290
+ - - '>='
268
291
  - !ruby/object:Gem::Version
269
292
  version: 1.9.2
270
293
  required_rubygems_version: !ruby/object:Gem::Requirement
271
- none: false
272
294
  requirements:
273
- - - ! '>='
295
+ - - '>='
274
296
  - !ruby/object:Gem::Version
275
297
  version: '0'
276
298
  requirements: []
277
299
  rubyforge_project: opengl
278
- rubygems_version: 1.8.24
300
+ rubygems_version: 2.2.2
279
301
  signing_key:
280
- specification_version: 3
302
+ specification_version: 4
281
303
  summary: An OpenGL wrapper for Ruby
282
304
  test_files:
305
+ - test/test_gl_21.rb
306
+ - test/test_gl_15.rb
283
307
  - test/test_gl_ext_ext.rb
308
+ - test/test_opengl_buffer.rb
309
+ - test/test_gl_ext_ati.rb
284
310
  - 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
311
  - test/test_gl_ext_gremedy.rb
290
- - test/test_gl.rb
291
312
  - test/test_gl_ext_nv.rb
292
313
  - test/test_gl_ext_arb.rb
293
- - test/test_gl_10_11.rb
294
- - test/test_opengl_buffer.rb
295
- - test/test_gl_ext_ati.rb
314
+ - test/test_gl_13.rb
315
+ - test/test_gl_20.rb
296
316
  - test/test_gl_14.rb
297
- - test/test_gl_21.rb
317
+ - test/test_gl_10_11.rb
318
+ - test/test_gl.rb