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.
@@ -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 define_command_GL_AMD_compressed_3DC_texture
12
- end # define_command_GL_AMD_compressed_3DC_texture
11
+ def define_ext_command_GL_AMD_compressed_3DC_texture
12
+ end # define_ext_command_GL_AMD_compressed_3DC_texture
13
13
 
14
- def define_command_GL_AMD_compressed_ATC_texture
15
- end # define_command_GL_AMD_compressed_ATC_texture
14
+ def define_ext_command_GL_AMD_compressed_ATC_texture
15
+ end # define_ext_command_GL_AMD_compressed_ATC_texture
16
16
 
17
- def define_command_GL_AMD_performance_monitor
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 # define_command_GL_AMD_performance_monitor
116
+ end # define_ext_command_GL_AMD_performance_monitor
117
117
 
118
- def define_command_GL_AMD_program_binary_Z400
119
- end # define_command_GL_AMD_program_binary_Z400
118
+ def define_ext_command_GL_AMD_program_binary_Z400
119
+ end # define_ext_command_GL_AMD_program_binary_Z400
120
120
 
121
- def define_command_GL_ANGLE_depth_texture
122
- end # define_command_GL_ANGLE_depth_texture
121
+ def define_ext_command_GL_ANGLE_depth_texture
122
+ end # define_ext_command_GL_ANGLE_depth_texture
123
123
 
124
- def define_command_GL_ANGLE_framebuffer_blit
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 # define_command_GL_ANGLE_framebuffer_blit
133
+ end # define_ext_command_GL_ANGLE_framebuffer_blit
134
134
 
135
- def define_command_GL_ANGLE_framebuffer_multisample
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 # define_command_GL_ANGLE_framebuffer_multisample
144
+ end # define_ext_command_GL_ANGLE_framebuffer_multisample
145
145
 
146
- def define_command_GL_ANGLE_instanced_arrays
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 # define_command_GL_ANGLE_instanced_arrays
173
+ end # define_ext_command_GL_ANGLE_instanced_arrays
174
174
 
175
- def define_command_GL_ANGLE_pack_reverse_row_order
176
- end # define_command_GL_ANGLE_pack_reverse_row_order
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 define_command_GL_ANGLE_program_binary
179
- end # define_command_GL_ANGLE_program_binary
178
+ def define_ext_command_GL_ANGLE_program_binary
179
+ end # define_ext_command_GL_ANGLE_program_binary
180
180
 
181
- def define_command_GL_ANGLE_texture_compression_dxt3
182
- end # define_command_GL_ANGLE_texture_compression_dxt3
181
+ def define_ext_command_GL_ANGLE_texture_compression_dxt3
182
+ end # define_ext_command_GL_ANGLE_texture_compression_dxt3
183
183
 
184
- def define_command_GL_ANGLE_texture_compression_dxt5
185
- end # define_command_GL_ANGLE_texture_compression_dxt5
184
+ def define_ext_command_GL_ANGLE_texture_compression_dxt5
185
+ end # define_ext_command_GL_ANGLE_texture_compression_dxt5
186
186
 
187
- def define_command_GL_ANGLE_texture_usage
188
- end # define_command_GL_ANGLE_texture_usage
187
+ def define_ext_command_GL_ANGLE_texture_usage
188
+ end # define_ext_command_GL_ANGLE_texture_usage
189
189
 
190
- def define_command_GL_ANGLE_translated_shader_source
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 # define_command_GL_ANGLE_translated_shader_source
199
+ end # define_ext_command_GL_ANGLE_translated_shader_source
200
200
 
201
- def define_command_GL_APPLE_copy_texture_levels
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 # define_command_GL_APPLE_copy_texture_levels
210
+ end # define_ext_command_GL_APPLE_copy_texture_levels
211
211
 
212
- def define_command_GL_APPLE_framebuffer_multisample
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 # define_command_GL_APPLE_framebuffer_multisample
230
+ end # define_ext_command_GL_APPLE_framebuffer_multisample
231
231
 
