opengl-definitions 0.0.6 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (823) hide show
  1. checksums.yaml +4 -4
  2. data/lib/opengl-definitions/extensions/GLX_3DFX_multisample.rb +4 -2
  3. data/lib/opengl-definitions/extensions/GLX_AMD_gpu_association.rb +35 -21
  4. data/lib/opengl-definitions/extensions/GLX_ARB_context_flush_control.rb +5 -3
  5. data/lib/opengl-definitions/extensions/GLX_ARB_create_context.rb +14 -8
  6. data/lib/opengl-definitions/extensions/GLX_ARB_create_context_no_error.rb +3 -1
  7. data/lib/opengl-definitions/extensions/GLX_ARB_create_context_profile.rb +5 -3
  8. data/lib/opengl-definitions/extensions/GLX_ARB_create_context_robustness.rb +6 -4
  9. data/lib/opengl-definitions/extensions/GLX_ARB_fbconfig_float.rb +4 -2
  10. data/lib/opengl-definitions/extensions/GLX_ARB_framebuffer_sRGB.rb +3 -1
  11. data/lib/opengl-definitions/extensions/GLX_ARB_get_proc_address.rb +7 -3
  12. data/lib/opengl-definitions/extensions/GLX_ARB_multisample.rb +4 -2
  13. data/lib/opengl-definitions/extensions/GLX_ARB_robustness_application_isolation.rb +3 -1
  14. data/lib/opengl-definitions/extensions/GLX_ARB_robustness_share_group_isolation.rb +3 -1
  15. data/lib/opengl-definitions/extensions/GLX_ARB_vertex_buffer_object.rb +3 -1
  16. data/lib/opengl-definitions/extensions/GLX_EXT_buffer_age.rb +3 -1
  17. data/lib/opengl-definitions/extensions/GLX_EXT_create_context_es2_profile.rb +3 -1
  18. data/lib/opengl-definitions/extensions/GLX_EXT_create_context_es_profile.rb +3 -1
  19. data/lib/opengl-definitions/extensions/GLX_EXT_fbconfig_packed_float.rb +4 -2
  20. data/lib/opengl-definitions/extensions/GLX_EXT_framebuffer_sRGB.rb +3 -1
  21. data/lib/opengl-definitions/extensions/GLX_EXT_import_context.rb +20 -10
  22. data/lib/opengl-definitions/extensions/GLX_EXT_libglvnd.rb +3 -1
  23. data/lib/opengl-definitions/extensions/GLX_EXT_stereo_tree.rb +5 -3
  24. data/lib/opengl-definitions/extensions/GLX_EXT_swap_control.rb +11 -5
  25. data/lib/opengl-definitions/extensions/GLX_EXT_swap_control_tear.rb +3 -1
  26. data/lib/opengl-definitions/extensions/GLX_EXT_texture_from_pixmap.rb +44 -37
  27. data/lib/opengl-definitions/extensions/GLX_EXT_visual_info.rb +18 -16
  28. data/lib/opengl-definitions/extensions/GLX_EXT_visual_rating.rb +6 -4
  29. data/lib/opengl-definitions/extensions/GLX_INTEL_swap_event.rb +6 -4
  30. data/lib/opengl-definitions/extensions/GLX_MESA_agp_offset.rb +7 -3
  31. data/lib/opengl-definitions/extensions/GLX_MESA_copy_sub_buffer.rb +7 -3
  32. data/lib/opengl-definitions/extensions/GLX_MESA_pixmap_colormap.rb +7 -3
  33. data/lib/opengl-definitions/extensions/GLX_MESA_query_renderer.rb +27 -18
  34. data/lib/opengl-definitions/extensions/GLX_MESA_release_buffers.rb +7 -3
  35. data/lib/opengl-definitions/extensions/GLX_MESA_set_3dfx_mode.rb +11 -5
  36. data/lib/opengl-definitions/extensions/GLX_MESA_swap_control.rb +9 -4
  37. data/lib/opengl-definitions/extensions/GLX_NV_copy_buffer.rb +9 -4
  38. data/lib/opengl-definitions/extensions/GLX_NV_copy_image.rb +7 -3
  39. data/lib/opengl-definitions/extensions/GLX_NV_delay_before_swap.rb +7 -3
  40. data/lib/opengl-definitions/extensions/GLX_NV_float_buffer.rb +3 -1
  41. data/lib/opengl-definitions/extensions/GLX_NV_multisample_coverage.rb +4 -2
  42. data/lib/opengl-definitions/extensions/GLX_NV_present_video.rb +12 -5
  43. data/lib/opengl-definitions/extensions/GLX_NV_robustness_video_memory_purge.rb +3 -1
  44. data/lib/opengl-definitions/extensions/GLX_NV_swap_group.rb +17 -8
  45. data/lib/opengl-definitions/extensions/GLX_NV_video_capture.rb +20 -10
  46. data/lib/opengl-definitions/extensions/GLX_NV_video_out.rb +29 -18
  47. data/lib/opengl-definitions/extensions/GLX_OML_swap_method.rb +6 -4
  48. data/lib/opengl-definitions/extensions/GLX_OML_sync_control.rb +15 -7
  49. data/lib/opengl-definitions/extensions/GLX_SGIS_blended_overlay.rb +3 -1
  50. data/lib/opengl-definitions/extensions/GLX_SGIS_multisample.rb +4 -2
  51. data/lib/opengl-definitions/extensions/GLX_SGIS_shared_multisample.rb +4 -2
  52. data/lib/opengl-definitions/extensions/GLX_SGIX_dmbuffer.rb +10 -4
  53. data/lib/opengl-definitions/extensions/GLX_SGIX_fbconfig.rb +30 -19
  54. data/lib/opengl-definitions/extensions/GLX_SGIX_hyperpipe.rb +33 -20
  55. data/lib/opengl-definitions/extensions/GLX_SGIX_pbuffer.rb +42 -32
  56. data/lib/opengl-definitions/extensions/GLX_SGIX_swap_barrier.rb +9 -4
  57. data/lib/opengl-definitions/extensions/GLX_SGIX_swap_group.rb +7 -3
  58. data/lib/opengl-definitions/extensions/GLX_SGIX_video_resize.rb +19 -9
  59. data/lib/opengl-definitions/extensions/GLX_SGIX_video_source.rb +9 -4
  60. data/lib/opengl-definitions/extensions/GLX_SGIX_visual_select_group.rb +3 -1
  61. data/lib/opengl-definitions/extensions/GLX_SGI_cushion.rb +7 -3
  62. data/lib/opengl-definitions/extensions/GLX_SGI_make_current_read.rb +9 -4
  63. data/lib/opengl-definitions/extensions/GLX_SGI_swap_control.rb +7 -3
  64. data/lib/opengl-definitions/extensions/GLX_SGI_video_sync.rb +9 -4
  65. data/lib/opengl-definitions/extensions/GLX_SUN_get_transparent_index.rb +7 -3
  66. data/lib/opengl-definitions/extensions/GL_3DFX_multisample.rb +6 -4
  67. data/lib/opengl-definitions/extensions/GL_3DFX_tbuffer.rb +7 -3
  68. data/lib/opengl-definitions/extensions/GL_3DFX_texture_compression_FXT1.rb +4 -2
  69. data/lib/opengl-definitions/extensions/GL_AMD_blend_minmax_factor.rb +4 -2
  70. data/lib/opengl-definitions/extensions/GL_AMD_compressed_3DC_texture.rb +4 -2
  71. data/lib/opengl-definitions/extensions/GL_AMD_compressed_ATC_texture.rb +5 -3
  72. data/lib/opengl-definitions/extensions/GL_AMD_debug_output.rb +30 -21
  73. data/lib/opengl-definitions/extensions/GL_AMD_depth_clamp_separate.rb +4 -2
  74. data/lib/opengl-definitions/extensions/GL_AMD_draw_buffers_blend.rb +13 -6
  75. data/lib/opengl-definitions/extensions/GL_AMD_framebuffer_sample_positions.rb +19 -10
  76. data/lib/opengl-definitions/extensions/GL_AMD_gpu_shader_half_float.rb +15 -13
  77. data/lib/opengl-definitions/extensions/GL_AMD_gpu_shader_int64.rb +103 -64
  78. data/lib/opengl-definitions/extensions/GL_AMD_interleaved_elements.rb +18 -12
  79. data/lib/opengl-definitions/extensions/GL_AMD_multi_draw_indirect.rb +9 -4
  80. data/lib/opengl-definitions/extensions/GL_AMD_name_gen_delete.rb +18 -10
  81. data/lib/opengl-definitions/extensions/GL_AMD_occlusion_query_event.rb +15 -9
  82. data/lib/opengl-definitions/extensions/GL_AMD_performance_monitor.rb +36 -20
  83. data/lib/opengl-definitions/extensions/GL_AMD_pinned_memory.rb +3 -1
  84. data/lib/opengl-definitions/extensions/GL_AMD_program_binary_Z400.rb +3 -1
  85. data/lib/opengl-definitions/extensions/GL_AMD_query_buffer_object.rb +5 -3
  86. data/lib/opengl-definitions/extensions/GL_AMD_sample_positions.rb +10 -4
  87. data/lib/opengl-definitions/extensions/GL_AMD_seamless_cubemap_per_texture.rb +3 -1
  88. data/lib/opengl-definitions/extensions/GL_AMD_sparse_texture.rb +20 -13
  89. data/lib/opengl-definitions/extensions/GL_AMD_stencil_operation_extended.rb +13 -7
  90. data/lib/opengl-definitions/extensions/GL_AMD_transform_feedback4.rb +3 -1
  91. data/lib/opengl-definitions/extensions/GL_AMD_vertex_shader_tessellator.rb +18 -11
  92. data/lib/opengl-definitions/extensions/GL_ANGLE_depth_texture.rb +10 -8
  93. data/lib/opengl-definitions/extensions/GL_ANGLE_framebuffer_blit.rb +13 -7
  94. data/lib/opengl-definitions/extensions/GL_ANGLE_framebuffer_multisample.rb +12 -6
  95. data/lib/opengl-definitions/extensions/GL_ANGLE_instanced_arrays.rb +14 -6
  96. data/lib/opengl-definitions/extensions/GL_ANGLE_pack_reverse_row_order.rb +3 -1
  97. data/lib/opengl-definitions/extensions/GL_ANGLE_program_binary.rb +3 -1
  98. data/lib/opengl-definitions/extensions/GL_ANGLE_texture_compression_dxt3.rb +3 -1
  99. data/lib/opengl-definitions/extensions/GL_ANGLE_texture_compression_dxt5.rb +3 -1
  100. data/lib/opengl-definitions/extensions/GL_ANGLE_texture_usage.rb +4 -2
  101. data/lib/opengl-definitions/extensions/GL_ANGLE_translated_shader_source.rb +10 -4
  102. data/lib/opengl-definitions/extensions/GL_APPLE_aux_depth_stencil.rb +3 -1
  103. data/lib/opengl-definitions/extensions/GL_APPLE_client_storage.rb +3 -1
  104. data/lib/opengl-definitions/extensions/GL_APPLE_clip_distance.rb +11 -9
  105. data/lib/opengl-definitions/extensions/GL_APPLE_copy_texture_levels.rb +7 -3
  106. data/lib/opengl-definitions/extensions/GL_APPLE_element_array.rb +20 -10
  107. data/lib/opengl-definitions/extensions/GL_APPLE_fence.rb +25 -12
  108. data/lib/opengl-definitions/extensions/GL_APPLE_float_pixels.rb +16 -14
  109. data/lib/opengl-definitions/extensions/GL_APPLE_flush_buffer_range.rb +13 -6
  110. data/lib/opengl-definitions/extensions/GL_APPLE_framebuffer_multisample.rb +18 -11
  111. data/lib/opengl-definitions/extensions/GL_APPLE_object_purgeable.rb +19 -11
  112. data/lib/opengl-definitions/extensions/GL_APPLE_rgb_422.rb +6 -4
  113. data/lib/opengl-definitions/extensions/GL_APPLE_row_bytes.rb +4 -2
  114. data/lib/opengl-definitions/extensions/GL_APPLE_specular_vector.rb +3 -1
  115. data/lib/opengl-definitions/extensions/GL_APPLE_sync.rb +37 -25
  116. data/lib/opengl-definitions/extensions/GL_APPLE_texture_format_BGRA8888.rb +4 -2
  117. data/lib/opengl-definitions/extensions/GL_APPLE_texture_max_level.rb +3 -1
  118. data/lib/opengl-definitions/extensions/GL_APPLE_texture_packed_float.rb +6 -4
  119. data/lib/opengl-definitions/extensions/GL_APPLE_texture_range.rb +17 -10
  120. data/lib/opengl-definitions/extensions/GL_APPLE_transform_hint.rb +3 -1
  121. data/lib/opengl-definitions/extensions/GL_APPLE_vertex_array_object.rb +16 -7
  122. data/lib/opengl-definitions/extensions/GL_APPLE_vertex_array_range.rb +20 -12
  123. data/lib/opengl-definitions/extensions/GL_APPLE_vertex_program_evaluators.rb +31 -19
  124. data/lib/opengl-definitions/extensions/GL_APPLE_ycbcr_422.rb +5 -3
  125. data/lib/opengl-definitions/extensions/GL_ARB_ES2_compatibility.rb +33 -23
  126. data/lib/opengl-definitions/extensions/GL_ARB_ES3_1_compatibility.rb +10 -4
  127. data/lib/opengl-definitions/extensions/GL_ARB_ES3_2_compatibility.rb +12 -6
  128. data/lib/opengl-definitions/extensions/GL_ARB_ES3_compatibility.rb +15 -13
  129. data/lib/opengl-definitions/extensions/GL_ARB_base_instance.rb +11 -5
  130. data/lib/opengl-definitions/extensions/GL_ARB_bindless_texture.rb +40 -19
  131. data/lib/opengl-definitions/extensions/GL_ARB_blend_func_extended.rb +16 -9
  132. data/lib/opengl-definitions/extensions/GL_ARB_buffer_storage.rb +18 -12
  133. data/lib/opengl-definitions/extensions/GL_ARB_cl_event.rb +11 -5
  134. data/lib/opengl-definitions/extensions/GL_ARB_clear_buffer_object.rb +9 -4
  135. data/lib/opengl-definitions/extensions/GL_ARB_clear_texture.rb +12 -5
  136. data/lib/opengl-definitions/extensions/GL_ARB_clip_control.rb +15 -9
  137. data/lib/opengl-definitions/extensions/GL_ARB_color_buffer_float.rb +14 -8
  138. data/lib/opengl-definitions/extensions/GL_ARB_compressed_texture_pixel_storage.rb +10 -8
  139. data/lib/opengl-definitions/extensions/GL_ARB_compute_shader.rb +29 -22
  140. data/lib/opengl-definitions/extensions/GL_ARB_compute_variable_group_size.rb +13 -7
  141. data/lib/opengl-definitions/extensions/GL_ARB_conditional_render_inverted.rb +6 -4
  142. data/lib/opengl-definitions/extensions/GL_ARB_copy_buffer.rb +11 -5
  143. data/lib/opengl-definitions/extensions/GL_ARB_copy_image.rb +7 -3
  144. data/lib/opengl-definitions/extensions/GL_ARB_cull_distance.rb +4 -2
  145. data/lib/opengl-definitions/extensions/GL_ARB_debug_output.rb +38 -29
  146. data/lib/opengl-definitions/extensions/GL_ARB_depth_buffer_float.rb +5 -3
  147. data/lib/opengl-definitions/extensions/GL_ARB_depth_clamp.rb +3 -1
  148. data/lib/opengl-definitions/extensions/GL_ARB_depth_texture.rb +7 -5
  149. data/lib/opengl-definitions/extensions/GL_ARB_direct_state_access.rb +214 -112
  150. data/lib/opengl-definitions/extensions/GL_ARB_draw_buffers.rb +26 -20
  151. data/lib/opengl-definitions/extensions/GL_ARB_draw_buffers_blend.rb +13 -6
  152. data/lib/opengl-definitions/extensions/GL_ARB_draw_elements_base_vertex.rb +13 -6
  153. data/lib/opengl-definitions/extensions/GL_ARB_draw_indirect.rb +13 -6
  154. data/lib/opengl-definitions/extensions/GL_ARB_draw_instanced.rb +9 -4
  155. data/lib/opengl-definitions/extensions/GL_ARB_enhanced_layouts.rb +6 -4
  156. data/lib/opengl-definitions/extensions/GL_ARB_explicit_uniform_location.rb +3 -1
  157. data/lib/opengl-definitions/extensions/GL_ARB_fragment_program.rb +123 -99
  158. data/lib/opengl-definitions/extensions/GL_ARB_fragment_shader.rb +5 -3
  159. data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_no_attachments.rb +20 -13
  160. data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_object.rb +120 -95
  161. data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_sRGB.rb +3 -1
  162. data/lib/opengl-definitions/extensions/GL_ARB_geometry_shader4.rb +35 -26
  163. data/lib/opengl-definitions/extensions/GL_ARB_get_program_binary.rb +17 -9
  164. data/lib/opengl-definitions/extensions/GL_ARB_get_texture_sub_image.rb +9 -4
  165. data/lib/opengl-definitions/extensions/GL_ARB_gl_spirv.rb +11 -5
  166. data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader5.rb +8 -6
  167. data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader_fp64.rb +56 -33
  168. data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader_int64.rb +87 -46
  169. data/lib/opengl-definitions/extensions/GL_ARB_half_float_pixel.rb +3 -1
  170. data/lib/opengl-definitions/extensions/GL_ARB_half_float_vertex.rb +3 -1
  171. data/lib/opengl-definitions/extensions/GL_ARB_imaging.rb +150 -111
  172. data/lib/opengl-definitions/extensions/GL_ARB_indirect_parameters.rb +13 -6
  173. data/lib/opengl-definitions/extensions/GL_ARB_instanced_arrays.rb +10 -4
  174. data/lib/opengl-definitions/extensions/GL_ARB_internalformat_query.rb +10 -4
  175. data/lib/opengl-definitions/extensions/GL_ARB_internalformat_query2.rb +124 -118
  176. data/lib/opengl-definitions/extensions/GL_ARB_invalidate_subdata.rb +17 -8
  177. data/lib/opengl-definitions/extensions/GL_ARB_map_buffer_alignment.rb +3 -1
  178. data/lib/opengl-definitions/extensions/GL_ARB_map_buffer_range.rb +17 -10
  179. data/lib/opengl-definitions/extensions/GL_ARB_matrix_palette.rb +27 -17
  180. data/lib/opengl-definitions/extensions/GL_ARB_multi_bind.rb +17 -8
  181. data/lib/opengl-definitions/extensions/GL_ARB_multi_draw_indirect.rb +9 -4
  182. data/lib/opengl-definitions/extensions/GL_ARB_multisample.rb +18 -12
  183. data/lib/opengl-definitions/extensions/GL_ARB_multitexture.rb +110 -71
  184. data/lib/opengl-definitions/extensions/GL_ARB_occlusion_query.rb +28 -15
  185. data/lib/opengl-definitions/extensions/GL_ARB_occlusion_query2.rb +3 -1
  186. data/lib/opengl-definitions/extensions/GL_ARB_parallel_shader_compile.rb +11 -5
  187. data/lib/opengl-definitions/extensions/GL_ARB_pipeline_statistics_query.rb +13 -11
  188. data/lib/opengl-definitions/extensions/GL_ARB_pixel_buffer_object.rb +6 -4
  189. data/lib/opengl-definitions/extensions/GL_ARB_point_parameters.rb +15 -8
  190. data/lib/opengl-definitions/extensions/GL_ARB_point_sprite.rb +4 -2
  191. data/lib/opengl-definitions/extensions/GL_ARB_polygon_offset_clamp.rb +10 -4
  192. data/lib/opengl-definitions/extensions/GL_ARB_program_interface_query.rb +69 -58
  193. data/lib/opengl-definitions/extensions/GL_ARB_provoking_vertex.rb +13 -7
  194. data/lib/opengl-definitions/extensions/GL_ARB_query_buffer_object.rb +6 -4
  195. data/lib/opengl-definitions/extensions/GL_ARB_robustness.rb +55 -30
  196. data/lib/opengl-definitions/extensions/GL_ARB_sample_locations.rb +21 -13
  197. data/lib/opengl-definitions/extensions/GL_ARB_sample_shading.rb +11 -5
  198. data/lib/opengl-definitions/extensions/GL_ARB_sampler_objects.rb +36 -17
  199. data/lib/opengl-definitions/extensions/GL_ARB_seamless_cube_map.rb +3 -1
  200. data/lib/opengl-definitions/extensions/GL_ARB_seamless_cubemap_per_texture.rb +3 -1
  201. data/lib/opengl-definitions/extensions/GL_ARB_separate_shader_objects.rb +138 -72
  202. data/lib/opengl-definitions/extensions/GL_ARB_shader_atomic_counters.rb +38 -32
  203. data/lib/opengl-definitions/extensions/GL_ARB_shader_image_load_store.rb +75 -68
  204. data/lib/opengl-definitions/extensions/GL_ARB_shader_objects.rb +119 -75
  205. data/lib/opengl-definitions/extensions/GL_ARB_shader_storage_buffer_object.rb +26 -20
  206. data/lib/opengl-definitions/extensions/GL_ARB_shader_subroutine.rb +34 -21
  207. data/lib/opengl-definitions/extensions/GL_ARB_shading_language_100.rb +3 -1
  208. data/lib/opengl-definitions/extensions/GL_ARB_shading_language_include.rb +22 -11
  209. data/lib/opengl-definitions/extensions/GL_ARB_shadow.rb +5 -3
  210. data/lib/opengl-definitions/extensions/GL_ARB_shadow_ambient.rb +3 -1
  211. data/lib/opengl-definitions/extensions/GL_ARB_sparse_buffer.rb +15 -7
  212. data/lib/opengl-definitions/extensions/GL_ARB_sparse_texture.rb +20 -14
  213. data/lib/opengl-definitions/extensions/GL_ARB_spirv_extensions.rb +4 -2
  214. data/lib/opengl-definitions/extensions/GL_ARB_stencil_texturing.rb +3 -1
  215. data/lib/opengl-definitions/extensions/GL_ARB_sync.rb +36 -24
  216. data/lib/opengl-definitions/extensions/GL_ARB_tessellation_shader.rb +48 -41
  217. data/lib/opengl-definitions/extensions/GL_ARB_texture_barrier.rb +7 -3
  218. data/lib/opengl-definitions/extensions/GL_ARB_texture_border_clamp.rb +3 -1
  219. data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_object.rb +14 -8
  220. data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_object_rgb32.rb +5 -3
  221. data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_range.rb +12 -6
  222. data/lib/opengl-definitions/extensions/GL_ARB_texture_compression.rb +32 -20
  223. data/lib/opengl-definitions/extensions/GL_ARB_texture_compression_bptc.rb +6 -4
  224. data/lib/opengl-definitions/extensions/GL_ARB_texture_compression_rgtc.rb +6 -4
  225. data/lib/opengl-definitions/extensions/GL_ARB_texture_cube_map.rb +14 -12
  226. data/lib/opengl-definitions/extensions/GL_ARB_texture_cube_map_array.rb +9 -7
  227. data/lib/opengl-definitions/extensions/GL_ARB_texture_env_combine.rb +24 -22
  228. data/lib/opengl-definitions/extensions/GL_ARB_texture_env_dot3.rb +4 -2
  229. data/lib/opengl-definitions/extensions/GL_ARB_texture_filter_anisotropic.rb +4 -2
  230. data/lib/opengl-definitions/extensions/GL_ARB_texture_filter_minmax.rb +4 -2
  231. data/lib/opengl-definitions/extensions/GL_ARB_texture_float.rb +22 -20
  232. data/lib/opengl-definitions/extensions/GL_ARB_texture_gather.rb +5 -3
  233. data/lib/opengl-definitions/extensions/GL_ARB_texture_mirror_clamp_to_edge.rb +3 -1
  234. data/lib/opengl-definitions/extensions/GL_ARB_texture_mirrored_repeat.rb +3 -1
  235. data/lib/opengl-definitions/extensions/GL_ARB_texture_multisample.rb +36 -27
  236. data/lib/opengl-definitions/extensions/GL_ARB_texture_rectangle.rb +6 -4
  237. data/lib/opengl-definitions/extensions/GL_ARB_texture_rg.rb +24 -22
  238. data/lib/opengl-definitions/extensions/GL_ARB_texture_rgb10_a2ui.rb +3 -1
  239. data/lib/opengl-definitions/extensions/GL_ARB_texture_stencil8.rb +4 -2
  240. data/lib/opengl-definitions/extensions/GL_ARB_texture_storage.rb +14 -6
  241. data/lib/opengl-definitions/extensions/GL_ARB_texture_storage_multisample.rb +9 -4
  242. data/lib/opengl-definitions/extensions/GL_ARB_texture_swizzle.rb +7 -5
  243. data/lib/opengl-definitions/extensions/GL_ARB_texture_view.rb +14 -8
  244. data/lib/opengl-definitions/extensions/GL_ARB_timer_query.rb +15 -7
  245. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback2.rb +25 -13
  246. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback3.rb +17 -8
  247. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback_instanced.rb +9 -4
  248. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback_overflow_query.rb +4 -2
  249. data/lib/opengl-definitions/extensions/GL_ARB_transpose_matrix.rb +19 -10
  250. data/lib/opengl-definitions/extensions/GL_ARB_uniform_buffer_object.rb +60 -45
  251. data/lib/opengl-definitions/extensions/GL_ARB_vertex_array_bgra.rb +3 -1
  252. data/lib/opengl-definitions/extensions/GL_ARB_vertex_array_object.rb +16 -7
  253. data/lib/opengl-definitions/extensions/GL_ARB_vertex_attrib_64bit.rb +40 -25
  254. data/lib/opengl-definitions/extensions/GL_ARB_vertex_attrib_binding.rb +26 -15
  255. data/lib/opengl-definitions/extensions/GL_ARB_vertex_blend.rb +69 -54
  256. data/lib/opengl-definitions/extensions/GL_ARB_vertex_buffer_object.rb +60 -44
  257. data/lib/opengl-definitions/extensions/GL_ARB_vertex_program.rb +210 -143
  258. data/lib/opengl-definitions/extensions/GL_ARB_vertex_shader.rb +125 -74
  259. data/lib/opengl-definitions/extensions/GL_ARB_vertex_type_10f_11f_11f_rev.rb +3 -1
  260. data/lib/opengl-definitions/extensions/GL_ARB_vertex_type_2_10_10_10_rev.rb +85 -42
  261. data/lib/opengl-definitions/extensions/GL_ARB_viewport_array.rb +40 -25
  262. data/lib/opengl-definitions/extensions/GL_ARB_window_pos.rb +37 -18
  263. data/lib/opengl-definitions/extensions/GL_ARM_mali_program_binary.rb +3 -1
  264. data/lib/opengl-definitions/extensions/GL_ARM_mali_shader_binary.rb +3 -1
  265. data/lib/opengl-definitions/extensions/GL_ARM_shader_framebuffer_fetch.rb +4 -2
  266. data/lib/opengl-definitions/extensions/GL_ATI_draw_buffers.rb +26 -20
  267. data/lib/opengl-definitions/extensions/GL_ATI_element_array.rb +16 -8
  268. data/lib/opengl-definitions/extensions/GL_ATI_envmap_bumpmap.rb +23 -14
  269. data/lib/opengl-definitions/extensions/GL_ATI_fragment_shader.rb +139 -120
  270. data/lib/opengl-definitions/extensions/GL_ATI_map_object_buffer.rb +9 -4
  271. data/lib/opengl-definitions/extensions/GL_ATI_meminfo.rb +5 -3
  272. data/lib/opengl-definitions/extensions/GL_ATI_pixel_format_float.rb +4 -2
  273. data/lib/opengl-definitions/extensions/GL_ATI_pn_triangles.rb +20 -13
  274. data/lib/opengl-definitions/extensions/GL_ATI_separate_stencil.rb +15 -8
  275. data/lib/opengl-definitions/extensions/GL_ATI_text_fragment_shader.rb +3 -1
  276. data/lib/opengl-definitions/extensions/GL_ATI_texture_env_combine3.rb +5 -3
  277. data/lib/opengl-definitions/extensions/GL_ATI_texture_float.rb +14 -12
  278. data/lib/opengl-definitions/extensions/GL_ATI_texture_mirror_once.rb +4 -2
  279. data/lib/opengl-definitions/extensions/GL_ATI_vertex_array_object.rb +39 -22
  280. data/lib/opengl-definitions/extensions/GL_ATI_vertex_attrib_array_object.rb +11 -5
  281. data/lib/opengl-definitions/extensions/GL_ATI_vertex_streams.rb +107 -57
  282. data/lib/opengl-definitions/extensions/GL_DMP_program_binary.rb +5 -3
  283. data/lib/opengl-definitions/extensions/GL_DMP_shader_binary.rb +3 -1
  284. data/lib/opengl-definitions/extensions/GL_EXT_422_pixels.rb +6 -4
  285. data/lib/opengl-definitions/extensions/GL_EXT_EGL_image_storage.rb +9 -4
  286. data/lib/opengl-definitions/extensions/GL_EXT_YUV_target.rb +6 -4
  287. data/lib/opengl-definitions/extensions/GL_EXT_abgr.rb +3 -1
  288. data/lib/opengl-definitions/extensions/GL_EXT_base_instance.rb +11 -5
  289. data/lib/opengl-definitions/extensions/GL_EXT_bgra.rb +4 -2
  290. data/lib/opengl-definitions/extensions/GL_EXT_bindable_uniform.rb +19 -11
  291. data/lib/opengl-definitions/extensions/GL_EXT_blend_color.rb +14 -8
  292. data/lib/opengl-definitions/extensions/GL_EXT_blend_equation_separate.rb +11 -5
  293. data/lib/opengl-definitions/extensions/GL_EXT_blend_func_extended.rb +22 -13
  294. data/lib/opengl-definitions/extensions/GL_EXT_blend_func_separate.rb +13 -7
  295. data/lib/opengl-definitions/extensions/GL_EXT_blend_minmax.rb +13 -7
  296. data/lib/opengl-definitions/extensions/GL_EXT_blend_subtract.rb +4 -2
  297. data/lib/opengl-definitions/extensions/GL_EXT_buffer_storage.rb +18 -12
  298. data/lib/opengl-definitions/extensions/GL_EXT_clear_texture.rb +9 -4
  299. data/lib/opengl-definitions/extensions/GL_EXT_clip_control.rb +15 -9
  300. data/lib/opengl-definitions/extensions/GL_EXT_clip_cull_distance.rb +13 -11
  301. data/lib/opengl-definitions/extensions/GL_EXT_clip_volume_hint.rb +3 -1
  302. data/lib/opengl-definitions/extensions/GL_EXT_cmyka.rb +6 -4
  303. data/lib/opengl-definitions/extensions/GL_EXT_color_buffer_half_float.rb +8 -6
  304. data/lib/opengl-definitions/extensions/GL_EXT_color_subtable.rb +9 -4
  305. data/lib/opengl-definitions/extensions/GL_EXT_compiled_vertex_array.rb +13 -6
  306. data/lib/opengl-definitions/extensions/GL_EXT_convolution.rb +53 -35
  307. data/lib/opengl-definitions/extensions/GL_EXT_coordinate_frame.rb +65 -38
  308. data/lib/opengl-definitions/extensions/GL_EXT_copy_image.rb +7 -3
  309. data/lib/opengl-definitions/extensions/GL_EXT_copy_texture.rb +15 -7
  310. data/lib/opengl-definitions/extensions/GL_EXT_cull_vertex.rb +14 -7
  311. data/lib/opengl-definitions/extensions/GL_EXT_debug_label.rb +19 -12
  312. data/lib/opengl-definitions/extensions/GL_EXT_debug_marker.rb +11 -5
  313. data/lib/opengl-definitions/extensions/GL_EXT_depth_bounds_test.rb +11 -5
  314. data/lib/opengl-definitions/extensions/GL_EXT_direct_state_access.rb +520 -260
  315. data/lib/opengl-definitions/extensions/GL_EXT_discard_framebuffer.rb +12 -6
  316. data/lib/opengl-definitions/extensions/GL_EXT_disjoint_timer_query.rb +36 -20
  317. data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers.rb +43 -37
  318. data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers2.rb +17 -8
  319. data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers_indexed.rb +51 -38
  320. data/lib/opengl-definitions/extensions/GL_EXT_draw_elements_base_vertex.rb +13 -6
  321. data/lib/opengl-definitions/extensions/GL_EXT_draw_instanced.rb +9 -4
  322. data/lib/opengl-definitions/extensions/GL_EXT_draw_range_elements.rb +11 -5
  323. data/lib/opengl-definitions/extensions/GL_EXT_draw_transform_feedback.rb +9 -4
  324. data/lib/opengl-definitions/extensions/GL_EXT_external_buffer.rb +9 -4
  325. data/lib/opengl-definitions/extensions/GL_EXT_fog_coord.rb +25 -15
  326. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_blit.rb +13 -7
  327. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_multisample.rb +12 -6
  328. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_multisample_blit_scaled.rb +4 -2
  329. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_object.rb +92 -70
  330. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_sRGB.rb +4 -2
  331. data/lib/opengl-definitions/extensions/GL_EXT_geometry_shader.rb +42 -36
  332. data/lib/opengl-definitions/extensions/GL_EXT_geometry_shader4.rb +29 -23
  333. data/lib/opengl-definitions/extensions/GL_EXT_gpu_program_parameters.rb +9 -4
  334. data/lib/opengl-definitions/extensions/GL_EXT_gpu_shader4.rb +57 -41
  335. data/lib/opengl-definitions/extensions/GL_EXT_histogram.rb +41 -26
  336. data/lib/opengl-definitions/extensions/GL_EXT_index_array_formats.rb +10 -8
  337. data/lib/opengl-definitions/extensions/GL_EXT_index_func.rb +12 -6
  338. data/lib/opengl-definitions/extensions/GL_EXT_index_material.rb +12 -6
  339. data/lib/opengl-definitions/extensions/GL_EXT_instanced_arrays.rb +14 -6
  340. data/lib/opengl-definitions/extensions/GL_EXT_light_texture.rb +23 -15
  341. data/lib/opengl-definitions/extensions/GL_EXT_map_buffer_range.rb +17 -10
  342. data/lib/opengl-definitions/extensions/GL_EXT_memory_object.rb +56 -32
  343. data/lib/opengl-definitions/extensions/GL_EXT_memory_object_fd.rb +10 -4
  344. data/lib/opengl-definitions/extensions/GL_EXT_memory_object_win32.rb +20 -13
  345. data/lib/opengl-definitions/extensions/GL_EXT_multi_draw_arrays.rb +9 -4
  346. data/lib/opengl-definitions/extensions/GL_EXT_multi_draw_indirect.rb +9 -4
  347. data/lib/opengl-definitions/extensions/GL_EXT_multisample.rb +28 -21
  348. data/lib/opengl-definitions/extensions/GL_EXT_multisampled_compatibility.rb +4 -2
  349. data/lib/opengl-definitions/extensions/GL_EXT_multisampled_render_to_texture.rb +15 -8
  350. data/lib/opengl-definitions/extensions/GL_EXT_multiview_draw_buffers.rb +18 -10
  351. data/lib/opengl-definitions/extensions/GL_EXT_occlusion_query_boolean.rb +26 -14
  352. data/lib/opengl-definitions/extensions/GL_EXT_packed_depth_stencil.rb +6 -4
  353. data/lib/opengl-definitions/extensions/GL_EXT_packed_float.rb +5 -3
  354. data/lib/opengl-definitions/extensions/GL_EXT_packed_pixels.rb +7 -5
  355. data/lib/opengl-definitions/extensions/GL_EXT_paletted_texture.rb +22 -13
  356. data/lib/opengl-definitions/extensions/GL_EXT_pixel_buffer_object.rb +6 -4
  357. data/lib/opengl-definitions/extensions/GL_EXT_pixel_transform.rb +28 -17
  358. data/lib/opengl-definitions/extensions/GL_EXT_point_parameters.rb +15 -8
  359. data/lib/opengl-definitions/extensions/GL_EXT_polygon_offset.rb +12 -6
  360. data/lib/opengl-definitions/extensions/GL_EXT_polygon_offset_clamp.rb +10 -4
  361. data/lib/opengl-definitions/extensions/GL_EXT_primitive_bounding_box.rb +10 -4
  362. data/lib/opengl-definitions/extensions/GL_EXT_protected_textures.rb +4 -2
  363. data/lib/opengl-definitions/extensions/GL_EXT_provoking_vertex.rb +13 -7
  364. data/lib/opengl-definitions/extensions/GL_EXT_pvrtc_sRGB.rb +8 -6
  365. data/lib/opengl-definitions/extensions/GL_EXT_raster_multisample.rb +15 -9
  366. data/lib/opengl-definitions/extensions/GL_EXT_read_format_bgra.rb +5 -3
  367. data/lib/opengl-definitions/extensions/GL_EXT_render_snorm.rb +10 -8
  368. data/lib/opengl-definitions/extensions/GL_EXT_rescale_normal.rb +3 -1
  369. data/lib/opengl-definitions/extensions/GL_EXT_robustness.rb +23 -14
  370. data/lib/opengl-definitions/extensions/GL_EXT_sRGB.rb +6 -4
  371. data/lib/opengl-definitions/extensions/GL_EXT_sRGB_write_control.rb +3 -1
  372. data/lib/opengl-definitions/extensions/GL_EXT_secondary_color.rb +48 -26
  373. data/lib/opengl-definitions/extensions/GL_EXT_semaphore.rb +38 -24
  374. data/lib/opengl-definitions/extensions/GL_EXT_semaphore_fd.rb +10 -4
  375. data/lib/opengl-definitions/extensions/GL_EXT_semaphore_win32.rb +18 -11
  376. data/lib/opengl-definitions/extensions/GL_EXT_separate_shader_objects.rb +107 -55
  377. data/lib/opengl-definitions/extensions/GL_EXT_separate_specular_color.rb +5 -3
  378. data/lib/opengl-definitions/extensions/GL_EXT_shader_framebuffer_fetch.rb +3 -1
  379. data/lib/opengl-definitions/extensions/GL_EXT_shader_framebuffer_fetch_non_coherent.rb +10 -4
  380. data/lib/opengl-definitions/extensions/GL_EXT_shader_image_load_store.rb +66 -59
  381. data/lib/opengl-definitions/extensions/GL_EXT_shader_pixel_local_storage.rb +5 -3
  382. data/lib/opengl-definitions/extensions/GL_EXT_shader_pixel_local_storage2.rb +16 -8
  383. data/lib/opengl-definitions/extensions/GL_EXT_shadow_samplers.rb +6 -4
  384. data/lib/opengl-definitions/extensions/GL_EXT_shared_texture_palette.rb +3 -1
  385. data/lib/opengl-definitions/extensions/GL_EXT_sparse_texture.rb +25 -19
  386. data/lib/opengl-definitions/extensions/GL_EXT_stencil_clear_tag.rb +11 -5
  387. data/lib/opengl-definitions/extensions/GL_EXT_stencil_two_side.rb +11 -5
  388. data/lib/opengl-definitions/extensions/GL_EXT_stencil_wrap.rb +4 -2
  389. data/lib/opengl-definitions/extensions/GL_EXT_subtexture.rb +9 -4
  390. data/lib/opengl-definitions/extensions/GL_EXT_tessellation_shader.rb +56 -50
  391. data/lib/opengl-definitions/extensions/GL_EXT_texture.rb +45 -43
  392. data/lib/opengl-definitions/extensions/GL_EXT_texture3D.rb +20 -13
  393. data/lib/opengl-definitions/extensions/GL_EXT_texture_array.rb +18 -12
  394. data/lib/opengl-definitions/extensions/GL_EXT_texture_border_clamp.rb +25 -12
  395. data/lib/opengl-definitions/extensions/GL_EXT_texture_buffer.rb +25 -18
  396. data/lib/opengl-definitions/extensions/GL_EXT_texture_buffer_object.rb +14 -8
  397. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_astc_decode_mode.rb +3 -1
  398. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_bptc.rb +6 -4
  399. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_dxt1.rb +4 -2
  400. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_latc.rb +6 -4
  401. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_rgtc.rb +6 -4
  402. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_s3tc.rb +6 -4
  403. data/lib/opengl-definitions/extensions/GL_EXT_texture_compression_s3tc_srgb.rb +6 -4
  404. data/lib/opengl-definitions/extensions/GL_EXT_texture_cube_map.rb +14 -12
  405. data/lib/opengl-definitions/extensions/GL_EXT_texture_cube_map_array.rb +11 -9
  406. data/lib/opengl-definitions/extensions/GL_EXT_texture_env_combine.rb +23 -21
  407. data/lib/opengl-definitions/extensions/GL_EXT_texture_env_dot3.rb +4 -2
  408. data/lib/opengl-definitions/extensions/GL_EXT_texture_filter_anisotropic.rb +4 -2
  409. data/lib/opengl-definitions/extensions/GL_EXT_texture_filter_minmax.rb +4 -2
  410. data/lib/opengl-definitions/extensions/GL_EXT_texture_format_BGRA8888.rb +3 -1
  411. data/lib/opengl-definitions/extensions/GL_EXT_texture_format_sRGB_override.rb +3 -1
  412. data/lib/opengl-definitions/extensions/GL_EXT_texture_integer.rb +66 -55
  413. data/lib/opengl-definitions/extensions/GL_EXT_texture_lod_bias.rb +5 -3
  414. data/lib/opengl-definitions/extensions/GL_EXT_texture_mirror_clamp.rb +5 -3
  415. data/lib/opengl-definitions/extensions/GL_EXT_texture_mirror_clamp_to_edge.rb +3 -1
  416. data/lib/opengl-definitions/extensions/GL_EXT_texture_norm16.rb +10 -8
  417. data/lib/opengl-definitions/extensions/GL_EXT_texture_object.rb +24 -13
  418. data/lib/opengl-definitions/extensions/GL_EXT_texture_perturb_normal.rb +11 -5
  419. data/lib/opengl-definitions/extensions/GL_EXT_texture_rg.rb +6 -4
  420. data/lib/opengl-definitions/extensions/GL_EXT_texture_sRGB.rb +18 -16
  421. data/lib/opengl-definitions/extensions/GL_EXT_texture_sRGB_R8.rb +3 -1
  422. data/lib/opengl-definitions/extensions/GL_EXT_texture_sRGB_RG8.rb +3 -1
  423. data/lib/opengl-definitions/extensions/GL_EXT_texture_sRGB_decode.rb +5 -3
  424. data/lib/opengl-definitions/extensions/GL_EXT_texture_shared_exponent.rb +5 -3
  425. data/lib/opengl-definitions/extensions/GL_EXT_texture_snorm.rb +27 -25
  426. data/lib/opengl-definitions/extensions/GL_EXT_texture_storage.rb +42 -31
  427. data/lib/opengl-definitions/extensions/GL_EXT_texture_swizzle.rb +7 -5
  428. data/lib/opengl-definitions/extensions/GL_EXT_texture_type_2_10_10_10_REV.rb +3 -1
  429. data/lib/opengl-definitions/extensions/GL_EXT_texture_view.rb +14 -8
  430. data/lib/opengl-definitions/extensions/GL_EXT_timer_query.rb +12 -5
  431. data/lib/opengl-definitions/extensions/GL_EXT_transform_feedback.rb +36 -24
  432. data/lib/opengl-definitions/extensions/GL_EXT_unpack_subimage.rb +5 -3
  433. data/lib/opengl-definitions/extensions/GL_EXT_vertex_array.rb +57 -43
  434. data/lib/opengl-definitions/extensions/GL_EXT_vertex_array_bgra.rb +3 -1
  435. data/lib/opengl-definitions/extensions/GL_EXT_vertex_attrib_64bit.rb +40 -25
  436. data/lib/opengl-definitions/extensions/GL_EXT_vertex_shader.rb +201 -154
  437. data/lib/opengl-definitions/extensions/GL_EXT_vertex_weighting.rb +26 -18
  438. data/lib/opengl-definitions/extensions/GL_EXT_win32_keyed_mutex.rb +9 -4
  439. data/lib/opengl-definitions/extensions/GL_EXT_window_rectangles.rb +15 -9
  440. data/lib/opengl-definitions/extensions/GL_EXT_x11_sync_object.rb +10 -4
  441. data/lib/opengl-definitions/extensions/GL_FJ_shader_binary_GCCSO.rb +3 -1
  442. data/lib/opengl-definitions/extensions/GL_GREMEDY_frame_terminator.rb +7 -3
  443. data/lib/opengl-definitions/extensions/GL_GREMEDY_string_marker.rb +7 -3
  444. data/lib/opengl-definitions/extensions/GL_HP_convolution_border_modes.rb +6 -4
  445. data/lib/opengl-definitions/extensions/GL_HP_image_transform.rb +34 -23
  446. data/lib/opengl-definitions/extensions/GL_HP_occlusion_test.rb +4 -2
  447. data/lib/opengl-definitions/extensions/GL_HP_texture_lighting.rb +5 -3
  448. data/lib/opengl-definitions/extensions/GL_IBM_cull_vertex.rb +3 -1
  449. data/lib/opengl-definitions/extensions/GL_IBM_multimode_draw_arrays.rb +9 -4
  450. data/lib/opengl-definitions/extensions/GL_IBM_rasterpos_clip.rb +3 -1
  451. data/lib/opengl-definitions/extensions/GL_IBM_static_data.rb +11 -5
  452. data/lib/opengl-definitions/extensions/GL_IBM_texture_mirrored_repeat.rb +3 -1
  453. data/lib/opengl-definitions/extensions/GL_IBM_vertex_array_lists.rb +39 -26
  454. data/lib/opengl-definitions/extensions/GL_IMG_bindless_texture.rb +17 -8
  455. data/lib/opengl-definitions/extensions/GL_IMG_framebuffer_downsample.rb +15 -8
  456. data/lib/opengl-definitions/extensions/GL_IMG_multisampled_render_to_texture.rb +15 -8
  457. data/lib/opengl-definitions/extensions/GL_IMG_program_binary.rb +3 -1
  458. data/lib/opengl-definitions/extensions/GL_IMG_read_format.rb +4 -2
  459. data/lib/opengl-definitions/extensions/GL_IMG_shader_binary.rb +3 -1
  460. data/lib/opengl-definitions/extensions/GL_IMG_texture_compression_pvrtc.rb +6 -4
  461. data/lib/opengl-definitions/extensions/GL_IMG_texture_compression_pvrtc2.rb +4 -2
  462. data/lib/opengl-definitions/extensions/GL_IMG_texture_env_enhanced_fixed_function.rb +9 -7
  463. data/lib/opengl-definitions/extensions/GL_IMG_texture_filter_cubic.rb +5 -3
  464. data/lib/opengl-definitions/extensions/GL_IMG_user_clip_plane.rb +18 -11
  465. data/lib/opengl-definitions/extensions/GL_INGR_blend_func_separate.rb +7 -3
  466. data/lib/opengl-definitions/extensions/GL_INGR_color_clamp.rb +10 -8
  467. data/lib/opengl-definitions/extensions/GL_INGR_interlace_read.rb +3 -1
  468. data/lib/opengl-definitions/extensions/GL_INTEL_blackhole_render.rb +3 -1
  469. data/lib/opengl-definitions/extensions/GL_INTEL_conservative_rasterization.rb +3 -1
  470. data/lib/opengl-definitions/extensions/GL_INTEL_framebuffer_CMAA.rb +7 -3
  471. data/lib/opengl-definitions/extensions/GL_INTEL_map_texture.rb +17 -9
  472. data/lib/opengl-definitions/extensions/GL_INTEL_parallel_arrays.rb +20 -11
  473. data/lib/opengl-definitions/extensions/GL_INTEL_performance_query.rb +47 -32
  474. data/lib/opengl-definitions/extensions/GL_KHR_blend_equation_advanced.rb +24 -18
  475. data/lib/opengl-definitions/extensions/GL_KHR_blend_equation_advanced_coherent.rb +3 -1
  476. data/lib/opengl-definitions/extensions/GL_KHR_context_flush_control.rb +7 -5
  477. data/lib/opengl-definitions/extensions/GL_KHR_debug.rb +133 -106
  478. data/lib/opengl-definitions/extensions/GL_KHR_no_error.rb +3 -1
  479. data/lib/opengl-definitions/extensions/GL_KHR_parallel_shader_compile.rb +11 -5
  480. data/lib/opengl-definitions/extensions/GL_KHR_robustness.rb +44 -29
  481. data/lib/opengl-definitions/extensions/GL_KHR_texture_compression_astc_hdr.rb +30 -28
  482. data/lib/opengl-definitions/extensions/GL_KHR_texture_compression_astc_ldr.rb +30 -28
  483. data/lib/opengl-definitions/extensions/GL_MESAX_texture_stack.rb +8 -6
  484. data/lib/opengl-definitions/extensions/GL_MESA_pack_invert.rb +3 -1
  485. data/lib/opengl-definitions/extensions/GL_MESA_program_binary_formats.rb +3 -1
  486. data/lib/opengl-definitions/extensions/GL_MESA_resize_buffers.rb +7 -3
  487. data/lib/opengl-definitions/extensions/GL_MESA_tile_raster_order.rb +5 -3
  488. data/lib/opengl-definitions/extensions/GL_MESA_window_pos.rb +53 -26
  489. data/lib/opengl-definitions/extensions/GL_MESA_ycbcr_texture.rb +5 -3
  490. data/lib/opengl-definitions/extensions/GL_NVX_conditional_render.rb +9 -4
  491. data/lib/opengl-definitions/extensions/GL_NVX_cross_process_interop.rb +3 -1
  492. data/lib/opengl-definitions/extensions/GL_NVX_gpu_memory_info.rb +7 -5
  493. data/lib/opengl-definitions/extensions/GL_NVX_linked_gpu_multicast.rb +15 -7
  494. data/lib/opengl-definitions/extensions/GL_NV_alpha_to_coverage_dither_control.rb +13 -7
  495. data/lib/opengl-definitions/extensions/GL_NV_bindless_multi_draw_indirect.rb +9 -4
  496. data/lib/opengl-definitions/extensions/GL_NV_bindless_multi_draw_indirect_count.rb +9 -4
  497. data/lib/opengl-definitions/extensions/GL_NV_bindless_texture.rb +31 -15
  498. data/lib/opengl-definitions/extensions/GL_NV_blend_equation_advanced.rb +62 -55
  499. data/lib/opengl-definitions/extensions/GL_NV_blend_equation_advanced_coherent.rb +3 -1
  500. data/lib/opengl-definitions/extensions/GL_NV_blend_minmax_factor.rb +4 -2
  501. data/lib/opengl-definitions/extensions/GL_NV_clip_space_w_scaling.rb +12 -6
  502. data/lib/opengl-definitions/extensions/GL_NV_command_list.rb +60 -38
  503. data/lib/opengl-definitions/extensions/GL_NV_compute_program5.rb +4 -2
  504. data/lib/opengl-definitions/extensions/GL_NV_conditional_render.rb +15 -8
  505. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster.rb +13 -7
  506. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_dilate.rb +12 -6
  507. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_pre_snap.rb +3 -1
  508. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_pre_snap_triangles.rb +12 -6
  509. data/lib/opengl-definitions/extensions/GL_NV_copy_buffer.rb +11 -5
  510. data/lib/opengl-definitions/extensions/GL_NV_copy_depth_to_color.rb +4 -2
  511. data/lib/opengl-definitions/extensions/GL_NV_copy_image.rb +7 -3
  512. data/lib/opengl-definitions/extensions/GL_NV_coverage_sample.rb +20 -13
  513. data/lib/opengl-definitions/extensions/GL_NV_deep_texture3D.rb +4 -2
  514. data/lib/opengl-definitions/extensions/GL_NV_depth_buffer_float.rb +17 -9
  515. data/lib/opengl-definitions/extensions/GL_NV_depth_clamp.rb +3 -1
  516. data/lib/opengl-definitions/extensions/GL_NV_depth_nonlinear.rb +3 -1
  517. data/lib/opengl-definitions/extensions/GL_NV_draw_buffers.rb +42 -36
  518. data/lib/opengl-definitions/extensions/GL_NV_draw_instanced.rb +9 -4
  519. data/lib/opengl-definitions/extensions/GL_NV_draw_texture.rb +7 -3
  520. data/lib/opengl-definitions/extensions/GL_NV_draw_vulkan_image.rb +15 -7
  521. data/lib/opengl-definitions/extensions/GL_NV_evaluators.rb +49 -35
  522. data/lib/opengl-definitions/extensions/GL_NV_explicit_multisample.rb +23 -15
  523. data/lib/opengl-definitions/extensions/GL_NV_fbo_color_attachments.rb +19 -17
  524. data/lib/opengl-definitions/extensions/GL_NV_fence.rb +24 -12
  525. data/lib/opengl-definitions/extensions/GL_NV_fill_rectangle.rb +3 -1
  526. data/lib/opengl-definitions/extensions/GL_NV_float_buffer.rb +17 -15
  527. data/lib/opengl-definitions/extensions/GL_NV_fog_distance.rb +6 -4
  528. data/lib/opengl-definitions/extensions/GL_NV_fragment_coverage_to_color.rb +11 -5
  529. data/lib/opengl-definitions/extensions/GL_NV_fragment_program.rb +25 -14
  530. data/lib/opengl-definitions/extensions/GL_NV_fragment_program2.rb +7 -5
  531. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_blit.rb +13 -7
  532. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_mixed_samples.rb +29 -20
  533. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_multisample.rb +12 -6
  534. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_multisample_coverage.rb +13 -7
  535. data/lib/opengl-definitions/extensions/GL_NV_geometry_program4.rb +31 -22
  536. data/lib/opengl-definitions/extensions/GL_NV_gpu_multicast.rb +36 -19
  537. data/lib/opengl-definitions/extensions/GL_NV_gpu_program4.rb +47 -26
  538. data/lib/opengl-definitions/extensions/GL_NV_gpu_program5.rb +19 -12
  539. data/lib/opengl-definitions/extensions/GL_NV_gpu_shader5.rb +102 -64
  540. data/lib/opengl-definitions/extensions/GL_NV_half_float.rb +100 -49
  541. data/lib/opengl-definitions/extensions/GL_NV_instanced_arrays.rb +10 -4
  542. data/lib/opengl-definitions/extensions/GL_NV_internalformat_sample_query.rb +16 -10
  543. data/lib/opengl-definitions/extensions/GL_NV_light_max_exponent.rb +4 -2
  544. data/lib/opengl-definitions/extensions/GL_NV_multisample_coverage.rb +4 -2
  545. data/lib/opengl-definitions/extensions/GL_NV_multisample_filter_hint.rb +3 -1
  546. data/lib/opengl-definitions/extensions/GL_NV_non_square_matrices.rb +25 -14
  547. data/lib/opengl-definitions/extensions/GL_NV_occlusion_query.rb +25 -13
  548. data/lib/opengl-definitions/extensions/GL_NV_packed_depth_stencil.rb +4 -2
  549. data/lib/opengl-definitions/extensions/GL_NV_parameter_buffer_object.rb +18 -10
  550. data/lib/opengl-definitions/extensions/GL_NV_path_rendering.rb +337 -249
  551. data/lib/opengl-definitions/extensions/GL_NV_path_rendering_shared_edge.rb +3 -1
  552. data/lib/opengl-definitions/extensions/GL_NV_pixel_buffer_object.rb +6 -4
  553. data/lib/opengl-definitions/extensions/GL_NV_pixel_data_range.rb +17 -10
  554. data/lib/opengl-definitions/extensions/GL_NV_point_sprite.rb +14 -7
  555. data/lib/opengl-definitions/extensions/GL_NV_polygon_mode.rb +15 -9
  556. data/lib/opengl-definitions/extensions/GL_NV_present_video.rb +25 -14
  557. data/lib/opengl-definitions/extensions/GL_NV_primitive_restart.rb +13 -6
  558. data/lib/opengl-definitions/extensions/GL_NV_query_resource.rb +15 -9
  559. data/lib/opengl-definitions/extensions/GL_NV_query_resource_tag.rb +11 -5
  560. data/lib/opengl-definitions/extensions/GL_NV_read_buffer.rb +10 -4
  561. data/lib/opengl-definitions/extensions/GL_NV_register_combiners.rb +89 -71
  562. data/lib/opengl-definitions/extensions/GL_NV_register_combiners2.rb +12 -5
  563. data/lib/opengl-definitions/extensions/GL_NV_robustness_video_memory_purge.rb +3 -1
  564. data/lib/opengl-definitions/extensions/GL_NV_sRGB_formats.rb +12 -10
  565. data/lib/opengl-definitions/extensions/GL_NV_sample_locations.rb +21 -13
  566. data/lib/opengl-definitions/extensions/GL_NV_shader_buffer_load.rb +38 -19
  567. data/lib/opengl-definitions/extensions/GL_NV_shader_buffer_store.rb +5 -3
  568. data/lib/opengl-definitions/extensions/GL_NV_shader_thread_group.rb +5 -3
  569. data/lib/opengl-definitions/extensions/GL_NV_shadow_samplers_array.rb +3 -1
  570. data/lib/opengl-definitions/extensions/GL_NV_shadow_samplers_cube.rb +3 -1
  571. data/lib/opengl-definitions/extensions/GL_NV_tessellation_program5.rb +7 -5
  572. data/lib/opengl-definitions/extensions/GL_NV_texgen_emboss.rb +5 -3
  573. data/lib/opengl-definitions/extensions/GL_NV_texgen_reflection.rb +4 -2
  574. data/lib/opengl-definitions/extensions/GL_NV_texture_barrier.rb +7 -3
  575. data/lib/opengl-definitions/extensions/GL_NV_texture_border_clamp.rb +4 -2
  576. data/lib/opengl-definitions/extensions/GL_NV_texture_env_combine4.rb +7 -5
  577. data/lib/opengl-definitions/extensions/GL_NV_texture_expand_normal.rb +3 -1
  578. data/lib/opengl-definitions/extensions/GL_NV_texture_multisample.rb +21 -10
  579. data/lib/opengl-definitions/extensions/GL_NV_texture_rectangle.rb +6 -4
  580. data/lib/opengl-definitions/extensions/GL_NV_texture_shader.rb +75 -73
  581. data/lib/opengl-definitions/extensions/GL_NV_texture_shader2.rb +3 -1
  582. data/lib/opengl-definitions/extensions/GL_NV_texture_shader3.rb +19 -17
  583. data/lib/opengl-definitions/extensions/GL_NV_transform_feedback.rb +62 -45
  584. data/lib/opengl-definitions/extensions/GL_NV_transform_feedback2.rb +25 -13
  585. data/lib/opengl-definitions/extensions/GL_NV_uniform_buffer_unified_memory.rb +5 -3
  586. data/lib/opengl-definitions/extensions/GL_NV_vdpau_interop.rb +31 -16
  587. data/lib/opengl-definitions/extensions/GL_NV_vertex_array_range.rb +16 -9
  588. data/lib/opengl-definitions/extensions/GL_NV_vertex_array_range2.rb +3 -1
  589. data/lib/opengl-definitions/extensions/GL_NV_vertex_attrib_integer_64bit.rb +47 -23
  590. data/lib/opengl-definitions/extensions/GL_NV_vertex_buffer_unified_memory.rb +56 -39
  591. data/lib/opengl-definitions/extensions/GL_NV_vertex_program.rb +218 -149
  592. data/lib/opengl-definitions/extensions/GL_NV_vertex_program2_option.rb +4 -2
  593. data/lib/opengl-definitions/extensions/GL_NV_vertex_program3.rb +3 -1
  594. data/lib/opengl-definitions/extensions/GL_NV_vertex_program4.rb +54 -26
  595. data/lib/opengl-definitions/extensions/GL_NV_video_capture.rb +60 -43
  596. data/lib/opengl-definitions/extensions/GL_NV_viewport_array.rb +39 -22
  597. data/lib/opengl-definitions/extensions/GL_NV_viewport_swizzle.rb +21 -15
  598. data/lib/opengl-definitions/extensions/GL_OES_EGL_image.rb +9 -4
  599. data/lib/opengl-definitions/extensions/GL_OES_EGL_image_external.rb +6 -4
  600. data/lib/opengl-definitions/extensions/GL_OES_blend_equation_separate.rb +11 -5
  601. data/lib/opengl-definitions/extensions/GL_OES_blend_func_separate.rb +13 -7
  602. data/lib/opengl-definitions/extensions/GL_OES_blend_subtract.rb +13 -7
  603. data/lib/opengl-definitions/extensions/GL_OES_byte_coordinates.rb +52 -25
  604. data/lib/opengl-definitions/extensions/GL_OES_compressed_ETC1_RGB8_texture.rb +3 -1
  605. data/lib/opengl-definitions/extensions/GL_OES_compressed_paletted_texture.rb +12 -10
  606. data/lib/opengl-definitions/extensions/GL_OES_copy_image.rb +7 -3
  607. data/lib/opengl-definitions/extensions/GL_OES_depth24.rb +3 -1
  608. data/lib/opengl-definitions/extensions/GL_OES_depth32.rb +3 -1
  609. data/lib/opengl-definitions/extensions/GL_OES_depth_texture.rb +5 -3
  610. data/lib/opengl-definitions/extensions/GL_OES_draw_buffers_indexed.rb +51 -38
  611. data/lib/opengl-definitions/extensions/GL_OES_draw_elements_base_vertex.rb +13 -6
  612. data/lib/opengl-definitions/extensions/GL_OES_draw_texture.rb +24 -11
  613. data/lib/opengl-definitions/extensions/GL_OES_element_index_uint.rb +3 -1
  614. data/lib/opengl-definitions/extensions/GL_OES_fixed_point.rb +222 -110
  615. data/lib/opengl-definitions/extensions/GL_OES_framebuffer_object.rb +70 -50
  616. data/lib/opengl-definitions/extensions/GL_OES_geometry_shader.rb +42 -36
  617. data/lib/opengl-definitions/extensions/GL_OES_get_program_binary.rb +14 -7
  618. data/lib/opengl-definitions/extensions/GL_OES_mapbuffer.rb +17 -9
  619. data/lib/opengl-definitions/extensions/GL_OES_matrix_get.rb +5 -3
  620. data/lib/opengl-definitions/extensions/GL_OES_matrix_palette.rb +31 -22
  621. data/lib/opengl-definitions/extensions/GL_OES_packed_depth_stencil.rb +5 -3
  622. data/lib/opengl-definitions/extensions/GL_OES_point_size_array.rb +14 -8
  623. data/lib/opengl-definitions/extensions/GL_OES_point_sprite.rb +4 -2
  624. data/lib/opengl-definitions/extensions/GL_OES_primitive_bounding_box.rb +10 -4
  625. data/lib/opengl-definitions/extensions/GL_OES_query_matrix.rb +7 -3
  626. data/lib/opengl-definitions/extensions/GL_OES_read_format.rb +4 -2
  627. data/lib/opengl-definitions/extensions/GL_OES_required_internalformat.rb +17 -15
  628. data/lib/opengl-definitions/extensions/GL_OES_rgb8_rgba8.rb +4 -2
  629. data/lib/opengl-definitions/extensions/GL_OES_sample_shading.rb +11 -5
  630. data/lib/opengl-definitions/extensions/GL_OES_shader_multisample_interpolation.rb +5 -3
  631. data/lib/opengl-definitions/extensions/GL_OES_single_precision.rb +17 -8
  632. data/lib/opengl-definitions/extensions/GL_OES_standard_derivatives.rb +3 -1
  633. data/lib/opengl-definitions/extensions/GL_OES_stencil1.rb +3 -1
  634. data/lib/opengl-definitions/extensions/GL_OES_stencil4.rb +3 -1
  635. data/lib/opengl-definitions/extensions/GL_OES_stencil8.rb +3 -1
  636. data/lib/opengl-definitions/extensions/GL_OES_stencil_wrap.rb +4 -2
  637. data/lib/opengl-definitions/extensions/GL_OES_surfaceless_context.rb +3 -1
  638. data/lib/opengl-definitions/extensions/GL_OES_tessellation_shader.rb +56 -50
  639. data/lib/opengl-definitions/extensions/GL_OES_texture_3D.rb +25 -14
  640. data/lib/opengl-definitions/extensions/GL_OES_texture_border_clamp.rb +25 -12
  641. data/lib/opengl-definitions/extensions/GL_OES_texture_buffer.rb +25 -18
  642. data/lib/opengl-definitions/extensions/GL_OES_texture_compression_astc.rb +50 -48
  643. data/lib/opengl-definitions/extensions/GL_OES_texture_cube_map.rb +38 -24
  644. data/lib/opengl-definitions/extensions/GL_OES_texture_cube_map_array.rb +11 -9
  645. data/lib/opengl-definitions/extensions/GL_OES_texture_float.rb +3 -1
  646. data/lib/opengl-definitions/extensions/GL_OES_texture_half_float.rb +3 -1
  647. data/lib/opengl-definitions/extensions/GL_OES_texture_mirrored_repeat.rb +3 -1
  648. data/lib/opengl-definitions/extensions/GL_OES_texture_stencil8.rb +4 -2
  649. data/lib/opengl-definitions/extensions/GL_OES_texture_storage_multisample_2d_array.rb +14 -8
  650. data/lib/opengl-definitions/extensions/GL_OES_texture_view.rb +14 -8
  651. data/lib/opengl-definitions/extensions/GL_OES_vertex_array_object.rb +16 -7
  652. data/lib/opengl-definitions/extensions/GL_OES_vertex_half_float.rb +3 -1
  653. data/lib/opengl-definitions/extensions/GL_OES_vertex_type_10_10_10_2.rb +4 -2
  654. data/lib/opengl-definitions/extensions/GL_OES_viewport_array.rb +39 -22
  655. data/lib/opengl-definitions/extensions/GL_OML_interlace.rb +4 -2
  656. data/lib/opengl-definitions/extensions/GL_OML_resample.rb +8 -6
  657. data/lib/opengl-definitions/extensions/GL_OML_subsample.rb +4 -2
  658. data/lib/opengl-definitions/extensions/GL_OVR_multiview.rb +13 -7
  659. data/lib/opengl-definitions/extensions/GL_OVR_multiview_multisampled_render_to_texture.rb +7 -3
  660. data/lib/opengl-definitions/extensions/GL_PGI_misc_hints.rb +29 -23
  661. data/lib/opengl-definitions/extensions/GL_PGI_vertex_hints.rb +24 -22
  662. data/lib/opengl-definitions/extensions/GL_QCOM_alpha_test.rb +12 -6
  663. data/lib/opengl-definitions/extensions/GL_QCOM_binning_control.rb +6 -4
  664. data/lib/opengl-definitions/extensions/GL_QCOM_driver_control.rb +13 -6
  665. data/lib/opengl-definitions/extensions/GL_QCOM_extended_get.rb +34 -21
  666. data/lib/opengl-definitions/extensions/GL_QCOM_extended_get2.rb +13 -6
  667. data/lib/opengl-definitions/extensions/GL_QCOM_framebuffer_foveated.rb +13 -6
  668. data/lib/opengl-definitions/extensions/GL_QCOM_perfmon_global_mode.rb +3 -1
  669. data/lib/opengl-definitions/extensions/GL_QCOM_shader_framebuffer_fetch_noncoherent.rb +10 -4
  670. data/lib/opengl-definitions/extensions/GL_QCOM_texture_foveated.rb +16 -10
  671. data/lib/opengl-definitions/extensions/GL_QCOM_tiled_rendering.rb +43 -36
  672. data/lib/opengl-definitions/extensions/GL_QCOM_writeonly_rendering.rb +3 -1
  673. data/lib/opengl-definitions/extensions/GL_REND_screen_coordinates.rb +4 -2
  674. data/lib/opengl-definitions/extensions/GL_S3_s3tc.rb +8 -6
  675. data/lib/opengl-definitions/extensions/GL_SGIS_detail_texture.rb +19 -12
  676. data/lib/opengl-definitions/extensions/GL_SGIS_fog_function.rb +14 -7
  677. data/lib/opengl-definitions/extensions/GL_SGIS_generate_mipmap.rb +4 -2
  678. data/lib/opengl-definitions/extensions/GL_SGIS_multisample.rb +27 -20
  679. data/lib/opengl-definitions/extensions/GL_SGIS_pixel_texture.rb +23 -12
  680. data/lib/opengl-definitions/extensions/GL_SGIS_point_line_texgen.rb +10 -8
  681. data/lib/opengl-definitions/extensions/GL_SGIS_point_parameters.rb +15 -8
  682. data/lib/opengl-definitions/extensions/GL_SGIS_sharpen_texture.rb +15 -8
  683. data/lib/opengl-definitions/extensions/GL_SGIS_texture4D.rb +21 -14
  684. data/lib/opengl-definitions/extensions/GL_SGIS_texture_border_clamp.rb +3 -1
  685. data/lib/opengl-definitions/extensions/GL_SGIS_texture_color_mask.rb +10 -4
  686. data/lib/opengl-definitions/extensions/GL_SGIS_texture_edge_clamp.rb +3 -1
  687. data/lib/opengl-definitions/extensions/GL_SGIS_texture_filter4.rb +13 -6
  688. data/lib/opengl-definitions/extensions/GL_SGIS_texture_lod.rb +6 -4
  689. data/lib/opengl-definitions/extensions/GL_SGIS_texture_select.rb +24 -22
  690. data/lib/opengl-definitions/extensions/GL_SGIX_async.rb +20 -9
  691. data/lib/opengl-definitions/extensions/GL_SGIX_async_histogram.rb +4 -2
  692. data/lib/opengl-definitions/extensions/GL_SGIX_async_pixel.rb +8 -6
  693. data/lib/opengl-definitions/extensions/GL_SGIX_blend_alpha_minmax.rb +4 -2
  694. data/lib/opengl-definitions/extensions/GL_SGIX_calligraphic_fragment.rb +3 -1
  695. data/lib/opengl-definitions/extensions/GL_SGIX_clipmap.rb +14 -12
  696. data/lib/opengl-definitions/extensions/GL_SGIX_convolution_accuracy.rb +3 -1
  697. data/lib/opengl-definitions/extensions/GL_SGIX_depth_texture.rb +5 -3
  698. data/lib/opengl-definitions/extensions/GL_SGIX_flush_raster.rb +7 -3
  699. data/lib/opengl-definitions/extensions/GL_SGIX_fog_offset.rb +4 -2
  700. data/lib/opengl-definitions/extensions/GL_SGIX_fragment_lighting.rb +63 -40
  701. data/lib/opengl-definitions/extensions/GL_SGIX_framezoom.rb +12 -6
  702. data/lib/opengl-definitions/extensions/GL_SGIX_igloo_interface.rb +7 -3
  703. data/lib/opengl-definitions/extensions/GL_SGIX_instruments.rb +21 -10
  704. data/lib/opengl-definitions/extensions/GL_SGIX_interlace.rb +3 -1
  705. data/lib/opengl-definitions/extensions/GL_SGIX_ir_instrument1.rb +3 -1
  706. data/lib/opengl-definitions/extensions/GL_SGIX_list_priority.rb +20 -9
  707. data/lib/opengl-definitions/extensions/GL_SGIX_pixel_texture.rb +11 -5
  708. data/lib/opengl-definitions/extensions/GL_SGIX_pixel_tiles.rb +10 -8
  709. data/lib/opengl-definitions/extensions/GL_SGIX_polynomial_ffd.rb +21 -12
  710. data/lib/opengl-definitions/extensions/GL_SGIX_reference_plane.rb +11 -5
  711. data/lib/opengl-definitions/extensions/GL_SGIX_resample.rb +7 -5
  712. data/lib/opengl-definitions/extensions/GL_SGIX_scalebias_hint.rb +3 -1
  713. data/lib/opengl-definitions/extensions/GL_SGIX_shadow.rb +6 -4
  714. data/lib/opengl-definitions/extensions/GL_SGIX_shadow_ambient.rb +3 -1
  715. data/lib/opengl-definitions/extensions/GL_SGIX_sprite.rb +22 -13
  716. data/lib/opengl-definitions/extensions/GL_SGIX_subsample.rb +7 -5
  717. data/lib/opengl-definitions/extensions/GL_SGIX_tag_sample_buffer.rb +7 -3
  718. data/lib/opengl-definitions/extensions/GL_SGIX_texture_add_env.rb +3 -1
  719. data/lib/opengl-definitions/extensions/GL_SGIX_texture_coordinate_clamp.rb +5 -3
  720. data/lib/opengl-definitions/extensions/GL_SGIX_texture_lod_bias.rb +5 -3
  721. data/lib/opengl-definitions/extensions/GL_SGIX_texture_multi_buffer.rb +3 -1
  722. data/lib/opengl-definitions/extensions/GL_SGIX_texture_scale_bias.rb +6 -4
  723. data/lib/opengl-definitions/extensions/GL_SGIX_vertex_preclip.rb +4 -2
  724. data/lib/opengl-definitions/extensions/GL_SGIX_ycrcb.rb +4 -2
  725. data/lib/opengl-definitions/extensions/GL_SGIX_ycrcba.rb +4 -2
  726. data/lib/opengl-definitions/extensions/GL_SGI_color_matrix.rb +13 -11
  727. data/lib/opengl-definitions/extensions/GL_SGI_color_table.rb +37 -25
  728. data/lib/opengl-definitions/extensions/GL_SGI_texture_color_table.rb +4 -2
  729. data/lib/opengl-definitions/extensions/GL_SUNX_constant_data.rb +11 -5
  730. data/lib/opengl-definitions/extensions/GL_SUN_convolution_border_modes.rb +3 -1
  731. data/lib/opengl-definitions/extensions/GL_SUN_global_alpha.rb +25 -12
  732. data/lib/opengl-definitions/extensions/GL_SUN_mesh_array.rb +11 -5
  733. data/lib/opengl-definitions/extensions/GL_SUN_slice_accum.rb +3 -1
  734. data/lib/opengl-definitions/extensions/GL_SUN_triangle_list.rb +38 -26
  735. data/lib/opengl-definitions/extensions/GL_SUN_vertex.rb +85 -42
  736. data/lib/opengl-definitions/extensions/GL_VIV_shader_binary.rb +3 -1
  737. data/lib/opengl-definitions/extensions/GL_WIN_phong_shading.rb +4 -2
  738. data/lib/opengl-definitions/extensions/GL_WIN_specular_fog.rb +3 -1
  739. data/lib/opengl-definitions/extensions/WGL_3DFX_multisample.rb +4 -2
  740. data/lib/opengl-definitions/extensions/WGL_3DL_stereo_control.rb +13 -7
  741. data/lib/opengl-definitions/extensions/WGL_AMD_gpu_association.rb +35 -21
  742. data/lib/opengl-definitions/extensions/WGL_ARB_buffer_region.rb +19 -10
  743. data/lib/opengl-definitions/extensions/WGL_ARB_context_flush_control.rb +5 -3
  744. data/lib/opengl-definitions/extensions/WGL_ARB_create_context.rb +16 -10
  745. data/lib/opengl-definitions/extensions/WGL_ARB_create_context_no_error.rb +3 -1
  746. data/lib/opengl-definitions/extensions/WGL_ARB_create_context_profile.rb +6 -4
  747. data/lib/opengl-definitions/extensions/WGL_ARB_create_context_robustness.rb +6 -4
  748. data/lib/opengl-definitions/extensions/WGL_ARB_extensions_string.rb +7 -3
  749. data/lib/opengl-definitions/extensions/WGL_ARB_framebuffer_sRGB.rb +3 -1
  750. data/lib/opengl-definitions/extensions/WGL_ARB_make_current_read.rb +13 -6
  751. data/lib/opengl-definitions/extensions/WGL_ARB_multisample.rb +4 -2
  752. data/lib/opengl-definitions/extensions/WGL_ARB_pbuffer.rb +25 -15
  753. data/lib/opengl-definitions/extensions/WGL_ARB_pixel_format.rb +62 -54
  754. data/lib/opengl-definitions/extensions/WGL_ARB_pixel_format_float.rb +3 -1
  755. data/lib/opengl-definitions/extensions/WGL_ARB_render_texture.rb +46 -38
  756. data/lib/opengl-definitions/extensions/WGL_ARB_robustness_application_isolation.rb +3 -1
  757. data/lib/opengl-definitions/extensions/WGL_ARB_robustness_share_group_isolation.rb +3 -1
  758. data/lib/opengl-definitions/extensions/WGL_ATI_pixel_format_float.rb +3 -1
  759. data/lib/opengl-definitions/extensions/WGL_EXT_colorspace.rb +5 -3
  760. data/lib/opengl-definitions/extensions/WGL_EXT_create_context_es2_profile.rb +3 -1
  761. data/lib/opengl-definitions/extensions/WGL_EXT_create_context_es_profile.rb +3 -1
  762. data/lib/opengl-definitions/extensions/WGL_EXT_depth_float.rb +3 -1
  763. data/lib/opengl-definitions/extensions/WGL_EXT_display_color_table.rb +13 -6
  764. data/lib/opengl-definitions/extensions/WGL_EXT_extensions_string.rb +7 -3
  765. data/lib/opengl-definitions/extensions/WGL_EXT_framebuffer_sRGB.rb +3 -1
  766. data/lib/opengl-definitions/extensions/WGL_EXT_make_current_read.rb +12 -5
  767. data/lib/opengl-definitions/extensions/WGL_EXT_multisample.rb +4 -2
  768. data/lib/opengl-definitions/extensions/WGL_EXT_pbuffer.rb +26 -16
  769. data/lib/opengl-definitions/extensions/WGL_EXT_pixel_format.rb +58 -50
  770. data/lib/opengl-definitions/extensions/WGL_EXT_pixel_format_packed_float.rb +3 -1
  771. data/lib/opengl-definitions/extensions/WGL_EXT_swap_control.rb +9 -4
  772. data/lib/opengl-definitions/extensions/WGL_I3D_digital_video_control.rb +15 -8
  773. data/lib/opengl-definitions/extensions/WGL_I3D_gamma.rb +17 -8
  774. data/lib/opengl-definitions/extensions/WGL_I3D_genlock.rb +40 -23
  775. data/lib/opengl-definitions/extensions/WGL_I3D_image_buffer.rb +17 -8
  776. data/lib/opengl-definitions/extensions/WGL_I3D_swap_frame_lock.rb +13 -6
  777. data/lib/opengl-definitions/extensions/WGL_I3D_swap_frame_usage.rb +13 -6
  778. data/lib/opengl-definitions/extensions/WGL_NV_DX_interop.rb +26 -13
  779. data/lib/opengl-definitions/extensions/WGL_NV_copy_image.rb +7 -3
  780. data/lib/opengl-definitions/extensions/WGL_NV_delay_before_swap.rb +7 -3
  781. data/lib/opengl-definitions/extensions/WGL_NV_float_buffer.rb +11 -9
  782. data/lib/opengl-definitions/extensions/WGL_NV_gpu_affinity.rb +19 -9
  783. data/lib/opengl-definitions/extensions/WGL_NV_multisample_coverage.rb +4 -2
  784. data/lib/opengl-definitions/extensions/WGL_NV_present_video.rb +14 -6
  785. data/lib/opengl-definitions/extensions/WGL_NV_render_depth_texture.rb +7 -5
  786. data/lib/opengl-definitions/extensions/WGL_NV_render_texture_rectangle.rb +5 -3
  787. data/lib/opengl-definitions/extensions/WGL_NV_swap_group.rb +17 -8
  788. data/lib/opengl-definitions/extensions/WGL_NV_vertex_array_range.rb +9 -4
  789. data/lib/opengl-definitions/extensions/WGL_NV_video_capture.rb +19 -9
  790. data/lib/opengl-definitions/extensions/WGL_NV_video_output.rb +32 -21
  791. data/lib/opengl-definitions/extensions/WGL_OML_sync_control.rb +17 -8
  792. data/lib/opengl-definitions/typedefs.rb +38 -36
  793. data/lib/opengl-definitions/version.rb +1 -1
  794. data/lib/opengl-definitions/versions/GLX_VERSION_1_1.rb +19 -11
  795. data/lib/opengl-definitions/versions/GLX_VERSION_1_2.rb +8 -4
  796. data/lib/opengl-definitions/versions/GLX_VERSION_1_3.rb +131 -109
  797. data/lib/opengl-definitions/versions/GLX_VERSION_1_4.rb +12 -6
  798. data/lib/opengl-definitions/versions/GL_VERSION_1_0.rb +637 -584
  799. data/lib/opengl-definitions/versions/GL_VERSION_1_1.rb +31 -15
  800. data/lib/opengl-definitions/versions/GL_VERSION_1_2.rb +57 -48
  801. data/lib/opengl-definitions/versions/GL_VERSION_1_3.rb +121 -107
  802. data/lib/opengl-definitions/versions/GL_VERSION_1_4.rb +60 -48
  803. data/lib/opengl-definitions/versions/GL_VERSION_1_5.rb +95 -71
  804. data/lib/opengl-definitions/versions/GL_VERSION_2_0.rb +278 -180
  805. data/lib/opengl-definitions/versions/GL_VERSION_2_1.rb +42 -31
  806. data/lib/opengl-definitions/versions/GL_VERSION_3_0.rb +228 -168
  807. data/lib/opengl-definitions/versions/GL_VERSION_3_1.rb +50 -42
  808. data/lib/opengl-definitions/versions/GL_VERSION_3_2.rb +36 -29
  809. data/lib/opengl-definitions/versions/GL_VERSION_3_3.rb +11 -5
  810. data/lib/opengl-definitions/versions/GL_VERSION_4_0.rb +30 -22
  811. data/lib/opengl-definitions/versions/GL_VERSION_4_1.rb +1 -1
  812. data/lib/opengl-definitions/versions/GL_VERSION_4_2.rb +1 -1
  813. data/lib/opengl-definitions/versions/GL_VERSION_4_3.rb +6 -5
  814. data/lib/opengl-definitions/versions/GL_VERSION_4_4.rb +6 -4
  815. data/lib/opengl-definitions/versions/GL_VERSION_4_5.rb +1 -1
  816. data/lib/opengl-definitions/versions/GL_VERSION_4_6.rb +1 -1
  817. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_0.rb +513 -255
  818. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_1.rb +49 -23
  819. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_3.rb +81 -39
  820. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_4.rb +83 -40
  821. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_5.rb +9 -3
  822. data/lib/opengl-definitions.rb +1 -1
  823. metadata +7 -5
