opengl3 0.0.1.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. data/.gitignore +21 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +87 -0
  5. data/Rakefile +17 -0
  6. data/examples/math3d.rb +65 -0
  7. data/examples/ogl-2_1-basic.rb +107 -0
  8. data/examples/ogl-3_2-basic.rb +128 -0
  9. data/examples/ogl-3_2-cube.rb +203 -0
  10. data/examples/ogl-4_0-quad_tessellation.rb +283 -0
  11. data/examples/ogl-4_0-triangle_tessellation.rb +262 -0
  12. data/lib/glut.rb +125 -0
  13. data/lib/opengl.rb +7 -0
  14. data/lib/opengl/constants.rb +15 -0
  15. data/lib/opengl/constants/core/2_x/GL_VERSION_1_1.yml +230 -0
  16. data/lib/opengl/constants/core/2_x/GL_VERSION_1_2.yml +36 -0
  17. data/lib/opengl/constants/core/2_x/GL_VERSION_1_3.yml +59 -0
  18. data/lib/opengl/constants/core/2_x/GL_VERSION_1_4.yml +16 -0
  19. data/lib/opengl/constants/core/2_x/GL_VERSION_1_5.yml +28 -0
  20. data/lib/opengl/constants/core/2_x/GL_VERSION_2_0.yml +80 -0
  21. data/lib/opengl/constants/core/2_x/GL_VERSION_2_1.yml +16 -0
  22. data/lib/opengl/constants/core/3_0/GL_ARB_depth_buffer_float.yml +3 -0
  23. data/lib/opengl/constants/core/3_0/GL_ARB_framebuffer_object.yml +77 -0
  24. data/lib/opengl/constants/core/3_0/GL_ARB_framebuffer_sRGB.yml +1 -0
  25. data/lib/opengl/constants/core/3_0/GL_ARB_half_float_vertex.yml +1 -0
  26. data/lib/opengl/constants/core/3_0/GL_ARB_map_buffer_range.yml +6 -0
  27. data/lib/opengl/constants/core/3_0/GL_ARB_texture_compression_rgtc.yml +4 -0
  28. data/lib/opengl/constants/core/3_0/GL_ARB_texture_rg.yml +22 -0
  29. data/lib/opengl/constants/core/3_0/GL_ARB_vertex_array_object.yml +1 -0
  30. data/lib/opengl/constants/core/3_0/GL_VERSION_3_0.yml +224 -0
  31. data/lib/opengl/constants/core/3_1/GL_ARB_copy_buffer.yml +4 -0
  32. data/lib/opengl/constants/core/3_1/GL_ARB_uniform_buffer_object.yml +33 -0
  33. data/lib/opengl/constants/core/3_1/GL_VERSION_3_1.yml +65 -0
  34. data/lib/opengl/constants/core/3_2/GL_ARB_depth_clamp.yml +1 -0
  35. data/lib/opengl/constants/core/3_2/GL_ARB_provoking_vertex.yml +4 -0
  36. data/lib/opengl/constants/core/3_2/GL_ARB_seamless_cube_map.yml +1 -0
  37. data/lib/opengl/constants/core/3_2/GL_ARB_sync.yml +15 -0
  38. data/lib/opengl/constants/core/3_2/GL_ARB_texture_multisample.yml +21 -0
  39. data/lib/opengl/constants/core/3_2/GL_VERSION_3_2.yml +76 -0
  40. data/lib/opengl/constants/core/3_3/GL_ARB_blend_func_extended.yml +5 -0
  41. data/lib/opengl/constants/core/3_3/GL_ARB_occlusion_query2.yml +1 -0
  42. data/lib/opengl/constants/core/3_3/GL_ARB_sampler_objects.yml +1 -0
  43. data/lib/opengl/constants/core/3_3/GL_ARB_texture_rgb10_a2ui.yml +1 -0
  44. data/lib/opengl/constants/core/3_3/GL_ARB_texture_swizzle.yml +5 -0
  45. data/lib/opengl/constants/core/3_3/GL_ARB_timer_query.yml +2 -0
  46. data/lib/opengl/constants/core/3_3/GL_ARB_vertex_type_2_10_10_10_rev.yml +2 -0
  47. data/lib/opengl/constants/core/3_3/GL_VERSION_3_3.yml +25 -0
  48. data/lib/opengl/constants/core/4_0/GL_ARB_draw_indirect.yml +2 -0
  49. data/lib/opengl/constants/core/4_0/GL_ARB_gpu_shader5.yml +6 -0
  50. data/lib/opengl/constants/core/4_0/GL_ARB_gpu_shader_fp64.yml +13 -0
  51. data/lib/opengl/constants/core/4_0/GL_ARB_shader_subroutine.yml +11 -0
  52. data/lib/opengl/constants/core/4_0/GL_ARB_tessellation_shader.yml +37 -0
  53. data/lib/opengl/constants/core/4_0/GL_ARB_transform_feedback2.yml +6 -0
  54. data/lib/opengl/constants/core/4_0/GL_ARB_transform_feedback3.yml +2 -0
  55. data/lib/opengl/constants/core/4_0/GL_VERSION_4_0.yml +88 -0
  56. data/lib/opengl/constants/core/4_1/GL_ARB_ES2_compatibility.yml +16 -0
  57. data/lib/opengl/constants/core/4_1/GL_ARB_get_program_binary.yml +4 -0
  58. data/lib/opengl/constants/core/4_1/GL_ARB_separate_shader_objects.yml +9 -0
  59. data/lib/opengl/constants/core/4_1/GL_ARB_viewport_array.yml +13 -0
  60. data/lib/opengl/constants/core/4_1/GL_VERSION_4_1.yml +44 -0
  61. data/lib/opengl/constants/core/4_2/GL_ARB_compressed_texture_pixel_storage.yml +8 -0
  62. data/lib/opengl/constants/core/4_2/GL_ARB_internalformat_query.yml +1 -0
  63. data/lib/opengl/constants/core/4_2/GL_ARB_map_buffer_alignment.yml +1 -0
  64. data/lib/opengl/constants/core/4_2/GL_ARB_shader_atomic_counters.yml +29 -0
  65. data/lib/opengl/constants/core/4_2/GL_ARB_shader_image_load_store.yml +64 -0
  66. data/lib/opengl/constants/core/4_2/GL_ARB_texture_storage.yml +1 -0
  67. data/lib/opengl/constants/core/4_2/GL_VERSION_4_2.yml +116 -0
  68. data/lib/opengl/constants/core/4_3/GL_ARB_ES3_compatibility.yml +13 -0
  69. data/lib/opengl/constants/core/4_3/GL_ARB_compute_shader.yml +18 -0
  70. data/lib/opengl/constants/core/4_3/GL_ARB_explicit_uniform_location.yml +1 -0
  71. data/lib/opengl/constants/core/4_3/GL_ARB_framebuffer_no_attachments.yml +9 -0
  72. data/lib/opengl/constants/core/4_3/GL_ARB_internalformat_query2.yml +115 -0
  73. data/lib/opengl/constants/core/4_3/GL_ARB_program_interface_query.yml +50 -0
  74. data/lib/opengl/constants/core/4_3/GL_ARB_shader_storage_buffer_object.yml +18 -0
  75. data/lib/opengl/constants/core/4_3/GL_ARB_stencil_texturing.yml +1 -0
  76. data/lib/opengl/constants/core/4_3/GL_ARB_texture_buffer_range.yml +3 -0
  77. data/lib/opengl/constants/core/4_3/GL_ARB_texture_view.yml +5 -0
  78. data/lib/opengl/constants/core/4_3/GL_ARB_vertex_attrib_binding.yml +7 -0
  79. data/lib/opengl/constants/core/4_3/GL_KHR_debug.yml +41 -0
  80. data/lib/opengl/constants/core/4_3/GL_VERSION_4_3.yml +281 -0
  81. data/lib/opengl/constants/ext/GL_EXT_texture_compression_s3tc.yml +4 -0
  82. data/lib/opengl/constants/ext/GL_EXT_texture_filter_anisotropic.yml +2 -0
  83. data/lib/opengl/constants/ext/GL_EXT_texture_sRGB.yml +16 -0
  84. data/lib/opengl/debugging.rb +38 -0
  85. data/lib/opengl/gl.rb +26 -0
  86. data/lib/opengl/platform.rb +4 -0
  87. data/lib/opengl/platform/base.rb +30 -0
  88. data/lib/opengl/platform/darwin.rb +24 -0
  89. data/lib/opengl/platform/linux.rb +25 -0
  90. data/lib/opengl/platform/types/darwin.yml +2 -0
  91. data/lib/opengl/platform/types/default.yml +27 -0
  92. data/lib/opengl/platform/types/linux.yml +2 -0
  93. data/lib/opengl/raw.rb +44 -0
  94. data/lib/opengl/raw/core/2_x/GL_VERSION_1_0.yml +259 -0
  95. data/lib/opengl/raw/core/2_x/GL_VERSION_1_1.yml +106 -0
  96. data/lib/opengl/raw/core/2_x/GL_VERSION_1_2.yml +60 -0
  97. data/lib/opengl/raw/core/2_x/GL_VERSION_1_3.yml +85 -0
  98. data/lib/opengl/raw/core/2_x/GL_VERSION_1_4.yml +43 -0
  99. data/lib/opengl/raw/core/2_x/GL_VERSION_1_5.yml +103 -0
  100. data/lib/opengl/raw/core/2_x/GL_VERSION_2_0.yml +537 -0
  101. data/lib/opengl/raw/core/2_x/GL_VERSION_2_1.yml +43 -0
  102. data/lib/opengl/raw/core/3_0/GL_ARB_framebuffer_object.yml +128 -0
  103. data/lib/opengl/raw/core/3_0/GL_ARB_map_buffer_range.yml +14 -0
  104. data/lib/opengl/raw/core/3_0/GL_ARB_vertex_array_object.yml +19 -0
  105. data/lib/opengl/raw/core/3_0/GL_VERSION_3_0.yml +340 -0
  106. data/lib/opengl/raw/core/3_1/GL_ARB_copy_buffer.yml +9 -0
  107. data/lib/opengl/raw/core/3_1/GL_ARB_uniform_buffer_object.yml +50 -0
  108. data/lib/opengl/raw/core/3_1/GL_VERSION_3_1.yml +26 -0
  109. data/lib/opengl/raw/core/3_2/GL_ARB_draw_elements_base_vertex.yml +37 -0
  110. data/lib/opengl/raw/core/3_2/GL_ARB_provoking_vertex.yml +5 -0
  111. data/lib/opengl/raw/core/3_2/GL_ARB_sync.yml +39 -0
  112. data/lib/opengl/raw/core/3_2/GL_ARB_texture_multisample.yml +31 -0
  113. data/lib/opengl/raw/core/3_2/GL_VERSION_3_2.yml +20 -0
  114. data/lib/opengl/raw/core/3_3/GL_ARB_blend_func_extended.yml +13 -0
  115. data/lib/opengl/raw/core/3_3/GL_ARB_sampler_objects.yml +80 -0
  116. data/lib/opengl/raw/core/3_3/GL_ARB_timer_query.yml +18 -0
  117. data/lib/opengl/raw/core/3_3/GL_ARB_vertex_type_2_10_10_10_rev.yml +57 -0
  118. data/lib/opengl/raw/core/3_3/GL_VERSION_3_3.yml +6 -0
  119. data/lib/opengl/raw/core/4_0/GL_ARB_draw_indirect.yml +12 -0
  120. data/lib/opengl/raw/core/4_0/GL_ARB_gpu_shader_fp64.yml +120 -0
  121. data/lib/opengl/raw/core/4_0/GL_ARB_shader_subroutine.yml +58 -0
  122. data/lib/opengl/raw/core/4_0/GL_ARB_tessellation_shader.yml +11 -0
  123. data/lib/opengl/raw/core/4_0/GL_ARB_transform_feedback2.yml +31 -0
  124. data/lib/opengl/raw/core/4_0/GL_ARB_transform_feedback3.yml +25 -0
  125. data/lib/opengl/raw/core/4_0/GL_VERSION_4_0.yml +30 -0
  126. data/lib/opengl/raw/core/4_1/GL_ARB_ES2_compatibility.yml +28 -0
  127. data/lib/opengl/raw/core/4_1/GL_ARB_get_program_binary.yml +22 -0
  128. data/lib/opengl/raw/core/4_1/GL_ARB_separate_shader_objects.yml +429 -0
  129. data/lib/opengl/raw/core/4_1/GL_ARB_vertex_attrib_64bit.yml +61 -0
  130. data/lib/opengl/raw/core/4_1/GL_ARB_viewport_array.yml +63 -0
  131. data/lib/opengl/raw/core/4_1/GL_VERSION_4_1.yml +1 -0
  132. data/lib/opengl/raw/core/4_2/GL_ARB_base_instance.yml +28 -0
  133. data/lib/opengl/raw/core/4_2/GL_ARB_internalformat_query.yml +9 -0
  134. data/lib/opengl/raw/core/4_2/GL_ARB_shader_atomic_counters.yml +8 -0
  135. data/lib/opengl/raw/core/4_2/GL_ARB_shader_image_load_store.yml +15 -0
  136. data/lib/opengl/raw/core/4_2/GL_ARB_texture_storage.yml +52 -0
  137. data/lib/opengl/raw/core/4_2/GL_ARB_transform_feedback_instanced.yml +14 -0
  138. data/lib/opengl/raw/core/4_2/GL_VERSION_4_2.yml +1 -0
  139. data/lib/opengl/type.rb +74 -0
  140. data/lib/opengl/version.rb +3 -0
  141. data/lib/opengl/wrapper.rb +13 -0
  142. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_0.rb +165 -0
  143. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_1.rb +29 -0
  144. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_2.rb +13 -0
  145. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_3.rb +16 -0
  146. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_4.rb +18 -0
  147. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_5.rb +49 -0
  148. data/lib/opengl/wrapper/core/2_x/GL_VERSION_2_0.rb +184 -0
  149. data/lib/opengl/wrapper/core/2_x/GL_VERSION_2_1.rb +13 -0
  150. data/lib/opengl/wrapper/core/3_0/GL_ARB_framebuffer_object.rb +43 -0
  151. data/lib/opengl/wrapper/core/3_0/GL_ARB_map_buffer_range.rb +11 -0
  152. data/lib/opengl/wrapper/core/3_0/GL_ARB_vertex_array_object.rb +16 -0
  153. data/lib/opengl/wrapper/core/3_0/GL_VERSION_3_0.rb +87 -0
  154. data/lib/opengl/wrapper/macros/base.rb +80 -0
  155. data/opengl.gemspec +25 -0
  156. data/spec/spec_helper.rb +8 -0
  157. data/test/test_helper.rb +8 -0
  158. metadata +269 -0