232
- def define_command_GL_APPLE_rgb_422
233
- end # define_command_GL_APPLE_rgb_422
232
+ def define_ext_command_GL_APPLE_rgb_422
233
+ end # define_ext_command_GL_APPLE_rgb_422
234
234
 
235
- def define_command_GL_APPLE_sync
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 # define_command_GL_APPLE_sync
298
+ end # define_ext_command_GL_APPLE_sync
299
299
 
300
- def define_command_GL_APPLE_texture_format_BGRA8888
301
- end # define_command_GL_APPLE_texture_format_BGRA8888
300
+ def define_ext_command_GL_APPLE_texture_format_BGRA8888
301
+ end # define_ext_command_GL_APPLE_texture_format_BGRA8888
302
302
 
303
- def define_command_GL_APPLE_texture_max_level
304
- end # define_command_GL_APPLE_texture_max_level
303
+ def define_ext_command_GL_APPLE_texture_max_level
304
+ end # define_ext_command_GL_APPLE_texture_max_level
305
305
 
306
- def define_command_GL_ARM_mali_program_binary
307
- end # define_command_GL_ARM_mali_program_binary
306
+ def define_ext_command_GL_ARM_mali_program_binary
307
+ end # define_ext_command_GL_ARM_mali_program_binary
308
308
 
309
- def define_command_GL_ARM_mali_shader_binary
310
- end # define_command_GL_ARM_mali_shader_binary
309
+ def define_ext_command_GL_ARM_mali_shader_binary
310
+ end # define_ext_command_GL_ARM_mali_shader_binary
311
311
 
312
- def define_command_GL_ARM_rgba8
313
- end # define_command_GL_ARM_rgba8
312
+ def define_ext_command_GL_ARM_rgba8
313
+ end # define_ext_command_GL_ARM_rgba8
314
314
 
315
- def define_command_GL_DMP_shader_binary
316
- end # define_command_GL_DMP_shader_binary
315
+ def define_ext_command_GL_DMP_shader_binary
316
+ end # define_ext_command_GL_DMP_shader_binary
317
317
 
318
- def define_command_GL_EXT_blend_minmax
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 # define_command_GL_EXT_blend_minmax
327
+ end # define_ext_command_GL_EXT_blend_minmax
328
328
 
329
- def define_command_GL_EXT_color_buffer_half_float
330
- end # define_command_GL_EXT_color_buffer_half_float
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 define_command_GL_EXT_debug_label
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 # define_command_GL_EXT_debug_label
350
+ end # define_ext_command_GL_EXT_debug_label
351
351
 
352
- def define_command_GL_EXT_debug_marker
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 # define_command_GL_EXT_debug_marker
379
+ end # define_ext_command_GL_EXT_debug_marker
380
380
 
381
- def define_command_GL_EXT_discard_framebuffer
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 # define_command_GL_EXT_discard_framebuffer
390
+ end # define_ext_command_GL_EXT_discard_framebuffer
391
391
 
392
- def define_command_GL_EXT_disjoint_timer_query
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 # define_command_GL_EXT_disjoint_timer_query
491
+ end # define_ext_command_GL_EXT_disjoint_timer_query
492
492
 
493
- def define_command_GL_EXT_draw_buffers
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 # define_command_GL_EXT_draw_buffers
502
+ end # define_ext_command_GL_EXT_draw_buffers
503
503
 
504
- def define_command_GL_EXT_draw_instanced
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 # define_command_GL_EXT_draw_instanced
522
+ end # define_ext_command_GL_EXT_draw_instanced
523
523
 
524
- def define_command_GL_EXT_instanced_arrays
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 # define_command_GL_EXT_instanced_arrays
551
+ end # define_ext_command_GL_EXT_instanced_arrays
552
552
 
553
- def define_command_GL_EXT_map_buffer_range
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 # define_command_GL_EXT_map_buffer_range
571
+ end # define_ext_command_GL_EXT_map_buffer_range
572
572
 
