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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22d39cdf8d200e50a49eabf7b3bf260766bc8fa4b0e2cb14479e355d3ba88ba1
4
- data.tar.gz: d1cda6796a85781a8257df21716bb13a24745fdcf97bc9fd8d329f2cfff010a4
3
+ metadata.gz: 9d5744649a2aa81a5a35d46823f9d0f0eca79e8d8cbad7fefe46f978001fff82
4
+ data.tar.gz: 76e2f2d88dd1a5f477ff5ae0c751e9793651dd18331eedfc727aef5dcf2a6120
5
5
  SHA512:
6
- metadata.gz: 551f3eee5ad3cf3901451de15554e041c0c0f6d5c62d811284933c3c46fc3981756dcafbf0506bc05cb7b9f9215f7e21c3935a2e3bb0184861b0af831f7fd703
7
- data.tar.gz: 1535183d4e7dd5e0b7dd0e63e6ad5d654434aadd49b2fceb0c26139c7ee1a65266a953404d3563c8de3395423b519dadc9bf58de37b16344193bb59791432f2d
6
+ metadata.gz: a1c4554f4a5a40ed78c04e965c73571596f866f9c859ec3c883e4fa8f52f5fc695c849a7f638738f8646c207a026cb0edc6e53c5ead562fa410e4eb9cffd31fc
7
+ data.tar.gz: 3dbcae753536517c7eafee76d324344a946ddd6e8e0bc481d2a54d50ba5caecf58610e9a15589cb1ef103c96c6aad9a5bcbaf769cbd8f8d252d6c1c5d141fd65
@@ -1,4 +1,6 @@
1
1
  module GLX_3DFX_multisample
2
- GLX_SAMPLE_BUFFERS_3DFX = 0x8050
3
- GLX_SAMPLES_3DFX = 0x8051
2
+ module Constants
3
+ NSAMPLE_BUFFERS_3DFX = 0x8050
4
+ NSAMPLES_3DFX = 0x8051
5
+ end
4
6
  end
@@ -1,24 +1,38 @@
1
1
  module GLX_AMD_gpu_association
2
- GLX_GPU_VENDOR_AMD = 0x1F00
3
- GLX_GPU_RENDERER_STRING_AMD = 0x1F01
4
- GLX_GPU_OPENGL_VERSION_STRING_AMD = 0x1F02
5
- GLX_GPU_FASTEST_TARGET_GPUS_AMD = 0x21A2
6
- GLX_GPU_RAM_AMD = 0x21A3
7
- GLX_GPU_CLOCK_AMD = 0x21A4
8
- GLX_GPU_NUM_PIPES_AMD = 0x21A5
9
- GLX_GPU_NUM_SIMD_AMD = 0x21A6
10
- GLX_GPU_NUM_RB_AMD = 0x21A7
11
- GLX_GPU_NUM_SPI_AMD = 0x21A8
2
+ module Constants
3
+ NGPU_VENDOR_AMD = 0x1F00
4
+ NGPU_RENDERER_STRING_AMD = 0x1F01
5
+ NGPU_OPENGL_VERSION_STRING_AMD = 0x1F02
6
+ NGPU_FASTEST_TARGET_GPUS_AMD = 0x21A2
7
+ NGPU_RAM_AMD = 0x21A3
8
+ NGPU_CLOCK_AMD = 0x21A4
9
+ NGPU_NUM_PIPES_AMD = 0x21A5
10
+ NGPU_NUM_SIMD_AMD = 0x21A6
11
+ NGPU_NUM_RB_AMD = 0x21A7
12
+ NGPU_NUM_SPI_AMD = 0x21A8
13
+ end
12
14
 
