opengl 0.9.2-x64-mingw32 → 0.10.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -0
  3. data/{History.rdoc → History.md} +15 -0
  4. data/Manifest.txt +5 -1
  5. data/README.rdoc +25 -28
  6. data/Rakefile +125 -27
  7. data/examples/RedBook/font.rb +2 -2
  8. data/examples/RedBook/light.rb +2 -0
  9. data/examples/RedBook/stroke.rb +6 -6
  10. data/ext/opengl/GL/gl.h +2115 -0
  11. data/ext/opengl/GL/glext.h +11770 -0
  12. data/ext/opengl/common.h +116 -172
  13. data/ext/opengl/conv.h +2 -2
  14. data/ext/opengl/extconf.rb +3 -31
  15. data/ext/opengl/fptr_struct.h +912 -0
  16. data/ext/opengl/funcdef.h +29 -63
  17. data/ext/opengl/gl-1.0-1.1.c +918 -648
  18. data/ext/opengl/gl-1.2.c +13 -13
  19. data/ext/opengl/gl-1.3.c +68 -64
  20. data/ext/opengl/gl-1.4.c +64 -66
  21. data/ext/opengl/gl-1.5.c +32 -31
  22. data/ext/opengl/gl-2.0.c +126 -128
  23. data/ext/opengl/gl-2.1.c +8 -8
  24. data/ext/opengl/gl-3.0.c +102 -93
  25. data/ext/opengl/gl-enums.c +9 -29
  26. data/ext/opengl/gl-enums.h +31 -91
  27. data/ext/opengl/gl-error.c +15 -17
  28. data/ext/opengl/gl-error.h +4 -7
  29. data/ext/opengl/gl-ext-3dfx.c +2 -2
  30. data/ext/opengl/gl-ext-arb.c +176 -171
  31. data/ext/opengl/gl-ext-ati.c +4 -4
  32. data/ext/opengl/gl-ext-ext.c +151 -155
  33. data/ext/opengl/gl-ext-gremedy.c +4 -4
  34. data/ext/opengl/gl-ext-nv.c +141 -142
  35. data/ext/opengl/gl.c +121 -76
  36. data/ext/opengl/gl_buffer.c +44 -19
  37. data/ext/opengl/glimpl.c +187 -0
  38. data/ext/opengl/glimpl.h +47 -0
  39. data/ext/opengl/opengl.c +5 -3
  40. data/lib/opengl.rb +24 -4
  41. data/lib/opengl/2.0/opengl.so +0 -0
  42. data/lib/opengl/2.1/opengl.so +0 -0
  43. data/lib/opengl/2.2/opengl.so +0 -0
  44. data/lib/opengl/2.3/opengl.so +0 -0
  45. data/lib/opengl/2.4/opengl.so +0 -0
  46. data/lib/opengl/bindings_version.rb +4 -0
  47. data/lib/opengl/implementation.rb +38 -0
  48. data/opengl.gemspec +32 -0
  49. data/test/test_gl.rb +7 -0
  50. data/test/test_gl_21.rb +21 -21
  51. data/test/test_gl_ext_arb.rb +1 -1
  52. data/test/test_glimpl.rb +23 -0
  53. data/test/test_opengl_buffer.rb +2 -0
  54. data/utils/enumgen.rb +2 -2
  55. metadata +74 -61
  56. checksums.yaml.gz.sig +0 -0
  57. data.tar.gz.sig +0 -0
  58. data/ext/opengl/gl-types.h +0 -67
  59. metadata.gz.sig +0 -2