573
- def define_command_GL_EXT_multi_draw_arrays
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 # define_command_GL_EXT_multi_draw_arrays
591
+ end # define_ext_command_GL_EXT_multi_draw_arrays
592
592
 
593
- def define_command_GL_EXT_multisampled_render_to_texture
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 # define_command_GL_EXT_multisampled_render_to_texture
611
+ end # define_ext_command_GL_EXT_multisampled_render_to_texture
612
612
 
613
- def define_command_GL_EXT_multiview_draw_buffers
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 # define_command_GL_EXT_multiview_draw_buffers
640
+ end # define_ext_command_GL_EXT_multiview_draw_buffers
641
641
 
642
- def define_command_GL_EXT_occlusion_query_boolean
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 # define_command_GL_EXT_occlusion_query_boolean
705
+ end # define_ext_command_GL_EXT_occlusion_query_boolean
706
706
 
707
- def define_command_GL_EXT_pvrtc_sRGB
708
- end # define_command_GL_EXT_pvrtc_sRGB
707
+ def define_ext_command_GL_EXT_pvrtc_sRGB
708
+ end # define_ext_command_GL_EXT_pvrtc_sRGB
709
709
 
710
- def define_command_GL_EXT_read_format_bgra
711
- end # define_command_GL_EXT_read_format_bgra
710
+ def define_ext_command_GL_EXT_read_format_bgra
711
+ end # define_ext_command_GL_EXT_read_format_bgra
712
712
 
713
- def define_command_GL_EXT_robustness
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 # define_command_GL_EXT_robustness
749
+ end # define_ext_command_GL_EXT_robustness
750
750
 
751
- def define_command_GL_EXT_sRGB
752
- end # define_command_GL_EXT_sRGB
751
+ def define_ext_command_GL_EXT_sRGB
752
+ end # define_ext_command_GL_EXT_sRGB
753
753
 
754
- def define_command_GL_EXT_sRGB_write_control
755
- end # define_command_GL_EXT_sRGB_write_control
754
+ def define_ext_command_GL_EXT_sRGB_write_control
755
+ end # define_ext_command_GL_EXT_sRGB_write_control
756
756
 
757
- def define_command_GL_EXT_separate_shader_objects
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 # define_command_GL_EXT_separate_shader_objects
1180
+ end # define_ext_command_GL_EXT_separate_shader_objects
1181
1181
 
1182
- def define_command_GL_EXT_shader_framebuffer_fetch
1183
- end # define_command_GL_EXT_shader_framebuffer_fetch
1182
+ def define_ext_command_GL_EXT_shader_framebuffer_fetch
1183
+ end # define_ext_command_GL_EXT_shader_framebuffer_fetch
1184
1184
 
1185
- def define_command_GL_EXT_shader_integer_mix
1186
- end # define_command_GL_EXT_shader_integer_mix
1185
+ def define_ext_command_GL_EXT_shader_integer_mix
1186
+ end # define_ext_command_GL_EXT_shader_integer_mix
1187
1187
 
1188
- def define_command_GL_EXT_shader_texture_lod
1189
- end # define_command_GL_EXT_shader_texture_lod
1188
+ def define_ext_command_GL_EXT_shader_texture_lod
1189
+ end # define_ext_command_GL_EXT_shader_texture_lod
1190
1190
 
1191
- def define_command_GL_EXT_shadow_samplers
1192
- end # define_command_GL_EXT_shadow_samplers
1191
+ def define_ext_command_GL_EXT_shadow_samplers
1192
+ end # define_ext_command_GL_EXT_shadow_samplers
1193
1193
 
1194
- def define_command_GL_EXT_texture_compression_dxt1
1195
- end # define_command_GL_EXT_texture_compression_dxt1
1194
+ def define_ext_command_GL_EXT_texture_compression_dxt1
1195
+ end # define_ext_command_GL_EXT_texture_compression_dxt1
1196
1196
 