13
- @functions = {
14
- glXGetGPUIDsAMD: [ :uint, :uint, :pointer ].freeze,
15
- glXGetGPUInfoAMD: [ :int, :uint, :int, :GLenum, :uint, :pointer ].freeze,
16
- glXGetContextGPUIDAMD: [ :uint, :GLXContext ].freeze,
17
- glXCreateAssociatedContextAMD: [ :GLXContext, :uint, :GLXContext ].freeze,
18
- glXCreateAssociatedContextAttribsAMD: [ :GLXContext, :uint, :GLXContext, :pointer ].freeze,
19
- glXDeleteAssociatedContextAMD: [ :Bool, :GLXContext ].freeze,
20
- glXMakeAssociatedContextCurrentAMD: [ :Bool, :GLXContext ].freeze,
21
- glXGetCurrentAssociatedContextAMD: [ :GLXContext ].freeze,
22
- glXBlitContextFramebufferAMD: [ :void, :GLXContext, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLbitfield, :GLenum ].freeze,
23
- }.freeze
15
+ module Functions
16
+ def glXGetGPUIDsAMD(maxCount, ids) end
17
+ def glXGetGPUInfoAMD(id, property, dataType, size, data) end
18
+ def glXGetContextGPUIDAMD(ctx) end
19
+ def glXCreateAssociatedContextAMD(id, share_list) end
20
+ def glXCreateAssociatedContextAttribsAMD(id, share_context, attribList) end
21
+ def glXDeleteAssociatedContextAMD(ctx) end
22
+ def glXMakeAssociatedContextCurrentAMD(ctx) end
23
+ def glXGetCurrentAssociatedContextAMD() end
24
+ def glXBlitContextFramebufferAMD(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) end
25
+
26
+ Parameters = {
27
+ glXGetGPUIDsAMD: [ :uint, :uint, :pointer ].freeze,
28
+ glXGetGPUInfoAMD: [ :int, :uint, :int, :GLenum, :uint, :pointer ].freeze,
29
+ glXGetContextGPUIDAMD: [ :uint, :GLXContext ].freeze,
30
+ glXCreateAssociatedContextAMD: [ :GLXContext, :uint, :GLXContext ].freeze,
31
+ glXCreateAssociatedContextAttribsAMD: [ :GLXContext, :uint, :GLXContext, :pointer ].freeze,
32
+ glXDeleteAssociatedContextAMD: [ :Bool, :GLXContext ].freeze,
33
+ glXMakeAssociatedContextCurrentAMD: [ :Bool, :GLXContext ].freeze,
34
+ glXGetCurrentAssociatedContextAMD: [ :GLXContext ].freeze,
35
+ glXBlitContextFramebufferAMD: [ :void, :GLXContext, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLbitfield, :GLenum ].freeze,
36
+ }.freeze
37
+ end
24
38
  end
@@ -1,5 +1,7 @@
1
1
  module GLX_ARB_context_flush_control
2
- GLX_CONTEXT_RELEASE_BEHAVIOR_ARB = 0x2097
3
- GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB = 0
4
- GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB = 0x2098
2
+ module Constants
3
+ NCONTEXT_RELEASE_BEHAVIOR_ARB = 0x2097
4
+ NCONTEXT_RELEASE_BEHAVIOR_NONE_ARB = 0
5
+ NCONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB = 0x2098
6
+ end
5
7
  end
@@ -1,11 +1,17 @@
1
1
  module GLX_ARB_create_context
2
- GLX_CONTEXT_DEBUG_BIT_ARB = 0x00000001
3
- GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB = 0x00000002
4
- GLX_CONTEXT_MAJOR_VERSION_ARB = 0x2091
5
- GLX_CONTEXT_MINOR_VERSION_ARB = 0x2092
6
- GLX_CONTEXT_FLAGS_ARB = 0x2094
2
+ module Constants
3
+ NCONTEXT_DEBUG_BIT_ARB = 0x00000001
4
+ NCONTEXT_FORWARD_COMPATIBLE_BIT_ARB = 0x00000002
5
+ NCONTEXT_MAJOR_VERSION_ARB = 0x2091
6
+ NCONTEXT_MINOR_VERSION_ARB = 0x2092
7
+ NCONTEXT_FLAGS_ARB = 0x2094
8
+ end
7
9
 
8
- @functions = {
9
- glXCreateContextAttribsARB: [ :GLXContext, :pointer, :GLXFBConfig, :GLXContext, :Bool, :pointer ].freeze,
10
- }.freeze
10
+ module Functions
11
+ def glXCreateContextAttribsARB(dpy, config, share_context, direct, attrib_list) end
12
+
13
+ Parameters = {
14
+ glXCreateContextAttribsARB: [ :GLXContext, :pointer, :GLXFBConfig, :GLXContext, :Bool, :pointer ].freeze,
15
+ }.freeze
16
+ end
11
17
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_ARB_create_context_no_error
2
- GLX_CONTEXT_OPENGL_NO_ERROR_ARB = 0x31B3
2
+ module Constants
3
+ NCONTEXT_OPENGL_NO_ERROR_ARB = 0x31B3
4
+ end
3
5
  end