@@ -0,0 +1,47 @@
1
+ #ifndef _GLIMPL_H_
2
+ #define _GLIMPL_H_
3
+
4
+ #ifndef GLFUNC_MAGIC_START
5
+ #include "fptr_struct.h"
6
+ #endif
7
+
8
+ #define GET_GLIMPL_VARIABLE(_name_) \
9
+ (((struct glimpl *)DATA_PTR(obj))->_name_)
10
+
11
+ #define SET_GLIMPL_VARIABLE(_name_,_val_) \
12
+ ((struct glimpl *)DATA_PTR(obj))->_name_ = (_val_)
13
+
14
+ /* at least GL_MAX_VERTEX_ATTRIBS - usually 16 or 32 on today's high-end cards */
15
+ #define _MAX_VERTEX_ATTRIBS 64
16
+
17
+ extern VALUE g_default_glimpl;
18
+
19
+ struct glimpl {
20
+ struct glfunc_ptrs glfuncs;
21
+
22
+ int opengl_version[2]; /* major, minor */
23
+ char *opengl_extensions;
24
+
25
+ void * (* load_gl_function)(VALUE self, const char *name,int raise);
26
+
27
+ VALUE current_feed_buffer;
28
+ VALUE current_sel_buffer;
29
+ VALUE Vertex_ptr;
30
+ VALUE Normal_ptr;
31
+ VALUE Color_ptr;
32
+ VALUE Index_ptr;
33
+ VALUE TexCoord_ptr;
34
+ VALUE EdgeFlag_ptr;
35
+ VALUE FogCoord_ptr; /* OpenGL 1.4 */
36
+ VALUE SecondaryColor_ptr; /* OpenGL 1.4 */
37
+ VALUE VertexAttrib_ptr[_MAX_VERTEX_ATTRIBS];
38
+
39
+ VALUE error_checking;
40
+ VALUE inside_begin_end;
41
+
42
+ void *dl;
43
+ void * (APIENTRY * fptr_GetProcAddress)(const char *name);
44
+ };
45
+
46
+
47
+ #endif /* _GLIMPL_H_ */
@@ -1,7 +1,9 @@
1
1
  #include "common.h"
2
2
 
3
- void Init_gl(void);
3
+ void Init_gl(VALUE);
4
4
 