1197
- def define_command_GL_EXT_texture_compression_s3tc
1198
- end # define_command_GL_EXT_texture_compression_s3tc
1197
+ def define_ext_command_GL_EXT_texture_compression_s3tc
1198
+ end # define_ext_command_GL_EXT_texture_compression_s3tc
1199
1199
 
1200
- def define_command_GL_EXT_texture_filter_anisotropic
1201
- end # define_command_GL_EXT_texture_filter_anisotropic
1200
+ def define_ext_command_GL_EXT_texture_filter_anisotropic
1201
+ end # define_ext_command_GL_EXT_texture_filter_anisotropic
1202
1202
 
1203
- def define_command_GL_EXT_texture_format_BGRA8888
1204
- end # define_command_GL_EXT_texture_format_BGRA8888
1203
+ def define_ext_command_GL_EXT_texture_format_BGRA8888
1204
+ end # define_ext_command_GL_EXT_texture_format_BGRA8888
1205
1205
 
1206
- def define_command_GL_EXT_texture_rg
1207
- end # define_command_GL_EXT_texture_rg
1206
+ def define_ext_command_GL_EXT_texture_rg
1207
+ end # define_ext_command_GL_EXT_texture_rg
1208
1208
 
1209
- def define_command_GL_EXT_texture_sRGB_decode
1210
- end # define_command_GL_EXT_texture_sRGB_decode
1209
+ def define_ext_command_GL_EXT_texture_sRGB_decode
1210
+ end # define_ext_command_GL_EXT_texture_sRGB_decode
1211
1211
 
1212
- def define_command_GL_EXT_texture_storage
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 # define_command_GL_EXT_texture_storage
1266
+ end # define_ext_command_GL_EXT_texture_storage
1267
1267
 
1268
- def define_command_GL_EXT_texture_type_2_10_10_10_REV
1269
- end # define_command_GL_EXT_texture_type_2_10_10_10_REV
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 define_command_GL_EXT_unpack_subimage
1272
- end # define_command_GL_EXT_unpack_subimage
1271
+ def define_ext_command_GL_EXT_unpack_subimage
1272
+ end # define_ext_command_GL_EXT_unpack_subimage
1273
1273
 
1274
- def define_command_GL_FJ_shader_binary_GCCSO
1275
- end # define_command_GL_FJ_shader_binary_GCCSO
1274
+ def define_ext_command_GL_FJ_shader_binary_GCCSO
1275
+ end # define_ext_command_GL_FJ_shader_binary_GCCSO
1276
1276
 
1277
- def define_command_GL_IMG_multisampled_render_to_texture
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 # define_command_GL_IMG_multisampled_render_to_texture
1295
+ end # define_ext_command_GL_IMG_multisampled_render_to_texture
1296
1296
 
1297
- def define_command_GL_IMG_program_binary
1298
- end # define_command_GL_IMG_program_binary
1297
+ def define_ext_command_GL_IMG_program_binary
1298
+ end # define_ext_command_GL_IMG_program_binary
1299
1299
 
1300
- def define_command_GL_IMG_read_format
1301
- end # define_command_GL_IMG_read_format
1300
+ def define_ext_command_GL_IMG_read_format
1301
+ end # define_ext_command_GL_IMG_read_format
1302
1302
 
1303
- def define_command_GL_IMG_shader_binary
1304
- end # define_command_GL_IMG_shader_binary
1303
+ def define_ext_command_GL_IMG_shader_binary
1304
+ end # define_ext_command_GL_IMG_shader_binary
1305
1305
 
1306
- def define_command_GL_IMG_texture_compression_pvrtc
1307
- end # define_command_GL_IMG_texture_compression_pvrtc
1306
+ def define_ext_command_GL_IMG_texture_compression_pvrtc
1307
+ end # define_ext_command_GL_IMG_texture_compression_pvrtc
1308
1308
 
1309
- def define_command_GL_IMG_texture_compression_pvrtc2
1310
- end # define_command_GL_IMG_texture_compression_pvrtc2
1309
+ def define_ext_command_GL_IMG_texture_compression_pvrtc2
1310
+ end # define_ext_command_GL_IMG_texture_compression_pvrtc2
1311
1311
 
