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,71 +1,78 @@
1
1
  module GL_ARB_shader_image_load_store
2
- GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001
3
- GL_ELEMENT_ARRAY_BARRIER_BIT = 0x00000002
4
- GL_UNIFORM_BARRIER_BIT = 0x00000004
5
- GL_TEXTURE_FETCH_BARRIER_BIT = 0x00000008
6
- GL_SHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020
7
- GL_COMMAND_BARRIER_BIT = 0x00000040
8
- GL_PIXEL_BUFFER_BARRIER_BIT = 0x00000080
9
- GL_TEXTURE_UPDATE_BARRIER_BIT = 0x00000100
10
- GL_BUFFER_UPDATE_BARRIER_BIT = 0x00000200
11
- GL_FRAMEBUFFER_BARRIER_BIT = 0x00000400
12
- GL_TRANSFORM_FEEDBACK_BARRIER_BIT = 0x00000800
13
- GL_ATOMIC_COUNTER_BARRIER_BIT = 0x00001000
14
- GL_ALL_BARRIER_BITS = 0xFFFFFFFF
15
- GL_MAX_IMAGE_UNITS = 0x8F38
16
- GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = 0x8F39
17
- GL_IMAGE_BINDING_NAME = 0x8F3A
18
- GL_IMAGE_BINDING_LEVEL = 0x8F3B
19
- GL_IMAGE_BINDING_LAYERED = 0x8F3C
20
- GL_IMAGE_BINDING_LAYER = 0x8F3D
21
- GL_IMAGE_BINDING_ACCESS = 0x8F3E
22
- GL_IMAGE_1D = 0x904C
23
- GL_IMAGE_2D = 0x904D
24
- GL_IMAGE_3D = 0x904E
25
- GL_IMAGE_2D_RECT = 0x904F
26
- GL_IMAGE_CUBE = 0x9050
27
- GL_IMAGE_BUFFER = 0x9051
28
- GL_IMAGE_1D_ARRAY = 0x9052
29
- GL_IMAGE_2D_ARRAY = 0x9053
30
- GL_IMAGE_CUBE_MAP_ARRAY = 0x9054
31
- GL_IMAGE_2D_MULTISAMPLE = 0x9055
32
- GL_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9056
33
- GL_INT_IMAGE_1D = 0x9057
34
- GL_INT_IMAGE_2D = 0x9058
35
- GL_INT_IMAGE_3D = 0x9059
36
- GL_INT_IMAGE_2D_RECT = 0x905A
37
- GL_INT_IMAGE_CUBE = 0x905B
38
- GL_INT_IMAGE_BUFFER = 0x905C
39
- GL_INT_IMAGE_1D_ARRAY = 0x905D
40
- GL_INT_IMAGE_2D_ARRAY = 0x905E
41
- GL_INT_IMAGE_CUBE_MAP_ARRAY = 0x905F
42
- GL_INT_IMAGE_2D_MULTISAMPLE = 0x9060
43
- GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9061
44
- GL_UNSIGNED_INT_IMAGE_1D = 0x9062
45
- GL_UNSIGNED_INT_IMAGE_2D = 0x9063
46
- GL_UNSIGNED_INT_IMAGE_3D = 0x9064
47
- GL_UNSIGNED_INT_IMAGE_2D_RECT = 0x9065
48
- GL_UNSIGNED_INT_IMAGE_CUBE = 0x9066
49
- GL_UNSIGNED_INT_IMAGE_BUFFER = 0x9067
50
- GL_UNSIGNED_INT_IMAGE_1D_ARRAY = 0x9068
51
- GL_UNSIGNED_INT_IMAGE_2D_ARRAY = 0x9069
52
- GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY = 0x906A
53
- GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE = 0x906B
54
- GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x906C
55
- GL_MAX_IMAGE_SAMPLES = 0x906D
56
- GL_IMAGE_BINDING_FORMAT = 0x906E
57
- GL_IMAGE_FORMAT_COMPATIBILITY_TYPE = 0x90C7
58
- GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE = 0x90C8
59
- GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS = 0x90C9
60
- GL_MAX_VERTEX_IMAGE_UNIFORMS = 0x90CA
61
- GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB
62
- GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC
63
- GL_MAX_GEOMETRY_IMAGE_UNIFORMS = 0x90CD
64
- GL_MAX_FRAGMENT_IMAGE_UNIFORMS = 0x90CE
65
- GL_MAX_COMBINED_IMAGE_UNIFORMS = 0x90CF
2
+ module Constants
3
+ NVERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001
4
+ NELEMENT_ARRAY_BARRIER_BIT = 0x00000002
5
+ NUNIFORM_BARRIER_BIT = 0x00000004
6
+ NTEXTURE_FETCH_BARRIER_BIT = 0x00000008
7
+ NSHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020
8
+ NCOMMAND_BARRIER_BIT = 0x00000040
9
+ NPIXEL_BUFFER_BARRIER_BIT = 0x00000080
10
+ NTEXTURE_UPDATE_BARRIER_BIT = 0x00000100
11
+ NBUFFER_UPDATE_BARRIER_BIT = 0x00000200
12
+ NFRAMEBUFFER_BARRIER_BIT = 0x00000400
13
+ NTRANSFORM_FEEDBACK_BARRIER_BIT = 0x00000800
14
+ NATOMIC_COUNTER_BARRIER_BIT = 0x00001000
15
+ NALL_BARRIER_BITS = 0xFFFFFFFF
16
+ NMAX_IMAGE_UNITS = 0x8F38
17
+ NMAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = 0x8F39
18
+ NIMAGE_BINDING_NAME = 0x8F3A
19
+ NIMAGE_BINDING_LEVEL = 0x8F3B
20
+ NIMAGE_BINDING_LAYERED = 0x8F3C
21
+ NIMAGE_BINDING_LAYER = 0x8F3D
22
+ NIMAGE_BINDING_ACCESS = 0x8F3E
23
+ NIMAGE_1D = 0x904C
24
+ NIMAGE_2D = 0x904D
25
+ NIMAGE_3D = 0x904E
26
+ NIMAGE_2D_RECT = 0x904F
27
+ NIMAGE_CUBE = 0x9050
28
+ NIMAGE_BUFFER = 0x9051
29
+ NIMAGE_1D_ARRAY = 0x9052
30
+ NIMAGE_2D_ARRAY = 0x9053
31
+ NIMAGE_CUBE_MAP_ARRAY = 0x9054
32
+ NIMAGE_2D_MULTISAMPLE = 0x9055
33
+ NIMAGE_2D_MULTISAMPLE_ARRAY = 0x9056
34
+ NINT_IMAGE_1D = 0x9057
35
+ NINT_IMAGE_2D = 0x9058
36
+ NINT_IMAGE_3D = 0x9059
37
+ NINT_IMAGE_2D_RECT = 0x905A
38
+ NINT_IMAGE_CUBE = 0x905B
39
+ NINT_IMAGE_BUFFER = 0x905C
40
+ NINT_IMAGE_1D_ARRAY = 0x905D
41
+ NINT_IMAGE_2D_ARRAY = 0x905E
42
+ NINT_IMAGE_CUBE_MAP_ARRAY = 0x905F
43
+ NINT_IMAGE_2D_MULTISAMPLE = 0x9060
44
+ NINT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9061
45
+ NUNSIGNED_INT_IMAGE_1D = 0x9062
46
+ NUNSIGNED_INT_IMAGE_2D = 0x9063
47
+ NUNSIGNED_INT_IMAGE_3D = 0x9064
48
+ NUNSIGNED_INT_IMAGE_2D_RECT = 0x9065
49
+ NUNSIGNED_INT_IMAGE_CUBE = 0x9066
50
+ NUNSIGNED_INT_IMAGE_BUFFER = 0x9067
51
+ NUNSIGNED_INT_IMAGE_1D_ARRAY = 0x9068
52
+ NUNSIGNED_INT_IMAGE_2D_ARRAY = 0x9069
53
+ NUNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY = 0x906A
54
+ NUNSIGNED_INT_IMAGE_2D_MULTISAMPLE = 0x906B
55
+ NUNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x906C
56
+ NMAX_IMAGE_SAMPLES = 0x906D
57
+ NIMAGE_BINDING_FORMAT = 0x906E
58
+ NIMAGE_FORMAT_COMPATIBILITY_TYPE = 0x90C7
59
+ NIMAGE_FORMAT_COMPATIBILITY_BY_SIZE = 0x90C8
60
+ NIMAGE_FORMAT_COMPATIBILITY_BY_CLASS = 0x90C9
61
+ NMAX_VERTEX_IMAGE_UNIFORMS = 0x90CA
62
+ NMAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB
63
+ NMAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC
64
+ NMAX_GEOMETRY_IMAGE_UNIFORMS = 0x90CD
65
+ NMAX_FRAGMENT_IMAGE_UNIFORMS = 0x90CE
66
+ NMAX_COMBINED_IMAGE_UNIFORMS = 0x90CF
67
+ end
66
68
 