5
- DLLEXPORT void Init_opengl() {
6
- Init_gl();
5
+ void Init_opengl() {
6
+ VALUE module = rb_define_module("Gl");
7
+
8
+ Init_gl(module);
7
9
  }
@@ -20,10 +20,6 @@
20
20
  # Thanks to Ilmari Heikkinen for a previous "reversed" version of this code,
21
21
  # and to Bill Kelly for a version before that one.
22
22
 
23
- module OpenGL
24
- VERSION = '0.9.2'
25
- end
26
-
27
23
  begin
28
24
  RUBY_VERSION =~ /(\d+.\d+)/
29
25
  require "opengl/#{$1}/opengl"
@@ -31,6 +27,28 @@ rescue LoadError
31
27
  require 'opengl/opengl'
32
28
  end
33
29
 
30
+ require 'opengl/implementation'
31
+ require 'opengl/bindings_version'
32
+
33
+ module Gl
34
+ meths = Gl::Implementation.instance_methods.select{|mn| mn=~/^gl/ }
35
+ meths += %w[is_available? is_supported?
36
+ extension_available? extension_supported?
37
+ version_available? version_supported?
38
+ enable_error_checking disable_error_checking is_error_checking_enabled?
39
+ ]
40
+
41
+ meths.each do |mn|
42
+ define_singleton_method(mn) do |*args,&block|
43
+ implementation.send(mn, *args, &block)
44
+ end
45
+ define_method(mn) do |*args,&block|
46
+ implementation.send(mn, *args, &block)
47
+ end
48
+ private mn
49
+ end
50
+ end
51
+
34
52
  # (Gl.)glVertex -> GL.Vertex
35
53
  # (Gl::)GL_TRUE -> GL::TRUE
36
54
  module GL
@@ -51,3 +69,5 @@ module GL
51
69
  public( n )
52
70
  end
53
71
  end
72
+
73
+ OpenGL = Gl
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ module Gl
2
+ BINDINGS_VERSION = '0.10.0'
3
+ RUBY_OPENGL_VERSION = BINDINGS_VERSION
4
+ end
@@ -0,0 +1,38 @@
1
+
2
+ module Gl
3
+ if RUBY_PLATFORM =~ /mingw|mswin/i
4
+ class ImplementationWindows < Implementation
5
+ DLPATH = "opengl32.dll"
6
+ def self.open
7
+ super(DLPATH, "wglGetProcAddress")
8
+ end
9
+ end
10
+
11
+ Gl::DefaultImplementation = ImplementationWindows
12
+
13
+ elsif RUBY_PLATFORM =~ /darwin/i
14
+ class ImplementationOSX < Implementation
15
+ DLPATH = "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL"
16
+ def self.open
17
+ super(DLPATH)
18
+ end
19
+ end
20
+
21
+ Gl::DefaultImplementation = ImplementationOSX
22
+
23
+ else
24
+ class ImplementationGLX < Implementation
25
+ DLPATH = "libGL.so"
26
+ def self.open
27
+ begin
28
+ super(DLPATH, "glXGetProcAddress")
29
+ rescue NotImplementedError
30
+ super(DLPATH, "glXGetProcAddressARB")
31
+ end
32
+ end
33
+ end
34
+
35
+ Gl::DefaultImplementation = ImplementationGLX
36
+
37
+ end
38
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'opengl/bindings_version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "opengl"
8
+ spec.version = Gl::BINDINGS_VERSION
9
+ spec.authors = ["Eric Hodel", "Lars Kanis", "Bla\u{17e} Hrastnik", "Alain Hoang", "Jan Dvorak", "Minh Thu Vo", "James Adam"]
10
+ spec.email = ["drbrain@segment7.net", "lars@greiz-reinsdorf.de", "blaz@mxxn.io", "", "", "", ""]
11
+ spec.summary = "An OpenGL wrapper for Ruby"
12
+ spec.description = "An OpenGL wrapper for Ruby. opengl contains bindings for OpenGL.\n\nBe sure to check out\n{GLU}[https://github.com/larskanis/glu] and\n{GLUT}[https://github.com/larskanis/glut]\ngems."
13
+ spec.homepage = "https://github.com/larskanis/opengl"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0") +
17
+ ["ext/opengl/fptr_struct.h"]
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+ spec.extensions = ["ext/opengl/extconf.rb"]
22
+ spec.rdoc_options = ["--main", "README.rdoc"]
23
+
24
+ spec.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
25
+ spec.add_development_dependency "bundler", "~> 1.5"
26
+ spec.add_development_dependency "rake"
27
+ spec.add_development_dependency 'minitest', '~> 5.3'
28
+ spec.add_development_dependency 'rake-compiler', '~> 1.0'
29
+ spec.add_development_dependency 'rake-compiler-dock', '~> 0.6.0'
30
+ spec.add_development_dependency 'glu', '~> 8.1'
31
+ spec.add_development_dependency 'glut', '~> 8.1'
32
+ end
@@ -35,4 +35,11 @@ class TestGl < OpenGL::TestCase
35
35
  assert(false) # error not detected
36
36
  end
37
37
  end
38
+
39
+ def test_implementation
40
+ old_glimpl = Gl.implementation
41
+ Gl.implementation = Gl::DefaultImplementation.open
42
+
43
+ refute_equal old_glimpl, Gl.implementation
44
+ end
38
45
  end
@@ -134,7 +134,7 @@ void main() {
134
134
  end
135
135
 
136
136
  def test_pixelunpack_bitmap
137
- skip("Segfaults on Mesa until upstream fixes it")
137
+ skip("Segfaults on Mesa before 10") if glGetString(GL::VERSION)=~/Mesa (\d+)\.(\d+)\.(\d+)/ && $1.to_i<10
138
138
  glOrtho(0, WINDOW_SIZE, 0, WINDOW_SIZE, 0, -1)
139
139
 
140
140
  bitmap = [ 0x55 ] * 8 # 64 bits (8x8 bitmap), stipple pattern
@@ -328,12 +328,12 @@ void main() {
328
328
 
329
329
  buffers = glGenBuffers(1)
330
330
  glBindBuffer(GL_PIXEL_PACK_BUFFER, buffers[0])
331
- glBufferData(GL_PIXEL_PACK_BUFFER_ARB, 4*4*4*3, nil, GL_STREAM_READ)
331
+ glBufferData(GL_PIXEL_PACK_BUFFER, 4*4*4*3, nil, GL_STREAM_READ)
332
332
  glReadPixels(0, 0, 4, 4, GL_RGB, GL_FLOAT, 0)
333
333
 
334
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
334
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
335
335
  assert_equal(image, data)
336
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
336
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
337
337
 
338
338
  glDeleteBuffers(buffers)
339
339
  end
@@ -341,33 +341,33 @@ void main() {
341
341
  def test_pixelpack_pixelmap
342
342
  buffers = glGenBuffers(1)
343
343
  glBindBuffer(GL_PIXEL_PACK_BUFFER, buffers[0])
344
- glBufferData(GL_PIXEL_PACK_BUFFER_ARB, 4*4, nil, GL_STREAM_READ)
344
+ glBufferData(GL_PIXEL_PACK_BUFFER, 4*4, nil, GL_STREAM_READ)
345
345
 
346
346
  # fv
347
347
  glPixelMapfv(GL_PIXEL_MAP_I_TO_I, [1, 2, 3, 4])
348
348
  glGetPixelMapfv(GL_PIXEL_MAP_I_TO_I, 0)
349
349
 
350
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
350
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
351
351
  assert_equal([1, 2, 3, 4].pack("f*"), data)
352
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
352
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
353
353
 
354
354
  # uiv
355
355
  glPixelMapuiv(GL_PIXEL_MAP_I_TO_I, [5, 6, 7, 8])
356
356
  glGetPixelMapuiv(GL_PIXEL_MAP_I_TO_I, 0)
357
357
 
358
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
358
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
359
359
  assert_equal([5, 6, 7, 8].pack("I*"), data)
360
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
360
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
361
361
 
362
362
  # usv
363
- glBufferData(GL_PIXEL_PACK_BUFFER_ARB, 4*2, nil, GL_STREAM_READ)
363
+ glBufferData(GL_PIXEL_PACK_BUFFER, 4*2, nil, GL_STREAM_READ)
364
364
 
365
365
  glPixelMapusv(GL_PIXEL_MAP_I_TO_I, [9, 10, 11, 12])
366
366
  glGetPixelMapusv(GL_PIXEL_MAP_I_TO_I, 0)
367
367
 
368
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
368
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
369
369
  assert_equal([9, 10, 11, 12].pack("S*"), data)
370
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
370
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
371
371
 
372
372
  glDeleteBuffers(buffers)
373
373
  end
@@ -377,14 +377,14 @@ void main() {
377
377
 
378
378
  buffers = glGenBuffers(1)
379
379
  glBindBuffer(GL_PIXEL_PACK_BUFFER, buffers[0])
380
- glBufferData(GL_PIXEL_PACK_BUFFER_ARB, 128, nil, GL_STREAM_READ)
380
+ glBufferData(GL_PIXEL_PACK_BUFFER, 128, nil, GL_STREAM_READ)
381
381
 
382
382
  glPolygonStipple(stipple.pack("c*"))
383
383
  glGetPolygonStipple(0)
384
384
 
385
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
385
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
386
386
  assert_equal(stipple.pack("c*"), data)
387
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
387
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
388
388
 
389
389
  glDeleteBuffers(buffers)
390
390
  end
@@ -397,14 +397,14 @@ void main() {
397
397
 
398
398
  buffers = glGenBuffers(1)
399
399
  glBindBuffer(GL_PIXEL_PACK_BUFFER, buffers[0])
400
- glBufferData(GL_PIXEL_PACK_BUFFER_ARB, 16*3*4, nil, GL_STREAM_READ)
400
+ glBufferData(GL_PIXEL_PACK_BUFFER, 16*3*4, nil, GL_STREAM_READ)
401
401
 
402
402
  glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB8, 4, 4, 0, GL_RGB, GL_FLOAT, image)
403
403
  glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_FLOAT, 0)
404
404
 
405
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
405
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
406
406
  assert_equal(image, data)
407
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
407
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
408
408
 
409
409
  glDeleteBuffers(buffers)
410
410
  glDeleteTextures(textures)
@@ -421,14 +421,14 @@ void main() {
421
421
 
422
422
  buffers = glGenBuffers(1)
423
423
  glBindBuffer(GL_PIXEL_PACK_BUFFER, buffers[0])
424
- glBufferData(GL_PIXEL_PACK_BUFFER_ARB, image.size, nil, GL_STREAM_READ)
424
+ glBufferData(GL_PIXEL_PACK_BUFFER, image.size, nil, GL_STREAM_READ)
425
425
 
426
426
  glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, 2, 2, 0, 16, image)
427
427
  glGetCompressedTexImage(GL_TEXTURE_2D, 0, 0)
428
428
 
429
- data = glMapBuffer(GL_PIXEL_PACK_BUFFER_ARB, GL_READ_ONLY)
429
+ data = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY)
430
430
  assert_equal(image, data)
431
- glUnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB)
431
+ glUnmapBuffer(GL_PIXEL_PACK_BUFFER)
432
432
 
433
433
  glDeleteBuffers(buffers)
434
434
  glDeleteTextures(textures)
@@ -500,7 +500,7 @@ void main() {
500
500
  glUseProgramObjectARB(program)
501
501
 
502
502
  assert_equal 2, glGetAttribLocationARB(program, "test")
503
- assert_equal [1, GL_FLOAT_VEC4, "gl_Vertex"], glGetActiveAttribARB(program, 1)
503
+ assert_equal [1, GL_FLOAT_VEC4, "gl_Vertex"], glGetActiveAttribARB(program, 0)
504
504
 
505
505
  glDeleteObjectARB(vs)
506
506
  glDeleteObjectARB(program)
@@ -0,0 +1,23 @@
1
+ require 'opengl/test_case'
2
+
3
+ class TestGlimpl < OpenGL::TestCase
4
+ def test_dl_load_error
5
+ assert_raises(LoadError){ Gl::Implementation.open("not exist") }
6
+ end
7
+
8
+ def test_GetProcAddress_error
9
+ assert_raises(NotImplementedError){ Gl::Implementation.open(Gl::DefaultImplementation::DLPATH, "not exist") }
10
+ end
11
+
12
+ def test_close
13
+ gl = Gl::DefaultImplementation.open
14
+ assert_nil gl.close
15
+ assert_nil gl.close
16
+ end
17
+
18
+ def test_instance_methods
19
+ gl = Gl::DefaultImplementation.open
20
+ assert_match(/^\d+\.\d+/, gl.glGetString(GL::VERSION))
21
+ assert_kind_of(Array, gl.glGetIntegerv(GL::VIEWPORT))
22
+ end
23
+ end
@@ -108,8 +108,10 @@ class TestOpenGLBuffer < OpenGL::TestCase
108
108
  buffer = glGenBuffers(1).first
109
109
 
110
110
  glBindBuffer GL_ARRAY_BUFFER, buffer
111
+ glBufferData GL_ARRAY_BUFFER, 5, 'hello', GL_STREAM_READ
111
112
 
112
113
  buf = OpenGL::Buffer.map GL_ARRAY_BUFFER, GL_READ_WRITE
114
+ buf.unmap
113
115
 
114
116
  e = assert_raises ArgumentError do
115
117
  buf.write 'hello'
@@ -84,8 +84,8 @@ end
84
84
  # main
85
85
  begin
86
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"],
87
+ :sources => ["https://www.opengl.org/registry/oldspecs/enum.spec",
88
+ "https://www.opengl.org/registry/oldspecs/enumext.spec"],
89
89
  :prefix => "GL_"
90
90
  }
91
91
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.10.0
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Eric Hodel
@@ -13,80 +13,81 @@ authors:
13
13
  - James Adam
14
14
  autorequire:
15
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: 2015-01-05 00:00:00.000000000 Z
16
+ cert_chain: []
17
+ date: 2017-06-24 00:00:00.000000000 Z
39
18
  dependencies:
40
19
  - !ruby/object:Gem::Dependency
41
- name: rdoc
20
+ name: bundler
42
21
  requirement: !ruby/object:Gem::Requirement
43
22
  requirements:
44
23
  - - "~>"
45
24
  - !ruby/object:Gem::Version
46
- version: '4.0'
25
+ version: '1.5'
47
26
  type: :development
48
27
  prerelease: false
49
28
  version_requirements: !ruby/object:Gem::Requirement
50
29
  requirements:
51
30
  - - "~>"
52
31
  - !ruby/object:Gem::Version
53
- version: '4.0'
32
+ version: '1.5'
54
33
  - !ruby/object:Gem::Dependency
55
- name: rake-compiler
34
+ name: rake
56
35
  requirement: !ruby/object:Gem::Requirement
57
36
  requirements:
58
- - - "~>"
37
+ - - ">="
59
38
  - !ruby/object:Gem::Version
60
- version: '0.9'
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
61
44
  - - ">="
62
45
  - !ruby/object:Gem::Version
63
- version: 0.9.1
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'
64
54
  type: :development
65
55
  prerelease: false
66
56
  version_requirements: !ruby/object:Gem::Requirement
67
57
  requirements:
68
58
  - - "~>"
69
59
  - !ruby/object:Gem::Version
70
- version: '0.9'
71
- - - ">="
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
+ - - "~>"
72
73
  - !ruby/object:Gem::Version
73
- version: 0.9.1
74
+ version: '1.0'
74
75
  - !ruby/object:Gem::Dependency
75
- name: glu
76
+ name: rake-compiler-dock
76
77
  requirement: !ruby/object:Gem::Requirement
77
78
  requirements:
78
79
  - - "~>"
79
80
  - !ruby/object:Gem::Version
80
- version: '8.1'
81
+ version: 0.6.0
81
82
  type: :development
82
83
  prerelease: false
83
84
  version_requirements: !ruby/object:Gem::Requirement
84
85
  requirements:
85
86
  - - "~>"
86
87
  - !ruby/object:Gem::Version
87
- version: '8.1'
88
+ version: 0.6.0
88
89
  - !ruby/object:Gem::Dependency
89
- name: glut
90
+ name: glu
90
91
  requirement: !ruby/object:Gem::Requirement
91
92
  requirements:
92
93
  - - "~>"
@@ -100,19 +101,19 @@ dependencies:
100
101
  - !ruby/object:Gem::Version
101
102
  version: '8.1'
102
103
  - !ruby/object:Gem::Dependency
103
- name: hoe
104
+ name: glut
104
105
  requirement: !ruby/object:Gem::Requirement
105
106
  requirements:
106
107
  - - "~>"
107
108
  - !ruby/object:Gem::Version
108
- version: '3.13'
109
+ version: '8.1'
109
110
  type: :development
110
111
  prerelease: false
111
112
  version_requirements: !ruby/object:Gem::Requirement
112
113
  requirements:
113
114
  - - "~>"
114
115
  - !ruby/object:Gem::Version
115
- version: '3.13'
116
+ version: '8.1'
116
117
  description: |-
117
118
  An OpenGL wrapper for Ruby. opengl contains bindings for OpenGL.
118
119
 
@@ -123,24 +124,21 @@ description: |-
123
124
  email:
124
125
  - drbrain@segment7.net
125
126
  - lars@greiz-reinsdorf.de
126
- - speed.the.bboy@gmail.com
127
+ - blaz@mxxn.io
127
128
  - ''
128
129
  - ''
129
130
  - ''
130
131
  - ''
131
132
  executables: []
132
133
  extensions: []
133
- extra_rdoc_files:
134
- - History.rdoc
135
- - Manifest.txt
136
- - README.rdoc
137
- - examples/OrangeBook/3Dlabs-License.txt
134
+ extra_rdoc_files: []
138
135
  files:
139
136
  - ".autotest"
140
137
  - ".gemtest"
141
138
  - ".gitignore"
142
139
  - ".travis.yml"
143
- - History.rdoc
140
+ - Gemfile
141
+ - History.md
144
142
  - MIT-LICENSE
145
143
  - Manifest.txt
146
144
  - README.rdoc
@@ -227,9 +225,12 @@ files:
227
225
  - examples/misc/readpixel.rb
228
226
  - examples/misc/sdltest.rb
229
227
  - examples/misc/trislam.rb
228
+ - ext/opengl/GL/gl.h
229
+ - ext/opengl/GL/glext.h
230
230
  - ext/opengl/common.h
231
231
  - ext/opengl/conv.h
232
232
  - ext/opengl/extconf.rb
233
+ - ext/opengl/fptr_struct.h
233
234
  - ext/opengl/funcdef.h
234
235
  - ext/opengl/gl-1.0-1.1.c
235
236
  - ext/opengl/gl-1.2.c
@@ -249,16 +250,22 @@ files:
249
250
  - ext/opengl/gl-ext-ext.c
250
251
  - ext/opengl/gl-ext-gremedy.c
251
252
  - ext/opengl/gl-ext-nv.c
252
- - ext/opengl/gl-types.h
253
253
  - ext/opengl/gl.c
254
254
  - ext/opengl/gl_buffer.c
255
+ - ext/opengl/glimpl.c
256
+ - ext/opengl/glimpl.h
255
257
  - ext/opengl/opengl.c
256
258
  - lib/gl.rb
257
259
  - lib/opengl.rb
258
260
  - lib/opengl/2.0/opengl.so
259
261
  - lib/opengl/2.1/opengl.so
260
262
  - lib/opengl/2.2/opengl.so
263
+ - lib/opengl/2.3/opengl.so
264
+ - lib/opengl/2.4/opengl.so
265
+ - lib/opengl/bindings_version.rb
266
+ - lib/opengl/implementation.rb
261
267
  - lib/opengl/test_case.rb
268
+ - opengl.gemspec
262
269
  - test/dummy.xorg.conf
263
270
  - test/test_gl.rb
264
271
  - test/test_gl_10_11.rb
@@ -273,6 +280,7 @@ files:
273
280
  - test/test_gl_ext_ext.rb
274
281
  - test/test_gl_ext_gremedy.rb
275
282
  - test/test_gl_ext_nv.rb
283
+ - test/test_glimpl.rb
276
284
  - test/test_opengl_buffer.rb
277
285
  - utils/README
278
286
  - utils/enumgen.rb
@@ -291,7 +299,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
291
299
  requirements:
292
300
  - - ">="
293
301
  - !ruby/object:Gem::Version
294
- version: 1.9.2
302
+ version: '2.0'
303
+ - - "<"
304
+ - !ruby/object:Gem::Version
305
+ version: '2.5'
295
306
  required_rubygems_version: !ruby/object:Gem::Requirement
296
307
  requirements:
297
308
  - - ">="
@@ -299,22 +310,24 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
310
  version: '0'
300
311
  requirements: []
301
312
  rubyforge_project:
302
- rubygems_version: 2.4.5
313
+ rubygems_version: 2.6.12
303
314
  signing_key:
304
315
  specification_version: 4
305
316
  summary: An OpenGL wrapper for Ruby
306
317
  test_files:
307
- - test/test_gl_21.rb
318
+ - test/dummy.xorg.conf
319
+ - test/test_gl.rb
320
+ - test/test_gl_10_11.rb
321
+ - test/test_gl_12.rb
322
+ - test/test_gl_13.rb
323
+ - test/test_gl_14.rb
308
324
  - test/test_gl_15.rb
309
- - test/test_gl_ext_ext.rb
310
- - test/test_opengl_buffer.rb
325
+ - test/test_gl_20.rb
326
+ - test/test_gl_21.rb
327
+ - test/test_gl_ext_arb.rb
311
328
  - test/test_gl_ext_ati.rb
312
- - test/test_gl_12.rb
329
+ - test/test_gl_ext_ext.rb
313
330
  - test/test_gl_ext_gremedy.rb
314
331
  - test/test_gl_ext_nv.rb
315
- - test/test_gl_ext_arb.rb
316
- - test/test_gl_13.rb
317
- - test/test_gl_20.rb
318
- - test/test_gl_14.rb
319
- - test/test_gl_10_11.rb
320
- - test/test_gl.rb
332
+ - test/test_glimpl.rb
333
+ - test/test_opengl_buffer.rb