1312
- def define_command_GL_INTEL_performance_query
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 # define_command_GL_INTEL_performance_query
1402
+ end # define_ext_command_GL_INTEL_performance_query
1403
1403
 
1404
- def define_command_GL_KHR_debug
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 # define_command_GL_KHR_debug
1602
+ end # define_ext_command_GL_KHR_debug
1603
1603
 
1604
- def define_command_GL_KHR_texture_compression_astc_hdr
1605
- end # define_command_GL_KHR_texture_compression_astc_hdr
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 define_command_GL_KHR_texture_compression_astc_ldr
1608
- end # define_command_GL_KHR_texture_compression_astc_ldr
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 define_command_GL_NV_blend_equation_advanced
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 # define_command_GL_NV_blend_equation_advanced
1628
+ end # define_ext_command_GL_NV_blend_equation_advanced
1629
1629
 
1630
- def define_command_GL_NV_blend_equation_advanced_coherent
1631
- end # define_command_GL_NV_blend_equation_advanced_coherent
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 define_command_GL_NV_copy_buffer
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 # define_command_GL_NV_copy_buffer
1642
+ end # define_ext_command_GL_NV_copy_buffer
1643
1643
 
1644
- def define_command_GL_NV_coverage_sample
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 # define_command_GL_NV_coverage_sample
1662
+ end # define_ext_command_GL_NV_coverage_sample
1663
1663
 
1664
- def define_command_GL_NV_depth_nonlinear
1665
- end # define_command_GL_NV_depth_nonlinear
1664
+ def define_ext_command_GL_NV_depth_nonlinear
1665
+ end # define_ext_command_GL_NV_depth_nonlinear
1666
1666
 
1667
- def define_command_GL_NV_draw_buffers
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 # define_command_GL_NV_draw_buffers
1676
+ end # define_ext_command_GL_NV_draw_buffers
1677
1677
 
1678
- def define_command_GL_NV_draw_instanced
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 # define_command_GL_NV_draw_instanced
1696
+ end # define_ext_command_GL_NV_draw_instanced
1697
1697
 
1698
- def define_command_GL_NV_explicit_attrib_location
1699
- end # define_command_GL_NV_explicit_attrib_location
1698
+ def define_ext_command_GL_NV_explicit_attrib_location
1699
+ end # define_ext_command_GL_NV_explicit_attrib_location
1700
1700
 
1701
- def define_command_GL_NV_fbo_color_attachments
1702
- end # define_command_GL_NV_fbo_color_attachments
1701
+ def define_ext_command_GL_NV_fbo_color_attachments
1702
+ end # define_ext_command_GL_NV_fbo_color_attachments
1703
1703
 
1704
- def define_command_GL_NV_fence
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 # define_command_GL_NV_fence
1767
+ end # define_ext_command_GL_NV_fence
1768
1768
 
1769
- def define_command_GL_NV_framebuffer_blit
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 # define_command_GL_NV_framebuffer_blit
1778
+ end # define_ext_command_GL_NV_framebuffer_blit
1779
1779
 
1780
- def define_command_GL_NV_framebuffer_multisample
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 # define_command_GL_NV_framebuffer_multisample
1789
+ end # define_ext_command_GL_NV_framebuffer_multisample
1790
1790
 
1791
- def define_command_GL_NV_generate_mipmap_sRGB
1792
- end # define_command_GL_NV_generate_mipmap_sRGB
1791
+ def define_ext_command_GL_NV_generate_mipmap_sRGB
1792
+ end # define_ext_command_GL_NV_generate_mipmap_sRGB
1793
1793
 
1794
- def define_command_GL_NV_instanced_arrays
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 # define_command_GL_NV_instanced_arrays
1803
+ end # define_ext_command_GL_NV_instanced_arrays
1804
1804
 
1805
- def define_command_GL_NV_non_square_matrices
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 # define_command_GL_NV_non_square_matrices
1859
+ end # define_ext_command_GL_NV_non_square_matrices
1860
1860
 