@@ -1,24 +1,26 @@
1
1
  module GL_ARB_texture_rg
2
- GL_RG = 0x8227
3
- GL_RG_INTEGER = 0x8228
4
- GL_R8 = 0x8229
5
- GL_R16 = 0x822A
6
- GL_RG8 = 0x822B
7
- GL_RG16 = 0x822C
8
- GL_R16F = 0x822D
9
- GL_R32F = 0x822E
10
- GL_RG16F = 0x822F
11
- GL_RG32F = 0x8230
12
- GL_R8I = 0x8231
13
- GL_R8UI = 0x8232
14
- GL_R16I = 0x8233
15
- GL_R16UI = 0x8234
16
- GL_R32I = 0x8235
17
- GL_R32UI = 0x8236
18
- GL_RG8I = 0x8237
19
- GL_RG8UI = 0x8238
20
- GL_RG16I = 0x8239
21
- GL_RG16UI = 0x823A
22
- GL_RG32I = 0x823B
23
- GL_RG32UI = 0x823C
2
+ module Constants
3
+ NRG = 0x8227
4
+ NRG_INTEGER = 0x8228
5
+ NR8 = 0x8229
6
+ NR16 = 0x822A
7
+ NRG8 = 0x822B
8
+ NRG16 = 0x822C
9
+ NR16F = 0x822D
10
+ NR32F = 0x822E
11
+ NRG16F = 0x822F
12
+ NRG32F = 0x8230
13
+ NR8I = 0x8231
14
+ NR8UI = 0x8232
15
+ NR16I = 0x8233
16
+ NR16UI = 0x8234
17
+ NR32I = 0x8235
18
+ NR32UI = 0x8236
19
+ NRG8I = 0x8237
20
+ NRG8UI = 0x8238
21
+ NRG16I = 0x8239
22
+ NRG16UI = 0x823A
23
+ NRG32I = 0x823B
24
+ NRG32UI = 0x823C
25
+ end
24
26
  end