@@ -1,5 +1,7 @@
1
1
  module GLX_ARB_create_context_profile
2
- GLX_CONTEXT_CORE_PROFILE_BIT_ARB = 0x00000001
3
- GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002
4
- GLX_CONTEXT_PROFILE_MASK_ARB = 0x9126
2
+ module Constants
3
+ NCONTEXT_CORE_PROFILE_BIT_ARB = 0x00000001
4
+ NCONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002
5
+ NCONTEXT_PROFILE_MASK_ARB = 0x9126
6
+ end
5
7
  end
@@ -1,6 +1,8 @@
1
1
  module GLX_ARB_create_context_robustness
2
- GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB = 0x00000004
3
- GLX_LOSE_CONTEXT_ON_RESET_ARB = 0x8252
4
- GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256
5
- GLX_NO_RESET_NOTIFICATION_ARB = 0x8261
2
+ module Constants
3
+ NCONTEXT_ROBUST_ACCESS_BIT_ARB = 0x00000004
4
+ NLOSE_CONTEXT_ON_RESET_ARB = 0x8252
5
+ NCONTEXT_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256
6
+ NNO_RESET_NOTIFICATION_ARB = 0x8261
7
+ end
6
8
  end
@@ -1,4 +1,6 @@
1
1
  module GLX_ARB_fbconfig_float
2
- GLX_RGBA_FLOAT_TYPE_ARB = 0x20B9
3
- GLX_RGBA_FLOAT_BIT_ARB = 0x00000004
2
+ module Constants
3
+ NRGBA_FLOAT_TYPE_ARB = 0x20B9
4
+ NRGBA_FLOAT_BIT_ARB = 0x00000004
5
+ end
4
6
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_ARB_framebuffer_sRGB
2
- GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB = 0x20B2
2
+ module Constants
3
+ NFRAMEBUFFER_SRGB_CAPABLE_ARB = 0x20B2
4
+ end
3
5
  end
@@ -1,5 +1,9 @@
1
1
  module GLX_ARB_get_proc_address
2
- @functions = {
3
- glXGetProcAddressARB: [ :__GLXextFuncPtr, :pointer ].freeze,
4
- }.freeze
2
+ module Functions
3
+ def glXGetProcAddressARB(procName) end
4
+
5
+ Parameters = {
6
+ glXGetProcAddressARB: [ :__GLXextFuncPtr, :pointer ].freeze,
7
+ }.freeze
8
+ end
5
9
  end
@@ -1,4 +1,6 @@
1
1
  module GLX_ARB_multisample
2
- GLX_SAMPLE_BUFFERS_ARB = 100000
3
- GLX_SAMPLES_ARB = 100001
2
+ module Constants
3
+ NSAMPLE_BUFFERS_ARB = 100000
4
+ NSAMPLES_ARB = 100001
5
+ end
4
6
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_ARB_robustness_application_isolation
2
- GLX_CONTEXT_RESET_ISOLATION_BIT_ARB = 0x00000008
2
+ module Constants
3
+ NCONTEXT_RESET_ISOLATION_BIT_ARB = 0x00000008
4
+ end
3
5
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_ARB_robustness_share_group_isolation
2
- GLX_CONTEXT_RESET_ISOLATION_BIT_ARB = 0x00000008
2
+ module Constants
3
+ NCONTEXT_RESET_ISOLATION_BIT_ARB = 0x00000008
4
+ end
3
5
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_ARB_vertex_buffer_object
2
- GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB = 0x2095
2
+ module Constants
3
+ NCONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB = 0x2095
4
+ end
3
5
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_EXT_buffer_age
2
- GLX_BACK_BUFFER_AGE_EXT = 0x20F4
2
+ module Constants
3
+ NBACK_BUFFER_AGE_EXT = 0x20F4
4
+ end
3
5
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_EXT_create_context_es2_profile
2
- GLX_CONTEXT_ES2_PROFILE_BIT_EXT = 0x00000004
2
+ module Constants
3
+ NCONTEXT_ES2_PROFILE_BIT_EXT = 0x00000004
4
+ end
3
5
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_EXT_create_context_es_profile
2
- GLX_CONTEXT_ES_PROFILE_BIT_EXT = 0x00000004
2
+ module Constants
3
+ NCONTEXT_ES_PROFILE_BIT_EXT = 0x00000004
4
+ end
3
5
  end