1861
- def define_command_GL_NV_read_buffer
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 # define_command_GL_NV_read_buffer
1870
+ end # define_ext_command_GL_NV_read_buffer
1871
1871
 
1872
- def define_command_GL_NV_read_buffer_front
1873
- end # define_command_GL_NV_read_buffer_front
1872
+ def define_ext_command_GL_NV_read_buffer_front
1873
+ end # define_ext_command_GL_NV_read_buffer_front
1874
1874
 
1875
- def define_command_GL_NV_read_depth
1876
- end # define_command_GL_NV_read_depth
1875
+ def define_ext_command_GL_NV_read_depth
1876
+ end # define_ext_command_GL_NV_read_depth
1877
1877
 
1878
- def define_command_GL_NV_read_depth_stencil
1879
- end # define_command_GL_NV_read_depth_stencil
1878
+ def define_ext_command_GL_NV_read_depth_stencil
1879
+ end # define_ext_command_GL_NV_read_depth_stencil
1880
1880
 
1881
- def define_command_GL_NV_read_stencil
1882
- end # define_command_GL_NV_read_stencil
1881
+ def define_ext_command_GL_NV_read_stencil
1882
+ end # define_ext_command_GL_NV_read_stencil
1883
1883
 
1884
- def define_command_GL_NV_sRGB_formats
1885
- end # define_command_GL_NV_sRGB_formats
1884
+ def define_ext_command_GL_NV_sRGB_formats
1885
+ end # define_ext_command_GL_NV_sRGB_formats
1886
1886
 
1887
- def define_command_GL_NV_shadow_samplers_array
1888
- end # define_command_GL_NV_shadow_samplers_array
1887
+ def define_ext_command_GL_NV_shadow_samplers_array
1888
+ end # define_ext_command_GL_NV_shadow_samplers_array
1889
1889
 
1890
- def define_command_GL_NV_shadow_samplers_cube
1891
- end # define_command_GL_NV_shadow_samplers_cube
1890
+ def define_ext_command_GL_NV_shadow_samplers_cube
1891
+ end # define_ext_command_GL_NV_shadow_samplers_cube
1892
1892
 
1893
- def define_command_GL_NV_texture_border_clamp
1894
- end # define_command_GL_NV_texture_border_clamp
1893
+ def define_ext_command_GL_NV_texture_border_clamp
1894
+ end # define_ext_command_GL_NV_texture_border_clamp
1895
1895
 
1896
- def define_command_GL_NV_texture_compression_s3tc_update
1897
- end # define_command_GL_NV_texture_compression_s3tc_update
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 define_command_GL_NV_texture_npot_2D_mipmap
1900
- end # define_command_GL_NV_texture_npot_2D_mipmap
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 define_command_GL_OES_EGL_image
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 # define_command_GL_OES_EGL_image
1920
+ end # define_ext_command_GL_OES_EGL_image
1921
1921
 
1922
- def define_command_GL_OES_EGL_image_external
1923
- end # define_command_GL_OES_EGL_image_external
1922
+ def define_ext_command_GL_OES_EGL_image_external
1923
+ end # define_ext_command_GL_OES_EGL_image_external
1924
1924
 
1925
- def define_command_GL_OES_compressed_ETC1_RGB8_texture
1926
- end # define_command_GL_OES_compressed_ETC1_RGB8_texture
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 define_command_GL_OES_compressed_paletted_texture
1929
- end # define_command_GL_OES_compressed_paletted_texture
1928
+ def define_ext_command_GL_OES_compressed_paletted_texture
1929
+ end # define_ext_command_GL_OES_compressed_paletted_texture
1930
1930
 
1931
- def define_command_GL_OES_depth24
1932
- end # define_command_GL_OES_depth24
1931
+ def define_ext_command_GL_OES_depth24
1932
+ end # define_ext_command_GL_OES_depth24
1933
1933
 