@@ -1,3 +1,5 @@
1
1
  module GL_ARB_texture_rgb10_a2ui
2
- GL_RGB10_A2UI = 0x906F
2
+ module Constants
3
+ NRGB10_A2UI = 0x906F
4
+ end
3
5
  end
@@ -1,4 +1,6 @@
1
1
  module GL_ARB_texture_stencil8
2
- GL_STENCIL_INDEX = 0x1901
3
- GL_STENCIL_INDEX8 = 0x8D48
2
+ module Constants
3
+ NSTENCIL_INDEX = 0x1901
4
+ NSTENCIL_INDEX8 = 0x8D48
5
+ end
4
6
  end
@@ -1,9 +1,17 @@
1
1
  module GL_ARB_texture_storage
2
- GL_TEXTURE_IMMUTABLE_FORMAT = 0x912F
2
+ module Constants
3
+ NTEXTURE_IMMUTABLE_FORMAT = 0x912F
4
+ end
3
5
 
4
- @functions = {
5
- glTexStorage1D: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei ].freeze,
6
- glTexStorage2D: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei ].freeze,
7
- glTexStorage3D: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei, :GLsizei ].freeze,
8
- }.freeze
6
+ module Functions
7
+ def glTexStorage1D(target, levels, internalformat, width) end
8
+ def glTexStorage2D(target, levels, internalformat, width, height) end
9
+ def glTexStorage3D(target, levels, internalformat, width, height, depth) end
10
+
11
+ Parameters = {
12
+ glTexStorage1D: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei ].freeze,
13
+ glTexStorage2D: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei ].freeze,
14
+ glTexStorage3D: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei, :GLsizei ].freeze,
15
+ }.freeze
16
+ end
9
17
  end
