opengl-bindings 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +12 -0
- data/README.md +5 -5
- data/lib/opengl_enum.rb +1 -0
- data/lib/opengl_es_ext_enum.rb +2 -0
- data/lib/opengl_ext_command.rb +314 -0
- data/lib/opengl_ext_enum.rb +38 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ad22dc7ddeb586c6b89c6ab832a866fb4dce802
|
4
|
+
data.tar.gz: f0c398f0d7bfc8135f9ec45eb7505681dd62d8ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d755570af3b1edc7e2e2151eaf4462c0a57516a262d21e0bc6b3613259c3aab473e515316149183a1a378431cdf8692b07fcb7a513e56b7ef7d1197ae3a38c2
|
7
|
+
data.tar.gz: 82a32897aa472e30d9d1daae04e0fa4d09d340a773770ff90507c3f3a218e3e9084dd53de029ea15fe7c37707accb8706a466fb100ae5075ae114264b787de72
|
data/ChangeLog
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
2014-05-15 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* Updated using latest gl.xml.
|
4
|
+
|
5
|
+
2014-04-04 vaiorabbit <https://twitter.com/vaiorabbit>
|
6
|
+
|
7
|
+
* Updated using latest gl.xml.
|
8
|
+
|
9
|
+
2014-03-21 vaiorabbit <https://twitter.com/vaiorabbit>
|
10
|
+
|
11
|
+
* Updated using latest gl.xml.
|
12
|
+
|
1
13
|
2014-03-18 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
14
|
|
3
15
|
* OpenGL ES 3.1
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
...and wrapper code generator.
|
6
6
|
|
7
7
|
* Created : 2013-08-28
|
8
|
-
* Last modified : 2014-
|
8
|
+
* Last modified : 2014-05-15
|
9
9
|
|
10
10
|
|
11
11
|
## Features ##
|
@@ -42,16 +42,16 @@ https://github.com/vaiorabbit/ruby-opengl
|
|
42
42
|
* 'opengl.rb' includes these scripts:
|
43
43
|
* 'opengl_command.rb' : OpenGL command wrapper (glDrawRangeElements, etc.). Generated via generator/generate_command.rb.
|
44
44
|
* 'opengl_enum.rb' : OpenGL enum wrapper (GL_TRIANGLE_STRIP, etc.). Generated via generator/generate_enum.rb.
|
45
|
-
* 'opengl_common.rb' :
|
46
|
-
* 'opengl_platform.rb' :
|
47
|
-
* 'opengl_windows.rb' :
|
45
|
+
* 'opengl_common.rb' : Provides utilitiy funcitions.
|
46
|
+
* 'opengl_platform.rb' : Provides platform check funcitions (OpneGL.get_platform).
|
47
|
+
* 'opengl_windows.rb' : Provides funcitions for Windows platform (wglGetProcAddress).
|
48
48
|
|
49
49
|
* 'opengl_es.rb' is almost the same with 'opengl.rb', except for including 'opengl_es_command.rb' and 'opengl_es_enum.rb'.
|
50
50
|
|
51
51
|
* 'opengl_ext.rb' includes these scripts:
|
52
52
|
* 'opengl_ext_command.rb' : OpenGL extension command wrapper. Generated via generator/generate_ext_command.rb.
|
53
53
|
* 'opengl_ext_enum.rb' : OpenGL extension enum wrapper Generated via generator/generate_ext_enum.rb.
|
54
|
-
* 'opengl_ext_common.rb' :
|
54
|
+
* 'opengl_ext_common.rb' : Provides utilitiy funcitions.
|
55
55
|
|
56
56
|
* 'opengl_es_ext.rb' is almost the same with 'opengl_ext.rb', except for including 'opengl_es_ext_command.rb' and 'opengl_es_ext_enum.rb'.
|
57
57
|
|
data/lib/opengl_enum.rb
CHANGED
@@ -1711,6 +1711,7 @@ module OpenGL
|
|
1711
1711
|
GL_VERTEX_BINDING_STRIDE = 0x82D8
|
1712
1712
|
GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET = 0x82D9
|
1713
1713
|
GL_MAX_VERTEX_ATTRIB_BINDINGS = 0x82DA
|
1714
|
+
GL_VERTEX_BINDING_BUFFER = 0x8F4F
|
1714
1715
|
GL_DISPLAY_LIST = 0x82E7
|
1715
1716
|
GL_MAX_VERTEX_ATTRIB_STRIDE = 0x82E5
|
1716
1717
|
GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED = 0x8221
|
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -285,6 +285,8 @@ module OpenGL
|
|
285
285
|
const_set('GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT', 0x8A55) unless defined?(GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT)
|
286
286
|
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT', 0x8A56) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT)
|
287
287
|
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT', 0x8A57) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT)
|
288
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG', 0x93F0) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG)
|
289
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG', 0x93F1) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG)
|
288
290
|
end # define_ext_enum_GL_EXT_pvrtc_sRGB
|
289
291
|
|
290
292
|
def define_ext_enum_GL_EXT_read_format_bgra
|
data/lib/opengl_ext_command.rb
CHANGED
@@ -110,6 +110,314 @@ module OpenGL
|
|
110
110
|
SRC_GL_AMD_draw_buffers_blend
|
111
111
|
end # define_ext_command_GL_AMD_draw_buffers_blend
|
112
112
|
|
113
|
+
def define_ext_command_GL_AMD_gpu_shader_int64
|
114
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1i64NV] = [Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG]
|
115
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1i64NV] = Fiddle::TYPE_VOID
|
116
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
117
|
+
def glUniform1i64NV(_location_, _x_)
|
118
|
+
f = OpenGL::get_command(:glUniform1i64NV)
|
119
|
+
f.call(_location_, _x_)
|
120
|
+
end
|
121
|
+
SRC_GL_AMD_gpu_shader_int64
|
122
|
+
|
123
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2i64NV] = [Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG]
|
124
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2i64NV] = Fiddle::TYPE_VOID
|
125
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
126
|
+
def glUniform2i64NV(_location_, _x_, _y_)
|
127
|
+
f = OpenGL::get_command(:glUniform2i64NV)
|
128
|
+
f.call(_location_, _x_, _y_)
|
129
|
+
end
|
130
|
+
SRC_GL_AMD_gpu_shader_int64
|
131
|
+
|
132
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3i64NV] = [Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG]
|
133
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3i64NV] = Fiddle::TYPE_VOID
|
134
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
135
|
+
def glUniform3i64NV(_location_, _x_, _y_, _z_)
|
136
|
+
f = OpenGL::get_command(:glUniform3i64NV)
|
137
|
+
f.call(_location_, _x_, _y_, _z_)
|
138
|
+
end
|
139
|
+
SRC_GL_AMD_gpu_shader_int64
|
140
|
+
|
141
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4i64NV] = [Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG]
|
142
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4i64NV] = Fiddle::TYPE_VOID
|
143
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
144
|
+
def glUniform4i64NV(_location_, _x_, _y_, _z_, _w_)
|
145
|
+
f = OpenGL::get_command(:glUniform4i64NV)
|
146
|
+
f.call(_location_, _x_, _y_, _z_, _w_)
|
147
|
+
end
|
148
|
+
SRC_GL_AMD_gpu_shader_int64
|
149
|
+
|
150
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1i64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
151
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1i64vNV] = Fiddle::TYPE_VOID
|
152
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
153
|
+
def glUniform1i64vNV(_location_, _count_, _value_)
|
154
|
+
f = OpenGL::get_command(:glUniform1i64vNV)
|
155
|
+
f.call(_location_, _count_, _value_)
|
156
|
+
end
|
157
|
+
SRC_GL_AMD_gpu_shader_int64
|
158
|
+
|
159
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2i64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
160
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2i64vNV] = Fiddle::TYPE_VOID
|
161
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
162
|
+
def glUniform2i64vNV(_location_, _count_, _value_)
|
163
|
+
f = OpenGL::get_command(:glUniform2i64vNV)
|
164
|
+
f.call(_location_, _count_, _value_)
|
165
|
+
end
|
166
|
+
SRC_GL_AMD_gpu_shader_int64
|
167
|
+
|
168
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3i64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
169
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3i64vNV] = Fiddle::TYPE_VOID
|
170
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
171
|
+
def glUniform3i64vNV(_location_, _count_, _value_)
|
172
|
+
f = OpenGL::get_command(:glUniform3i64vNV)
|
173
|
+
f.call(_location_, _count_, _value_)
|
174
|
+
end
|
175
|
+
SRC_GL_AMD_gpu_shader_int64
|
176
|
+
|
177
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4i64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
178
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4i64vNV] = Fiddle::TYPE_VOID
|
179
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
180
|
+
def glUniform4i64vNV(_location_, _count_, _value_)
|
181
|
+
f = OpenGL::get_command(:glUniform4i64vNV)
|
182
|
+
f.call(_location_, _count_, _value_)
|
183
|
+
end
|
184
|
+
SRC_GL_AMD_gpu_shader_int64
|
185
|
+
|
186
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1ui64NV] = [Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
187
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1ui64NV] = Fiddle::TYPE_VOID
|
188
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
189
|
+
def glUniform1ui64NV(_location_, _x_)
|
190
|
+
f = OpenGL::get_command(:glUniform1ui64NV)
|
191
|
+
f.call(_location_, _x_)
|
192
|
+
end
|
193
|
+
SRC_GL_AMD_gpu_shader_int64
|
194
|
+
|
195
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2ui64NV] = [Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG]
|
196
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2ui64NV] = Fiddle::TYPE_VOID
|
197
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
198
|
+
def glUniform2ui64NV(_location_, _x_, _y_)
|
199
|
+
f = OpenGL::get_command(:glUniform2ui64NV)
|
200
|
+
f.call(_location_, _x_, _y_)
|
201
|
+
end
|
202
|
+
SRC_GL_AMD_gpu_shader_int64
|
203
|
+
|
204
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3ui64NV] = [Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG]
|
205
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3ui64NV] = Fiddle::TYPE_VOID
|
206
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
207
|
+
def glUniform3ui64NV(_location_, _x_, _y_, _z_)
|
208
|
+
f = OpenGL::get_command(:glUniform3ui64NV)
|
209
|
+
f.call(_location_, _x_, _y_, _z_)
|
210
|
+
end
|
211
|
+
SRC_GL_AMD_gpu_shader_int64
|
212
|
+
|
213
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4ui64NV] = [Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG]
|
214
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4ui64NV] = Fiddle::TYPE_VOID
|
215
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
216
|
+
def glUniform4ui64NV(_location_, _x_, _y_, _z_, _w_)
|
217
|
+
f = OpenGL::get_command(:glUniform4ui64NV)
|
218
|
+
f.call(_location_, _x_, _y_, _z_, _w_)
|
219
|
+
end
|
220
|
+
SRC_GL_AMD_gpu_shader_int64
|
221
|
+
|
222
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1ui64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
223
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1ui64vNV] = Fiddle::TYPE_VOID
|
224
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
225
|
+
def glUniform1ui64vNV(_location_, _count_, _value_)
|
226
|
+
f = OpenGL::get_command(:glUniform1ui64vNV)
|
227
|
+
f.call(_location_, _count_, _value_)
|
228
|
+
end
|
229
|
+
SRC_GL_AMD_gpu_shader_int64
|
230
|
+
|
231
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2ui64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
232
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2ui64vNV] = Fiddle::TYPE_VOID
|
233
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
234
|
+
def glUniform2ui64vNV(_location_, _count_, _value_)
|
235
|
+
f = OpenGL::get_command(:glUniform2ui64vNV)
|
236
|
+
f.call(_location_, _count_, _value_)
|
237
|
+
end
|
238
|
+
SRC_GL_AMD_gpu_shader_int64
|
239
|
+
|
240
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3ui64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
241
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3ui64vNV] = Fiddle::TYPE_VOID
|
242
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
243
|
+
def glUniform3ui64vNV(_location_, _count_, _value_)
|
244
|
+
f = OpenGL::get_command(:glUniform3ui64vNV)
|
245
|
+
f.call(_location_, _count_, _value_)
|
246
|
+
end
|
247
|
+
SRC_GL_AMD_gpu_shader_int64
|
248
|
+
|
249
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4ui64vNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
250
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4ui64vNV] = Fiddle::TYPE_VOID
|
251
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
252
|
+
def glUniform4ui64vNV(_location_, _count_, _value_)
|
253
|
+
f = OpenGL::get_command(:glUniform4ui64vNV)
|
254
|
+
f.call(_location_, _count_, _value_)
|
255
|
+
end
|
256
|
+
SRC_GL_AMD_gpu_shader_int64
|
257
|
+
|
258
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformi64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
259
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformi64vNV] = Fiddle::TYPE_VOID
|
260
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
261
|
+
def glGetUniformi64vNV(_program_, _location_, _params_)
|
262
|
+
f = OpenGL::get_command(:glGetUniformi64vNV)
|
263
|
+
f.call(_program_, _location_, _params_)
|
264
|
+
end
|
265
|
+
SRC_GL_AMD_gpu_shader_int64
|
266
|
+
|
267
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformui64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
268
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformui64vNV] = Fiddle::TYPE_VOID
|
269
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
270
|
+
def glGetUniformui64vNV(_program_, _location_, _params_)
|
271
|
+
f = OpenGL::get_command(:glGetUniformui64vNV)
|
272
|
+
f.call(_program_, _location_, _params_)
|
273
|
+
end
|
274
|
+
SRC_GL_AMD_gpu_shader_int64
|
275
|
+
|
276
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform1i64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG]
|
277
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform1i64NV] = Fiddle::TYPE_VOID
|
278
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
279
|
+
def glProgramUniform1i64NV(_program_, _location_, _x_)
|
280
|
+
f = OpenGL::get_command(:glProgramUniform1i64NV)
|
281
|
+
f.call(_program_, _location_, _x_)
|
282
|
+
end
|
283
|
+
SRC_GL_AMD_gpu_shader_int64
|
284
|
+
|
285
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform2i64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG]
|
286
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform2i64NV] = Fiddle::TYPE_VOID
|
287
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
288
|
+
def glProgramUniform2i64NV(_program_, _location_, _x_, _y_)
|
289
|
+
f = OpenGL::get_command(:glProgramUniform2i64NV)
|
290
|
+
f.call(_program_, _location_, _x_, _y_)
|
291
|
+
end
|
292
|
+
SRC_GL_AMD_gpu_shader_int64
|
293
|
+
|
294
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform3i64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG]
|
295
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform3i64NV] = Fiddle::TYPE_VOID
|
296
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
297
|
+
def glProgramUniform3i64NV(_program_, _location_, _x_, _y_, _z_)
|
298
|
+
f = OpenGL::get_command(:glProgramUniform3i64NV)
|
299
|
+
f.call(_program_, _location_, _x_, _y_, _z_)
|
300
|
+
end
|
301
|
+
SRC_GL_AMD_gpu_shader_int64
|
302
|
+
|
303
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform4i64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG, Fiddle::TYPE_LONG_LONG]
|
304
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform4i64NV] = Fiddle::TYPE_VOID
|
305
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
306
|
+
def glProgramUniform4i64NV(_program_, _location_, _x_, _y_, _z_, _w_)
|
307
|
+
f = OpenGL::get_command(:glProgramUniform4i64NV)
|
308
|
+
f.call(_program_, _location_, _x_, _y_, _z_, _w_)
|
309
|
+
end
|
310
|
+
SRC_GL_AMD_gpu_shader_int64
|
311
|
+
|
312
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform1i64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
313
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform1i64vNV] = Fiddle::TYPE_VOID
|
314
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
315
|
+
def glProgramUniform1i64vNV(_program_, _location_, _count_, _value_)
|
316
|
+
f = OpenGL::get_command(:glProgramUniform1i64vNV)
|
317
|
+
f.call(_program_, _location_, _count_, _value_)
|
318
|
+
end
|
319
|
+
SRC_GL_AMD_gpu_shader_int64
|
320
|
+
|
321
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform2i64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
322
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform2i64vNV] = Fiddle::TYPE_VOID
|
323
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
324
|
+
def glProgramUniform2i64vNV(_program_, _location_, _count_, _value_)
|
325
|
+
f = OpenGL::get_command(:glProgramUniform2i64vNV)
|
326
|
+
f.call(_program_, _location_, _count_, _value_)
|
327
|
+
end
|
328
|
+
SRC_GL_AMD_gpu_shader_int64
|
329
|
+
|
330
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform3i64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
331
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform3i64vNV] = Fiddle::TYPE_VOID
|
332
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
333
|
+
def glProgramUniform3i64vNV(_program_, _location_, _count_, _value_)
|
334
|
+
f = OpenGL::get_command(:glProgramUniform3i64vNV)
|
335
|
+
f.call(_program_, _location_, _count_, _value_)
|
336
|
+
end
|
337
|
+
SRC_GL_AMD_gpu_shader_int64
|
338
|
+
|
339
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform4i64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
340
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform4i64vNV] = Fiddle::TYPE_VOID
|
341
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
342
|
+
def glProgramUniform4i64vNV(_program_, _location_, _count_, _value_)
|
343
|
+
f = OpenGL::get_command(:glProgramUniform4i64vNV)
|
344
|
+
f.call(_program_, _location_, _count_, _value_)
|
345
|
+
end
|
346
|
+
SRC_GL_AMD_gpu_shader_int64
|
347
|
+
|
348
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform1ui64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
349
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform1ui64NV] = Fiddle::TYPE_VOID
|
350
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
351
|
+
def glProgramUniform1ui64NV(_program_, _location_, _x_)
|
352
|
+
f = OpenGL::get_command(:glProgramUniform1ui64NV)
|
353
|
+
f.call(_program_, _location_, _x_)
|
354
|
+
end
|
355
|
+
SRC_GL_AMD_gpu_shader_int64
|
356
|
+
|
357
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform2ui64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG]
|
358
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform2ui64NV] = Fiddle::TYPE_VOID
|
359
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
360
|
+
def glProgramUniform2ui64NV(_program_, _location_, _x_, _y_)
|
361
|
+
f = OpenGL::get_command(:glProgramUniform2ui64NV)
|
362
|
+
f.call(_program_, _location_, _x_, _y_)
|
363
|
+
end
|
364
|
+
SRC_GL_AMD_gpu_shader_int64
|
365
|
+
|
366
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform3ui64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG]
|
367
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform3ui64NV] = Fiddle::TYPE_VOID
|
368
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
369
|
+
def glProgramUniform3ui64NV(_program_, _location_, _x_, _y_, _z_)
|
370
|
+
f = OpenGL::get_command(:glProgramUniform3ui64NV)
|
371
|
+
f.call(_program_, _location_, _x_, _y_, _z_)
|
372
|
+
end
|
373
|
+
SRC_GL_AMD_gpu_shader_int64
|
374
|
+
|
375
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform4ui64NV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_LONG_LONG]
|
376
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform4ui64NV] = Fiddle::TYPE_VOID
|
377
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
378
|
+
def glProgramUniform4ui64NV(_program_, _location_, _x_, _y_, _z_, _w_)
|
379
|
+
f = OpenGL::get_command(:glProgramUniform4ui64NV)
|
380
|
+
f.call(_program_, _location_, _x_, _y_, _z_, _w_)
|
381
|
+
end
|
382
|
+
SRC_GL_AMD_gpu_shader_int64
|
383
|
+
|
384
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform1ui64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
385
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform1ui64vNV] = Fiddle::TYPE_VOID
|
386
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
387
|
+
def glProgramUniform1ui64vNV(_program_, _location_, _count_, _value_)
|
388
|
+
f = OpenGL::get_command(:glProgramUniform1ui64vNV)
|
389
|
+
f.call(_program_, _location_, _count_, _value_)
|
390
|
+
end
|
391
|
+
SRC_GL_AMD_gpu_shader_int64
|
392
|
+
|
393
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform2ui64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
394
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform2ui64vNV] = Fiddle::TYPE_VOID
|
395
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
396
|
+
def glProgramUniform2ui64vNV(_program_, _location_, _count_, _value_)
|
397
|
+
f = OpenGL::get_command(:glProgramUniform2ui64vNV)
|
398
|
+
f.call(_program_, _location_, _count_, _value_)
|
399
|
+
end
|
400
|
+
SRC_GL_AMD_gpu_shader_int64
|
401
|
+
|
402
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform3ui64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
403
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform3ui64vNV] = Fiddle::TYPE_VOID
|
404
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
405
|
+
def glProgramUniform3ui64vNV(_program_, _location_, _count_, _value_)
|
406
|
+
f = OpenGL::get_command(:glProgramUniform3ui64vNV)
|
407
|
+
f.call(_program_, _location_, _count_, _value_)
|
408
|
+
end
|
409
|
+
SRC_GL_AMD_gpu_shader_int64
|
410
|
+
|
411
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramUniform4ui64vNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
412
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramUniform4ui64vNV] = Fiddle::TYPE_VOID
|
413
|
+
module_eval(<<-SRC_GL_AMD_gpu_shader_int64)
|
414
|
+
def glProgramUniform4ui64vNV(_program_, _location_, _count_, _value_)
|
415
|
+
f = OpenGL::get_command(:glProgramUniform4ui64vNV)
|
416
|
+
f.call(_program_, _location_, _count_, _value_)
|
417
|
+
end
|
418
|
+
SRC_GL_AMD_gpu_shader_int64
|
419
|
+
end # define_ext_command_GL_AMD_gpu_shader_int64
|
420
|
+
|
113
421
|
def define_ext_command_GL_AMD_interleaved_elements
|
114
422
|
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribParameteriAMD] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
115
423
|
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribParameteriAMD] = Fiddle::TYPE_VOID
|
@@ -121,6 +429,9 @@ module OpenGL
|
|
121
429
|
SRC_GL_AMD_interleaved_elements
|
122
430
|
end # define_ext_command_GL_AMD_interleaved_elements
|
123
431
|
|
432
|
+
def define_ext_command_GL_AMD_gcn_shader
|
433
|
+
end # define_ext_command_GL_AMD_gcn_shader
|
434
|
+
|
124
435
|
def define_ext_command_GL_AMD_multi_draw_indirect
|
125
436
|
GL_FUNCTIONS_ARGS_MAP[:glMultiDrawArraysIndirectAMD] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
126
437
|
GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawArraysIndirectAMD] = Fiddle::TYPE_VOID
|
@@ -348,6 +659,9 @@ module OpenGL
|
|
348
659
|
def define_ext_command_GL_AMD_transform_feedback3_lines_triangles
|
349
660
|
end # define_ext_command_GL_AMD_transform_feedback3_lines_triangles
|
350
661
|
|
662
|
+
def define_ext_command_GL_AMD_transform_feedback4
|
663
|
+
end # define_ext_command_GL_AMD_transform_feedback4
|
664
|
+
|
351
665
|
def define_ext_command_GL_AMD_vertex_shader_layer
|
352
666
|
end # define_ext_command_GL_AMD_vertex_shader_layer
|
353
667
|
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -54,6 +54,37 @@ module OpenGL
|
|
54
54
|
def define_ext_enum_GL_AMD_draw_buffers_blend
|
55
55
|
end # define_ext_enum_GL_AMD_draw_buffers_blend
|
56
56
|
|
57
|
+
def define_ext_enum_GL_AMD_gpu_shader_int64
|
58
|
+
const_set('GL_INT64_NV', 0x140E) unless defined?(GL_INT64_NV)
|
59
|
+
const_set('GL_UNSIGNED_INT64_NV', 0x140F) unless defined?(GL_UNSIGNED_INT64_NV)
|
60
|
+
const_set('GL_INT8_NV', 0x8FE0) unless defined?(GL_INT8_NV)
|
61
|
+
const_set('GL_INT8_VEC2_NV', 0x8FE1) unless defined?(GL_INT8_VEC2_NV)
|
62
|
+
const_set('GL_INT8_VEC3_NV', 0x8FE2) unless defined?(GL_INT8_VEC3_NV)
|
63
|
+
const_set('GL_INT8_VEC4_NV', 0x8FE3) unless defined?(GL_INT8_VEC4_NV)
|
64
|
+
const_set('GL_INT16_NV', 0x8FE4) unless defined?(GL_INT16_NV)
|
65
|
+
const_set('GL_INT16_VEC2_NV', 0x8FE5) unless defined?(GL_INT16_VEC2_NV)
|
66
|
+
const_set('GL_INT16_VEC3_NV', 0x8FE6) unless defined?(GL_INT16_VEC3_NV)
|
67
|
+
const_set('GL_INT16_VEC4_NV', 0x8FE7) unless defined?(GL_INT16_VEC4_NV)
|
68
|
+
const_set('GL_INT64_VEC2_NV', 0x8FE9) unless defined?(GL_INT64_VEC2_NV)
|
69
|
+
const_set('GL_INT64_VEC3_NV', 0x8FEA) unless defined?(GL_INT64_VEC3_NV)
|
70
|
+
const_set('GL_INT64_VEC4_NV', 0x8FEB) unless defined?(GL_INT64_VEC4_NV)
|
71
|
+
const_set('GL_UNSIGNED_INT8_NV', 0x8FEC) unless defined?(GL_UNSIGNED_INT8_NV)
|
72
|
+
const_set('GL_UNSIGNED_INT8_VEC2_NV', 0x8FED) unless defined?(GL_UNSIGNED_INT8_VEC2_NV)
|
73
|
+
const_set('GL_UNSIGNED_INT8_VEC3_NV', 0x8FEE) unless defined?(GL_UNSIGNED_INT8_VEC3_NV)
|
74
|
+
const_set('GL_UNSIGNED_INT8_VEC4_NV', 0x8FEF) unless defined?(GL_UNSIGNED_INT8_VEC4_NV)
|
75
|
+
const_set('GL_UNSIGNED_INT16_NV', 0x8FF0) unless defined?(GL_UNSIGNED_INT16_NV)
|
76
|
+
const_set('GL_UNSIGNED_INT16_VEC2_NV', 0x8FF1) unless defined?(GL_UNSIGNED_INT16_VEC2_NV)
|
77
|
+
const_set('GL_UNSIGNED_INT16_VEC3_NV', 0x8FF2) unless defined?(GL_UNSIGNED_INT16_VEC3_NV)
|
78
|
+
const_set('GL_UNSIGNED_INT16_VEC4_NV', 0x8FF3) unless defined?(GL_UNSIGNED_INT16_VEC4_NV)
|
79
|
+
const_set('GL_UNSIGNED_INT64_VEC2_NV', 0x8FF5) unless defined?(GL_UNSIGNED_INT64_VEC2_NV)
|
80
|
+
const_set('GL_UNSIGNED_INT64_VEC3_NV', 0x8FF6) unless defined?(GL_UNSIGNED_INT64_VEC3_NV)
|
81
|
+
const_set('GL_UNSIGNED_INT64_VEC4_NV', 0x8FF7) unless defined?(GL_UNSIGNED_INT64_VEC4_NV)
|
82
|
+
const_set('GL_FLOAT16_NV', 0x8FF8) unless defined?(GL_FLOAT16_NV)
|
83
|
+
const_set('GL_FLOAT16_VEC2_NV', 0x8FF9) unless defined?(GL_FLOAT16_VEC2_NV)
|
84
|
+
const_set('GL_FLOAT16_VEC3_NV', 0x8FFA) unless defined?(GL_FLOAT16_VEC3_NV)
|
85
|
+
const_set('GL_FLOAT16_VEC4_NV', 0x8FFB) unless defined?(GL_FLOAT16_VEC4_NV)
|
86
|
+
end # define_ext_enum_GL_AMD_gpu_shader_int64
|
87
|
+
|
57
88
|
def define_ext_enum_GL_AMD_interleaved_elements
|
58
89
|
const_set('GL_VERTEX_ELEMENT_SWIZZLE_AMD', 0x91A4) unless defined?(GL_VERTEX_ELEMENT_SWIZZLE_AMD)
|
59
90
|
const_set('GL_VERTEX_ID_SWIZZLE_AMD', 0x91A5) unless defined?(GL_VERTEX_ID_SWIZZLE_AMD)
|
@@ -66,6 +97,9 @@ module OpenGL
|
|
66
97
|
const_set('GL_RGBA8UI', 0x8D7C) unless defined?(GL_RGBA8UI)
|
67
98
|
end # define_ext_enum_GL_AMD_interleaved_elements
|
68
99
|
|
100
|
+
def define_ext_enum_GL_AMD_gcn_shader
|
101
|
+
end # define_ext_enum_GL_AMD_gcn_shader
|
102
|
+
|
69
103
|
def define_ext_enum_GL_AMD_multi_draw_indirect
|
70
104
|
end # define_ext_enum_GL_AMD_multi_draw_indirect
|
71
105
|
|
@@ -148,6 +182,10 @@ module OpenGL
|
|
148
182
|
def define_ext_enum_GL_AMD_transform_feedback3_lines_triangles
|
149
183
|
end # define_ext_enum_GL_AMD_transform_feedback3_lines_triangles
|
150
184
|
|
185
|
+
def define_ext_enum_GL_AMD_transform_feedback4
|
186
|
+
const_set('GL_STREAM_RASTERIZATION_AMD', 0x91A0) unless defined?(GL_STREAM_RASTERIZATION_AMD)
|
187
|
+
end # define_ext_enum_GL_AMD_transform_feedback4
|
188
|
+
|
151
189
|
def define_ext_enum_GL_AMD_vertex_shader_layer
|
152
190
|
end # define_ext_enum_GL_AMD_vertex_shader_layer
|
153
191
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Ruby bindings for OpenGL - 4.4, OpenGL ES - 3.1 and all extensions using Fiddle (For MRI >= 2.0.0).
|