1934
- def define_command_GL_OES_depth32
1935
- end # define_command_GL_OES_depth32
1934
+ def define_ext_command_GL_OES_depth32
1935
+ end # define_ext_command_GL_OES_depth32
1936
1936
 
1937
- def define_command_GL_OES_depth_texture
1938
- end # define_command_GL_OES_depth_texture
1937
+ def define_ext_command_GL_OES_depth_texture
1938
+ end # define_ext_command_GL_OES_depth_texture
1939
1939
 
1940
- def define_command_GL_OES_element_index_uint
1941
- end # define_command_GL_OES_element_index_uint
1940
+ def define_ext_command_GL_OES_element_index_uint
1941
+ end # define_ext_command_GL_OES_element_index_uint
1942
1942
 
1943
- def define_command_GL_OES_fbo_render_mipmap
1944
- end # define_command_GL_OES_fbo_render_mipmap
1943
+ def define_ext_command_GL_OES_fbo_render_mipmap
1944
+ end # define_ext_command_GL_OES_fbo_render_mipmap
1945
1945
 
1946
- def define_command_GL_OES_fragment_precision_high
1947
- end # define_command_GL_OES_fragment_precision_high
1946
+ def define_ext_command_GL_OES_fragment_precision_high
1947
+ end # define_ext_command_GL_OES_fragment_precision_high
1948
1948
 
1949
- def define_command_GL_OES_get_program_binary
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 # define_command_GL_OES_get_program_binary
1967
+ end # define_ext_command_GL_OES_get_program_binary
1968
1968
 
1969
- def define_command_GL_OES_mapbuffer
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 # define_command_GL_OES_mapbuffer
1996
+ end # define_ext_command_GL_OES_mapbuffer
1997
1997
 
1998
- def define_command_GL_OES_packed_depth_stencil
1999
- end # define_command_GL_OES_packed_depth_stencil
1998
+ def define_ext_command_GL_OES_packed_depth_stencil
1999
+ end # define_ext_command_GL_OES_packed_depth_stencil
2000
2000
 
2001
- def define_command_GL_OES_required_internalformat
2002
- end # define_command_GL_OES_required_internalformat
2001
+ def define_ext_command_GL_OES_required_internalformat
2002
+ end # define_ext_command_GL_OES_required_internalformat
2003
2003
 
2004
- def define_command_GL_OES_rgb8_rgba8
2005
- end # define_command_GL_OES_rgb8_rgba8
2004
+ def define_ext_command_GL_OES_rgb8_rgba8
2005
+ end # define_ext_command_GL_OES_rgb8_rgba8
2006
2006
 
2007
- def define_command_GL_OES_standard_derivatives
2008
- end # define_command_GL_OES_standard_derivatives
2007
+ def define_ext_command_GL_OES_standard_derivatives
2008
+ end # define_ext_command_GL_OES_standard_derivatives
2009
2009
 
2010
- def define_command_GL_OES_stencil1
2011
- end # define_command_GL_OES_stencil1
2010
+ def define_ext_command_GL_OES_stencil1
2011
+ end # define_ext_command_GL_OES_stencil1
2012
2012
 
2013
- def define_command_GL_OES_stencil4
2014
- end # define_command_GL_OES_stencil4
2013
+ def define_ext_command_GL_OES_stencil4
2014
+ end # define_ext_command_GL_OES_stencil4
2015
2015
 
2016
- def define_command_GL_OES_surfaceless_context
2017
- end # define_command_GL_OES_surfaceless_context
2016
+ def define_ext_command_GL_OES_surfaceless_context
2017
+ end # define_ext_command_GL_OES_surfaceless_context
2018
2018
 
2019
- def define_command_GL_OES_texture_3D
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 # define_command_GL_OES_texture_3D
2073
+ end # define_ext_command_GL_OES_texture_3D
2074
2074
 
2075
- def define_command_GL_OES_texture_compression_astc
2076
- end # define_command_GL_OES_texture_compression_astc
2075
+ def define_ext_command_GL_OES_texture_compression_astc
2076
+ end # define_ext_command_GL_OES_texture_compression_astc
2077
2077
 