@@ -1,6 +1,11 @@
1
1
  module GL_ARB_texture_storage_multisample
2
- @functions = {
3
- glTexStorage2DMultisample: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei, :GLboolean ].freeze,
4
- glTexStorage3DMultisample: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei, :GLsizei, :GLboolean ].freeze,
5
- }.freeze
2
+ module Functions
3
+ def glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations) end
4
+ def glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations) end
5
+
6
+ Parameters = {
7
+ glTexStorage2DMultisample: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei, :GLboolean ].freeze,
8
+ glTexStorage3DMultisample: [ :void, :GLenum, :GLsizei, :GLenum, :GLsizei, :GLsizei, :GLsizei, :GLboolean ].freeze,
9
+ }.freeze
10
+ end
6
11
  end
@@ -1,7 +1,9 @@
1
1
  module GL_ARB_texture_swizzle
2
- GL_TEXTURE_SWIZZLE_R = 0x8E42
3
- GL_TEXTURE_SWIZZLE_G = 0x8E43
4
- GL_TEXTURE_SWIZZLE_B = 0x8E44
5
- GL_TEXTURE_SWIZZLE_A = 0x8E45
6
- GL_TEXTURE_SWIZZLE_RGBA = 0x8E46
2
+ module Constants
3
+ NTEXTURE_SWIZZLE_R = 0x8E42
4
+ NTEXTURE_SWIZZLE_G = 0x8E43
5
+ NTEXTURE_SWIZZLE_B = 0x8E44
6
+ NTEXTURE_SWIZZLE_A = 0x8E45
7
+ NTEXTURE_SWIZZLE_RGBA = 0x8E46
8
+ end
7
9
  end