@@ -1,4 +1,6 @@
1
1
  module GLX_EXT_fbconfig_packed_float
2
- GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT = 0x20B1
3
- GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT = 0x00000008
2
+ module Constants
3
+ NRGBA_UNSIGNED_FLOAT_TYPE_EXT = 0x20B1
4
+ NRGBA_UNSIGNED_FLOAT_BIT_EXT = 0x00000008
5
+ end
4
6
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_EXT_framebuffer_sRGB
2
- GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x20B2
2
+ module Constants
3
+ NFRAMEBUFFER_SRGB_CAPABLE_EXT = 0x20B2
4
+ end
3
5
  end
@@ -1,13 +1,23 @@
1
1
  module GLX_EXT_import_context
2
- GLX_SHARE_CONTEXT_EXT = 0x800A
3
- GLX_VISUAL_ID_EXT = 0x800B
4
- GLX_SCREEN_EXT = 0x800C
2
+ module Constants
3
+ NSHARE_CONTEXT_EXT = 0x800A
4
+ NVISUAL_ID_EXT = 0x800B
5
+ NSCREEN_EXT = 0x800C
6
+ end
5
7
 
6
- @functions = {
7
- glXGetCurrentDisplayEXT: [ :pointer ].freeze,
8
- glXQueryContextInfoEXT: [ :int, :pointer, :GLXContext, :int, :pointer ].freeze,
9
- glXGetContextIDEXT: [ :GLXContextID, :GLXContext ].freeze,
10
- glXImportContextEXT: [ :GLXContext, :pointer, :GLXContextID ].freeze,
11
- glXFreeContextEXT: [ :void, :pointer, :GLXContext ].freeze,
12
- }.freeze
8
+ module Functions
9
+ def glXGetCurrentDisplayEXT() end
10
+ def glXQueryContextInfoEXT(dpy, context, attribute, value) end
11
+ def glXGetContextIDEXT(context) end
12
+ def glXImportContextEXT(dpy, contextID) end
13
+ def glXFreeContextEXT(dpy, context) end
14
+
15
+ Parameters = {
16
+ glXGetCurrentDisplayEXT: [ :pointer ].freeze,
17
+ glXQueryContextInfoEXT: [ :int, :pointer, :GLXContext, :int, :pointer ].freeze,
18
+ glXGetContextIDEXT: [ :GLXContextID, :GLXContext ].freeze,
19
+ glXImportContextEXT: [ :GLXContext, :pointer, :GLXContextID ].freeze,
20
+ glXFreeContextEXT: [ :void, :pointer, :GLXContext ].freeze,
21
+ }.freeze
22
+ end
13
23
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_EXT_libglvnd
2
- GLX_VENDOR_NAMES_EXT = 0x20F6
2
+ module Constants
3
+ NVENDOR_NAMES_EXT = 0x20F6
4
+ end
3
5
  end
@@ -1,5 +1,7 @@
1
1
  module GLX_EXT_stereo_tree
2
- GLX_STEREO_TREE_EXT = 0x20F5
3
- GLX_STEREO_NOTIFY_MASK_EXT = 0x00000001
4
- GLX_STEREO_NOTIFY_EXT = 0x00000000
2
+ module Constants
3
+ NSTEREO_TREE_EXT = 0x20F5
4
+ NSTEREO_NOTIFY_MASK_EXT = 0x00000001
5
+ NSTEREO_NOTIFY_EXT = 0x00000000
6
+ end
5
7
  end
@@ -1,8 +1,14 @@
1
1
  module GLX_EXT_swap_control
