opengl-bindings 1.6.13 → 1.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +20 -0
- data/LICENSE.txt +1 -1
- data/README.md +95 -40
- data/lib/glfw.rb +73 -18
- data/lib/glfw33.rb +716 -0
- data/lib/glu.rb +1 -1
- data/lib/glut.rb +1 -1
- data/lib/opengl.rb +1 -1
- data/lib/opengl_common.rb +1 -1
- data/lib/opengl_es.rb +1 -1
- data/lib/opengl_es_ext.rb +1 -1
- data/lib/opengl_es_ext_command.rb +209 -9
- data/lib/opengl_es_ext_enum.rb +100 -9
- data/lib/opengl_ext.rb +1 -1
- data/lib/opengl_ext_command.rb +116 -69
- data/lib/opengl_ext_enum.rb +27 -9
- data/sample/glfw_build.bat +12 -9
- data/sample/glfw_build.sh +3 -3
- metadata +20 -9
data/lib/opengl_ext_command.rb
CHANGED
@@ -15672,6 +15672,34 @@ module OpenGLExt
|
|
15672
15672
|
end # self.get_ext_command_GL_EXT_framebuffer_blit
|
15673
15673
|
|
15674
15674
|
|
15675
|
+
def self.define_ext_command_GL_EXT_framebuffer_blit_layers
|
15676
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferLayersEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
15677
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferLayersEXT] = Fiddle::TYPE_VOID
|
15678
|
+
OpenGL.module_eval(<<-SRC)
|
15679
|
+
def glBlitFramebufferLayersEXT(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
15680
|
+
f = OpenGL::get_command(:glBlitFramebufferLayersEXT)
|
15681
|
+
f.call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
15682
|
+
end
|
15683
|
+
SRC
|
15684
|
+
|
15685
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferLayerEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
15686
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferLayerEXT] = Fiddle::TYPE_VOID
|
15687
|
+
OpenGL.module_eval(<<-SRC)
|
15688
|
+
def glBlitFramebufferLayerEXT(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _srcLayer_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _dstLayer_, _mask_, _filter_)
|
15689
|
+
f = OpenGL::get_command(:glBlitFramebufferLayerEXT)
|
15690
|
+
f.call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _srcLayer_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _dstLayer_, _mask_, _filter_)
|
15691
|
+
end
|
15692
|
+
SRC
|
15693
|
+
end # self.define_ext_command_GL_EXT_framebuffer_blit_layers
|
15694
|
+
|
15695
|
+
def self.get_ext_command_GL_EXT_framebuffer_blit_layers
|
15696
|
+
[
|
15697
|
+
'glBlitFramebufferLayersEXT',
|
15698
|
+
'glBlitFramebufferLayerEXT',
|
15699
|
+
]
|
15700
|
+
end # self.get_ext_command_GL_EXT_framebuffer_blit_layers
|
15701
|
+
|
15702
|
+
|
15675
15703
|
def self.define_ext_command_GL_EXT_framebuffer_multisample
|
15676
15704
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
15677
15705
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleEXT] = Fiddle::TYPE_VOID
|
@@ -18448,6 +18476,15 @@ module OpenGLExt
|
|
18448
18476
|
end # self.get_ext_command_GL_EXT_texture_sRGB_decode
|
18449
18477
|
|
18450
18478
|
|
18479
|
+
def self.define_ext_command_GL_EXT_texture_shadow_lod
|
18480
|
+
end # self.define_ext_command_GL_EXT_texture_shadow_lod
|
18481
|
+
|
18482
|
+
def self.get_ext_command_GL_EXT_texture_shadow_lod
|
18483
|
+
[
|
18484
|
+
]
|
18485
|
+
end # self.get_ext_command_GL_EXT_texture_shadow_lod
|
18486
|
+
|
18487
|
+
|
18451
18488
|
def self.define_ext_command_GL_EXT_texture_shared_exponent
|
18452
18489
|
end # self.define_ext_command_GL_EXT_texture_shared_exponent
|
18453
18490
|
|
@@ -22933,60 +22970,6 @@ module OpenGLExt
|
|
22933
22970
|
end
|
22934
22971
|
SRC
|
22935
22972
|
|
22936
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhNV] = [-Fiddle::TYPE_SHORT]
|
22937
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhNV] = Fiddle::TYPE_VOID
|
22938
|
-
OpenGL.module_eval(<<-SRC)
|
22939
|
-
def glFogCoordhNV(_fog_)
|
22940
|
-
f = OpenGL::get_command(:glFogCoordhNV)
|
22941
|
-
f.call(_fog_)
|
22942
|
-
end
|
22943
|
-
SRC
|
22944
|
-
|
22945
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhvNV] = [Fiddle::TYPE_VOIDP]
|
22946
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhvNV] = Fiddle::TYPE_VOID
|
22947
|
-
OpenGL.module_eval(<<-SRC)
|
22948
|
-
def glFogCoordhvNV(_fog_)
|
22949
|
-
f = OpenGL::get_command(:glFogCoordhvNV)
|
22950
|
-
f.call(_fog_)
|
22951
|
-
end
|
22952
|
-
SRC
|
22953
|
-
|
22954
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hNV] = [-Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT]
|
22955
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hNV] = Fiddle::TYPE_VOID
|
22956
|
-
OpenGL.module_eval(<<-SRC)
|
22957
|
-
def glSecondaryColor3hNV(_red_, _green_, _blue_)
|
22958
|
-
f = OpenGL::get_command(:glSecondaryColor3hNV)
|
22959
|
-
f.call(_red_, _green_, _blue_)
|
22960
|
-
end
|
22961
|
-
SRC
|
22962
|
-
|
22963
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hvNV] = [Fiddle::TYPE_VOIDP]
|
22964
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hvNV] = Fiddle::TYPE_VOID
|
22965
|
-
OpenGL.module_eval(<<-SRC)
|
22966
|
-
def glSecondaryColor3hvNV(_v_)
|
22967
|
-
f = OpenGL::get_command(:glSecondaryColor3hvNV)
|
22968
|
-
f.call(_v_)
|
22969
|
-
end
|
22970
|
-
SRC
|
22971
|
-
|
22972
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthNV] = [-Fiddle::TYPE_SHORT]
|
22973
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthNV] = Fiddle::TYPE_VOID
|
22974
|
-
OpenGL.module_eval(<<-SRC)
|
22975
|
-
def glVertexWeighthNV(_weight_)
|
22976
|
-
f = OpenGL::get_command(:glVertexWeighthNV)
|
22977
|
-
f.call(_weight_)
|
22978
|
-
end
|
22979
|
-
SRC
|
22980
|
-
|
22981
|
-
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthvNV] = [Fiddle::TYPE_VOIDP]
|
22982
|
-
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthvNV] = Fiddle::TYPE_VOID
|
22983
|
-
OpenGL.module_eval(<<-SRC)
|
22984
|
-
def glVertexWeighthvNV(_weight_)
|
22985
|
-
f = OpenGL::get_command(:glVertexWeighthvNV)
|
22986
|
-
f.call(_weight_)
|
22987
|
-
end
|
22988
|
-
SRC
|
22989
|
-
|
22990
22973
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib1hNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_SHORT]
|
22991
22974
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib1hNV] = Fiddle::TYPE_VOID
|
22992
22975
|
OpenGL.module_eval(<<-SRC)
|
@@ -23094,6 +23077,60 @@ module OpenGLExt
|
|
23094
23077
|
f.call(_index_, _n_, _v_)
|
23095
23078
|
end
|
23096
23079
|
SRC
|
23080
|
+
|
23081
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhNV] = [-Fiddle::TYPE_SHORT]
|
23082
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhNV] = Fiddle::TYPE_VOID
|
23083
|
+
OpenGL.module_eval(<<-SRC)
|
23084
|
+
def glFogCoordhNV(_fog_)
|
23085
|
+
f = OpenGL::get_command(:glFogCoordhNV)
|
23086
|
+
f.call(_fog_)
|
23087
|
+
end
|
23088
|
+
SRC
|
23089
|
+
|
23090
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFogCoordhvNV] = [Fiddle::TYPE_VOIDP]
|
23091
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFogCoordhvNV] = Fiddle::TYPE_VOID
|
23092
|
+
OpenGL.module_eval(<<-SRC)
|
23093
|
+
def glFogCoordhvNV(_fog_)
|
23094
|
+
f = OpenGL::get_command(:glFogCoordhvNV)
|
23095
|
+
f.call(_fog_)
|
23096
|
+
end
|
23097
|
+
SRC
|
23098
|
+
|
23099
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hNV] = [-Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT, -Fiddle::TYPE_SHORT]
|
23100
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hNV] = Fiddle::TYPE_VOID
|
23101
|
+
OpenGL.module_eval(<<-SRC)
|
23102
|
+
def glSecondaryColor3hNV(_red_, _green_, _blue_)
|
23103
|
+
f = OpenGL::get_command(:glSecondaryColor3hNV)
|
23104
|
+
f.call(_red_, _green_, _blue_)
|
23105
|
+
end
|
23106
|
+
SRC
|
23107
|
+
|
23108
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSecondaryColor3hvNV] = [Fiddle::TYPE_VOIDP]
|
23109
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSecondaryColor3hvNV] = Fiddle::TYPE_VOID
|
23110
|
+
OpenGL.module_eval(<<-SRC)
|
23111
|
+
def glSecondaryColor3hvNV(_v_)
|
23112
|
+
f = OpenGL::get_command(:glSecondaryColor3hvNV)
|
23113
|
+
f.call(_v_)
|
23114
|
+
end
|
23115
|
+
SRC
|
23116
|
+
|
23117
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthNV] = [-Fiddle::TYPE_SHORT]
|
23118
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthNV] = Fiddle::TYPE_VOID
|
23119
|
+
OpenGL.module_eval(<<-SRC)
|
23120
|
+
def glVertexWeighthNV(_weight_)
|
23121
|
+
f = OpenGL::get_command(:glVertexWeighthNV)
|
23122
|
+
f.call(_weight_)
|
23123
|
+
end
|
23124
|
+
SRC
|
23125
|
+
|
23126
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glVertexWeighthvNV] = [Fiddle::TYPE_VOIDP]
|
23127
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glVertexWeighthvNV] = Fiddle::TYPE_VOID
|
23128
|
+
OpenGL.module_eval(<<-SRC)
|
23129
|
+
def glVertexWeighthvNV(_weight_)
|
23130
|
+
f = OpenGL::get_command(:glVertexWeighthvNV)
|
23131
|
+
f.call(_weight_)
|
23132
|
+
end
|
23133
|
+
SRC
|
23097
23134
|
end # self.define_ext_command_GL_NV_half_float
|
23098
23135
|
|
23099
23136
|
def self.get_ext_command_GL_NV_half_float
|
@@ -23126,12 +23163,6 @@ module OpenGLExt
|
|
23126
23163
|
'glMultiTexCoord3hvNV',
|
23127
23164
|
'glMultiTexCoord4hNV',
|
23128
23165
|
'glMultiTexCoord4hvNV',
|
23129
|
-
'glFogCoordhNV',
|
23130
|
-
'glFogCoordhvNV',
|
23131
|
-
'glSecondaryColor3hNV',
|
23132
|
-
'glSecondaryColor3hvNV',
|
23133
|
-
'glVertexWeighthNV',
|
23134
|
-
'glVertexWeighthvNV',
|
23135
23166
|
'glVertexAttrib1hNV',
|
23136
23167
|
'glVertexAttrib1hvNV',
|
23137
23168
|
'glVertexAttrib2hNV',
|
@@ -23144,6 +23175,12 @@ module OpenGLExt
|
|
23144
23175
|
'glVertexAttribs2hvNV',
|
23145
23176
|
'glVertexAttribs3hvNV',
|
23146
23177
|
'glVertexAttribs4hvNV',
|
23178
|
+
'glFogCoordhNV',
|
23179
|
+
'glFogCoordhvNV',
|
23180
|
+
'glSecondaryColor3hNV',
|
23181
|
+
'glSecondaryColor3hvNV',
|
23182
|
+
'glVertexWeighthNV',
|
23183
|
+
'glVertexWeighthvNV',
|
23147
23184
|
]
|
23148
23185
|
end # self.get_ext_command_GL_NV_half_float
|
23149
23186
|
|
@@ -25783,6 +25820,15 @@ module OpenGLExt
|
|
25783
25820
|
end # self.get_ext_command_GL_NV_transform_feedback2
|
25784
25821
|
|
25785
25822
|
|
25823
|
+
def self.define_ext_command_GL_NV_uniform_buffer_std430_layout
|
25824
|
+
end # self.define_ext_command_GL_NV_uniform_buffer_std430_layout
|
25825
|
+
|
25826
|
+
def self.get_ext_command_GL_NV_uniform_buffer_std430_layout
|
25827
|
+
[
|
25828
|
+
]
|
25829
|
+
end # self.get_ext_command_GL_NV_uniform_buffer_std430_layout
|
25830
|
+
|
25831
|
+
|
25786
25832
|
def self.define_ext_command_GL_NV_uniform_buffer_unified_memory
|
25787
25833
|
end # self.define_ext_command_GL_NV_uniform_buffer_unified_memory
|
25788
25834
|
|
@@ -28804,11 +28850,21 @@ module OpenGLExt
|
|
28804
28850
|
f.call(_target_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
|
28805
28851
|
end
|
28806
28852
|
SRC
|
28853
|
+
|
28854
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferTextureMultiviewOVR] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
28855
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferTextureMultiviewOVR] = Fiddle::TYPE_VOID
|
28856
|
+
OpenGL.module_eval(<<-SRC)
|
28857
|
+
def glNamedFramebufferTextureMultiviewOVR(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
|
28858
|
+
f = OpenGL::get_command(:glNamedFramebufferTextureMultiviewOVR)
|
28859
|
+
f.call(_framebuffer_, _attachment_, _texture_, _level_, _baseViewIndex_, _numViews_)
|
28860
|
+
end
|
28861
|
+
SRC
|
28807
28862
|
end # self.define_ext_command_GL_OVR_multiview
|
28808
28863
|
|
28809
28864
|
def self.get_ext_command_GL_OVR_multiview
|
28810
28865
|
[
|
28811
28866
|
'glFramebufferTextureMultiviewOVR',
|
28867
|
+
'glNamedFramebufferTextureMultiviewOVR',
|
28812
28868
|
]
|
28813
28869
|
end # self.get_ext_command_GL_OVR_multiview
|
28814
28870
|
|
@@ -30775,13 +30831,4 @@ module OpenGLExt
|
|
30775
30831
|
end # self.get_ext_command_GL_WIN_specular_fog
|
30776
30832
|
|
30777
30833
|
|
30778
|
-
def self.define_ext_command_GL_EXT_texture_shadow_lod
|
30779
|
-
end # self.define_ext_command_GL_EXT_texture_shadow_lod
|
30780
|
-
|
30781
|
-
def self.get_ext_command_GL_EXT_texture_shadow_lod
|
30782
|
-
[
|
30783
|
-
]
|
30784
|
-
end # self.get_ext_command_GL_EXT_texture_shadow_lod
|
30785
|
-
|
30786
|
-
|
30787
30834
|
end
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -6288,6 +6288,15 @@ module OpenGLExt
|
|
6288
6288
|
end # self.get_ext_enum_GL_EXT_framebuffer_blit
|
6289
6289
|
|
6290
6290
|
|
6291
|
+
def self.define_ext_enum_GL_EXT_framebuffer_blit_layers
|
6292
|
+
end # self.define_ext_enum_GL_EXT_framebuffer_blit_layers
|
6293
|
+
|
6294
|
+
def self.get_ext_enum_GL_EXT_framebuffer_blit_layers
|
6295
|
+
[
|
6296
|
+
]
|
6297
|
+
end # self.get_ext_enum_GL_EXT_framebuffer_blit_layers
|
6298
|
+
|
6299
|
+
|
6291
6300
|
def self.define_ext_enum_GL_EXT_framebuffer_multisample
|
6292
6301
|
OpenGL.const_set('GL_RENDERBUFFER_SAMPLES_EXT', 0x8CAB) unless defined?(OpenGL::GL_RENDERBUFFER_SAMPLES_EXT)
|
6293
6302
|
OpenGL.const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT', 0x8D56) unless defined?(OpenGL::GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT)
|
@@ -8045,6 +8054,15 @@ module OpenGLExt
|
|
8045
8054
|
end # self.get_ext_enum_GL_EXT_texture_sRGB_decode
|
8046
8055
|
|
8047
8056
|
|
8057
|
+
def self.define_ext_enum_GL_EXT_texture_shadow_lod
|
8058
|
+
end # self.define_ext_enum_GL_EXT_texture_shadow_lod
|
8059
|
+
|
8060
|
+
def self.get_ext_enum_GL_EXT_texture_shadow_lod
|
8061
|
+
[
|
8062
|
+
]
|
8063
|
+
end # self.get_ext_enum_GL_EXT_texture_shadow_lod
|
8064
|
+
|
8065
|
+
|
8048
8066
|
def self.define_ext_enum_GL_EXT_texture_shared_exponent
|
8049
8067
|
OpenGL.const_set('GL_RGB9_E5_EXT', 0x8C3D) unless defined?(OpenGL::GL_RGB9_E5_EXT)
|
8050
8068
|
OpenGL.const_set('GL_UNSIGNED_INT_5_9_9_9_REV_EXT', 0x8C3E) unless defined?(OpenGL::GL_UNSIGNED_INT_5_9_9_9_REV_EXT)
|
@@ -12250,6 +12268,15 @@ module OpenGLExt
|
|
12250
12268
|
end # self.get_ext_enum_GL_NV_transform_feedback2
|
12251
12269
|
|
12252
12270
|
|
12271
|
+
def self.define_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12272
|
+
end # self.define_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12273
|
+
|
12274
|
+
def self.get_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12275
|
+
[
|
12276
|
+
]
|
12277
|
+
end # self.get_ext_enum_GL_NV_uniform_buffer_std430_layout
|
12278
|
+
|
12279
|
+
|
12253
12280
|
def self.define_ext_enum_GL_NV_uniform_buffer_unified_memory
|
12254
12281
|
OpenGL.const_set('GL_UNIFORM_BUFFER_UNIFIED_NV', 0x936E) unless defined?(OpenGL::GL_UNIFORM_BUFFER_UNIFIED_NV)
|
12255
12282
|
OpenGL.const_set('GL_UNIFORM_BUFFER_ADDRESS_NV', 0x936F) unless defined?(OpenGL::GL_UNIFORM_BUFFER_ADDRESS_NV)
|
@@ -14134,13 +14161,4 @@ module OpenGLExt
|
|
14134
14161
|
end # self.get_ext_enum_GL_WIN_specular_fog
|
14135
14162
|
|
14136
14163
|
|
14137
|
-
def self.define_ext_enum_GL_EXT_texture_shadow_lod
|
14138
|
-
end # self.define_ext_enum_GL_EXT_texture_shadow_lod
|
14139
|
-
|
14140
|
-
def self.get_ext_enum_GL_EXT_texture_shadow_lod
|
14141
|
-
[
|
14142
|
-
]
|
14143
|
-
end # self.get_ext_enum_GL_EXT_texture_shadow_lod
|
14144
|
-
|
14145
|
-
|
14146
14164
|
end
|
data/sample/glfw_build.bat
CHANGED
@@ -5,16 +5,19 @@
|
|
5
5
|
@echo off
|
6
6
|
setlocal EnableDelayedExpansion
|
7
7
|
|
8
|
-
set
|
9
|
-
if
|
10
|
-
set
|
8
|
+
set CMAKE_EXE=%1
|
9
|
+
if "%CMAKE_EXE%"=="" (
|
10
|
+
set CMAKE_EXE="%PROGRAMFILES%\CMake\bin\cmake"
|
11
11
|
)
|
12
12
|
|
13
|
-
curl -O -L https://github.com/glfw/glfw/releases/download/3.
|
14
|
-
%WINDIR%\System32\tar.exe -xf glfw-3.
|
15
|
-
cd glfw-3.
|
16
|
-
|
13
|
+
%WINDIR%\System32\curl -O -L https://github.com/glfw/glfw/releases/download/3.4/glfw-3.4.zip
|
14
|
+
%WINDIR%\System32\tar.exe -xf glfw-3.4.zip
|
15
|
+
cd glfw-3.4/
|
16
|
+
if not exist build (
|
17
|
+
mkdir build
|
18
|
+
)
|
17
19
|
cd build
|
18
|
-
%
|
19
|
-
|
20
|
+
%CMAKE_EXE% -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=Release -D GLFW_NATIVE_API=1 -D GLFW_BUILD_EXAMPLES=OFF -D GLFW_BUILD_TESTS=OFF -D GLFW_BUILD_DOCS=OFF -D GLFW_INSTALL=OFF -D BUILD_SHARED_LIBS=ON -D CMAKE_C_COMPILER=gcc ..
|
21
|
+
|
22
|
+
cmake --build .
|
20
23
|
cp -R src/glfw3.dll ../..
|
data/sample/glfw_build.sh
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
#
|
4
4
|
# Ref.: https://github.com/malkia/ufo/blob/master/build/OSX/glfw.sh
|
5
5
|
#
|
6
|
-
curl -O -L https://github.com/glfw/glfw/releases/download/3.3.
|
7
|
-
tar xvjf glfw-3.3.
|
8
|
-
cd glfw-3.3.
|
6
|
+
curl -O -L https://github.com/glfw/glfw/releases/download/3.3.9/glfw-3.3.9.zip
|
7
|
+
tar xvjf glfw-3.3.9.zip
|
8
|
+
cd glfw-3.3.9/
|
9
9
|
mkdir build
|
10
10
|
cd build
|
11
11
|
export MACOSX_DEPLOYMENT_TARGET=10.14
|
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
10
|
+
date: 2025-01-01 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: fiddle
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.0'
|
13
26
|
description: |
|
14
27
|
[Please consider migrating to opengl-bindings2 (https://rubygems.org/gems/opengl-bindings2)]
|
15
28
|
Ruby bindings for OpenGL - 4.6, OpenGL ES - 3.2 and all extensions using Fiddle (For MRI >= 2.0.0). GLFW/GLUT/GLU bindings are also available.
|
@@ -23,6 +36,7 @@ files:
|
|
23
36
|
- LICENSE.txt
|
24
37
|
- README.md
|
25
38
|
- lib/glfw.rb
|
39
|
+
- lib/glfw33.rb
|
26
40
|
- lib/glu.rb
|
27
41
|
- lib/glut.rb
|
28
42
|
- lib/opengl.rb
|
@@ -53,7 +67,6 @@ homepage: https://github.com/vaiorabbit/ruby-opengl/tree/version/1.6
|
|
53
67
|
licenses:
|
54
68
|
- Zlib
|
55
69
|
metadata: {}
|
56
|
-
post_install_message:
|
57
70
|
rdoc_options: []
|
58
71
|
require_paths:
|
59
72
|
- lib
|
@@ -68,9 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
81
|
- !ruby/object:Gem::Version
|
69
82
|
version: '0'
|
70
83
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
72
|
-
signing_key:
|
84
|
+
rubygems_version: 3.6.2
|
73
85
|
specification_version: 4
|
74
|
-
summary: "[Attention : Version 2 is now available] Bindings for OpenGL
|
75
|
-
3.2 and extensions (For MRI >= 2.0.0)"
|
86
|
+
summary: "[Attention : Version 2 is now available] Bindings for OpenGL/GLFW/GLUT/GLU"
|
76
87
|
test_files: []
|