@@ -1,11 +1,17 @@
1
1
  module GL_ARB_texture_view
2
- GL_TEXTURE_VIEW_MIN_LEVEL = 0x82DB
3
- GL_TEXTURE_VIEW_NUM_LEVELS = 0x82DC
4
- GL_TEXTURE_VIEW_MIN_LAYER = 0x82DD
5
- GL_TEXTURE_VIEW_NUM_LAYERS = 0x82DE
6
- GL_TEXTURE_IMMUTABLE_LEVELS = 0x82DF
2
+ module Constants
3
+ NTEXTURE_VIEW_MIN_LEVEL = 0x82DB
4
+ NTEXTURE_VIEW_NUM_LEVELS = 0x82DC
5
+ NTEXTURE_VIEW_MIN_LAYER = 0x82DD
6
+ NTEXTURE_VIEW_NUM_LAYERS = 0x82DE
7
+ NTEXTURE_IMMUTABLE_LEVELS = 0x82DF
8
+ end
7
9
 
8
- @functions = {
9
- glTextureView: [ :void, :GLuint, :GLenum, :GLuint, :GLenum, :GLuint, :GLuint, :GLuint, :GLuint ].freeze,
10
- }.freeze
10
+ module Functions
11
+ def glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers) end
12
+
13
+ Parameters = {
14
+ glTextureView: [ :void, :GLuint, :GLenum, :GLuint, :GLenum, :GLuint, :GLuint, :GLuint, :GLuint ].freeze,
15
+ }.freeze
16
+ end
11
17
  end