2
- GLX_SWAP_INTERVAL_EXT = 0x20F1
3
- GLX_MAX_SWAP_INTERVAL_EXT = 0x20F2
2
+ module Constants
3
+ NSWAP_INTERVAL_EXT = 0x20F1
4
+ NMAX_SWAP_INTERVAL_EXT = 0x20F2
5
+ end
4
6
 
5
- @functions = {
6
- glXSwapIntervalEXT: [ :void, :pointer, :GLXDrawable, :int ].freeze,
7
- }.freeze
7
+ module Functions
8
+ def glXSwapIntervalEXT(dpy, drawable, interval) end
9
+
10
+ Parameters = {
11
+ glXSwapIntervalEXT: [ :void, :pointer, :GLXDrawable, :int ].freeze,
12
+ }.freeze
13
+ end
8
14
  end
@@ -1,3 +1,5 @@
1
1
  module GLX_EXT_swap_control_tear
2
- GLX_LATE_SWAPS_TEAR_EXT = 0x20F3
2
+ module Constants
3
+ NLATE_SWAPS_TEAR_EXT = 0x20F3
4
+ end
3
5
  end
@@ -1,40 +1,47 @@
1
1
  module GLX_EXT_texture_from_pixmap
2
- GLX_TEXTURE_1D_BIT_EXT = 0x00000001
3
- GLX_TEXTURE_2D_BIT_EXT = 0x00000002
4
- GLX_TEXTURE_RECTANGLE_BIT_EXT = 0x00000004
5
- GLX_BIND_TO_TEXTURE_RGB_EXT = 0x20D0
6
- GLX_BIND_TO_TEXTURE_RGBA_EXT = 0x20D1
7
- GLX_BIND_TO_MIPMAP_TEXTURE_EXT = 0x20D2
8
- GLX_BIND_TO_TEXTURE_TARGETS_EXT = 0x20D3
9
- GLX_Y_INVERTED_EXT = 0x20D4
10
- GLX_TEXTURE_FORMAT_EXT = 0x20D5
11
- GLX_TEXTURE_TARGET_EXT = 0x20D6
12
- GLX_MIPMAP_TEXTURE_EXT = 0x20D7
13
- GLX_TEXTURE_FORMAT_NONE_EXT = 0x20D8
14
- GLX_TEXTURE_FORMAT_RGB_EXT = 0x20D9
15
- GLX_TEXTURE_FORMAT_RGBA_EXT = 0x20DA
16
- GLX_TEXTURE_1D_EXT = 0x20DB
17
- GLX_TEXTURE_2D_EXT = 0x20DC
18
- GLX_TEXTURE_RECTANGLE_EXT = 0x20DD
19
- GLX_FRONT_LEFT_EXT = 0x20DE
20
- GLX_FRONT_RIGHT_EXT = 0x20DF
21
- GLX_BACK_LEFT_EXT = 0x20E0
22
- GLX_BACK_RIGHT_EXT = 0x20E1
23
- GLX_FRONT_EXT = 0x20DE
24
- GLX_BACK_EXT = 0x20E0
25
- GLX_AUX0_EXT = 0x20E2
26
- GLX_AUX1_EXT = 0x20E3
27
- GLX_AUX2_EXT = 0x20E4
28
- GLX_AUX3_EXT = 0x20E5
29
- GLX_AUX4_EXT = 0x20E6
30
- GLX_AUX5_EXT = 0x20E7
31
- GLX_AUX6_EXT = 0x20E8
32
- GLX_AUX7_EXT = 0x20E9
33
- GLX_AUX8_EXT = 0x20EA
34
- GLX_AUX9_EXT = 0x20EB
2
+ module Constants
3
+ NTEXTURE_1D_BIT_EXT = 0x00000001
4
+ NTEXTURE_2D_BIT_EXT = 0x00000002
5
+ NTEXTURE_RECTANGLE_BIT_EXT = 0x00000004
6
+ NBIND_TO_TEXTURE_RGB_EXT = 0x20D0
7
+ NBIND_TO_TEXTURE_RGBA_EXT = 0x20D1
8
+ NBIND_TO_MIPMAP_TEXTURE_EXT = 0x20D2
9
+ NBIND_TO_TEXTURE_TARGETS_EXT = 0x20D3
10
+ NY_INVERTED_EXT = 0x20D4
11
+ NTEXTURE_FORMAT_EXT = 0x20D5
12
+ NTEXTURE_TARGET_EXT = 0x20D6
13
+ NMIPMAP_TEXTURE_EXT = 0x20D7
14
+ NTEXTURE_FORMAT_NONE_EXT = 0x20D8
15
+ NTEXTURE_FORMAT_RGB_EXT = 0x20D9
16
+ NTEXTURE_FORMAT_RGBA_EXT = 0x20DA
17
+ NTEXTURE_1D_EXT = 0x20DB
18
+ NTEXTURE_2D_EXT = 0x20DC
19
+ NTEXTURE_RECTANGLE_EXT = 0x20DD
20
+ NFRONT_LEFT_EXT = 0x20DE
21
+ NFRONT_RIGHT_EXT = 0x20DF
22
+ NBACK_LEFT_EXT = 0x20E0
23
+ NBACK_RIGHT_EXT = 0x20E1
24
+ NFRONT_EXT = 0x20DE
25
+ NBACK_EXT = 0x20E0
26
+ NAUX0_EXT = 0x20E2
27
+ NAUX1_EXT = 0x20E3
28
+ NAUX2_EXT = 0x20E4
29
+ NAUX3_EXT = 0x20E5
30
+ NAUX4_EXT = 0x20E6
31
+ NAUX5_EXT = 0x20E7
32
+ NAUX6_EXT = 0x20E8
33
+ NAUX7_EXT = 0x20E9
34
+ NAUX8_EXT = 0x20EA
35
+ NAUX9_EXT = 0x20EB
36
+ end
35
37
 