67
- @functions = {
68
- glBindImageTexture: [ :void, :GLuint, :GLuint, :GLint, :GLboolean, :GLint, :GLenum, :GLenum ].freeze,
69
- glMemoryBarrier: [ :void, :GLbitfield ].freeze,
70
- }.freeze
69
+ module Functions
70
+ def glBindImageTexture(unit, texture, level, layered, layer, access, format) end
71
+ def glMemoryBarrier(barriers) end
72
+
73
+ Parameters = {
74
+ glBindImageTexture: [ :void, :GLuint, :GLuint, :GLint, :GLboolean, :GLint, :GLenum, :GLenum ].freeze,
75
+ glMemoryBarrier: [ :void, :GLbitfield ].freeze,
76
+ }.freeze
77
+ end
71
78
  end
@@ -1,78 +1,122 @@
1
1
  module GL_ARB_shader_objects
2
- GL_PROGRAM_OBJECT_ARB = 0x8B40
3
- GL_SHADER_OBJECT_ARB = 0x8B48
4
- GL_OBJECT_TYPE_ARB = 0x8B4E
5
- GL_OBJECT_SUBTYPE_ARB = 0x8B4F
6
- GL_FLOAT_VEC2_ARB = 0x8B50
7
- GL_FLOAT_VEC3_ARB = 0x8B51
8
- GL_FLOAT_VEC4_ARB = 0x8B52
9
- GL_INT_VEC2_ARB = 0x8B53
10
- GL_INT_VEC3_ARB = 0x8B54
11
- GL_INT_VEC4_ARB = 0x8B55
12
- GL_BOOL_ARB = 0x8B56
13
- GL_BOOL_VEC2_ARB = 0x8B57
14
- GL_BOOL_VEC3_ARB = 0x8B58
15
- GL_BOOL_VEC4_ARB = 0x8B59
16
- GL_FLOAT_MAT2_ARB = 0x8B5A
17
- GL_FLOAT_MAT3_ARB = 0x8B5B
18
- GL_FLOAT_MAT4_ARB = 0x8B5C
19
- GL_SAMPLER_1D_ARB = 0x8B5D
20
- GL_SAMPLER_2D_ARB = 0x8B5E
21
- GL_SAMPLER_3D_ARB = 0x8B5F
22
- GL_SAMPLER_CUBE_ARB = 0x8B60
23
- GL_SAMPLER_1D_SHADOW_ARB = 0x8B61
24
- GL_SAMPLER_2D_SHADOW_ARB = 0x8B62
25
- GL_SAMPLER_2D_RECT_ARB = 0x8B63
26
- GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64
27
- GL_OBJECT_DELETE_STATUS_ARB = 0x8B80
28
- GL_OBJECT_COMPILE_STATUS_ARB = 0x8B81
29
- GL_OBJECT_LINK_STATUS_ARB = 0x8B82
30
- GL_OBJECT_VALIDATE_STATUS_ARB = 0x8B83
31
- GL_OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84
32
- GL_OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85
33
- GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86
34
- GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87
35
- GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88
2
+ module Constants
3
+ NPROGRAM_OBJECT_ARB = 0x8B40
4
+ NSHADER_OBJECT_ARB = 0x8B48
5
+ NOBJECT_TYPE_ARB = 0x8B4E
6
+ NOBJECT_SUBTYPE_ARB = 0x8B4F
7
+ NFLOAT_VEC2_ARB = 0x8B50
8
+ NFLOAT_VEC3_ARB = 0x8B51
9
+ NFLOAT_VEC4_ARB = 0x8B52
10
+ NINT_VEC2_ARB = 0x8B53
11
+ NINT_VEC3_ARB = 0x8B54
12
+ NINT_VEC4_ARB = 0x8B55
13
+ NBOOL_ARB = 0x8B56
14
+ NBOOL_VEC2_ARB = 0x8B57
15
+ NBOOL_VEC3_ARB = 0x8B58
16
+ NBOOL_VEC4_ARB = 0x8B59
17
+ NFLOAT_MAT2_ARB = 0x8B5A
18
+ NFLOAT_MAT3_ARB = 0x8B5B
19
+ NFLOAT_MAT4_ARB = 0x8B5C
20
+ NSAMPLER_1D_ARB = 0x8B5D
21
+ NSAMPLER_2D_ARB = 0x8B5E
22
+ NSAMPLER_3D_ARB = 0x8B5F
23
+ NSAMPLER_CUBE_ARB = 0x8B60
24
+ NSAMPLER_1D_SHADOW_ARB = 0x8B61
25
+ NSAMPLER_2D_SHADOW_ARB = 0x8B62
26
+ NSAMPLER_2D_RECT_ARB = 0x8B63
27
+ NSAMPLER_2D_RECT_SHADOW_ARB = 0x8B64
28
+ NOBJECT_DELETE_STATUS_ARB = 0x8B80
29
+ NOBJECT_COMPILE_STATUS_ARB = 0x8B81
30
+ NOBJECT_LINK_STATUS_ARB = 0x8B82
31
+ NOBJECT_VALIDATE_STATUS_ARB = 0x8B83
32
+ NOBJECT_INFO_LOG_LENGTH_ARB = 0x8B84
33
+ NOBJECT_ATTACHED_OBJECTS_ARB = 0x8B85
34
+ NOBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86
35
+ NOBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87
36
+ NOBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88
37
+ end
36
38
 