@@ -1,10 +1,18 @@
1
1
  module GL_ARB_timer_query
2
- GL_TIME_ELAPSED = 0x88BF
3
- GL_TIMESTAMP = 0x8E28
2
+ module Constants
3
+ NTIME_ELAPSED = 0x88BF
4
+ NTIMESTAMP = 0x8E28
5
+ end
4
6
 
5
- @functions = {
6
- glQueryCounter: [ :void, :GLuint, :GLenum ].freeze,
7
- glGetQueryObjecti64v: [ :void, :GLuint, :GLenum, :pointer ].freeze,
8
- glGetQueryObjectui64v: [ :void, :GLuint, :GLenum, :pointer ].freeze,
9
- }.freeze
7
+ module Functions
8
+ def glQueryCounter(id, target) end
9
+ def glGetQueryObjecti64v(id, pname, params) end
10
+ def glGetQueryObjectui64v(id, pname, params) end
11
+
12
+ Parameters = {
13
+ glQueryCounter: [ :void, :GLuint, :GLenum ].freeze,
14
+ glGetQueryObjecti64v: [ :void, :GLuint, :GLenum, :pointer ].freeze,
15
+ glGetQueryObjectui64v: [ :void, :GLuint, :GLenum, :pointer ].freeze,
16
+ }.freeze
17
+ end
10
18
  end