36
- @functions = {
37
- glXBindTexImageEXT: [ :void, :pointer, :GLXDrawable, :int, :pointer ].freeze,
38
- glXReleaseTexImageEXT: [ :void, :pointer, :GLXDrawable, :int ].freeze,
39
- }.freeze
38
+ module Functions
39
+ def glXBindTexImageEXT(dpy, drawable, buffer, attrib_list) end
40
+ def glXReleaseTexImageEXT(dpy, drawable, buffer) end
41
+
42
+ Parameters = {
43
+ glXBindTexImageEXT: [ :void, :pointer, :GLXDrawable, :int, :pointer ].freeze,
44
+ glXReleaseTexImageEXT: [ :void, :pointer, :GLXDrawable, :int ].freeze,
45
+ }.freeze
46
+ end
40
47
  end
@@ -1,18 +1,20 @@
1
1
  module GLX_EXT_visual_info
2
- GLX_X_VISUAL_TYPE_EXT = 0x22
3
- GLX_TRANSPARENT_TYPE_EXT = 0x23
4
- GLX_TRANSPARENT_INDEX_VALUE_EXT = 0x24
5
- GLX_TRANSPARENT_RED_VALUE_EXT = 0x25
6
- GLX_TRANSPARENT_GREEN_VALUE_EXT = 0x26
7
- GLX_TRANSPARENT_BLUE_VALUE_EXT = 0x27
8
- GLX_TRANSPARENT_ALPHA_VALUE_EXT = 0x28
9
- GLX_NONE_EXT = 0x8000
10
- GLX_TRUE_COLOR_EXT = 0x8002
11
- GLX_DIRECT_COLOR_EXT = 0x8003
12
- GLX_PSEUDO_COLOR_EXT = 0x8004
13
- GLX_STATIC_COLOR_EXT = 0x8005
14
- GLX_GRAY_SCALE_EXT = 0x8006
15
- GLX_STATIC_GRAY_EXT = 0x8007
16
- GLX_TRANSPARENT_RGB_EXT = 0x8008
17
- GLX_TRANSPARENT_INDEX_EXT = 0x8009
2
+ module Constants
3
+ NX_VISUAL_TYPE_EXT = 0x22
4
+ NTRANSPARENT_TYPE_EXT = 0x23
5
+ NTRANSPARENT_INDEX_VALUE_EXT = 0x24
6
+ NTRANSPARENT_RED_VALUE_EXT = 0x25
7
+ NTRANSPARENT_GREEN_VALUE_EXT = 0x26
8
+ NTRANSPARENT_BLUE_VALUE_EXT = 0x27
9
+ NTRANSPARENT_ALPHA_VALUE_EXT = 0x28
10
+ NNONE_EXT = 0x8000
11
+ NTRUE_COLOR_EXT = 0x8002
12
+ NDIRECT_COLOR_EXT = 0x8003
13
+ NPSEUDO_COLOR_EXT = 0x8004
14
+ NSTATIC_COLOR_EXT = 0x8005
15
+ NGRAY_SCALE_EXT = 0x8006
16
+ NSTATIC_GRAY_EXT = 0x8007
17
+ NTRANSPARENT_RGB_EXT = 0x8008
18
+ NTRANSPARENT_INDEX_EXT = 0x8009
19
+ end
18
20
  end