2078
- def define_command_GL_OES_texture_float
2079
- end # define_command_GL_OES_texture_float
2078
+ def define_ext_command_GL_OES_texture_float
2079
+ end # define_ext_command_GL_OES_texture_float
2080
2080
 
2081
- def define_command_GL_OES_texture_float_linear
2082
- end # define_command_GL_OES_texture_float_linear
2081
+ def define_ext_command_GL_OES_texture_float_linear
2082
+ end # define_ext_command_GL_OES_texture_float_linear
2083
2083
 
2084
- def define_command_GL_OES_texture_half_float
2085
- end # define_command_GL_OES_texture_half_float
2084
+ def define_ext_command_GL_OES_texture_half_float
2085
+ end # define_ext_command_GL_OES_texture_half_float
2086
2086
 
2087
- def define_command_GL_OES_texture_half_float_linear
2088
- end # define_command_GL_OES_texture_half_float_linear
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 define_command_GL_OES_texture_npot
2091
- end # define_command_GL_OES_texture_npot
2090
+ def define_ext_command_GL_OES_texture_npot
2091
+ end # define_ext_command_GL_OES_texture_npot
2092
2092
 
2093
- def define_command_GL_OES_vertex_array_object
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 # define_command_GL_OES_vertex_array_object
2129
+ end # define_ext_command_GL_OES_vertex_array_object
2130
2130
 
2131
- def define_command_GL_OES_vertex_half_float
2132
- end # define_command_GL_OES_vertex_half_float
2131
+ def define_ext_command_GL_OES_vertex_half_float
2132
+ end # define_ext_command_GL_OES_vertex_half_float
2133
2133
 
2134
- def define_command_GL_OES_vertex_type_10_10_10_2
2135
- end # define_command_GL_OES_vertex_type_10_10_10_2
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 define_command_GL_QCOM_alpha_test
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 # define_command_GL_QCOM_alpha_test
2146
+ end # define_ext_command_GL_QCOM_alpha_test
2147
2147
 
2148
- def define_command_GL_QCOM_binning_control
2149
- end # define_command_GL_QCOM_binning_control
2148
+ def define_ext_command_GL_QCOM_binning_control
2149
+ end # define_ext_command_GL_QCOM_binning_control
2150
2150
 
2151
- def define_command_GL_QCOM_driver_control
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 # define_command_GL_QCOM_driver_control
2187
+ end # define_ext_command_GL_QCOM_driver_control
2188
2188
 
2189
- def define_command_GL_QCOM_extended_get
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 # define_command_GL_QCOM_extended_get
2261
+ end # define_ext_command_GL_QCOM_extended_get
2262
2262
 
2263
- def define_command_GL_QCOM_extended_get2
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 # define_command_GL_QCOM_extended_get2
2299
+ end # define_ext_command_GL_QCOM_extended_get2
2300
2300
 
2301
- def define_command_GL_QCOM_perfmon_global_mode
2302
- end # define_command_GL_QCOM_perfmon_global_mode
2301
+ def define_ext_command_GL_QCOM_perfmon_global_mode
2302
+ end # define_ext_command_GL_QCOM_perfmon_global_mode
2303
2303
 
2304
- def define_command_GL_QCOM_tiled_rendering
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 # define_command_GL_QCOM_tiled_rendering
2322
+ end # define_ext_command_GL_QCOM_tiled_rendering
2323
2323
 
2324
- def define_command_GL_QCOM_writeonly_rendering
2325
- end # define_command_GL_QCOM_writeonly_rendering
2324
+ def define_ext_command_GL_QCOM_writeonly_rendering
2325
+ end # define_ext_command_GL_QCOM_writeonly_rendering
2326
2326
 
2327
- def define_command_GL_VIV_shader_binary
2328
- end # define_command_GL_VIV_shader_binary
2327
+ def define_ext_command_GL_VIV_shader_binary
2328
+ end # define_ext_command_GL_VIV_shader_binary
2329
2329
 
2330
2330
  end