@@ -1,16 +1,28 @@
1
1
  module GL_ARB_transform_feedback2
2
- GL_TRANSFORM_FEEDBACK = 0x8E22
3
- GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23
4
- GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24
5
- GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25
2
+ module Constants
3
+ NTRANSFORM_FEEDBACK = 0x8E22
4
+ NTRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23
5
+ NTRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24
6
+ NTRANSFORM_FEEDBACK_BINDING = 0x8E25
7
+ end
6
8
 
7
- @functions = {
8
- glBindTransformFeedback: [ :void, :GLenum, :GLuint ].freeze,
9
- glDeleteTransformFeedbacks: [ :void, :GLsizei, :pointer ].freeze,
10
- glGenTransformFeedbacks: [ :void, :GLsizei, :pointer ].freeze,
11
- glIsTransformFeedback: [ :GLboolean, :GLuint ].freeze,
12
- glPauseTransformFeedback: [ :void ].freeze,
13
- glResumeTransformFeedback: [ :void ].freeze,
14
- glDrawTransformFeedback: [ :void, :GLenum, :GLuint ].freeze,
15
- }.freeze
9
+ module Functions
10
+ def glBindTransformFeedback(target, id) end
11
+ def glDeleteTransformFeedbacks(n, ids) end
12
+ def glGenTransformFeedbacks(n, ids) end
13
+ def glIsTransformFeedback(id) end
14
+ def glPauseTransformFeedback() end
15
+ def glResumeTransformFeedback() end
16
+ def glDrawTransformFeedback(mode, id) end
17
+
18
+ Parameters = {
19
+ glBindTransformFeedback: [ :void, :GLenum, :GLuint ].freeze,
20
+ glDeleteTransformFeedbacks: [ :void, :GLsizei, :pointer ].freeze,
21
+ glGenTransformFeedbacks: [ :void, :GLsizei, :pointer ].freeze,
22
+ glIsTransformFeedback: [ :GLboolean, :GLuint ].freeze,
23
+ glPauseTransformFeedback: [ :void ].freeze,
24
+ glResumeTransformFeedback: [ :void ].freeze,
25
+ glDrawTransformFeedback: [ :void, :GLenum, :GLuint ].freeze,
26
+ }.freeze
27
+ end
16
28
  end
@@ -1,11 +1,20 @@
1
1
  module GL_ARB_transform_feedback3
2
- GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70
3
- GL_MAX_VERTEX_STREAMS = 0x8E71
2
+ module Constants
3
+ NMAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70
4
+ NMAX_VERTEX_STREAMS = 0x8E71
5
+ end
4
6
 
5
- @functions = {
6
- glDrawTransformFeedbackStream: [ :void, :GLenum, :GLuint, :GLuint ].freeze,
7
- glBeginQueryIndexed: [ :void, :GLenum, :GLuint, :GLuint ].freeze,
8
- glEndQueryIndexed: [ :void, :GLenum, :GLuint ].freeze,
9
- glGetQueryIndexediv: [ :void, :GLenum, :GLuint, :GLenum, :pointer ].freeze,
10
- }.freeze
7
+ module Functions
8
+ def glDrawTransformFeedbackStream(mode, id, stream) end
9
+ def glBeginQueryIndexed(target, index, id) end
10
+ def glEndQueryIndexed(target, index) end
11
+ def glGetQueryIndexediv(target, index, pname, params) end
12
+
13
+ Parameters = {
14
+ glDrawTransformFeedbackStream: [ :void, :GLenum, :GLuint, :GLuint ].freeze,
15
+ glBeginQueryIndexed: [ :void, :GLenum, :GLuint, :GLuint ].freeze,
16
+ glEndQueryIndexed: [ :void, :GLenum, :GLuint ].freeze,
17
+ glGetQueryIndexediv: [ :void, :GLenum, :GLuint, :GLenum, :pointer ].freeze,
18
+ }.freeze
19
+ end
11
20
  end
@@ -1,6 +1,11 @@
1
1
  module GL_ARB_transform_feedback_instanced
2
- @functions = {
3
- glDrawTransformFeedbackInstanced: [ :void, :GLenum, :GLuint, :GLsizei ].freeze,
4
- glDrawTransformFeedbackStreamInstanced: [ :void, :GLenum, :GLuint, :GLuint, :GLsizei ].freeze,
5
- }.freeze
2
+ module Functions
3
+ def glDrawTransformFeedbackInstanced(mode, id, instancecount) end
4
+ def glDrawTransformFeedbackStreamInstanced(mode, id, stream, instancecount) end
5
+
6
+ Parameters = {
7
+ glDrawTransformFeedbackInstanced: [ :void, :GLenum, :GLuint, :GLsizei ].freeze,
8
+ glDrawTransformFeedbackStreamInstanced: [ :void, :GLenum, :GLuint, :GLuint, :GLsizei ].freeze,
9
+ }.freeze
10
+ end
6
11
  end
@@ -1,4 +1,6 @@
1
1
  module GL_ARB_transform_feedback_overflow_query
2
- GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB = 0x82EC
3
- GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB = 0x82ED
2
+ module Constants
3
+ NTRANSFORM_FEEDBACK_OVERFLOW_ARB = 0x82EC
4
+ NTRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB = 0x82ED
5
+ end
4
6
  end
@@ -1,13 +1,22 @@
1
1
  module GL_ARB_transpose_matrix
2
- GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3
3
- GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4
4
- GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5
5
- GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6
2
+ module Constants
3
+ NTRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3
4
+ NTRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4
5
+ NTRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5
6
+ NTRANSPOSE_COLOR_MATRIX_ARB = 0x84E6
7
+ end
6
8
 
7
- @functions = {
8
- glLoadTransposeMatrixfARB: [ :void, :pointer ].freeze,
9
- glLoadTransposeMatrixdARB: [ :void, :pointer ].freeze,
10
- glMultTransposeMatrixfARB: [ :void, :pointer ].freeze,
11
- glMultTransposeMatrixdARB: [ :void, :pointer ].freeze,
12
- }.freeze
9
+ module Functions
10
+ def glLoadTransposeMatrixfARB(m) end
11
+ def glLoadTransposeMatrixdARB(m) end
12
+ def glMultTransposeMatrixfARB(m) end
13
+ def glMultTransposeMatrixdARB(m) end
14
+
15
+ Parameters = {
16
+ glLoadTransposeMatrixfARB: [ :void, :pointer ].freeze,
17
+ glLoadTransposeMatrixdARB: [ :void, :pointer ].freeze,
18
+ glMultTransposeMatrixfARB: [ :void, :pointer ].freeze,
19
+ glMultTransposeMatrixdARB: [ :void, :pointer ].freeze,
20
+ }.freeze
21
+ end
13
22
  end
@@ -1,48 +1,63 @@
1
1
  module GL_ARB_uniform_buffer_object