@@ -0,0 +1,80 @@
1
+ module OpenGL
2
+ module Wrapper::Base
3
+
4
+ # gl*
5
+ def def_wrapped(name)
6
+ # no operation
7
+ end
8
+
9
+ # glGet*v
10
+ def def_glGetValues(name, type, params)
11
+ params = Array(params).join(', ')
12
+ module_eval <<-RUBY
13
+ def glGet#{name}v(#{params}, n = 1)
14
+ ptr = Type.#{type}(n)
15
+ super(#{params}, ptr)
16
+ ptr.read_array_of_#{type}(n)
17
+ end
18
+ RUBY
19
+ end
20
+
21
+ # gl*v
22
+ def def_glSetValues(name, type, params)
23
+ params = Array(params).join(', ')
24
+ module_eval <<-RUBY
25
+ def gl#{name}v(#{params}, ary)
26
+ Type.#{type}(ary.count) do |ptr|
27
+ ptr.write_array_of_#{type}(ary)
28
+ super(#{params}, ptr)
29
+ end
30
+ end
31
+ RUBY
32
+ end
33
+
34
+ # glGen*
35
+ def def_glGenObjects(type_name)
36
+ define_method(:"glGen#{type_name}") do |n|
37
+ ptr = Type.GLuint(n)
38
+ super(n, ptr)
39
+ ptr.read_array_of_GLuint(n)
40
+ end
41
+ end
42
+
43
+ # glDelete*
44
+ def def_glDeleteObjects(type_name)
45
+ define_method(:"glDelete#{type_name}") do |ids|
46
+ ids = Array(ids)
47
+ raise ArgumentError unless ids.all?{|o| o.is_a? Integer }
48
+ Type.GLuint(ids.count) do |ptr|
49
+ ptr.write_array_of_GLuint(ids)
50
+ super(ids.count, ptr)
51
+ end
52
+ end
53
+ end
54
+
55
+ # glGet*InfoLog
56
+ def def_glGetObjectInfoLog(name)
57
+ define_method(:"glGet#{name}InfoLog") do |obj|
58
+ n = send(:"glGet#{name}iv", obj, Constants::GL_INFO_LOG_LENGTH, 1)[0]
59
+ ptr = Type.GLchar(n)
60
+ super(obj, n, nil, ptr)
61
+ ptr.read_string
62
+ end
63
+ end
64
+
65
+ # glMapBuffer*
66
+ def def_glMapBuffer(suffix = nil)
67
+ define_method(:"glMapBuffer#{suffix}") do |*args, &block|
68
+ target = args.first
69
+ ptr = Type.pointer(super(*args))
70
+ if block
71
+ block.call(ptr)
72
+ glUnmapBuffer(target)
73
+ else
74
+ return ptr
75
+ end
76
+ end
77
+ end
78
+
79
+ end
80
+ end
data/opengl.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'opengl/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "opengl3"
8
+ gem.version = OpenGL::VERSION
9
+ gem.authors = ["David Lin"]
10
+ gem.email = ["davll.xc@gmail.com"]
11
+ gem.description = %q{An OpenGL wrapper library for Ruby (OpenGL 2.1-4.2)}
12
+ gem.summary = %q{OpenGL}
13
+ gem.homepage = "https://github.com/davll/ruby-opengl"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.required_ruby_version = ">= 1.9"
21
+ gem.add_dependency "ffi", "~> 1.2.0"
22
+ gem.add_development_dependency "rake", "~> 10.0.0"
23
+ gem.add_development_dependency "yard", "~> 0.8.0"
24
+ gem.add_development_dependency "minitest", "~> 4.3.0"
25
+ end
@@ -0,0 +1,8 @@
1
+ require "rubygems"
2
+ require "bundler/setup"
3
+ require "minitest/autorun"
4
+
5
+ #
6
+ require 'opengl'
7
+
8
+ SPEC_ROOT = File.expand_path("..", __FILE__)
@@ -0,0 +1,8 @@
1
+ require "rubygems"
2
+ require "bundler/setup"
3
+ require "minitest/autorun"
4
+
5
+ #
6
+ require 'opengl'
7
+
8
+ TEST_ROOT = File.expand_path("..", __FILE__)
metadata ADDED
@@ -0,0 +1,269 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opengl3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre1
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - David Lin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ffi
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.2.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.2.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 10.0.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 10.0.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: yard
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 0.8.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.8.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: minitest
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 4.3.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 4.3.0
78
+ description: An OpenGL wrapper library for Ruby (OpenGL 2.1-4.2)
79
+ email:
80
+ - davll.xc@gmail.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - .gitignore
86
+ - Gemfile
87
+ - LICENSE.txt
88
+ - README.md
89
+ - Rakefile
90
+ - examples/math3d.rb
91
+ - examples/ogl-2_1-basic.rb
92
+ - examples/ogl-3_2-basic.rb
93
+ - examples/ogl-3_2-cube.rb
94
+ - examples/ogl-4_0-quad_tessellation.rb
95
+ - examples/ogl-4_0-triangle_tessellation.rb
96
+ - lib/glut.rb
97
+ - lib/opengl.rb
98
+ - lib/opengl/constants.rb
99
+ - lib/opengl/constants/core/2_x/GL_VERSION_1_1.yml
100
+ - lib/opengl/constants/core/2_x/GL_VERSION_1_2.yml
101
+ - lib/opengl/constants/core/2_x/GL_VERSION_1_3.yml
102
+ - lib/opengl/constants/core/2_x/GL_VERSION_1_4.yml
103
+ - lib/opengl/constants/core/2_x/GL_VERSION_1_5.yml
104
+ - lib/opengl/constants/core/2_x/GL_VERSION_2_0.yml
105
+ - lib/opengl/constants/core/2_x/GL_VERSION_2_1.yml
106
+ - lib/opengl/constants/core/3_0/GL_ARB_depth_buffer_float.yml
107
+ - lib/opengl/constants/core/3_0/GL_ARB_framebuffer_object.yml
108
+ - lib/opengl/constants/core/3_0/GL_ARB_framebuffer_sRGB.yml
109
+ - lib/opengl/constants/core/3_0/GL_ARB_half_float_vertex.yml
110
+ - lib/opengl/constants/core/3_0/GL_ARB_map_buffer_range.yml
111
+ - lib/opengl/constants/core/3_0/GL_ARB_texture_compression_rgtc.yml
112
+ - lib/opengl/constants/core/3_0/GL_ARB_texture_rg.yml
113
+ - lib/opengl/constants/core/3_0/GL_ARB_vertex_array_object.yml
114
+ - lib/opengl/constants/core/3_0/GL_VERSION_3_0.yml
115
+ - lib/opengl/constants/core/3_1/GL_ARB_copy_buffer.yml
116
+ - lib/opengl/constants/core/3_1/GL_ARB_uniform_buffer_object.yml
117
+ - lib/opengl/constants/core/3_1/GL_VERSION_3_1.yml
118
+ - lib/opengl/constants/core/3_2/GL_ARB_depth_clamp.yml
119
+ - lib/opengl/constants/core/3_2/GL_ARB_provoking_vertex.yml
120
+ - lib/opengl/constants/core/3_2/GL_ARB_seamless_cube_map.yml
121
+ - lib/opengl/constants/core/3_2/GL_ARB_sync.yml
122
+ - lib/opengl/constants/core/3_2/GL_ARB_texture_multisample.yml
123
+ - lib/opengl/constants/core/3_2/GL_VERSION_3_2.yml
124
+ - lib/opengl/constants/core/3_3/GL_ARB_blend_func_extended.yml
125
+ - lib/opengl/constants/core/3_3/GL_ARB_occlusion_query2.yml
126
+ - lib/opengl/constants/core/3_3/GL_ARB_sampler_objects.yml
127
+ - lib/opengl/constants/core/3_3/GL_ARB_texture_rgb10_a2ui.yml
128
+ - lib/opengl/constants/core/3_3/GL_ARB_texture_swizzle.yml
129
+ - lib/opengl/constants/core/3_3/GL_ARB_timer_query.yml
130
+ - lib/opengl/constants/core/3_3/GL_ARB_vertex_type_2_10_10_10_rev.yml
131
+ - lib/opengl/constants/core/3_3/GL_VERSION_3_3.yml
132
+ - lib/opengl/constants/core/4_0/GL_ARB_draw_indirect.yml
133
+ - lib/opengl/constants/core/4_0/GL_ARB_gpu_shader5.yml
134
+ - lib/opengl/constants/core/4_0/GL_ARB_gpu_shader_fp64.yml
135
+ - lib/opengl/constants/core/4_0/GL_ARB_shader_subroutine.yml
136
+ - lib/opengl/constants/core/4_0/GL_ARB_tessellation_shader.yml
137
+ - lib/opengl/constants/core/4_0/GL_ARB_transform_feedback2.yml
138
+ - lib/opengl/constants/core/4_0/GL_ARB_transform_feedback3.yml
139
+ - lib/opengl/constants/core/4_0/GL_VERSION_4_0.yml
140
+ - lib/opengl/constants/core/4_1/GL_ARB_ES2_compatibility.yml
141
+ - lib/opengl/constants/core/4_1/GL_ARB_get_program_binary.yml
142
+ - lib/opengl/constants/core/4_1/GL_ARB_separate_shader_objects.yml
143
+ - lib/opengl/constants/core/4_1/GL_ARB_viewport_array.yml
144
+ - lib/opengl/constants/core/4_1/GL_VERSION_4_1.yml
145
+ - lib/opengl/constants/core/4_2/GL_ARB_compressed_texture_pixel_storage.yml
146
+ - lib/opengl/constants/core/4_2/GL_ARB_internalformat_query.yml
147
+ - lib/opengl/constants/core/4_2/GL_ARB_map_buffer_alignment.yml
148
+ - lib/opengl/constants/core/4_2/GL_ARB_shader_atomic_counters.yml
149
+ - lib/opengl/constants/core/4_2/GL_ARB_shader_image_load_store.yml
150
+ - lib/opengl/constants/core/4_2/GL_ARB_texture_storage.yml
151
+ - lib/opengl/constants/core/4_2/GL_VERSION_4_2.yml
152
+ - lib/opengl/constants/core/4_3/GL_ARB_ES3_compatibility.yml
153
+ - lib/opengl/constants/core/4_3/GL_ARB_compute_shader.yml
154
+ - lib/opengl/constants/core/4_3/GL_ARB_explicit_uniform_location.yml
155
+ - lib/opengl/constants/core/4_3/GL_ARB_framebuffer_no_attachments.yml
156
+ - lib/opengl/constants/core/4_3/GL_ARB_internalformat_query2.yml
157
+ - lib/opengl/constants/core/4_3/GL_ARB_program_interface_query.yml
158
+ - lib/opengl/constants/core/4_3/GL_ARB_shader_storage_buffer_object.yml
159
+ - lib/opengl/constants/core/4_3/GL_ARB_stencil_texturing.yml
160
+ - lib/opengl/constants/core/4_3/GL_ARB_texture_buffer_range.yml
161
+ - lib/opengl/constants/core/4_3/GL_ARB_texture_view.yml
162
+ - lib/opengl/constants/core/4_3/GL_ARB_vertex_attrib_binding.yml
163
+ - lib/opengl/constants/core/4_3/GL_KHR_debug.yml
164
+ - lib/opengl/constants/core/4_3/GL_VERSION_4_3.yml
165
+ - lib/opengl/constants/ext/GL_EXT_texture_compression_s3tc.yml
166
+ - lib/opengl/constants/ext/GL_EXT_texture_filter_anisotropic.yml
167
+ - lib/opengl/constants/ext/GL_EXT_texture_sRGB.yml
168
+ - lib/opengl/debugging.rb
169
+ - lib/opengl/gl.rb
170
+ - lib/opengl/platform.rb
171
+ - lib/opengl/platform/base.rb
172
+ - lib/opengl/platform/darwin.rb
173
+ - lib/opengl/platform/linux.rb
174
+ - lib/opengl/platform/types/darwin.yml
175
+ - lib/opengl/platform/types/default.yml
176
+ - lib/opengl/platform/types/linux.yml
177
+ - lib/opengl/raw.rb
178
+ - lib/opengl/raw/core/2_x/GL_VERSION_1_0.yml
179
+ - lib/opengl/raw/core/2_x/GL_VERSION_1_1.yml
180
+ - lib/opengl/raw/core/2_x/GL_VERSION_1_2.yml
181
+ - lib/opengl/raw/core/2_x/GL_VERSION_1_3.yml
182
+ - lib/opengl/raw/core/2_x/GL_VERSION_1_4.yml
183
+ - lib/opengl/raw/core/2_x/GL_VERSION_1_5.yml
184
+ - lib/opengl/raw/core/2_x/GL_VERSION_2_0.yml
185
+ - lib/opengl/raw/core/2_x/GL_VERSION_2_1.yml
186
+ - lib/opengl/raw/core/3_0/GL_ARB_framebuffer_object.yml
187
+ - lib/opengl/raw/core/3_0/GL_ARB_map_buffer_range.yml
188
+ - lib/opengl/raw/core/3_0/GL_ARB_vertex_array_object.yml
189
+ - lib/opengl/raw/core/3_0/GL_VERSION_3_0.yml
190
+ - lib/opengl/raw/core/3_1/GL_ARB_copy_buffer.yml
191
+ - lib/opengl/raw/core/3_1/GL_ARB_uniform_buffer_object.yml
192
+ - lib/opengl/raw/core/3_1/GL_VERSION_3_1.yml
193
+ - lib/opengl/raw/core/3_2/GL_ARB_draw_elements_base_vertex.yml
194
+ - lib/opengl/raw/core/3_2/GL_ARB_provoking_vertex.yml
195
+ - lib/opengl/raw/core/3_2/GL_ARB_sync.yml
196
+ - lib/opengl/raw/core/3_2/GL_ARB_texture_multisample.yml
197
+ - lib/opengl/raw/core/3_2/GL_VERSION_3_2.yml
198
+ - lib/opengl/raw/core/3_3/GL_ARB_blend_func_extended.yml
199
+ - lib/opengl/raw/core/3_3/GL_ARB_sampler_objects.yml
200
+ - lib/opengl/raw/core/3_3/GL_ARB_timer_query.yml
201
+ - lib/opengl/raw/core/3_3/GL_ARB_vertex_type_2_10_10_10_rev.yml
202
+ - lib/opengl/raw/core/3_3/GL_VERSION_3_3.yml
203
+ - lib/opengl/raw/core/4_0/GL_ARB_draw_indirect.yml
204
+ - lib/opengl/raw/core/4_0/GL_ARB_gpu_shader_fp64.yml
205
+ - lib/opengl/raw/core/4_0/GL_ARB_shader_subroutine.yml
206
+ - lib/opengl/raw/core/4_0/GL_ARB_tessellation_shader.yml
207
+ - lib/opengl/raw/core/4_0/GL_ARB_transform_feedback2.yml
208
+ - lib/opengl/raw/core/4_0/GL_ARB_transform_feedback3.yml
209
+ - lib/opengl/raw/core/4_0/GL_VERSION_4_0.yml
210
+ - lib/opengl/raw/core/4_1/GL_ARB_ES2_compatibility.yml
211
+ - lib/opengl/raw/core/4_1/GL_ARB_get_program_binary.yml
212
+ - lib/opengl/raw/core/4_1/GL_ARB_separate_shader_objects.yml
213
+ - lib/opengl/raw/core/4_1/GL_ARB_vertex_attrib_64bit.yml
214
+ - lib/opengl/raw/core/4_1/GL_ARB_viewport_array.yml
215
+ - lib/opengl/raw/core/4_1/GL_VERSION_4_1.yml
216
+ - lib/opengl/raw/core/4_2/GL_ARB_base_instance.yml
217
+ - lib/opengl/raw/core/4_2/GL_ARB_internalformat_query.yml
218
+ - lib/opengl/raw/core/4_2/GL_ARB_shader_atomic_counters.yml
219
+ - lib/opengl/raw/core/4_2/GL_ARB_shader_image_load_store.yml
220
+ - lib/opengl/raw/core/4_2/GL_ARB_texture_storage.yml
221
+ - lib/opengl/raw/core/4_2/GL_ARB_transform_feedback_instanced.yml
222
+ - lib/opengl/raw/core/4_2/GL_VERSION_4_2.yml
223
+ - lib/opengl/type.rb
224
+ - lib/opengl/version.rb
225
+ - lib/opengl/wrapper.rb
226
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_1_0.rb
227
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_1_1.rb
228
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_1_2.rb
229
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_1_3.rb
230
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_1_4.rb
231
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_1_5.rb
232
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_2_0.rb
233
+ - lib/opengl/wrapper/core/2_x/GL_VERSION_2_1.rb
234
+ - lib/opengl/wrapper/core/3_0/GL_ARB_framebuffer_object.rb
235
+ - lib/opengl/wrapper/core/3_0/GL_ARB_map_buffer_range.rb
236
+ - lib/opengl/wrapper/core/3_0/GL_ARB_vertex_array_object.rb
237
+ - lib/opengl/wrapper/core/3_0/GL_VERSION_3_0.rb
238
+ - lib/opengl/wrapper/macros/base.rb
239
+ - opengl.gemspec
240
+ - spec/spec_helper.rb
241
+ - test/test_helper.rb
242
+ homepage: https://github.com/davll/ruby-opengl
243
+ licenses: []
244
+ post_install_message:
245
+ rdoc_options: []
246
+ require_paths:
247
+ - lib
248
+ required_ruby_version: !ruby/object:Gem::Requirement
249
+ none: false
250
+ requirements:
251
+ - - ! '>='
252
+ - !ruby/object:Gem::Version
253
+ version: '1.9'
254
+ required_rubygems_version: !ruby/object:Gem::Requirement
255
+ none: false
256
+ requirements:
257
+ - - ! '>'
258
+ - !ruby/object:Gem::Version
259
+ version: 1.3.1
260
+ requirements: []
261
+ rubyforge_project:
262
+ rubygems_version: 1.8.24
263
+ signing_key:
264
+ specification_version: 3
265
+ summary: OpenGL
266
+ test_files:
267
+ - spec/spec_helper.rb
268
+ - test/test_helper.rb
269
+ has_rdoc: