opengl-bindings 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +7 -4
- data/lib/glut.rb +237 -37
- data/lib/opengl_enum.rb +29 -29
- data/lib/opengl_es_enum.rb +6 -6
- data/lib/opengl_es_ext_command.rb +264 -264
- data/lib/opengl_es_ext_enum.rb +265 -265
- data/lib/opengl_ext_command.rb +954 -954
- data/lib/opengl_ext_common.rb +13 -4
- data/lib/opengl_ext_enum.rb +967 -967
- metadata +11 -11
data/lib/opengl_es_enum.rb
CHANGED
@@ -386,7 +386,7 @@ module OpenGL
|
|
386
386
|
GL_SRGB = 0x8C40
|
387
387
|
GL_SRGB8 = 0x8C41
|
388
388
|
GL_SRGB8_ALPHA8 = 0x8C43
|
389
|
-
GL_COMPARE_REF_TO_TEXTURE =
|
389
|
+
GL_COMPARE_REF_TO_TEXTURE = 0x884E
|
390
390
|
GL_MAJOR_VERSION = 0x821B
|
391
391
|
GL_MINOR_VERSION = 0x821C
|
392
392
|
GL_NUM_EXTENSIONS = 0x821D
|
@@ -398,7 +398,7 @@ module OpenGL
|
|
398
398
|
GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF
|
399
399
|
GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904
|
400
400
|
GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905
|
401
|
-
GL_MAX_VARYING_COMPONENTS =
|
401
|
+
GL_MAX_VARYING_COMPONENTS = 0x8B4B
|
402
402
|
GL_TEXTURE_2D_ARRAY = 0x8C1A
|
403
403
|
GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D
|
404
404
|
GL_R11F_G11F_B10F = 0x8C3A
|
@@ -529,8 +529,8 @@ module OpenGL
|
|
529
529
|
GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69
|
530
530
|
GL_COPY_READ_BUFFER = 0x8F36
|
531
531
|
GL_COPY_WRITE_BUFFER = 0x8F37
|
532
|
-
GL_COPY_READ_BUFFER_BINDING =
|
533
|
-
GL_COPY_WRITE_BUFFER_BINDING =
|
532
|
+
GL_COPY_READ_BUFFER_BINDING = 0x8F36
|
533
|
+
GL_COPY_WRITE_BUFFER_BINDING = 0x8F37
|
534
534
|
GL_UNIFORM_BUFFER = 0x8A11
|
535
535
|
GL_UNIFORM_BUFFER_BINDING = 0x8A28
|
536
536
|
GL_UNIFORM_BUFFER_START = 0x8A29
|
@@ -591,8 +591,8 @@ module OpenGL
|
|
591
591
|
GL_BLUE = 0x1905
|
592
592
|
GL_INT_2_10_10_10_REV = 0x8D9F
|
593
593
|
GL_TRANSFORM_FEEDBACK = 0x8E22
|
594
|
-
GL_TRANSFORM_FEEDBACK_PAUSED =
|
595
|
-
GL_TRANSFORM_FEEDBACK_ACTIVE =
|
594
|
+
GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23
|
595
|
+
GL_TRANSFORM_FEEDBACK_ACTIVE = 0x8E24
|
596
596
|
GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25
|
597
597
|
GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
|
598
598
|
GL_PROGRAM_BINARY_LENGTH = 0x8741
|
@@ -8,13 +8,13 @@ require 'fiddle'
|
|
8
8
|
|
9
9
|
module OpenGL
|
10
10
|
|
11
|
-
def
|
12
|
-
end #
|
11
|
+
def define_ext_command_GL_AMD_compressed_3DC_texture
|
12
|
+
end # define_ext_command_GL_AMD_compressed_3DC_texture
|
13
13
|
|
14
|
-
def
|
15
|
-
end #
|
14
|
+
def define_ext_command_GL_AMD_compressed_ATC_texture
|
15
|
+
end # define_ext_command_GL_AMD_compressed_ATC_texture
|
16
16
|
|
17
|
-
def
|
17
|
+
def define_ext_command_GL_AMD_performance_monitor
|
18
18
|
GL_FUNCTIONS_ARGS_MAP[:glGetPerfMonitorGroupsAMD] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
19
19
|
GL_FUNCTIONS_RETVAL_MAP[:glGetPerfMonitorGroupsAMD] = Fiddle::TYPE_VOID
|
20
20
|
module_eval(<<-SRC_GL_AMD_performance_monitor)
|
@@ -113,15 +113,15 @@ module OpenGL
|
|
113
113
|
f.call(_monitor_, _pname_, _dataSize_, _data_, _bytesWritten_)
|
114
114
|
end
|
115
115
|
SRC_GL_AMD_performance_monitor
|
116
|
-
end #
|
116
|
+
end # define_ext_command_GL_AMD_performance_monitor
|
117
117
|
|
118
|
-
def
|
119
|
-
end #
|
118
|
+
def define_ext_command_GL_AMD_program_binary_Z400
|
119
|
+
end # define_ext_command_GL_AMD_program_binary_Z400
|
120
120
|
|
121
|
-
def
|
122
|
-
end #
|
121
|
+
def define_ext_command_GL_ANGLE_depth_texture
|
122
|
+
end # define_ext_command_GL_ANGLE_depth_texture
|
123
123
|
|
124
|
-
def
|
124
|
+
def define_ext_command_GL_ANGLE_framebuffer_blit
|
125
125
|
GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferANGLE] = [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]
|
126
126
|
GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferANGLE] = Fiddle::TYPE_VOID
|
127
127
|
module_eval(<<-SRC_GL_ANGLE_framebuffer_blit)
|
@@ -130,9 +130,9 @@ module OpenGL
|
|
130
130
|
f.call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
131
131
|
end
|
132
132
|
SRC_GL_ANGLE_framebuffer_blit
|
133
|
-
end #
|
133
|
+
end # define_ext_command_GL_ANGLE_framebuffer_blit
|
134
134
|
|
135
|
-
def
|
135
|
+
def define_ext_command_GL_ANGLE_framebuffer_multisample
|
136
136
|
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleANGLE] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
137
137
|
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleANGLE] = Fiddle::TYPE_VOID
|
138
138
|
module_eval(<<-SRC_GL_ANGLE_framebuffer_multisample)
|
@@ -141,9 +141,9 @@ module OpenGL
|
|
141
141
|
f.call(_target_, _samples_, _internalformat_, _width_, _height_)
|
142
142
|
end
|
143
143
|
SRC_GL_ANGLE_framebuffer_multisample
|
144
|
-
end #
|
144
|
+
end # define_ext_command_GL_ANGLE_framebuffer_multisample
|
145
145
|
|
146
|
-
def
|
146
|
+
def define_ext_command_GL_ANGLE_instanced_arrays
|
147
147
|
GL_FUNCTIONS_ARGS_MAP[:glDrawArraysInstancedANGLE] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
148
148
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawArraysInstancedANGLE] = Fiddle::TYPE_VOID
|
149
149
|
module_eval(<<-SRC_GL_ANGLE_instanced_arrays)
|
@@ -170,24 +170,24 @@ module OpenGL
|
|
170
170
|
f.call(_index_, _divisor_)
|
171
171
|
end
|
172
172
|
SRC_GL_ANGLE_instanced_arrays
|
173
|
-
end #
|
173
|
+
end # define_ext_command_GL_ANGLE_instanced_arrays
|
174
174
|
|
175
|
-
def
|
176
|
-
end #
|
175
|
+
def define_ext_command_GL_ANGLE_pack_reverse_row_order
|
176
|
+
end # define_ext_command_GL_ANGLE_pack_reverse_row_order
|
177
177
|
|
178
|
-
def
|
179
|
-
end #
|
178
|
+
def define_ext_command_GL_ANGLE_program_binary
|
179
|
+
end # define_ext_command_GL_ANGLE_program_binary
|
180
180
|
|
181
|
-
def
|
182
|
-
end #
|
181
|
+
def define_ext_command_GL_ANGLE_texture_compression_dxt3
|
182
|
+
end # define_ext_command_GL_ANGLE_texture_compression_dxt3
|
183
183
|
|
184
|
-
def
|
185
|
-
end #
|
184
|
+
def define_ext_command_GL_ANGLE_texture_compression_dxt5
|
185
|
+
end # define_ext_command_GL_ANGLE_texture_compression_dxt5
|
186
186
|
|
187
|
-
def
|
188
|
-
end #
|
187
|
+
def define_ext_command_GL_ANGLE_texture_usage
|
188
|
+
end # define_ext_command_GL_ANGLE_texture_usage
|
189
189
|
|
190
|
-
def
|
190
|
+
def define_ext_command_GL_ANGLE_translated_shader_source
|
191
191
|
GL_FUNCTIONS_ARGS_MAP[:glGetTranslatedShaderSourceANGLE] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
192
192
|
GL_FUNCTIONS_RETVAL_MAP[:glGetTranslatedShaderSourceANGLE] = Fiddle::TYPE_VOID
|
193
193
|
module_eval(<<-SRC_GL_ANGLE_translated_shader_source)
|
@@ -196,9 +196,9 @@ module OpenGL
|
|
196
196
|
f.call(_shader_, _bufsize_, _length_, _source_)
|
197
197
|
end
|
198
198
|
SRC_GL_ANGLE_translated_shader_source
|
199
|
-
end #
|
199
|
+
end # define_ext_command_GL_ANGLE_translated_shader_source
|
200
200
|
|
201
|
-
def
|
201
|
+
def define_ext_command_GL_APPLE_copy_texture_levels
|
202
202
|
GL_FUNCTIONS_ARGS_MAP[:glCopyTextureLevelsAPPLE] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
203
203
|
GL_FUNCTIONS_RETVAL_MAP[:glCopyTextureLevelsAPPLE] = Fiddle::TYPE_VOID
|
204
204
|
module_eval(<<-SRC_GL_APPLE_copy_texture_levels)
|
@@ -207,9 +207,9 @@ module OpenGL
|
|
207
207
|
f.call(_destinationTexture_, _sourceTexture_, _sourceBaseLevel_, _sourceLevelCount_)
|
208
208
|
end
|
209
209
|
SRC_GL_APPLE_copy_texture_levels
|
210
|
-
end #
|
210
|
+
end # define_ext_command_GL_APPLE_copy_texture_levels
|
211
211
|
|
212
|
-
def
|
212
|
+
def define_ext_command_GL_APPLE_framebuffer_multisample
|
213
213
|
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleAPPLE] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
214
214
|
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleAPPLE] = Fiddle::TYPE_VOID
|
215
215
|
module_eval(<<-SRC_GL_APPLE_framebuffer_multisample)
|
@@ -227,12 +227,12 @@ module OpenGL
|
|
227
227
|
f.call()
|
228
228
|
end
|
229
229
|
SRC_GL_APPLE_framebuffer_multisample
|
230
|
-
end #
|
230
|
+
end # define_ext_command_GL_APPLE_framebuffer_multisample
|
231
231
|
|
232
|
-
def
|
233
|
-
end #
|
232
|
+
def define_ext_command_GL_APPLE_rgb_422
|
233
|
+
end # define_ext_command_GL_APPLE_rgb_422
|
234
234
|
|
235
|
-
def
|
235
|
+
def define_ext_command_GL_APPLE_sync
|
236
236
|
GL_FUNCTIONS_ARGS_MAP[:glFenceSyncAPPLE] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
237
237
|
GL_FUNCTIONS_RETVAL_MAP[:glFenceSyncAPPLE] = Fiddle::TYPE_VOIDP
|
238
238
|
module_eval(<<-SRC_GL_APPLE_sync)
|
@@ -295,27 +295,27 @@ module OpenGL
|
|
295
295
|
f.call(_sync_, _pname_, _bufSize_, _length_, _values_)
|
296
296
|
end
|
297
297
|
SRC_GL_APPLE_sync
|
298
|
-
end #
|
298
|
+
end # define_ext_command_GL_APPLE_sync
|
299
299
|
|
300
|
-
def
|
301
|
-
end #
|
300
|
+
def define_ext_command_GL_APPLE_texture_format_BGRA8888
|
301
|
+
end # define_ext_command_GL_APPLE_texture_format_BGRA8888
|
302
302
|
|
303
|
-
def
|
304
|
-
end #
|
303
|
+
def define_ext_command_GL_APPLE_texture_max_level
|
304
|
+
end # define_ext_command_GL_APPLE_texture_max_level
|
305
305
|
|
306
|
-
def
|
307
|
-
end #
|
306
|
+
def define_ext_command_GL_ARM_mali_program_binary
|
307
|
+
end # define_ext_command_GL_ARM_mali_program_binary
|
308
308
|
|
309
|
-
def
|
310
|
-
end #
|
309
|
+
def define_ext_command_GL_ARM_mali_shader_binary
|
310
|
+
end # define_ext_command_GL_ARM_mali_shader_binary
|
311
311
|
|
312
|
-
def
|
313
|
-
end #
|
312
|
+
def define_ext_command_GL_ARM_rgba8
|
313
|
+
end # define_ext_command_GL_ARM_rgba8
|
314
314
|
|
315
|
-
def
|
316
|
-
end #
|
315
|
+
def define_ext_command_GL_DMP_shader_binary
|
316
|
+
end # define_ext_command_GL_DMP_shader_binary
|
317
317
|
|
318
|
-
def
|
318
|
+
def define_ext_command_GL_EXT_blend_minmax
|
319
319
|
GL_FUNCTIONS_ARGS_MAP[:glBlendEquationEXT] = [-Fiddle::TYPE_INT]
|
320
320
|
GL_FUNCTIONS_RETVAL_MAP[:glBlendEquationEXT] = Fiddle::TYPE_VOID
|
321
321
|
module_eval(<<-SRC_GL_EXT_blend_minmax)
|
@@ -324,12 +324,12 @@ module OpenGL
|
|
324
324
|
f.call(_mode_)
|
325
325
|
end
|
326
326
|
SRC_GL_EXT_blend_minmax
|
327
|
-
end #
|
327
|
+
end # define_ext_command_GL_EXT_blend_minmax
|
328
328
|
|
329
|
-
def
|
330
|
-
end #
|
329
|
+
def define_ext_command_GL_EXT_color_buffer_half_float
|
330
|
+
end # define_ext_command_GL_EXT_color_buffer_half_float
|
331
331
|
|
332
|
-
def
|
332
|
+
def define_ext_command_GL_EXT_debug_label
|
333
333
|
GL_FUNCTIONS_ARGS_MAP[:glLabelObjectEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
334
334
|
GL_FUNCTIONS_RETVAL_MAP[:glLabelObjectEXT] = Fiddle::TYPE_VOID
|
335
335
|
module_eval(<<-SRC_GL_EXT_debug_label)
|
@@ -347,9 +347,9 @@ module OpenGL
|
|
347
347
|
f.call(_type_, _object_, _bufSize_, _length_, _label_)
|
348
348
|
end
|
349
349
|
SRC_GL_EXT_debug_label
|
350
|
-
end #
|
350
|
+
end # define_ext_command_GL_EXT_debug_label
|
351
351
|
|
352
|
-
def
|
352
|
+
def define_ext_command_GL_EXT_debug_marker
|
353
353
|
GL_FUNCTIONS_ARGS_MAP[:glInsertEventMarkerEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
354
354
|
GL_FUNCTIONS_RETVAL_MAP[:glInsertEventMarkerEXT] = Fiddle::TYPE_VOID
|
355
355
|
module_eval(<<-SRC_GL_EXT_debug_marker)
|
@@ -376,9 +376,9 @@ module OpenGL
|
|
376
376
|
f.call()
|
377
377
|
end
|
378
378
|
SRC_GL_EXT_debug_marker
|
379
|
-
end #
|
379
|
+
end # define_ext_command_GL_EXT_debug_marker
|
380
380
|
|
381
|
-
def
|
381
|
+
def define_ext_command_GL_EXT_discard_framebuffer
|
382
382
|
GL_FUNCTIONS_ARGS_MAP[:glDiscardFramebufferEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
383
383
|
GL_FUNCTIONS_RETVAL_MAP[:glDiscardFramebufferEXT] = Fiddle::TYPE_VOID
|
384
384
|
module_eval(<<-SRC_GL_EXT_discard_framebuffer)
|
@@ -387,9 +387,9 @@ module OpenGL
|
|
387
387
|
f.call(_target_, _numAttachments_, _attachments_)
|
388
388
|
end
|
389
389
|
SRC_GL_EXT_discard_framebuffer
|
390
|
-
end #
|
390
|
+
end # define_ext_command_GL_EXT_discard_framebuffer
|
391
391
|
|
392
|
-
def
|
392
|
+
def define_ext_command_GL_EXT_disjoint_timer_query
|
393
393
|
GL_FUNCTIONS_ARGS_MAP[:glGenQueriesEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
394
394
|
GL_FUNCTIONS_RETVAL_MAP[:glGenQueriesEXT] = Fiddle::TYPE_VOID
|
395
395
|
module_eval(<<-SRC_GL_EXT_disjoint_timer_query)
|
@@ -488,9 +488,9 @@ module OpenGL
|
|
488
488
|
f.call(_id_, _pname_, _params_)
|
489
489
|
end
|
490
490
|
SRC_GL_EXT_disjoint_timer_query
|
491
|
-
end #
|
491
|
+
end # define_ext_command_GL_EXT_disjoint_timer_query
|
492
492
|
|
493
|
-
def
|
493
|
+
def define_ext_command_GL_EXT_draw_buffers
|
494
494
|
GL_FUNCTIONS_ARGS_MAP[:glDrawBuffersEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
495
495
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawBuffersEXT] = Fiddle::TYPE_VOID
|
496
496
|
module_eval(<<-SRC_GL_EXT_draw_buffers)
|
@@ -499,9 +499,9 @@ module OpenGL
|
|
499
499
|
f.call(_n_, _bufs_)
|
500
500
|
end
|
501
501
|
SRC_GL_EXT_draw_buffers
|
502
|
-
end #
|
502
|
+
end # define_ext_command_GL_EXT_draw_buffers
|
503
503
|
|
504
|
-
def
|
504
|
+
def define_ext_command_GL_EXT_draw_instanced
|
505
505
|
GL_FUNCTIONS_ARGS_MAP[:glDrawArraysInstancedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
506
506
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawArraysInstancedEXT] = Fiddle::TYPE_VOID
|
507
507
|
module_eval(<<-SRC_GL_EXT_draw_instanced)
|
@@ -519,9 +519,9 @@ module OpenGL
|
|
519
519
|
f.call(_mode_, _count_, _type_, _indices_, _primcount_)
|
520
520
|
end
|
521
521
|
SRC_GL_EXT_draw_instanced
|
522
|
-
end #
|
522
|
+
end # define_ext_command_GL_EXT_draw_instanced
|
523
523
|
|
524
|
-
def
|
524
|
+
def define_ext_command_GL_EXT_instanced_arrays
|
525
525
|
GL_FUNCTIONS_ARGS_MAP[:glDrawArraysInstancedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
526
526
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawArraysInstancedEXT] = Fiddle::TYPE_VOID
|
527
527
|
module_eval(<<-SRC_GL_EXT_instanced_arrays)
|
@@ -548,9 +548,9 @@ module OpenGL
|
|
548
548
|
f.call(_index_, _divisor_)
|
549
549
|
end
|
550
550
|
SRC_GL_EXT_instanced_arrays
|
551
|
-
end #
|
551
|
+
end # define_ext_command_GL_EXT_instanced_arrays
|
552
552
|
|
553
|
-
def
|
553
|
+
def define_ext_command_GL_EXT_map_buffer_range
|
554
554
|
GL_FUNCTIONS_ARGS_MAP[:glMapBufferRangeEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT]
|
555
555
|
GL_FUNCTIONS_RETVAL_MAP[:glMapBufferRangeEXT] = Fiddle::TYPE_VOIDP
|
556
556
|
module_eval(<<-SRC_GL_EXT_map_buffer_range)
|
@@ -568,9 +568,9 @@ module OpenGL
|
|
568
568
|
f.call(_target_, _offset_, _length_)
|
569
569
|
end
|
570
570
|
SRC_GL_EXT_map_buffer_range
|
571
|
-
end #
|
571
|
+
end # define_ext_command_GL_EXT_map_buffer_range
|
572
572
|
|
573
|
-
def
|
573
|
+
def define_ext_command_GL_EXT_multi_draw_arrays
|
574
574
|
GL_FUNCTIONS_ARGS_MAP[:glMultiDrawArraysEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
|
575
575
|
GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawArraysEXT] = Fiddle::TYPE_VOID
|
576
576
|
module_eval(<<-SRC_GL_EXT_multi_draw_arrays)
|
@@ -588,9 +588,9 @@ module OpenGL
|
|
588
588
|
f.call(_mode_, _count_, _type_, _indices_, _primcount_)
|
589
589
|
end
|
590
590
|
SRC_GL_EXT_multi_draw_arrays
|
591
|
-
end #
|
591
|
+
end # define_ext_command_GL_EXT_multi_draw_arrays
|
592
592
|
|
593
|
-
def
|
593
|
+
def define_ext_command_GL_EXT_multisampled_render_to_texture
|
594
594
|
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
595
595
|
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleEXT] = Fiddle::TYPE_VOID
|
596
596
|
module_eval(<<-SRC_GL_EXT_multisampled_render_to_texture)
|
@@ -608,9 +608,9 @@ module OpenGL
|
|
608
608
|
f.call(_target_, _attachment_, _textarget_, _texture_, _level_, _samples_)
|
609
609
|
end
|
610
610
|
SRC_GL_EXT_multisampled_render_to_texture
|
611
|
-
end #
|
611
|
+
end # define_ext_command_GL_EXT_multisampled_render_to_texture
|
612
612
|
|
613
|
-
def
|
613
|
+
def define_ext_command_GL_EXT_multiview_draw_buffers
|
614
614
|
GL_FUNCTIONS_ARGS_MAP[:glReadBufferIndexedEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
615
615
|
GL_FUNCTIONS_RETVAL_MAP[:glReadBufferIndexedEXT] = Fiddle::TYPE_VOID
|
616
616
|
module_eval(<<-SRC_GL_EXT_multiview_draw_buffers)
|
@@ -637,9 +637,9 @@ module OpenGL
|
|
637
637
|
f.call(_target_, _index_, _data_)
|
638
638
|
end
|
639
639
|
SRC_GL_EXT_multiview_draw_buffers
|
640
|
-
end #
|
640
|
+
end # define_ext_command_GL_EXT_multiview_draw_buffers
|
641
641
|
|
642
|
-
def
|
642
|
+
def define_ext_command_GL_EXT_occlusion_query_boolean
|
643
643
|
GL_FUNCTIONS_ARGS_MAP[:glGenQueriesEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
644
644
|
GL_FUNCTIONS_RETVAL_MAP[:glGenQueriesEXT] = Fiddle::TYPE_VOID
|
645
645
|
module_eval(<<-SRC_GL_EXT_occlusion_query_boolean)
|
@@ -702,15 +702,15 @@ module OpenGL
|
|
702
702
|
f.call(_id_, _pname_, _params_)
|
703
703
|
end
|
704
704
|
SRC_GL_EXT_occlusion_query_boolean
|
705
|
-
end #
|
705
|
+
end # define_ext_command_GL_EXT_occlusion_query_boolean
|
706
706
|
|
707
|
-
def
|
708
|
-
end #
|
707
|
+
def define_ext_command_GL_EXT_pvrtc_sRGB
|
708
|
+
end # define_ext_command_GL_EXT_pvrtc_sRGB
|
709
709
|
|
710
|
-
def
|
711
|
-
end #
|
710
|
+
def define_ext_command_GL_EXT_read_format_bgra
|
711
|
+
end # define_ext_command_GL_EXT_read_format_bgra
|
712
712
|
|
713
|
-
def
|
713
|
+
def define_ext_command_GL_EXT_robustness
|
714
714
|
GL_FUNCTIONS_ARGS_MAP[:glGetGraphicsResetStatusEXT] = []
|
715
715
|
GL_FUNCTIONS_RETVAL_MAP[:glGetGraphicsResetStatusEXT] = -Fiddle::TYPE_INT
|
716
716
|
module_eval(<<-SRC_GL_EXT_robustness)
|
@@ -746,15 +746,15 @@ module OpenGL
|
|
746
746
|
f.call(_program_, _location_, _bufSize_, _params_)
|
747
747
|
end
|
748
748
|
SRC_GL_EXT_robustness
|
749
|
-
end #
|
749
|
+
end # define_ext_command_GL_EXT_robustness
|
750
750
|
|
751
|
-
def
|
752
|
-
end #
|
751
|
+
def define_ext_command_GL_EXT_sRGB
|
752
|
+
end # define_ext_command_GL_EXT_sRGB
|
753
753
|
|
754
|
-
def
|
755
|
-
end #
|
754
|
+
def define_ext_command_GL_EXT_sRGB_write_control
|
755
|
+
end # define_ext_command_GL_EXT_sRGB_write_control
|
756
756
|
|
757
|
-
def
|
757
|
+
def define_ext_command_GL_EXT_separate_shader_objects
|
758
758
|
GL_FUNCTIONS_ARGS_MAP[:glUseShaderProgramEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
759
759
|
GL_FUNCTIONS_RETVAL_MAP[:glUseShaderProgramEXT] = Fiddle::TYPE_VOID
|
760
760
|
module_eval(<<-SRC_GL_EXT_separate_shader_objects)
|
@@ -1177,39 +1177,39 @@ module OpenGL
|
|
1177
1177
|
f.call(_program_, _location_, _count_, _transpose_, _value_)
|
1178
1178
|
end
|
1179
1179
|
SRC_GL_EXT_separate_shader_objects
|
1180
|
-
end #
|
1180
|
+
end # define_ext_command_GL_EXT_separate_shader_objects
|
1181
1181
|
|
1182
|
-
def
|
1183
|
-
end #
|
1182
|
+
def define_ext_command_GL_EXT_shader_framebuffer_fetch
|
1183
|
+
end # define_ext_command_GL_EXT_shader_framebuffer_fetch
|
1184
1184
|
|
1185
|
-
def
|
1186
|
-
end #
|
1185
|
+
def define_ext_command_GL_EXT_shader_integer_mix
|
1186
|
+
end # define_ext_command_GL_EXT_shader_integer_mix
|
1187
1187
|
|
1188
|
-
def
|
1189
|
-
end #
|
1188
|
+
def define_ext_command_GL_EXT_shader_texture_lod
|
1189
|
+
end # define_ext_command_GL_EXT_shader_texture_lod
|
1190
1190
|
|
1191
|
-
def
|
1192
|
-
end #
|
1191
|
+
def define_ext_command_GL_EXT_shadow_samplers
|
1192
|
+
end # define_ext_command_GL_EXT_shadow_samplers
|
1193
1193
|
|
1194
|
-
def
|
1195
|
-
end #
|
1194
|
+
def define_ext_command_GL_EXT_texture_compression_dxt1
|
1195
|
+
end # define_ext_command_GL_EXT_texture_compression_dxt1
|
1196
1196
|
|
1197
|
-
def
|
1198
|
-
end #
|
1197
|
+
def define_ext_command_GL_EXT_texture_compression_s3tc
|
1198
|
+
end # define_ext_command_GL_EXT_texture_compression_s3tc
|
1199
1199
|
|
1200
|
-
def
|
1201
|
-
end #
|
1200
|
+
def define_ext_command_GL_EXT_texture_filter_anisotropic
|
1201
|
+
end # define_ext_command_GL_EXT_texture_filter_anisotropic
|
1202
1202
|
|
1203
|
-
def
|
1204
|
-
end #
|
1203
|
+
def define_ext_command_GL_EXT_texture_format_BGRA8888
|
1204
|
+
end # define_ext_command_GL_EXT_texture_format_BGRA8888
|
1205
1205
|
|
1206
|
-
def
|
1207
|
-
end #
|
1206
|
+
def define_ext_command_GL_EXT_texture_rg
|
1207
|
+
end # define_ext_command_GL_EXT_texture_rg
|
1208
1208
|
|
1209
|
-
def
|
1210
|
-
end #
|
1209
|
+
def define_ext_command_GL_EXT_texture_sRGB_decode
|
1210
|
+
end # define_ext_command_GL_EXT_texture_sRGB_decode
|
1211
1211
|
|
1212
|
-
def
|
1212
|
+
def define_ext_command_GL_EXT_texture_storage
|
1213
1213
|
GL_FUNCTIONS_ARGS_MAP[:glTexStorage1DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1214
1214
|
GL_FUNCTIONS_RETVAL_MAP[:glTexStorage1DEXT] = Fiddle::TYPE_VOID
|
1215
1215
|
module_eval(<<-SRC_GL_EXT_texture_storage)
|
@@ -1263,18 +1263,18 @@ module OpenGL
|
|
1263
1263
|
f.call(_texture_, _target_, _levels_, _internalformat_, _width_, _height_, _depth_)
|
1264
1264
|
end
|
1265
1265
|
SRC_GL_EXT_texture_storage
|
1266
|
-
end #
|
1266
|
+
end # define_ext_command_GL_EXT_texture_storage
|
1267
1267
|
|
1268
|
-
def
|
1269
|
-
end #
|
1268
|
+
def define_ext_command_GL_EXT_texture_type_2_10_10_10_REV
|
1269
|
+
end # define_ext_command_GL_EXT_texture_type_2_10_10_10_REV
|
1270
1270
|
|
1271
|
-
def
|
1272
|
-
end #
|
1271
|
+
def define_ext_command_GL_EXT_unpack_subimage
|
1272
|
+
end # define_ext_command_GL_EXT_unpack_subimage
|
1273
1273
|
|
1274
|
-
def
|
1275
|
-
end #
|
1274
|
+
def define_ext_command_GL_FJ_shader_binary_GCCSO
|
1275
|
+
end # define_ext_command_GL_FJ_shader_binary_GCCSO
|
1276
1276
|
|
1277
|
-
def
|
1277
|
+
def define_ext_command_GL_IMG_multisampled_render_to_texture
|
1278
1278
|
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleIMG] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1279
1279
|
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleIMG] = Fiddle::TYPE_VOID
|
1280
1280
|
module_eval(<<-SRC_GL_IMG_multisampled_render_to_texture)
|
@@ -1292,24 +1292,24 @@ module OpenGL
|
|
1292
1292
|
f.call(_target_, _attachment_, _textarget_, _texture_, _level_, _samples_)
|
1293
1293
|
end
|
1294
1294
|
SRC_GL_IMG_multisampled_render_to_texture
|
1295
|
-
end #
|
1295
|
+
end # define_ext_command_GL_IMG_multisampled_render_to_texture
|
1296
1296
|
|
1297
|
-
def
|
1298
|
-
end #
|
1297
|
+
def define_ext_command_GL_IMG_program_binary
|
1298
|
+
end # define_ext_command_GL_IMG_program_binary
|
1299
1299
|
|
1300
|
-
def
|
1301
|
-
end #
|
1300
|
+
def define_ext_command_GL_IMG_read_format
|
1301
|
+
end # define_ext_command_GL_IMG_read_format
|
1302
1302
|
|
1303
|
-
def
|
1304
|
-
end #
|
1303
|
+
def define_ext_command_GL_IMG_shader_binary
|
1304
|
+
end # define_ext_command_GL_IMG_shader_binary
|
1305
1305
|
|
1306
|
-
def
|
1307
|
-
end #
|
1306
|
+
def define_ext_command_GL_IMG_texture_compression_pvrtc
|
1307
|
+
end # define_ext_command_GL_IMG_texture_compression_pvrtc
|
1308
1308
|
|
1309
|
-
def
|
1310
|
-
end #
|
1309
|
+
def define_ext_command_GL_IMG_texture_compression_pvrtc2
|
1310
|
+
end # define_ext_command_GL_IMG_texture_compression_pvrtc2
|
1311
1311
|
|
1312
|
-
def
|
1312
|
+
def define_ext_command_GL_INTEL_performance_query
|
1313
1313
|
GL_FUNCTIONS_ARGS_MAP[:glBeginPerfQueryINTEL] = [-Fiddle::TYPE_INT]
|
1314
1314
|
GL_FUNCTIONS_RETVAL_MAP[:glBeginPerfQueryINTEL] = Fiddle::TYPE_VOID
|
1315
1315
|
module_eval(<<-SRC_GL_INTEL_performance_query)
|
@@ -1399,9 +1399,9 @@ module OpenGL
|
|
1399
1399
|
f.call(_queryId_, _queryNameLength_, _queryName_, _dataSize_, _noCounters_, _noInstances_, _capsMask_)
|
1400
1400
|
end
|
1401
1401
|
SRC_GL_INTEL_performance_query
|
1402
|
-
end #
|
1402
|
+
end # define_ext_command_GL_INTEL_performance_query
|
1403
1403
|
|
1404
|
-
def
|
1404
|
+
def define_ext_command_GL_KHR_debug
|
1405
1405
|
GL_FUNCTIONS_ARGS_MAP[:glDebugMessageControl] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_CHAR]
|
1406
1406
|
GL_FUNCTIONS_RETVAL_MAP[:glDebugMessageControl] = Fiddle::TYPE_VOID
|
1407
1407
|
module_eval(<<-SRC_GL_KHR_debug)
|
@@ -1599,15 +1599,15 @@ module OpenGL
|
|
1599
1599
|
f.call(_pname_, _params_)
|
1600
1600
|
end
|
1601
1601
|
SRC_GL_KHR_debug
|
1602
|
-
end #
|
1602
|
+
end # define_ext_command_GL_KHR_debug
|
1603
1603
|
|
1604
|
-
def
|
1605
|
-
end #
|
1604
|
+
def define_ext_command_GL_KHR_texture_compression_astc_hdr
|
1605
|
+
end # define_ext_command_GL_KHR_texture_compression_astc_hdr
|
1606
1606
|
|
1607
|
-
def
|
1608
|
-
end #
|
1607
|
+
def define_ext_command_GL_KHR_texture_compression_astc_ldr
|
1608
|
+
end # define_ext_command_GL_KHR_texture_compression_astc_ldr
|
1609
1609
|
|
1610
|
-
def
|
1610
|
+
def define_ext_command_GL_NV_blend_equation_advanced
|
1611
1611
|
GL_FUNCTIONS_ARGS_MAP[:glBlendParameteriNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1612
1612
|
GL_FUNCTIONS_RETVAL_MAP[:glBlendParameteriNV] = Fiddle::TYPE_VOID
|
1613
1613
|
module_eval(<<-SRC_GL_NV_blend_equation_advanced)
|
@@ -1625,12 +1625,12 @@ module OpenGL
|
|
1625
1625
|
f.call()
|
1626
1626
|
end
|
1627
1627
|
SRC_GL_NV_blend_equation_advanced
|
1628
|
-
end #
|
1628
|
+
end # define_ext_command_GL_NV_blend_equation_advanced
|
1629
1629
|
|
1630
|
-
def
|
1631
|
-
end #
|
1630
|
+
def define_ext_command_GL_NV_blend_equation_advanced_coherent
|
1631
|
+
end # define_ext_command_GL_NV_blend_equation_advanced_coherent
|
1632
1632
|
|
1633
|
-
def
|
1633
|
+
def define_ext_command_GL_NV_copy_buffer
|
1634
1634
|
GL_FUNCTIONS_ARGS_MAP[:glCopyBufferSubDataNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
|
1635
1635
|
GL_FUNCTIONS_RETVAL_MAP[:glCopyBufferSubDataNV] = Fiddle::TYPE_VOID
|
1636
1636
|
module_eval(<<-SRC_GL_NV_copy_buffer)
|
@@ -1639,9 +1639,9 @@ module OpenGL
|
|
1639
1639
|
f.call(_readTarget_, _writeTarget_, _readOffset_, _writeOffset_, _size_)
|
1640
1640
|
end
|
1641
1641
|
SRC_GL_NV_copy_buffer
|
1642
|
-
end #
|
1642
|
+
end # define_ext_command_GL_NV_copy_buffer
|
1643
1643
|
|
1644
|
-
def
|
1644
|
+
def define_ext_command_GL_NV_coverage_sample
|
1645
1645
|
GL_FUNCTIONS_ARGS_MAP[:glCoverageMaskNV] = [-Fiddle::TYPE_CHAR]
|
1646
1646
|
GL_FUNCTIONS_RETVAL_MAP[:glCoverageMaskNV] = Fiddle::TYPE_VOID
|
1647
1647
|
module_eval(<<-SRC_GL_NV_coverage_sample)
|
@@ -1659,12 +1659,12 @@ module OpenGL
|
|
1659
1659
|
f.call(_operation_)
|
1660
1660
|
end
|
1661
1661
|
SRC_GL_NV_coverage_sample
|
1662
|
-
end #
|
1662
|
+
end # define_ext_command_GL_NV_coverage_sample
|
1663
1663
|
|
1664
|
-
def
|
1665
|
-
end #
|
1664
|
+
def define_ext_command_GL_NV_depth_nonlinear
|
1665
|
+
end # define_ext_command_GL_NV_depth_nonlinear
|
1666
1666
|
|
1667
|
-
def
|
1667
|
+
def define_ext_command_GL_NV_draw_buffers
|
1668
1668
|
GL_FUNCTIONS_ARGS_MAP[:glDrawBuffersNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1669
1669
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawBuffersNV] = Fiddle::TYPE_VOID
|
1670
1670
|
module_eval(<<-SRC_GL_NV_draw_buffers)
|
@@ -1673,9 +1673,9 @@ module OpenGL
|
|
1673
1673
|
f.call(_n_, _bufs_)
|
1674
1674
|
end
|
1675
1675
|
SRC_GL_NV_draw_buffers
|
1676
|
-
end #
|
1676
|
+
end # define_ext_command_GL_NV_draw_buffers
|
1677
1677
|
|
1678
|
-
def
|
1678
|
+
def define_ext_command_GL_NV_draw_instanced
|
1679
1679
|
GL_FUNCTIONS_ARGS_MAP[:glDrawArraysInstancedNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1680
1680
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawArraysInstancedNV] = Fiddle::TYPE_VOID
|
1681
1681
|
module_eval(<<-SRC_GL_NV_draw_instanced)
|
@@ -1693,15 +1693,15 @@ module OpenGL
|
|
1693
1693
|
f.call(_mode_, _count_, _type_, _indices_, _primcount_)
|
1694
1694
|
end
|
1695
1695
|
SRC_GL_NV_draw_instanced
|
1696
|
-
end #
|
1696
|
+
end # define_ext_command_GL_NV_draw_instanced
|
1697
1697
|
|
1698
|
-
def
|
1699
|
-
end #
|
1698
|
+
def define_ext_command_GL_NV_explicit_attrib_location
|
1699
|
+
end # define_ext_command_GL_NV_explicit_attrib_location
|
1700
1700
|
|
1701
|
-
def
|
1702
|
-
end #
|
1701
|
+
def define_ext_command_GL_NV_fbo_color_attachments
|
1702
|
+
end # define_ext_command_GL_NV_fbo_color_attachments
|
1703
1703
|
|
1704
|
-
def
|
1704
|
+
def define_ext_command_GL_NV_fence
|
1705
1705
|
GL_FUNCTIONS_ARGS_MAP[:glDeleteFencesNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1706
1706
|
GL_FUNCTIONS_RETVAL_MAP[:glDeleteFencesNV] = Fiddle::TYPE_VOID
|
1707
1707
|
module_eval(<<-SRC_GL_NV_fence)
|
@@ -1764,9 +1764,9 @@ module OpenGL
|
|
1764
1764
|
f.call(_fence_, _condition_)
|
1765
1765
|
end
|
1766
1766
|
SRC_GL_NV_fence
|
1767
|
-
end #
|
1767
|
+
end # define_ext_command_GL_NV_fence
|
1768
1768
|
|
1769
|
-
def
|
1769
|
+
def define_ext_command_GL_NV_framebuffer_blit
|
1770
1770
|
GL_FUNCTIONS_ARGS_MAP[:glBlitFramebufferNV] = [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]
|
1771
1771
|
GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebufferNV] = Fiddle::TYPE_VOID
|
1772
1772
|
module_eval(<<-SRC_GL_NV_framebuffer_blit)
|
@@ -1775,9 +1775,9 @@ module OpenGL
|
|
1775
1775
|
f.call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
1776
1776
|
end
|
1777
1777
|
SRC_GL_NV_framebuffer_blit
|
1778
|
-
end #
|
1778
|
+
end # define_ext_command_GL_NV_framebuffer_blit
|
1779
1779
|
|
1780
|
-
def
|
1780
|
+
def define_ext_command_GL_NV_framebuffer_multisample
|
1781
1781
|
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1782
1782
|
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleNV] = Fiddle::TYPE_VOID
|
1783
1783
|
module_eval(<<-SRC_GL_NV_framebuffer_multisample)
|
@@ -1786,12 +1786,12 @@ module OpenGL
|
|
1786
1786
|
f.call(_target_, _samples_, _internalformat_, _width_, _height_)
|
1787
1787
|
end
|
1788
1788
|
SRC_GL_NV_framebuffer_multisample
|
1789
|
-
end #
|
1789
|
+
end # define_ext_command_GL_NV_framebuffer_multisample
|
1790
1790
|
|
1791
|
-
def
|
1792
|
-
end #
|
1791
|
+
def define_ext_command_GL_NV_generate_mipmap_sRGB
|
1792
|
+
end # define_ext_command_GL_NV_generate_mipmap_sRGB
|
1793
1793
|
|
1794
|
-
def
|
1794
|
+
def define_ext_command_GL_NV_instanced_arrays
|
1795
1795
|
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribDivisorNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1796
1796
|
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribDivisorNV] = Fiddle::TYPE_VOID
|
1797
1797
|
module_eval(<<-SRC_GL_NV_instanced_arrays)
|
@@ -1800,9 +1800,9 @@ module OpenGL
|
|
1800
1800
|
f.call(_index_, _divisor_)
|
1801
1801
|
end
|
1802
1802
|
SRC_GL_NV_instanced_arrays
|
1803
|
-
end #
|
1803
|
+
end # define_ext_command_GL_NV_instanced_arrays
|
1804
1804
|
|
1805
|
-
def
|
1805
|
+
def define_ext_command_GL_NV_non_square_matrices
|
1806
1806
|
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix2x3fvNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1807
1807
|
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix2x3fvNV] = Fiddle::TYPE_VOID
|
1808
1808
|
module_eval(<<-SRC_GL_NV_non_square_matrices)
|
@@ -1856,9 +1856,9 @@ module OpenGL
|
|
1856
1856
|
f.call(_location_, _count_, _transpose_, _value_)
|
1857
1857
|
end
|
1858
1858
|
SRC_GL_NV_non_square_matrices
|
1859
|
-
end #
|
1859
|
+
end # define_ext_command_GL_NV_non_square_matrices
|
1860
1860
|
|
1861
|
-
def
|
1861
|
+
def define_ext_command_GL_NV_read_buffer
|
1862
1862
|
GL_FUNCTIONS_ARGS_MAP[:glReadBufferNV] = [-Fiddle::TYPE_INT]
|
1863
1863
|
GL_FUNCTIONS_RETVAL_MAP[:glReadBufferNV] = Fiddle::TYPE_VOID
|
1864
1864
|
module_eval(<<-SRC_GL_NV_read_buffer)
|
@@ -1867,39 +1867,39 @@ module OpenGL
|
|
1867
1867
|
f.call(_mode_)
|
1868
1868
|
end
|
1869
1869
|
SRC_GL_NV_read_buffer
|
1870
|
-
end #
|
1870
|
+
end # define_ext_command_GL_NV_read_buffer
|
1871
1871
|
|
1872
|
-
def
|
1873
|
-
end #
|
1872
|
+
def define_ext_command_GL_NV_read_buffer_front
|
1873
|
+
end # define_ext_command_GL_NV_read_buffer_front
|
1874
1874
|
|
1875
|
-
def
|
1876
|
-
end #
|
1875
|
+
def define_ext_command_GL_NV_read_depth
|
1876
|
+
end # define_ext_command_GL_NV_read_depth
|
1877
1877
|
|
1878
|
-
def
|
1879
|
-
end #
|
1878
|
+
def define_ext_command_GL_NV_read_depth_stencil
|
1879
|
+
end # define_ext_command_GL_NV_read_depth_stencil
|
1880
1880
|
|
1881
|
-
def
|
1882
|
-
end #
|
1881
|
+
def define_ext_command_GL_NV_read_stencil
|
1882
|
+
end # define_ext_command_GL_NV_read_stencil
|
1883
1883
|
|
1884
|
-
def
|
1885
|
-
end #
|
1884
|
+
def define_ext_command_GL_NV_sRGB_formats
|
1885
|
+
end # define_ext_command_GL_NV_sRGB_formats
|
1886
1886
|
|
1887
|
-
def
|
1888
|
-
end #
|
1887
|
+
def define_ext_command_GL_NV_shadow_samplers_array
|
1888
|
+
end # define_ext_command_GL_NV_shadow_samplers_array
|
1889
1889
|
|
1890
|
-
def
|
1891
|
-
end #
|
1890
|
+
def define_ext_command_GL_NV_shadow_samplers_cube
|
1891
|
+
end # define_ext_command_GL_NV_shadow_samplers_cube
|
1892
1892
|
|
1893
|
-
def
|
1894
|
-
end #
|
1893
|
+
def define_ext_command_GL_NV_texture_border_clamp
|
1894
|
+
end # define_ext_command_GL_NV_texture_border_clamp
|
1895
1895
|
|
1896
|
-
def
|
1897
|
-
end #
|
1896
|
+
def define_ext_command_GL_NV_texture_compression_s3tc_update
|
1897
|
+
end # define_ext_command_GL_NV_texture_compression_s3tc_update
|
1898
1898
|
|
1899
|
-
def
|
1900
|
-
end #
|
1899
|
+
def define_ext_command_GL_NV_texture_npot_2D_mipmap
|
1900
|
+
end # define_ext_command_GL_NV_texture_npot_2D_mipmap
|
1901
1901
|
|
1902
|
-
def
|
1902
|
+
def define_ext_command_GL_OES_EGL_image
|
1903
1903
|
GL_FUNCTIONS_ARGS_MAP[:glEGLImageTargetTexture2DOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1904
1904
|
GL_FUNCTIONS_RETVAL_MAP[:glEGLImageTargetTexture2DOES] = Fiddle::TYPE_VOID
|
1905
1905
|
module_eval(<<-SRC_GL_OES_EGL_image)
|
@@ -1917,36 +1917,36 @@ module OpenGL
|
|
1917
1917
|
f.call(_target_, _image_)
|
1918
1918
|
end
|
1919
1919
|
SRC_GL_OES_EGL_image
|
1920
|
-
end #
|
1920
|
+
end # define_ext_command_GL_OES_EGL_image
|
1921
1921
|
|
1922
|
-
def
|
1923
|
-
end #
|
1922
|
+
def define_ext_command_GL_OES_EGL_image_external
|
1923
|
+
end # define_ext_command_GL_OES_EGL_image_external
|
1924
1924
|
|
1925
|
-
def
|
1926
|
-
end #
|
1925
|
+
def define_ext_command_GL_OES_compressed_ETC1_RGB8_texture
|
1926
|
+
end # define_ext_command_GL_OES_compressed_ETC1_RGB8_texture
|
1927
1927
|
|
1928
|
-
def
|
1929
|
-
end #
|
1928
|
+
def define_ext_command_GL_OES_compressed_paletted_texture
|
1929
|
+
end # define_ext_command_GL_OES_compressed_paletted_texture
|
1930
1930
|
|
1931
|
-
def
|
1932
|
-
end #
|
1931
|
+
def define_ext_command_GL_OES_depth24
|
1932
|
+
end # define_ext_command_GL_OES_depth24
|
1933
1933
|
|
1934
|
-
def
|
1935
|
-
end #
|
1934
|
+
def define_ext_command_GL_OES_depth32
|
1935
|
+
end # define_ext_command_GL_OES_depth32
|
1936
1936
|
|
1937
|
-
def
|
1938
|
-
end #
|
1937
|
+
def define_ext_command_GL_OES_depth_texture
|
1938
|
+
end # define_ext_command_GL_OES_depth_texture
|
1939
1939
|
|
1940
|
-
def
|
1941
|
-
end #
|
1940
|
+
def define_ext_command_GL_OES_element_index_uint
|
1941
|
+
end # define_ext_command_GL_OES_element_index_uint
|
1942
1942
|
|
1943
|
-
def
|
1944
|
-
end #
|
1943
|
+
def define_ext_command_GL_OES_fbo_render_mipmap
|
1944
|
+
end # define_ext_command_GL_OES_fbo_render_mipmap
|
1945
1945
|
|
1946
|
-
def
|
1947
|
-
end #
|
1946
|
+
def define_ext_command_GL_OES_fragment_precision_high
|
1947
|
+
end # define_ext_command_GL_OES_fragment_precision_high
|
1948
1948
|
|
1949
|
-
def
|
1949
|
+
def define_ext_command_GL_OES_get_program_binary
|
1950
1950
|
GL_FUNCTIONS_ARGS_MAP[:glGetProgramBinaryOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1951
1951
|
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramBinaryOES] = Fiddle::TYPE_VOID
|
1952
1952
|
module_eval(<<-SRC_GL_OES_get_program_binary)
|
@@ -1964,9 +1964,9 @@ module OpenGL
|
|
1964
1964
|
f.call(_program_, _binaryFormat_, _binary_, _length_)
|
1965
1965
|
end
|
1966
1966
|
SRC_GL_OES_get_program_binary
|
1967
|
-
end #
|
1967
|
+
end # define_ext_command_GL_OES_get_program_binary
|
1968
1968
|
|
1969
|
-
def
|
1969
|
+
def define_ext_command_GL_OES_mapbuffer
|
1970
1970
|
GL_FUNCTIONS_ARGS_MAP[:glMapBufferOES] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1971
1971
|
GL_FUNCTIONS_RETVAL_MAP[:glMapBufferOES] = Fiddle::TYPE_VOIDP
|
1972
1972
|
module_eval(<<-SRC_GL_OES_mapbuffer)
|
@@ -1993,30 +1993,30 @@ module OpenGL
|
|
1993
1993
|
f.call(_target_, _pname_, _params_)
|
1994
1994
|
end
|
1995
1995
|
SRC_GL_OES_mapbuffer
|
1996
|
-
end #
|
1996
|
+
end # define_ext_command_GL_OES_mapbuffer
|
1997
1997
|
|
1998
|
-
def
|
1999
|
-
end #
|
1998
|
+
def define_ext_command_GL_OES_packed_depth_stencil
|
1999
|
+
end # define_ext_command_GL_OES_packed_depth_stencil
|
2000
2000
|
|
2001
|
-
def
|
2002
|
-
end #
|
2001
|
+
def define_ext_command_GL_OES_required_internalformat
|
2002
|
+
end # define_ext_command_GL_OES_required_internalformat
|
2003
2003
|
|
2004
|
-
def
|
2005
|
-
end #
|
2004
|
+
def define_ext_command_GL_OES_rgb8_rgba8
|
2005
|
+
end # define_ext_command_GL_OES_rgb8_rgba8
|
2006
2006
|
|
2007
|
-
def
|
2008
|
-
end #
|
2007
|
+
def define_ext_command_GL_OES_standard_derivatives
|
2008
|
+
end # define_ext_command_GL_OES_standard_derivatives
|
2009
2009
|
|
2010
|
-
def
|
2011
|
-
end #
|
2010
|
+
def define_ext_command_GL_OES_stencil1
|
2011
|
+
end # define_ext_command_GL_OES_stencil1
|
2012
2012
|
|
2013
|
-
def
|
2014
|
-
end #
|
2013
|
+
def define_ext_command_GL_OES_stencil4
|
2014
|
+
end # define_ext_command_GL_OES_stencil4
|
2015
2015
|
|
2016
|
-
def
|
2017
|
-
end #
|
2016
|
+
def define_ext_command_GL_OES_surfaceless_context
|
2017
|
+
end # define_ext_command_GL_OES_surfaceless_context
|
2018
2018
|
|
2019
|
-
def
|
2019
|
+
def define_ext_command_GL_OES_texture_3D
|
2020
2020
|
GL_FUNCTIONS_ARGS_MAP[:glTexImage3DOES] = [-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_VOIDP]
|
2021
2021
|
GL_FUNCTIONS_RETVAL_MAP[:glTexImage3DOES] = Fiddle::TYPE_VOID
|
2022
2022
|
module_eval(<<-SRC_GL_OES_texture_3D)
|
@@ -2070,27 +2070,27 @@ module OpenGL
|
|
2070
2070
|
f.call(_target_, _attachment_, _textarget_, _texture_, _level_, _zoffset_)
|
2071
2071
|
end
|
2072
2072
|
SRC_GL_OES_texture_3D
|
2073
|
-
end #
|
2073
|
+
end # define_ext_command_GL_OES_texture_3D
|
2074
2074
|
|
2075
|
-
def
|
2076
|
-
end #
|
2075
|
+
def define_ext_command_GL_OES_texture_compression_astc
|
2076
|
+
end # define_ext_command_GL_OES_texture_compression_astc
|
2077
2077
|
|
2078
|
-
def
|
2079
|
-
end #
|
2078
|
+
def define_ext_command_GL_OES_texture_float
|
2079
|
+
end # define_ext_command_GL_OES_texture_float
|
2080
2080
|
|
2081
|
-
def
|
2082
|
-
end #
|
2081
|
+
def define_ext_command_GL_OES_texture_float_linear
|
2082
|
+
end # define_ext_command_GL_OES_texture_float_linear
|
2083
2083
|
|
2084
|
-
def
|
2085
|
-
end #
|
2084
|
+
def define_ext_command_GL_OES_texture_half_float
|
2085
|
+
end # define_ext_command_GL_OES_texture_half_float
|
2086
2086
|
|
2087
|
-
def
|
2088
|
-
end #
|
2087
|
+
def define_ext_command_GL_OES_texture_half_float_linear
|
2088
|
+
end # define_ext_command_GL_OES_texture_half_float_linear
|
2089
2089
|
|
2090
|
-
def
|
2091
|
-
end #
|
2090
|
+
def define_ext_command_GL_OES_texture_npot
|
2091
|
+
end # define_ext_command_GL_OES_texture_npot
|
2092
2092
|
|
2093
|
-
def
|
2093
|
+
def define_ext_command_GL_OES_vertex_array_object
|
2094
2094
|
GL_FUNCTIONS_ARGS_MAP[:glBindVertexArrayOES] = [-Fiddle::TYPE_INT]
|
2095
2095
|
GL_FUNCTIONS_RETVAL_MAP[:glBindVertexArrayOES] = Fiddle::TYPE_VOID
|
2096
2096
|
module_eval(<<-SRC_GL_OES_vertex_array_object)
|
@@ -2126,15 +2126,15 @@ module OpenGL
|
|
2126
2126
|
f.call(_array_)
|
2127
2127
|
end
|
2128
2128
|
SRC_GL_OES_vertex_array_object
|
2129
|
-
end #
|
2129
|
+
end # define_ext_command_GL_OES_vertex_array_object
|
2130
2130
|
|
2131
|
-
def
|
2132
|
-
end #
|
2131
|
+
def define_ext_command_GL_OES_vertex_half_float
|
2132
|
+
end # define_ext_command_GL_OES_vertex_half_float
|
2133
2133
|
|
2134
|
-
def
|
2135
|
-
end #
|
2134
|
+
def define_ext_command_GL_OES_vertex_type_10_10_10_2
|
2135
|
+
end # define_ext_command_GL_OES_vertex_type_10_10_10_2
|
2136
2136
|
|
2137
|
-
def
|
2137
|
+
def define_ext_command_GL_QCOM_alpha_test
|
2138
2138
|
GL_FUNCTIONS_ARGS_MAP[:glAlphaFuncQCOM] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT]
|
2139
2139
|
GL_FUNCTIONS_RETVAL_MAP[:glAlphaFuncQCOM] = Fiddle::TYPE_VOID
|
2140
2140
|
module_eval(<<-SRC_GL_QCOM_alpha_test)
|
@@ -2143,12 +2143,12 @@ module OpenGL
|
|
2143
2143
|
f.call(_func_, _ref_)
|
2144
2144
|
end
|
2145
2145
|
SRC_GL_QCOM_alpha_test
|
2146
|
-
end #
|
2146
|
+
end # define_ext_command_GL_QCOM_alpha_test
|
2147
2147
|
|
2148
|
-
def
|
2149
|
-
end #
|
2148
|
+
def define_ext_command_GL_QCOM_binning_control
|
2149
|
+
end # define_ext_command_GL_QCOM_binning_control
|
2150
2150
|
|
2151
|
-
def
|
2151
|
+
def define_ext_command_GL_QCOM_driver_control
|
2152
2152
|
GL_FUNCTIONS_ARGS_MAP[:glGetDriverControlsQCOM] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
2153
2153
|
GL_FUNCTIONS_RETVAL_MAP[:glGetDriverControlsQCOM] = Fiddle::TYPE_VOID
|
2154
2154
|
module_eval(<<-SRC_GL_QCOM_driver_control)
|
@@ -2184,9 +2184,9 @@ module OpenGL
|
|
2184
2184
|
f.call(_driverControl_)
|
2185
2185
|
end
|
2186
2186
|
SRC_GL_QCOM_driver_control
|
2187
|
-
end #
|
2187
|
+
end # define_ext_command_GL_QCOM_driver_control
|
2188
2188
|
|
2189
|
-
def
|
2189
|
+
def define_ext_command_GL_QCOM_extended_get
|
2190
2190
|
GL_FUNCTIONS_ARGS_MAP[:glExtGetTexturesQCOM] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
2191
2191
|
GL_FUNCTIONS_RETVAL_MAP[:glExtGetTexturesQCOM] = Fiddle::TYPE_VOID
|
2192
2192
|
module_eval(<<-SRC_GL_QCOM_extended_get)
|
@@ -2258,9 +2258,9 @@ module OpenGL
|
|
2258
2258
|
f.call(_target_, _params_)
|
2259
2259
|
end
|
2260
2260
|
SRC_GL_QCOM_extended_get
|
2261
|
-
end #
|
2261
|
+
end # define_ext_command_GL_QCOM_extended_get
|
2262
2262
|
|
2263
|
-
def
|
2263
|
+
def define_ext_command_GL_QCOM_extended_get2
|
2264
2264
|
GL_FUNCTIONS_ARGS_MAP[:glExtGetShadersQCOM] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
2265
2265
|
GL_FUNCTIONS_RETVAL_MAP[:glExtGetShadersQCOM] = Fiddle::TYPE_VOID
|
2266
2266
|
module_eval(<<-SRC_GL_QCOM_extended_get2)
|
@@ -2296,12 +2296,12 @@ module OpenGL
|
|
2296
2296
|
f.call(_program_, _shadertype_, _source_, _length_)
|
2297
2297
|
end
|
2298
2298
|
SRC_GL_QCOM_extended_get2
|
2299
|
-
end #
|
2299
|
+
end # define_ext_command_GL_QCOM_extended_get2
|
2300
2300
|
|
2301
|
-
def
|
2302
|
-
end #
|
2301
|
+
def define_ext_command_GL_QCOM_perfmon_global_mode
|
2302
|
+
end # define_ext_command_GL_QCOM_perfmon_global_mode
|
2303
2303
|
|
2304
|
-
def
|
2304
|
+
def define_ext_command_GL_QCOM_tiled_rendering
|
2305
2305
|
GL_FUNCTIONS_ARGS_MAP[:glStartTilingQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
2306
2306
|
GL_FUNCTIONS_RETVAL_MAP[:glStartTilingQCOM] = Fiddle::TYPE_VOID
|
2307
2307
|
module_eval(<<-SRC_GL_QCOM_tiled_rendering)
|
@@ -2319,12 +2319,12 @@ module OpenGL
|
|
2319
2319
|
f.call(_preserveMask_)
|
2320
2320
|
end
|
2321
2321
|
SRC_GL_QCOM_tiled_rendering
|
2322
|
-
end #
|
2322
|
+
end # define_ext_command_GL_QCOM_tiled_rendering
|
2323
2323
|
|
2324
|
-
def
|
2325
|
-
end #
|
2324
|
+
def define_ext_command_GL_QCOM_writeonly_rendering
|
2325
|
+
end # define_ext_command_GL_QCOM_writeonly_rendering
|
2326
2326
|
|
2327
|
-
def
|
2328
|
-
end #
|
2327
|
+
def define_ext_command_GL_VIV_shader_binary
|
2328
|
+
end # define_ext_command_GL_VIV_shader_binary
|
2329
2329
|
|
2330
2330
|
end
|