37
- @functions = {
38
- glDeleteObjectARB: [ :void, :GLhandleARB ].freeze,
39
- glGetHandleARB: [ :GLhandleARB, :GLenum ].freeze,
40
- glDetachObjectARB: [ :void, :GLhandleARB, :GLhandleARB ].freeze,
41
- glCreateShaderObjectARB: [ :GLhandleARB, :GLenum ].freeze,
42
- glShaderSourceARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
43
- glCompileShaderARB: [ :void, :GLhandleARB ].freeze,
44
- glCreateProgramObjectARB: [ :GLhandleARB ].freeze,
45
- glAttachObjectARB: [ :void, :GLhandleARB, :GLhandleARB ].freeze,
46
- glLinkProgramARB: [ :void, :GLhandleARB ].freeze,
47
- glUseProgramObjectARB: [ :void, :GLhandleARB ].freeze,
48
- glValidateProgramARB: [ :void, :GLhandleARB ].freeze,
49
- glUniform1fARB: [ :void, :GLint, :GLfloat ].freeze,
50
- glUniform2fARB: [ :void, :GLint, :GLfloat, :GLfloat ].freeze,
51
- glUniform3fARB: [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat ].freeze,
52
- glUniform4fARB: [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
53
- glUniform1iARB: [ :void, :GLint, :GLint ].freeze,
54
- glUniform2iARB: [ :void, :GLint, :GLint, :GLint ].freeze,
55
- glUniform3iARB: [ :void, :GLint, :GLint, :GLint, :GLint ].freeze,
56
- glUniform4iARB: [ :void, :GLint, :GLint, :GLint, :GLint, :GLint ].freeze,
57
- glUniform1fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
58
- glUniform2fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
59
- glUniform3fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
60
- glUniform4fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
61
- glUniform1ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
62
- glUniform2ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
63
- glUniform3ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
64
- glUniform4ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
65
- glUniformMatrix2fvARB: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
66
- glUniformMatrix3fvARB: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
67
- glUniformMatrix4fvARB: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
68
- glGetObjectParameterfvARB: [ :void, :GLhandleARB, :GLenum, :pointer ].freeze,
69
- glGetObjectParameterivARB: [ :void, :GLhandleARB, :GLenum, :pointer ].freeze,
70
- glGetInfoLogARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
71
- glGetAttachedObjectsARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
72
- glGetUniformLocationARB: [ :GLint, :GLhandleARB, :pointer ].freeze,
73
- glGetActiveUniformARB: [ :void, :GLhandleARB, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer ].freeze,
74
- glGetUniformfvARB: [ :void, :GLhandleARB, :GLint, :pointer ].freeze,
75
- glGetUniformivARB: [ :void, :GLhandleARB, :GLint, :pointer ].freeze,
76
- glGetShaderSourceARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
77
- }.freeze
39
+ module Functions
40
+ def glDeleteObjectARB(obj) end
41
+ def glGetHandleARB(pname) end
42
+ def glDetachObjectARB(containerObj, attachedObj) end
43
+ def glCreateShaderObjectARB(shaderType) end
44
+ def glShaderSourceARB(shaderObj, count, string, length) end
45
+ def glCompileShaderARB(shaderObj) end
46
+ def glCreateProgramObjectARB() end
47
+ def glAttachObjectARB(containerObj, obj) end
48
+ def glLinkProgramARB(programObj) end
49
+ def glUseProgramObjectARB(programObj) end
50
+ def glValidateProgramARB(programObj) end
51
+ def glUniform1fARB(location, v0) end
52
+ def glUniform2fARB(location, v0, v1) end
53
+ def glUniform3fARB(location, v0, v1, v2) end
54
+ def glUniform4fARB(location, v0, v1, v2, v3) end
55
+ def glUniform1iARB(location, v0) end
56
+ def glUniform2iARB(location, v0, v1) end
57
+ def glUniform3iARB(location, v0, v1, v2) end
58
+ def glUniform4iARB(location, v0, v1, v2, v3) end
59
+ def glUniform1fvARB(location, count, value) end
60
+ def glUniform2fvARB(location, count, value) end
61
+ def glUniform3fvARB(location, count, value) end
62
+ def glUniform4fvARB(location, count, value) end
63
+ def glUniform1ivARB(location, count, value) end
64
+ def glUniform2ivARB(location, count, value) end
65
+ def glUniform3ivARB(location, count, value) end
66
+ def glUniform4ivARB(location, count, value) end
67
+ def glUniformMatrix2fvARB(location, count, transpose, value) end
68
+ def glUniformMatrix3fvARB(location, count, transpose, value) end
69
+ def glUniformMatrix4fvARB(location, count, transpose, value) end
70
+ def glGetObjectParameterfvARB(obj, pname, params) end
71
+ def glGetObjectParameterivARB(obj, pname, params) end
72
+ def glGetInfoLogARB(obj, maxLength, length, infoLog) end
73
+ def glGetAttachedObjectsARB(containerObj, maxCount, count, obj) end
74
+ def glGetUniformLocationARB(programObj, name) end
75
+ def glGetActiveUniformARB(programObj, index, maxLength, length, size, type, name) end
76
+ def glGetUniformfvARB(programObj, location, params) end
77
+ def glGetUniformivARB(programObj, location, params) end
78
+ def glGetShaderSourceARB(obj, maxLength, length, source) end
79
+
80
+ Parameters = {
81
+ glDeleteObjectARB: [ :void, :GLhandleARB ].freeze,
82
+ glGetHandleARB: [ :GLhandleARB, :GLenum ].freeze,
83
+ glDetachObjectARB: [ :void, :GLhandleARB, :GLhandleARB ].freeze,
84
+ glCreateShaderObjectARB: [ :GLhandleARB, :GLenum ].freeze,
85
+ glShaderSourceARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
86
+ glCompileShaderARB: [ :void, :GLhandleARB ].freeze,
87
+ glCreateProgramObjectARB: [ :GLhandleARB ].freeze,
88
+ glAttachObjectARB: [ :void, :GLhandleARB, :GLhandleARB ].freeze,
89
+ glLinkProgramARB: [ :void, :GLhandleARB ].freeze,
90
+ glUseProgramObjectARB: [ :void, :GLhandleARB ].freeze,
91
+ glValidateProgramARB: [ :void, :GLhandleARB ].freeze,
92
+ glUniform1fARB: [ :void, :GLint, :GLfloat ].freeze,
93
+ glUniform2fARB: [ :void, :GLint, :GLfloat, :GLfloat ].freeze,
94
+ glUniform3fARB: [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat ].freeze,
95
+ glUniform4fARB: [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
96
+ glUniform1iARB: [ :void, :GLint, :GLint ].freeze,
97
+ glUniform2iARB: [ :void, :GLint, :GLint, :GLint ].freeze,
98
+ glUniform3iARB: [ :void, :GLint, :GLint, :GLint, :GLint ].freeze,
99
+ glUniform4iARB: [ :void, :GLint, :GLint, :GLint, :GLint, :GLint ].freeze,
100
+ glUniform1fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
101
+ glUniform2fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
102
+ glUniform3fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
103
+ glUniform4fvARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
104
+ glUniform1ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
105
+ glUniform2ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
106
+ glUniform3ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
107
+ glUniform4ivARB: [ :void, :GLint, :GLsizei, :pointer ].freeze,
108
+ glUniformMatrix2fvARB: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
109
+ glUniformMatrix3fvARB: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
110
+ glUniformMatrix4fvARB: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
111
+ glGetObjectParameterfvARB: [ :void, :GLhandleARB, :GLenum, :pointer ].freeze,
112
+ glGetObjectParameterivARB: [ :void, :GLhandleARB, :GLenum, :pointer ].freeze,
113
+ glGetInfoLogARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
114
+ glGetAttachedObjectsARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
115
+ glGetUniformLocationARB: [ :GLint, :GLhandleARB, :pointer ].freeze,
116
+ glGetActiveUniformARB: [ :void, :GLhandleARB, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :pointer ].freeze,
117
+ glGetUniformfvARB: [ :void, :GLhandleARB, :GLint, :pointer ].freeze,
118
+ glGetUniformivARB: [ :void, :GLhandleARB, :GLint, :pointer ].freeze,
119
+ glGetShaderSourceARB: [ :void, :GLhandleARB, :GLsizei, :pointer, :pointer ].freeze,
120
+ }.freeze
121
+ end
78
122
  end
@@ -1,23 +1,29 @@
1
1
  module GL_ARB_shader_storage_buffer_object
2
- GL_SHADER_STORAGE_BUFFER = 0x90D2
3
- GL_SHADER_STORAGE_BUFFER_BINDING = 0x90D3
4
- GL_SHADER_STORAGE_BUFFER_START = 0x90D4
5
- GL_SHADER_STORAGE_BUFFER_SIZE = 0x90D5
6
- GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS = 0x90D6
7
- GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS = 0x90D7
8
- GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS = 0x90D8
9
- GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS = 0x90D9
10
- GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS = 0x90DA
11
- GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS = 0x90DB
12
- GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS = 0x90DC
13
- GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS = 0x90DD
14
- GL_MAX_SHADER_STORAGE_BLOCK_SIZE = 0x90DE
15
- GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT = 0x90DF
16
- GL_SHADER_STORAGE_BARRIER_BIT = 0x00002000
17
- GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES = 0x8F39
18
- GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = 0x8F39
2
+ module Constants
3
+ NSHADER_STORAGE_BUFFER = 0x90D2
4
+ NSHADER_STORAGE_BUFFER_BINDING = 0x90D3
5
+ NSHADER_STORAGE_BUFFER_START = 0x90D4
6
+ NSHADER_STORAGE_BUFFER_SIZE = 0x90D5
7
+ NMAX_VERTEX_SHADER_STORAGE_BLOCKS = 0x90D6
8
+ NMAX_GEOMETRY_SHADER_STORAGE_BLOCKS = 0x90D7
9
+ NMAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS = 0x90D8
10
+ NMAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS = 0x90D9
11
+ NMAX_FRAGMENT_SHADER_STORAGE_BLOCKS = 0x90DA
12
+ NMAX_COMPUTE_SHADER_STORAGE_BLOCKS = 0x90DB
13
+ NMAX_COMBINED_SHADER_STORAGE_BLOCKS = 0x90DC
14
+ NMAX_SHADER_STORAGE_BUFFER_BINDINGS = 0x90DD
15
+ NMAX_SHADER_STORAGE_BLOCK_SIZE = 0x90DE
16
+ NSHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT = 0x90DF
17
+ NSHADER_STORAGE_BARRIER_BIT = 0x00002000
18
+ NMAX_COMBINED_SHADER_OUTPUT_RESOURCES = 0x8F39
19
+ NMAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = 0x8F39
20
+ end
19
21
 
20
- @functions = {
21
- glShaderStorageBlockBinding: [ :void, :GLuint, :GLuint, :GLuint ].freeze,
22
- }.freeze
22
+ module Functions
23
+ def glShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding) end
24
+
25
+ Parameters = {
26
+ glShaderStorageBlockBinding: [ :void, :GLuint, :GLuint, :GLuint ].freeze,
27
+ }.freeze
28
+ end
23
29
  end
@@ -1,24 +1,37 @@
1
1
  module GL_ARB_shader_subroutine
2
- GL_ACTIVE_SUBROUTINES = 0x8DE5
3
- GL_ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6
4
- GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47
5
- GL_ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48
6
- GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49
7
- GL_MAX_SUBROUTINES = 0x8DE7
8
- GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8
9
- GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A
10
- GL_COMPATIBLE_SUBROUTINES = 0x8E4B
11
- GL_UNIFORM_SIZE = 0x8A38
12
- GL_UNIFORM_NAME_LENGTH = 0x8A39
2
+ module Constants
3
+ NACTIVE_SUBROUTINES = 0x8DE5
4
+ NACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6
5
+ NACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47
6
+ NACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48
7
+ NACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49
8
+ NMAX_SUBROUTINES = 0x8DE7
9
+ NMAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8
10
+ NNUM_COMPATIBLE_SUBROUTINES = 0x8E4A
11
+ NCOMPATIBLE_SUBROUTINES = 0x8E4B
12
+ NUNIFORM_SIZE = 0x8A38
13
+ NUNIFORM_NAME_LENGTH = 0x8A39
14
+ end
13
15
 
14
- @functions = {
15
- glGetSubroutineUniformLocation: [ :GLint, :GLuint, :GLenum, :pointer ].freeze,
16
- glGetSubroutineIndex: [ :GLuint, :GLuint, :GLenum, :pointer ].freeze,
17
- glGetActiveSubroutineUniformiv: [ :void, :GLuint, :GLenum, :GLuint, :GLenum, :pointer ].freeze,
18
- glGetActiveSubroutineUniformName: [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
19
- glGetActiveSubroutineName: [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
20
- glUniformSubroutinesuiv: [ :void, :GLenum, :GLsizei, :pointer ].freeze,
21
- glGetUniformSubroutineuiv: [ :void, :GLenum, :GLint, :pointer ].freeze,
22
- glGetProgramStageiv: [ :void, :GLuint, :GLenum, :GLenum, :pointer ].freeze,
23
- }.freeze
16
+ module Functions
17
+ def glGetSubroutineUniformLocation(program, shadertype, name) end
18
+ def glGetSubroutineIndex(program, shadertype, name) end
19
+ def glGetActiveSubroutineUniformiv(program, shadertype, index, pname, values) end
20
+ def glGetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name) end
21
+ def glGetActiveSubroutineName(program, shadertype, index, bufsize, length, name) end
22
+ def glUniformSubroutinesuiv(shadertype, count, indices) end
23
+ def glGetUniformSubroutineuiv(shadertype, location, params) end
24
+ def glGetProgramStageiv(program, shadertype, pname, values) end
25
+
26
+ Parameters = {
27
+ glGetSubroutineUniformLocation: [ :GLint, :GLuint, :GLenum, :pointer ].freeze,
28
+ glGetSubroutineIndex: [ :GLuint, :GLuint, :GLenum, :pointer ].freeze,
29
+ glGetActiveSubroutineUniformiv: [ :void, :GLuint, :GLenum, :GLuint, :GLenum, :pointer ].freeze,
30
+ glGetActiveSubroutineUniformName: [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
31
+ glGetActiveSubroutineName: [ :void, :GLuint, :GLenum, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
32
+ glUniformSubroutinesuiv: [ :void, :GLenum, :GLsizei, :pointer ].freeze,
33
+ glGetUniformSubroutineuiv: [ :void, :GLenum, :GLint, :pointer ].freeze,
34
+ glGetProgramStageiv: [ :void, :GLuint, :GLenum, :GLenum, :pointer ].freeze,
35
+ }.freeze
36
+ end
24
37
  end
@@ -1,3 +1,5 @@
1
1
  module GL_ARB_shading_language_100
2
- GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C
2
+ module Constants
3
+ NSHADING_LANGUAGE_VERSION_ARB = 0x8B8C
4
+ end
3
5
  end
@@ -1,14 +1,25 @@
1
1
  module GL_ARB_shading_language_include
2
- GL_SHADER_INCLUDE_ARB = 0x8DAE
3
- GL_NAMED_STRING_LENGTH_ARB = 0x8DE9
4
- GL_NAMED_STRING_TYPE_ARB = 0x8DEA
2
+ module Constants
3
+ NSHADER_INCLUDE_ARB = 0x8DAE
4
+ NNAMED_STRING_LENGTH_ARB = 0x8DE9
5
+ NNAMED_STRING_TYPE_ARB = 0x8DEA
6
+ end
5
7
 
6
- @functions = {
7
- glNamedStringARB: [ :void, :GLenum, :GLint, :pointer, :GLint, :pointer ].freeze,
8
- glDeleteNamedStringARB: [ :void, :GLint, :pointer ].freeze,
9
- glCompileShaderIncludeARB: [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
10
- glIsNamedStringARB: [ :GLboolean, :GLint, :pointer ].freeze,
11
- glGetNamedStringARB: [ :void, :GLint, :pointer, :GLsizei, :pointer, :pointer ].freeze,
12
- glGetNamedStringivARB: [ :void, :GLint, :pointer, :GLenum, :pointer ].freeze,
13
- }.freeze
8
+ module Functions
9
+ def glNamedStringARB(type, namelen, name, stringlen, string) end
10
+ def glDeleteNamedStringARB(namelen, name) end
11
+ def glCompileShaderIncludeARB(shader, count, path, length) end
12
+ def glIsNamedStringARB(namelen, name) end
13
+ def glGetNamedStringARB(namelen, name, bufSize, stringlen, string) end
14
+ def glGetNamedStringivARB(namelen, name, pname, params) end
15
+
16
+ Parameters = {
17
+ glNamedStringARB: [ :void, :GLenum, :GLint, :pointer, :GLint, :pointer ].freeze,
18
+ glDeleteNamedStringARB: [ :void, :GLint, :pointer ].freeze,
19
+ glCompileShaderIncludeARB: [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
20
+ glIsNamedStringARB: [ :GLboolean, :GLint, :pointer ].freeze,
21
+ glGetNamedStringARB: [ :void, :GLint, :pointer, :GLsizei, :pointer, :pointer ].freeze,
22
+ glGetNamedStringivARB: [ :void, :GLint, :pointer, :GLenum, :pointer ].freeze,
23
+ }.freeze
24
+ end
14
25
  end
@@ -1,5 +1,7 @@
1
1
  module GL_ARB_shadow
2
- GL_TEXTURE_COMPARE_MODE_ARB = 0x884C
3
- GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D
4
- GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E
2
+ module Constants
3
+ NTEXTURE_COMPARE_MODE_ARB = 0x884C
4
+ NTEXTURE_COMPARE_FUNC_ARB = 0x884D
5
+ NCOMPARE_R_TO_TEXTURE_ARB = 0x884E
6
+ end
5
7
  end
@@ -1,3 +1,5 @@
1
1
  module GL_ARB_shadow_ambient
2
- GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF
2
+ module Constants
3
+ NTEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF
4
+ end
3
5
  end
@@ -1,10 +1,18 @@
1
1
  module GL_ARB_sparse_buffer
2
- GL_SPARSE_STORAGE_BIT_ARB = 0x0400
3
- GL_SPARSE_BUFFER_PAGE_SIZE_ARB = 0x82F8
2
+ module Constants
3
+ NSPARSE_STORAGE_BIT_ARB = 0x0400
4
+ NSPARSE_BUFFER_PAGE_SIZE_ARB = 0x82F8
5
+ end
4
6
 
5
- @functions = {
6
- glBufferPageCommitmentARB: [ :void, :GLenum, :GLintptr, :GLsizeiptr, :GLboolean ].freeze,
7
- glNamedBufferPageCommitmentEXT: [ :void, :GLuint, :GLintptr, :GLsizeiptr, :GLboolean ].freeze,
8
- glNamedBufferPageCommitmentARB: [ :void, :GLuint, :GLintptr, :GLsizeiptr, :GLboolean ].freeze,
9
- }.freeze
7
+ module Functions
8
+ def glBufferPageCommitmentARB(target, offset, size, commit) end
9
+ def glNamedBufferPageCommitmentEXT(buffer, offset, size, commit) end
10
+ def glNamedBufferPageCommitmentARB(buffer, offset, size, commit) end
11
+
12
+ Parameters = {
13
+ glBufferPageCommitmentARB: [ :void, :GLenum, :GLintptr, :GLsizeiptr, :GLboolean ].freeze,
14
+ glNamedBufferPageCommitmentEXT: [ :void, :GLuint, :GLintptr, :GLsizeiptr, :GLboolean ].freeze,
15
+ glNamedBufferPageCommitmentARB: [ :void, :GLuint, :GLintptr, :GLsizeiptr, :GLboolean ].freeze,
16
+ }.freeze
17
+ end
10
18
  end
@@ -1,17 +1,23 @@
1
1
  module GL_ARB_sparse_texture
2
- GL_TEXTURE_SPARSE_ARB = 0x91A6
3
- GL_VIRTUAL_PAGE_SIZE_INDEX_ARB = 0x91A7
4
- GL_NUM_SPARSE_LEVELS_ARB = 0x91AA
5
- GL_NUM_VIRTUAL_PAGE_SIZES_ARB = 0x91A8
6
- GL_VIRTUAL_PAGE_SIZE_X_ARB = 0x9195
7
- GL_VIRTUAL_PAGE_SIZE_Y_ARB = 0x9196
8
- GL_VIRTUAL_PAGE_SIZE_Z_ARB = 0x9197
9
- GL_MAX_SPARSE_TEXTURE_SIZE_ARB = 0x9198
10
- GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB = 0x9199
11
- GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB = 0x919A
12
- GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB = 0x91A9
2
+ module Constants
3
+ NTEXTURE_SPARSE_ARB = 0x91A6
4
+ NVIRTUAL_PAGE_SIZE_INDEX_ARB = 0x91A7
5
+ NNUM_SPARSE_LEVELS_ARB = 0x91AA
6
+ NNUM_VIRTUAL_PAGE_SIZES_ARB = 0x91A8
7
+ NVIRTUAL_PAGE_SIZE_X_ARB = 0x9195
8
+ NVIRTUAL_PAGE_SIZE_Y_ARB = 0x9196
9
+ NVIRTUAL_PAGE_SIZE_Z_ARB = 0x9197
10
+ NMAX_SPARSE_TEXTURE_SIZE_ARB = 0x9198
11
+ NMAX_SPARSE_3D_TEXTURE_SIZE_ARB = 0x9199
12
+ NMAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB = 0x919A
13
+ NSPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB = 0x91A9
14
+ end
13
15
 
14
- @functions = {
15
- glTexPageCommitmentARB: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLboolean ].freeze,
16
- }.freeze
16
+ module Functions
17
+ def glTexPageCommitmentARB(target, level, xoffset, yoffset, zoffset, width, height, depth, commit) end
18
+
19
+ Parameters = {
20
+ glTexPageCommitmentARB: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLboolean ].freeze,
21
+ }.freeze
22
+ end
17
23
  end
@@ -1,4 +1,6 @@
1
1
  module GL_ARB_spirv_extensions
2
- GL_SPIR_V_EXTENSIONS = 0x9553
3
- GL_NUM_SPIR_V_EXTENSIONS = 0x9554
2
+ module Constants
3
+ NSPIR_V_EXTENSIONS = 0x9553
4
+ NNUM_SPIR_V_EXTENSIONS = 0x9554
5
+ end
4
6
  end
@@ -1,3 +1,5 @@
1
1
  module GL_ARB_stencil_texturing
2
- GL_DEPTH_STENCIL_TEXTURE_MODE = 0x90EA
2
+ module Constants
3
+ NDEPTH_STENCIL_TEXTURE_MODE = 0x90EA
4
+ end
3
5
  end