@@ -1,6 +1,8 @@
1
1
  module GLX_EXT_visual_rating
2
- GLX_VISUAL_CAVEAT_EXT = 0x20
3
- GLX_SLOW_VISUAL_EXT = 0x8001
4
- GLX_NON_CONFORMANT_VISUAL_EXT = 0x800D
5
- GLX_NONE_EXT = 0x8000
2
+ module Constants
3
+ NVISUAL_CAVEAT_EXT = 0x20
4
+ NSLOW_VISUAL_EXT = 0x8001
5
+ NNON_CONFORMANT_VISUAL_EXT = 0x800D
6
+ NNONE_EXT = 0x8000
7
+ end
6
8
  end
@@ -1,6 +1,8 @@
1
1
  module GLX_INTEL_swap_event
2
- GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK = 0x04000000
3
- GLX_EXCHANGE_COMPLETE_INTEL = 0x8180
4
- GLX_COPY_COMPLETE_INTEL = 0x8181
5
- GLX_FLIP_COMPLETE_INTEL = 0x8182
2
+ module Constants
3
+ NBUFFER_SWAP_COMPLETE_INTEL_MASK = 0x04000000
4
+ NEXCHANGE_COMPLETE_INTEL = 0x8180
5
+ NCOPY_COMPLETE_INTEL = 0x8181
6
+ NFLIP_COMPLETE_INTEL = 0x8182
7
+ end
6
8
  end
@@ -1,5 +1,9 @@
1
1
  module GLX_MESA_agp_offset
2
- @functions = {
3
- glXGetAGPOffsetMESA: [ :uint, :pointer ].freeze,
4
- }.freeze
2
+ module Functions
3
+ def glXGetAGPOffsetMESA(pointer) end
4
+
5
+ Parameters = {
6
+ glXGetAGPOffsetMESA: [ :uint, :pointer ].freeze,
7
+ }.freeze
8
+ end
5
9
  end
@@ -1,5 +1,9 @@
1
1
  module GLX_MESA_copy_sub_buffer
2
- @functions = {
3
- glXCopySubBufferMESA: [ :void, :pointer, :GLXDrawable, :int, :int, :int, :int ].freeze,
4
- }.freeze
2
+ module Functions
3
+ def glXCopySubBufferMESA(dpy, drawable, x, y, width, height) end
4
+
5
+ Parameters = {
6
+ glXCopySubBufferMESA: [ :void, :pointer, :GLXDrawable, :int, :int, :int, :int ].freeze,
7
+ }.freeze
8
+ end
5
9
  end
@@ -1,5 +1,9 @@
1
1
  module GLX_MESA_pixmap_colormap
2
- @functions = {
3
- glXCreateGLXPixmapMESA: [ :GLXPixmap, :pointer, :pointer, :Pixmap, :Colormap ].freeze,
4
- }.freeze
2
+ module Functions
3
+ def glXCreateGLXPixmapMESA(dpy, visual, pixmap, cmap) end
4
+
5
+ Parameters = {
6
+ glXCreateGLXPixmapMESA: [ :GLXPixmap, :pointer, :pointer, :Pixmap, :Colormap ].freeze,
7
+ }.freeze
8
+ end
5
9
  end
@@ -1,21 +1,30 @@
1
1
  module GLX_MESA_query_renderer