2
- GL_UNIFORM_BUFFER = 0x8A11
3
- GL_UNIFORM_BUFFER_BINDING = 0x8A28
4
- GL_UNIFORM_BUFFER_START = 0x8A29
5
- GL_UNIFORM_BUFFER_SIZE = 0x8A2A
6
- GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B
7
- GL_MAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C
8
- GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D
9
- GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E
10
- GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F
11
- GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30
12
- GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31
13
- GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32
14
- GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33
15
- GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34
16
- GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35
17
- GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36
18
- GL_UNIFORM_TYPE = 0x8A37
19
- GL_UNIFORM_SIZE = 0x8A38
20
- GL_UNIFORM_NAME_LENGTH = 0x8A39
21
- GL_UNIFORM_BLOCK_INDEX = 0x8A3A
22
- GL_UNIFORM_OFFSET = 0x8A3B
23
- GL_UNIFORM_ARRAY_STRIDE = 0x8A3C
24
- GL_UNIFORM_MATRIX_STRIDE = 0x8A3D
25
- GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E
26
- GL_UNIFORM_BLOCK_BINDING = 0x8A3F
27
- GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40
28
- GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41
29
- GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42
30
- GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43
31
- GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44
32
- GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45
33
- GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46
34
- GL_INVALID_INDEX = 0xFFFFFFFF
2
+ module Constants
3
+ NUNIFORM_BUFFER = 0x8A11
4
+ NUNIFORM_BUFFER_BINDING = 0x8A28
5
+ NUNIFORM_BUFFER_START = 0x8A29
6
+ NUNIFORM_BUFFER_SIZE = 0x8A2A
7
+ NMAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B
8
+ NMAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C
9
+ NMAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D
10
+ NMAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E
11
+ NMAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F
12
+ NMAX_UNIFORM_BLOCK_SIZE = 0x8A30
13
+ NMAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31
14
+ NMAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32
15
+ NMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33
16
+ NUNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34
17
+ NACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35
18
+ NACTIVE_UNIFORM_BLOCKS = 0x8A36
19
+ NUNIFORM_TYPE = 0x8A37
20
+ NUNIFORM_SIZE = 0x8A38
21
+ NUNIFORM_NAME_LENGTH = 0x8A39
22
+ NUNIFORM_BLOCK_INDEX = 0x8A3A
23
+ NUNIFORM_OFFSET = 0x8A3B
24
+ NUNIFORM_ARRAY_STRIDE = 0x8A3C
25
+ NUNIFORM_MATRIX_STRIDE = 0x8A3D
26
+ NUNIFORM_IS_ROW_MAJOR = 0x8A3E
27
+ NUNIFORM_BLOCK_BINDING = 0x8A3F
28
+ NUNIFORM_BLOCK_DATA_SIZE = 0x8A40
29
+ NUNIFORM_BLOCK_NAME_LENGTH = 0x8A41
30
+ NUNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42
31
+ NUNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43
32
+ NUNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44
33
+ NUNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45
34
+ NUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46
35
+ NINVALID_INDEX = 0xFFFFFFFF
36
+ end
35
37
 
36
- @functions = {
37
- glGetUniformIndices: [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
38
- glGetActiveUniformsiv: [ :void, :GLuint, :GLsizei, :pointer, :GLenum, :pointer ].freeze,
39
- glGetActiveUniformName: [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
40
- glGetUniformBlockIndex: [ :GLuint, :GLuint, :pointer ].freeze,
41
- glGetActiveUniformBlockiv: [ :void, :GLuint, :GLuint, :GLenum, :pointer ].freeze,
42
- glGetActiveUniformBlockName: [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
43
- glUniformBlockBinding: [ :void, :GLuint, :GLuint, :GLuint ].freeze,
44
- glBindBufferRange: [ :void, :GLenum, :GLuint, :GLuint, :GLintptr, :GLsizeiptr ].freeze,
45
- glBindBufferBase: [ :void, :GLenum, :GLuint, :GLuint ].freeze,
46
- glGetIntegeri_v: [ :void, :GLenum, :GLuint, :pointer ].freeze,
47
- }.freeze
38
+ module Functions
39
+ def glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices) end
40
+ def glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params) end
41
+ def glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName) end
42
+ def glGetUniformBlockIndex(program, uniformBlockName) end
43
+ def glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params) end
44
+ def glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName) end
45
+ def glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) end
46
+ def glBindBufferRange(target, index, buffer, offset, size) end
47
+ def glBindBufferBase(target, index, buffer) end
48
+ def glGetIntegeri_v(target, index, data) end
49
+
50
+ Parameters = {
51
+ glGetUniformIndices: [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
52
+ glGetActiveUniformsiv: [ :void, :GLuint, :GLsizei, :pointer, :GLenum, :pointer ].freeze,
53
+ glGetActiveUniformName: [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
54
+ glGetUniformBlockIndex: [ :GLuint, :GLuint, :pointer ].freeze,
55
+ glGetActiveUniformBlockiv: [ :void, :GLuint, :GLuint, :GLenum, :pointer ].freeze,
56
+ glGetActiveUniformBlockName: [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
57
+ glUniformBlockBinding: [ :void, :GLuint, :GLuint, :GLuint ].freeze,
58
+ glBindBufferRange: [ :void, :GLenum, :GLuint, :GLuint, :GLintptr, :GLsizeiptr ].freeze,
59
+ glBindBufferBase: [ :void, :GLenum, :GLuint, :GLuint ].freeze,
60
+ glGetIntegeri_v: [ :void, :GLenum, :GLuint, :pointer ].freeze,
61
+ }.freeze
62
+ end
48
63
  end
@@ -1,3 +1,5 @@
1
1
  module GL_ARB_vertex_array_bgra
2
- GL_BGRA = 0x80E1
2
+ module Constants
3
+ NBGRA = 0x80E1
4
+ end
3
5
  end
@@ -1,10 +1,19 @@
1
1
  module GL_ARB_vertex_array_object
2
- GL_VERTEX_ARRAY_BINDING = 0x85B5
2
+ module Constants
3
+ NVERTEX_ARRAY_BINDING = 0x85B5
4
+ end
3
5
 
4
- @functions = {
5
- glBindVertexArray: [ :void, :GLuint ].freeze,
6
- glDeleteVertexArrays: [ :void, :GLsizei, :pointer ].freeze,
7
- glGenVertexArrays: [ :void, :GLsizei, :pointer ].freeze,
8
- glIsVertexArray: [ :GLboolean, :GLuint ].freeze,
9
- }.freeze
6
+ module Functions
7
+ def glBindVertexArray(array) end
8
+ def glDeleteVertexArrays(n, arrays) end
9
+ def glGenVertexArrays(n, arrays) end
10
+ def glIsVertexArray(array) end
11
+
12
+ Parameters = {
13
+ glBindVertexArray: [ :void, :GLuint ].freeze,
14
+ glDeleteVertexArrays: [ :void, :GLsizei, :pointer ].freeze,
15
+ glGenVertexArrays: [ :void, :GLsizei, :pointer ].freeze,
16
+ glIsVertexArray: [ :GLboolean, :GLuint ].freeze,
17
+ }.freeze
18
+ end
10
19
  end
@@ -1,28 +1,43 @@
1
1
  module GL_ARB_vertex_attrib_64bit
2
- GL_RGB32I = 0x8D83
3
- GL_DOUBLE_VEC2 = 0x8FFC
4
- GL_DOUBLE_VEC3 = 0x8FFD
5
- GL_DOUBLE_VEC4 = 0x8FFE
6
- GL_DOUBLE_MAT2 = 0x8F46
7
- GL_DOUBLE_MAT3 = 0x8F47
8
- GL_DOUBLE_MAT4 = 0x8F48
9
- GL_DOUBLE_MAT2x3 = 0x8F49
10
- GL_DOUBLE_MAT2x4 = 0x8F4A
11
- GL_DOUBLE_MAT3x2 = 0x8F4B
12
- GL_DOUBLE_MAT3x4 = 0x8F4C
13
- GL_DOUBLE_MAT4x2 = 0x8F4D
14
- GL_DOUBLE_MAT4x3 = 0x8F4E
2
+ module Constants
3
+ NRGB32I = 0x8D83
4
+ NDOUBLE_VEC2 = 0x8FFC
5
+ NDOUBLE_VEC3 = 0x8FFD
6
+ NDOUBLE_VEC4 = 0x8FFE
7
+ NDOUBLE_MAT2 = 0x8F46
8
+ NDOUBLE_MAT3 = 0x8F47
9
+ NDOUBLE_MAT4 = 0x8F48
10
+ NDOUBLE_MAT2x3 = 0x8F49
11
+ NDOUBLE_MAT2x4 = 0x8F4A
12
+ NDOUBLE_MAT3x2 = 0x8F4B
13
+ NDOUBLE_MAT3x4 = 0x8F4C
14
+ NDOUBLE_MAT4x2 = 0x8F4D
15
+ NDOUBLE_MAT4x3 = 0x8F4E
16
+ end
15
17
 
16
- @functions = {
17
- glVertexAttribL1d: [ :void, :GLuint, :GLdouble ].freeze,
18
- glVertexAttribL2d: [ :void, :GLuint, :GLdouble, :GLdouble ].freeze,
19
- glVertexAttribL3d: [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble ].freeze,
20
- glVertexAttribL4d: [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble, :GLdouble ].freeze,
21
- glVertexAttribL1dv: [ :void, :GLuint, :pointer ].freeze,
22
- glVertexAttribL2dv: [ :void, :GLuint, :pointer ].freeze,
23
- glVertexAttribL3dv: [ :void, :GLuint, :pointer ].freeze,
24
- glVertexAttribL4dv: [ :void, :GLuint, :pointer ].freeze,
25
- glVertexAttribLPointer: [ :void, :GLuint, :GLint, :GLenum, :GLsizei, :pointer ].freeze,
26
- glGetVertexAttribLdv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
27
- }.freeze
18
+ module Functions
19
+ def glVertexAttribL1d(index, x) end
20
+ def glVertexAttribL2d(index, x, y) end
21
+ def glVertexAttribL3d(index, x, y, z) end
22
+ def glVertexAttribL4d(index, x, y, z, w) end
23
+ def glVertexAttribL1dv(index, v) end
24
+ def glVertexAttribL2dv(index, v) end
25
+ def glVertexAttribL3dv(index, v) end
26
+ def glVertexAttribL4dv(index, v) end
27
+ def glVertexAttribLPointer(index, size, type, stride, pointer) end
28
+ def glGetVertexAttribLdv(index, pname, params) end
29
+
30
+ Parameters = {
31
+ glVertexAttribL1d: [ :void, :GLuint, :GLdouble ].freeze,
32
+ glVertexAttribL2d: [ :void, :GLuint, :GLdouble, :GLdouble ].freeze,
33
+ glVertexAttribL3d: [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble ].freeze,
34
+ glVertexAttribL4d: [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble, :GLdouble ].freeze,
35
+ glVertexAttribL1dv: [ :void, :GLuint, :pointer ].freeze,
36
+ glVertexAttribL2dv: [ :void, :GLuint, :pointer ].freeze,
37
+ glVertexAttribL3dv: [ :void, :GLuint, :pointer ].freeze,
38
+ glVertexAttribL4dv: [ :void, :GLuint, :pointer ].freeze,
39
+ glVertexAttribLPointer: [ :void, :GLuint, :GLint, :GLenum, :GLsizei, :pointer ].freeze,
40
+ glGetVertexAttribLdv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
41
+ }.freeze
42
+ end
28
43
  end
@@ -1,18 +1,29 @@
1
1
  module GL_ARB_vertex_attrib_binding
2
- GL_VERTEX_ATTRIB_BINDING = 0x82D4
3
- GL_VERTEX_ATTRIB_RELATIVE_OFFSET = 0x82D5
4
- GL_VERTEX_BINDING_DIVISOR = 0x82D6
5
- GL_VERTEX_BINDING_OFFSET = 0x82D7
6
- GL_VERTEX_BINDING_STRIDE = 0x82D8
7
- GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET = 0x82D9
8
- GL_MAX_VERTEX_ATTRIB_BINDINGS = 0x82DA
2
+ module Constants
3
+ NVERTEX_ATTRIB_BINDING = 0x82D4
4
+ NVERTEX_ATTRIB_RELATIVE_OFFSET = 0x82D5
5
+ NVERTEX_BINDING_DIVISOR = 0x82D6
6
+ NVERTEX_BINDING_OFFSET = 0x82D7
7
+ NVERTEX_BINDING_STRIDE = 0x82D8
8
+ NMAX_VERTEX_ATTRIB_RELATIVE_OFFSET = 0x82D9
9
+ NMAX_VERTEX_ATTRIB_BINDINGS = 0x82DA
10
+ end
9
11
 
10
- @functions = {
11
- glBindVertexBuffer: [ :void, :GLuint, :GLuint, :GLintptr, :GLsizei ].freeze,
12
- glVertexAttribFormat: [ :void, :GLuint, :GLint, :GLenum, :GLboolean, :GLuint ].freeze,
13
- glVertexAttribIFormat: [ :void, :GLuint, :GLint, :GLenum, :GLuint ].freeze,
14
- glVertexAttribLFormat: [ :void, :GLuint, :GLint, :GLenum, :GLuint ].freeze,
15
- glVertexAttribBinding: [ :void, :GLuint, :GLuint ].freeze,
16
- glVertexBindingDivisor: [ :void, :GLuint, :GLuint ].freeze,
17
- }.freeze
12
+ module Functions
13
+ def glBindVertexBuffer(bindingindex, buffer, offset, stride) end
14
+ def glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset) end
15
+ def glVertexAttribIFormat(attribindex, size, type, relativeoffset) end
16
+ def glVertexAttribLFormat(attribindex, size, type, relativeoffset) end
17
+ def glVertexAttribBinding(attribindex, bindingindex) end
18
+ def glVertexBindingDivisor(bindingindex, divisor) end
19
+
20
+ Parameters = {
21
+ glBindVertexBuffer: [ :void, :GLuint, :GLuint, :GLintptr, :GLsizei ].freeze,
22
+ glVertexAttribFormat: [ :void, :GLuint, :GLint, :GLenum, :GLboolean, :GLuint ].freeze,
23
+ glVertexAttribIFormat: [ :void, :GLuint, :GLint, :GLenum, :GLuint ].freeze,
24
+ glVertexAttribLFormat: [ :void, :GLuint, :GLint, :GLenum, :GLuint ].freeze,
25
+ glVertexAttribBinding: [ :void, :GLuint, :GLuint ].freeze,
26
+ glVertexBindingDivisor: [ :void, :GLuint, :GLuint ].freeze,
27
+ }.freeze
28
+ end
18
29
  end