2
- GLX_RENDERER_VENDOR_ID_MESA = 0x8183
3
- GLX_RENDERER_DEVICE_ID_MESA = 0x8184
4
- GLX_RENDERER_VERSION_MESA = 0x8185
5
- GLX_RENDERER_ACCELERATED_MESA = 0x8186
6
- GLX_RENDERER_VIDEO_MEMORY_MESA = 0x8187
7
- GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA = 0x8188
8
- GLX_RENDERER_PREFERRED_PROFILE_MESA = 0x8189
9
- GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA = 0x818A
10
- GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA = 0x818B
11
- GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA = 0x818C
12
- GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA = 0x818D
13
- GLX_RENDERER_ID_MESA = 0x818E
2
+ module Constants
3
+ NRENDERER_VENDOR_ID_MESA = 0x8183
4
+ NRENDERER_DEVICE_ID_MESA = 0x8184
5
+ NRENDERER_VERSION_MESA = 0x8185
6
+ NRENDERER_ACCELERATED_MESA = 0x8186
7
+ NRENDERER_VIDEO_MEMORY_MESA = 0x8187
8
+ NRENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA = 0x8188
9
+ NRENDERER_PREFERRED_PROFILE_MESA = 0x8189
10
+ NRENDERER_OPENGL_CORE_PROFILE_VERSION_MESA = 0x818A
11
+ NRENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA = 0x818B
12
+ NRENDERER_OPENGL_ES_PROFILE_VERSION_MESA = 0x818C
13
+ NRENDERER_OPENGL_ES2_PROFILE_VERSION_MESA = 0x818D
14
+ NRENDERER_ID_MESA = 0x818E
15
+ end
14
16
 
15
- @functions = {
16
- glXQueryCurrentRendererIntegerMESA: [ :Bool, :int, :pointer ].freeze,
17
- glXQueryCurrentRendererStringMESA: [ :pointer, :int ].freeze,
18
- glXQueryRendererIntegerMESA: [ :Bool, :pointer, :int, :int, :int, :pointer ].freeze,
19
- glXQueryRendererStringMESA: [ :pointer, :pointer, :int, :int, :int ].freeze,
20
- }.freeze
17
+ module Functions
18
+ def glXQueryCurrentRendererIntegerMESA(attribute, value) end
19
+ def glXQueryCurrentRendererStringMESA(attribute) end
20
+ def glXQueryRendererIntegerMESA(dpy, screen, renderer, attribute, value) end
21
+ def glXQueryRendererStringMESA(dpy, screen, renderer, attribute) end
22
+
23
+ Parameters = {
24
+ glXQueryCurrentRendererIntegerMESA: [ :Bool, :int, :pointer ].freeze,
25
+ glXQueryCurrentRendererStringMESA: [ :pointer, :int ].freeze,
26
+ glXQueryRendererIntegerMESA: [ :Bool, :pointer, :int, :int, :int, :pointer ].freeze,
27
+ glXQueryRendererStringMESA: [ :pointer, :pointer, :int, :int, :int ].freeze,
28
+ }.freeze
29
+ end
21
30
  end
@@ -1,5 +1,9 @@
1
1
  module GLX_MESA_release_buffers
2
- @functions = {
3
- glXReleaseBuffersMESA: [ :Bool, :pointer, :GLXDrawable ].freeze,
4
- }.freeze
2
+ module Functions
3
+ def glXReleaseBuffersMESA(dpy, drawable) end
4
+
5
+ Parameters = {
6
+ glXReleaseBuffersMESA: [ :Bool, :pointer, :GLXDrawable ].freeze,
7
+ }.freeze
8
+ end
5
9
  end
@@ -1,8 +1,14 @@
1
1
  module GLX_MESA_set_3dfx_mode
2
- GLX_3DFX_WINDOW_MODE_MESA = 0x1
3
- GLX_3DFX_FULLSCREEN_MODE_MESA = 0x2
2
+ module Constants
3
+ N3DFX_WINDOW_MODE_MESA = 0x1
4
+ N3DFX_FULLSCREEN_MODE_MESA = 0x2
5
+ end
4
6
 
5
- @functions = {
6
- glXSet3DfxModeMESA: [ :Bool, :int ].freeze,
7
- }.freeze
7
+ module Functions
8
+ def glXSet3DfxModeMESA(mode) end
9
+
10
+ Parameters = {
11
+ glXSet3DfxModeMESA: [ :Bool, :int ].freeze,
12
+ }.freeze
13
+ end
8
14
  end