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,19 +1,35 @@
1
1
  # Unlike other extensions, functions from this module are not pointers.
2
2
 
3
3
  module GL_VERSION_1_1
4
- @functions = {
5
- glBindTexture: [ :void, :GLenum, :GLuint ].freeze,
6
- glCopyTexImage1D: [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLint ].freeze,
7
- glCopyTexImage2D: [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint ].freeze,
8
- glCopyTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei ].freeze,
9
- glCopyTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
10
- glDeleteTextures: [ :void, :GLsizei, :pointer ].freeze,
11
- glDrawArrays: [ :void, :GLenum, :GLint, :GLsizei ].freeze,
12
- glDrawElements: [ :void, :GLenum, :GLsizei, :GLenum, :pointer ].freeze,
13
- glGenTextures: [ :void, :GLsizei, :pointer ].freeze,
14
- glIsTexture: [ :GLboolean, :GLuint ].freeze,
15
- glPolygonOffset: [ :void, :GLfloat, :GLfloat ].freeze,
16
- glTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
17
- glTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze
18
- }.freeze
4
+ module Functions
5
+ def glBindTexture(target, texture) end
6
+ def glCopyTexImage1D(target, level, internalformat, x, y, width, border) end
7
+ def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) end
8
+ def glCopyTexSubImage1D(target, level, xoffset, x, y, width) end
9
+ def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) end
10
+ def glDeleteTextures(n, textures) end
11
+ def glDrawArrays(mode, first, count) end
12
+ def glDrawElements(mode, count, type, indices) end
13
+ def glGenTextures(n, textures) end
14
+ def glIsTexture(texture) end
15
+ def glPolygonOffset(factor, units) end
16
+ def glTexSubImage1D(target, level, xoffset, width, format, type, pixels) end
17
+ def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) end
18
+
19
+ Parameters = {
20
+ glBindTexture: [ :void, :GLenum, :GLuint ].freeze,
21
+ glCopyTexImage1D: [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLint ].freeze,
22
+ glCopyTexImage2D: [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint ].freeze,
23
+ glCopyTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei ].freeze,
24
+ glCopyTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
25
+ glDeleteTextures: [ :void, :GLsizei, :pointer ].freeze,
26
+ glDrawArrays: [ :void, :GLenum, :GLint, :GLsizei ].freeze,
27
+ glDrawElements: [ :void, :GLenum, :GLsizei, :GLenum, :pointer ].freeze,
28
+ glGenTextures: [ :void, :GLsizei, :pointer ].freeze,
29
+ glIsTexture: [ :GLboolean, :GLuint ].freeze,
30
+ glPolygonOffset: [ :void, :GLfloat, :GLfloat ].freeze,
31
+ glTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
32
+ glTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze
33
+ }.freeze
34
+ end
19
35
  end
@@ -1,54 +1,63 @@
1
1
  module GL_VERSION_1_2
2
- GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
3
- GL_ALIASED_POINT_SIZE_RANGE = 0x846D
4
- GL_BGR = 0x80E0
5
- GL_BGRA = 0x80E1
6
- GL_CLAMP_TO_EDGE = 0x812F
7
- GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8
8
- GL_MAX_3D_TEXTURE_SIZE = 0x8073
9
- GL_MAX_ELEMENTS_INDICES = 0x80E9
10
- GL_MAX_ELEMENTS_VERTICES = 0x80E8
11
- GL_PACK_IMAGE_HEIGHT = 0x806C
12
- GL_PACK_SKIP_IMAGES = 0x806B
13
- GL_PROXY_TEXTURE_3D = 0x8070
14
- GL_RESCALE_NORMAL = 0x803A
15
- GL_SEPARATE_SPECULAR_COLOR = 0x81FA
16
- GL_SINGLE_COLOR = 0x81F9
17
- GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
18
- GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22
19
- GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
20
- GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12
21
- GL_TEXTURE_3D = 0x806F
22
- GL_TEXTURE_BASE_LEVEL = 0x813C
23
- GL_TEXTURE_BINDING_3D = 0x806A
24
- GL_TEXTURE_DEPTH = 0x8071
25
- GL_TEXTURE_MAX_LEVEL = 0x813D
26
- GL_TEXTURE_MAX_LOD = 0x813B
27
- GL_TEXTURE_MIN_LOD = 0x813A
28
- GL_TEXTURE_WRAP_R = 0x8072
29
- GL_UNPACK_IMAGE_HEIGHT = 0x806E
30
- GL_UNPACK_SKIP_IMAGES = 0x806D
31
- GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362
32
- GL_UNSIGNED_BYTE_3_3_2 = 0x8032
33
- GL_UNSIGNED_INT_10_10_10_2 = 0x8036
34
- GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368
35
- GL_UNSIGNED_INT_8_8_8_8 = 0x8035
36
- GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367
37
- GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
38
- GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
39
- GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
40
- GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
41
- GL_UNSIGNED_SHORT_5_6_5 = 0x8363
42
- GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364
2
+ module Constants
3
+ ALIASED_LINE_WIDTH_RANGE = 0x846E
4
+ ALIASED_POINT_SIZE_RANGE = 0x846D
5
+ BGR = 0x80E0
6
+ BGRA = 0x80E1
7
+ CLAMP_TO_EDGE = 0x812F
8
+ LIGHT_MODEL_COLOR_CONTROL = 0x81F8
9
+ MAX_3D_TEXTURE_SIZE = 0x8073
10
+ MAX_ELEMENTS_INDICES = 0x80E9
11
+ MAX_ELEMENTS_VERTICES = 0x80E8
12
+ PACK_IMAGE_HEIGHT = 0x806C
13
+ PACK_SKIP_IMAGES = 0x806B
14
+ PROXY_TEXTURE_3D = 0x8070
15
+ RESCALE_NORMAL = 0x803A
16
+ SEPARATE_SPECULAR_COLOR = 0x81FA
17
+ SINGLE_COLOR = 0x81F9
18
+ SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
19
+ SMOOTH_LINE_WIDTH_RANGE = 0x0B22
20
+ SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
21
+ SMOOTH_POINT_SIZE_RANGE = 0x0B12
22
+ TEXTURE_3D = 0x806F
23
+ TEXTURE_BASE_LEVEL = 0x813C
24
+ TEXTURE_BINDING_3D = 0x806A
25
+ TEXTURE_DEPTH = 0x8071
26
+ TEXTURE_MAX_LEVEL = 0x813D
27
+ TEXTURE_MAX_LOD = 0x813B
28
+ TEXTURE_MIN_LOD = 0x813A
29
+ TEXTURE_WRAP_R = 0x8072
30
+ UNPACK_IMAGE_HEIGHT = 0x806E
31
+ UNPACK_SKIP_IMAGES = 0x806D
32
+ UNSIGNED_BYTE_2_3_3_REV = 0x8362
33
+ UNSIGNED_BYTE_3_3_2 = 0x8032
34
+ UNSIGNED_INT_10_10_10_2 = 0x8036
35
+ UNSIGNED_INT_2_10_10_10_REV = 0x8368
36
+ UNSIGNED_INT_8_8_8_8 = 0x8035
37
+ UNSIGNED_INT_8_8_8_8_REV = 0x8367
38
+ UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
39
+ UNSIGNED_SHORT_4_4_4_4 = 0x8033
40
+ UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
41
+ UNSIGNED_SHORT_5_5_5_1 = 0x8034
42
+ UNSIGNED_SHORT_5_6_5 = 0x8363
43
+ UNSIGNED_SHORT_5_6_5_REV = 0x8364
44
+ end
43
45
 
44
- @extensions = [
46
+ Extensions = [
45
47
  :GL_ARB_imaging
46
48
  ].freeze
47
49
 
48
- @functions = {
49
- glCopyTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
50
- glDrawRangeElements: [ :void, :GLenum, :GLuint, :GLuint, :GLsizei, :GLenum, :pointer ].freeze,
51
- glTexImage3D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
52
- glTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze
53
- }.freeze
50
+ module Functions
51
+ def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height) end
52
+ def glDrawRangeElements(mode, start, end_, count, type, indices) end
53
+ def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels) end
54
+ def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) end
55
+
56
+ Parameters = {
57
+ glCopyTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
58
+ glDrawRangeElements: [ :void, :GLenum, :GLuint, :GLuint, :GLsizei, :GLenum, :pointer ].freeze,
59
+ glTexImage3D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
60
+ glTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze
61
+ }.freeze
62
+ end
54
63
  end
@@ -1,110 +1,124 @@
1
1
  module GL_VERSION_1_3
2
- GL_ACTIVE_TEXTURE = 0x84E0
3
- GL_ADD_SIGNED = 0x8574
4
- GL_CLAMP_TO_BORDER = 0x812D
5
- GL_CLIENT_ACTIVE_TEXTURE = 0x84E1
6
- GL_COMBINE = 0x8570
7
- GL_COMBINE_ALPHA = 0x8572
8
- GL_COMBINE_RGB = 0x8571
9
- GL_COMPRESSED_ALPHA = 0x84E9
10
- GL_COMPRESSED_INTENSITY = 0x84EC
11
- GL_COMPRESSED_LUMINANCE = 0x84EA
12
- GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB
13
- GL_COMPRESSED_RGB = 0x84ED
14
- GL_COMPRESSED_RGBA = 0x84EE
15
- GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3
16
- GL_CONSTANT = 0x8576
17
- GL_DOT3_RGB = 0x86AE
18
- GL_DOT3_RGBA = 0x86AF
19
- GL_INTERPOLATE = 0x8575
20
- GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
21
- GL_MAX_TEXTURE_UNITS = 0x84E2
22
- GL_MULTISAMPLE = 0x809D
23
- GL_MULTISAMPLE_BIT = 0x20000000
24
- GL_NORMAL_MAP = 0x8511
25
- GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
26
- GL_OPERAND0_ALPHA = 0x8598
27
- GL_OPERAND0_RGB = 0x8590
28
- GL_OPERAND1_ALPHA = 0x8599
29
- GL_OPERAND1_RGB = 0x8591
30
- GL_OPERAND2_ALPHA = 0x859A
31
- GL_OPERAND2_RGB = 0x8592
32
- GL_PREVIOUS = 0x8578
33
- GL_PRIMARY_COLOR = 0x8577
34
- GL_PROXY_TEXTURE_CUBE_MAP = 0x851B
35
- GL_REFLECTION_MAP = 0x8512
36
- GL_RGB_SCALE = 0x8573
37
- GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E
38
- GL_SAMPLE_ALPHA_TO_ONE = 0x809F
39
- GL_SAMPLE_BUFFERS = 0x80A8
40
- GL_SAMPLE_COVERAGE = 0x80A0
41
- GL_SAMPLE_COVERAGE_INVERT = 0x80AB
42
- GL_SAMPLE_COVERAGE_VALUE = 0x80AA
43
- GL_SAMPLES = 0x80A9
44
- GL_SOURCE0_ALPHA = 0x8588
45
- GL_SOURCE0_RGB = 0x8580
46
- GL_SOURCE1_ALPHA = 0x8589
47
- GL_SOURCE1_RGB = 0x8581
48
- GL_SOURCE2_ALPHA = 0x858A
49
- GL_SOURCE2_RGB = 0x8582
50
- GL_SUBTRACT = 0x84E7
51
- GL_TEXTURE_BINDING_CUBE_MAP = 0x8514
52
- GL_TEXTURE_COMPRESSED = 0x86A1
53
- GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
54
- GL_TEXTURE_COMPRESSION_HINT = 0x84EF
55
- GL_TEXTURE_CUBE_MAP = 0x8513
56
- GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
57
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
58
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
59
- GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
60
- GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
61
- GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
62
- GL_TEXTURE0 = 0x84C0
63
- GL_TEXTURE1 = 0x84C1
64
- GL_TEXTURE10 = 0x84CA
65
- GL_TEXTURE11 = 0x84CB
66
- GL_TEXTURE12 = 0x84CC
67
- GL_TEXTURE13 = 0x84CD
68
- GL_TEXTURE14 = 0x84CE
69
- GL_TEXTURE15 = 0x84CF
70
- GL_TEXTURE16 = 0x84D0
71
- GL_TEXTURE17 = 0x84D1
72
- GL_TEXTURE18 = 0x84D2
73
- GL_TEXTURE19 = 0x84D3
74
- GL_TEXTURE2 = 0x84C2
75
- GL_TEXTURE20 = 0x84D4
76
- GL_TEXTURE21 = 0x84D5
77
- GL_TEXTURE22 = 0x84D6
78
- GL_TEXTURE23 = 0x84D7
79
- GL_TEXTURE24 = 0x84D8
80
- GL_TEXTURE25 = 0x84D9
81
- GL_TEXTURE26 = 0x84DA
82
- GL_TEXTURE27 = 0x84DB
83
- GL_TEXTURE28 = 0x84DC
84
- GL_TEXTURE29 = 0x84DD
85
- GL_TEXTURE3 = 0x84C3
86
- GL_TEXTURE30 = 0x84DE
87
- GL_TEXTURE31 = 0x84DF
88
- GL_TEXTURE4 = 0x84C4
89
- GL_TEXTURE5 = 0x84C5
90
- GL_TEXTURE6 = 0x84C6
91
- GL_TEXTURE7 = 0x84C7
92
- GL_TEXTURE8 = 0x84C8
93
- GL_TEXTURE9 = 0x84C9
94
- GL_TRANSPOSE_COLOR_MATRIX = 0x84E6
95
- GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3
96
- GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4
97
- GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5
2
+ module Constants
3
+ ACTIVE_TEXTURE = 0x84E0
4
+ ADD_SIGNED = 0x8574
5
+ CLAMP_TO_BORDER = 0x812D
6
+ CLIENT_ACTIVE_TEXTURE = 0x84E1
7
+ COMBINE = 0x8570
8
+ COMBINE_ALPHA = 0x8572
9
+ COMBINE_RGB = 0x8571
10
+ COMPRESSED_ALPHA = 0x84E9
11
+ COMPRESSED_INTENSITY = 0x84EC
12
+ COMPRESSED_LUMINANCE = 0x84EA
13
+ COMPRESSED_LUMINANCE_ALPHA = 0x84EB
14
+ COMPRESSED_RGB = 0x84ED
15
+ COMPRESSED_RGBA = 0x84EE
16
+ COMPRESSED_TEXTURE_FORMATS = 0x86A3
17
+ CONSTANT = 0x8576
18
+ DOT3_RGB = 0x86AE
19
+ DOT3_RGBA = 0x86AF
20
+ INTERPOLATE = 0x8575
21
+ MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
22
+ MAX_TEXTURE_UNITS = 0x84E2
23
+ MULTISAMPLE = 0x809D
24
+ MULTISAMPLE_BIT = 0x20000000
25
+ NORMAL_MAP = 0x8511
26
+ NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
27
+ OPERAND0_ALPHA = 0x8598
28
+ OPERAND0_RGB = 0x8590
29
+ OPERAND1_ALPHA = 0x8599
30
+ OPERAND1_RGB = 0x8591
31
+ OPERAND2_ALPHA = 0x859A
32
+ OPERAND2_RGB = 0x8592
33
+ PREVIOUS = 0x8578
34
+ PRIMARY_COLOR = 0x8577
35
+ PROXY_TEXTURE_CUBE_MAP = 0x851B
36
+ REFLECTION_MAP = 0x8512
37
+ RGB_SCALE = 0x8573
38
+ SAMPLE_ALPHA_TO_COVERAGE = 0x809E
39
+ SAMPLE_ALPHA_TO_ONE = 0x809F
40
+ SAMPLE_BUFFERS = 0x80A8
41
+ SAMPLE_COVERAGE = 0x80A0
42
+ SAMPLE_COVERAGE_INVERT = 0x80AB
43
+ SAMPLE_COVERAGE_VALUE = 0x80AA
44
+ SAMPLES = 0x80A9
45
+ SOURCE0_ALPHA = 0x8588
46
+ SOURCE0_RGB = 0x8580
47
+ SOURCE1_ALPHA = 0x8589
48
+ SOURCE1_RGB = 0x8581
49
+ SOURCE2_ALPHA = 0x858A
50
+ SOURCE2_RGB = 0x8582
51
+ SUBTRACT = 0x84E7
52
+ TEXTURE_BINDING_CUBE_MAP = 0x8514
53
+ TEXTURE_COMPRESSED = 0x86A1
54
+ TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
55
+ TEXTURE_COMPRESSION_HINT = 0x84EF
56
+ TEXTURE_CUBE_MAP = 0x8513
57
+ TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
58
+ TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
59
+ TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
60
+ TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
61
+ TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
62
+ TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
63
+ TEXTURE0 = 0x84C0
64
+ TEXTURE1 = 0x84C1
65
+ TEXTURE2 = 0x84C2
66
+ TEXTURE3 = 0x84C3
67
+ TEXTURE4 = 0x84C4
68
+ TEXTURE5 = 0x84C5
69
+ TEXTURE6 = 0x84C6
70
+ TEXTURE7 = 0x84C7
71
+ TEXTURE8 = 0x84C8
72
+ TEXTURE9 = 0x84C9
73
+ TEXTURE10 = 0x84CA
74
+ TEXTURE11 = 0x84CB
75
+ TEXTURE12 = 0x84CC
76
+ TEXTURE13 = 0x84CD
77
+ TEXTURE14 = 0x84CE
78
+ TEXTURE15 = 0x84CF
79
+ TEXTURE16 = 0x84D0
80
+ TEXTURE17 = 0x84D1
81
+ TEXTURE18 = 0x84D2
82
+ TEXTURE19 = 0x84D3
83
+ TEXTURE20 = 0x84D4
84
+ TEXTURE21 = 0x84D5
85
+ TEXTURE22 = 0x84D6
86
+ TEXTURE23 = 0x84D7
87
+ TEXTURE24 = 0x84D8
88
+ TEXTURE25 = 0x84D9
89
+ TEXTURE26 = 0x84DA
90
+ TEXTURE27 = 0x84DB
91
+ TEXTURE28 = 0x84DC
92
+ TEXTURE29 = 0x84DD
93
+ TEXTURE30 = 0x84DE
94
+ TEXTURE31 = 0x84DF
95
+ TRANSPOSE_COLOR_MATRIX = 0x84E6
96
+ TRANSPOSE_MODELVIEW_MATRIX = 0x84E3
97
+ TRANSPOSE_PROJECTION_MATRIX = 0x84E4
98
+ TRANSPOSE_TEXTURE_MATRIX = 0x84E5
99
+ end
98
100
 
99
- @functions = {
100
- glActiveTexture: [ :void, :GLenum ].freeze,
101
- glCompressedTexImage1D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
102
- glCompressedTexImage2D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
103
- glCompressedTexImage3D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
104
- glCompressedTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
105
- glCompressedTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
106
- glCompressedTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
107
- glGetCompressedTexImage: [ :void, :GLenum, :GLint, :pointer ].freeze,
108
- glSampleCoverage: [ :void, :GLfloat, :GLboolean ].freeze
109
- }.freeze
101
+ module Functions
102
+ def glActiveTexture(texture) end
103
+ def glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data) end
104
+ def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) end
105
+ def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data) end
106
+ def glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data) end
107
+ def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) end
108
+ def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) end
109
+ def glGetCompressedTexImage(target, level, img) end
110
+ def glSampleCoverage(value, invert) end
111
+
112
+ Parameters = {
113
+ glActiveTexture: [ :void, :GLenum ].freeze,
114
+ glCompressedTexImage1D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
115
+ glCompressedTexImage2D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
116
+ glCompressedTexImage3D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
117
+ glCompressedTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
118
+ glCompressedTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
119
+ glCompressedTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
120
+ glGetCompressedTexImage: [ :void, :GLenum, :GLint, :pointer ].freeze,
121
+ glSampleCoverage: [ :void, :GLfloat, :GLboolean ].freeze
122
+ }.freeze
123
+ end
110
124
  end
@@ -1,51 +1,63 @@
1
1
  module GL_VERSION_1_4
2
- GL_BLEND_DST_ALPHA = 0x80CA
3
- GL_BLEND_DST_RGB = 0x80C8
4
- GL_BLEND_SRC_ALPHA = 0x80CB
5
- GL_BLEND_SRC_RGB = 0x80C9
6
- GL_COLOR_SUM = 0x8458
7
- GL_COMPARE_R_TO_TEXTURE = 0x884E
8
- GL_CURRENT_FOG_COORDINATE = 0x8453
9
- GL_CURRENT_SECONDARY_COLOR = 0x8459
10
- GL_DECR_WRAP = 0x8508
11
- GL_DEPTH_COMPONENT16 = 0x81A5
12
- GL_DEPTH_COMPONENT24 = 0x81A6
13
- GL_DEPTH_COMPONENT32 = 0x81A7
14
- GL_DEPTH_TEXTURE_MODE = 0x884B
15
- GL_FOG_COORDINATE = 0x8451
16
- GL_FOG_COORDINATE_ARRAY = 0x8457
17
- GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456
18
- GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455
19
- GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454
20
- GL_FOG_COORDINATE_SOURCE = 0x8450
21
- GL_FRAGMENT_DEPTH = 0x8452
22
- GL_GENERATE_MIPMAP = 0x8191
23
- GL_GENERATE_MIPMAP_HINT = 0x8192
24
- GL_INCR_WRAP = 0x8507
25
- GL_MAX_TEXTURE_LOD_BIAS = 0x84FD
26
- GL_MIRRORED_REPEAT = 0x8370
27
- GL_POINT_DISTANCE_ATTENUATION = 0x8129
28
- GL_POINT_FADE_THRESHOLD_SIZE = 0x8128
29
- GL_POINT_SIZE_MAX = 0x8127
30
- GL_POINT_SIZE_MIN = 0x8126
31
- GL_SECONDARY_COLOR_ARRAY = 0x845E
32
- GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D
33
- GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A
34
- GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C
35
- GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B
36
- GL_TEXTURE_COMPARE_FUNC = 0x884D
37
- GL_TEXTURE_COMPARE_MODE = 0x884C
38
- GL_TEXTURE_DEPTH_SIZE = 0x884A
39
- GL_TEXTURE_FILTER_CONTROL = 0x8500
40
- GL_TEXTURE_LOD_BIAS = 0x8501
2
+ module Constants
3
+ BLEND_DST_ALPHA = 0x80CA
4
+ BLEND_DST_RGB = 0x80C8
5
+ BLEND_SRC_ALPHA = 0x80CB
6
+ BLEND_SRC_RGB = 0x80C9
7
+ COLOR_SUM = 0x8458
8
+ COMPARE_R_TO_TEXTURE = 0x884E
9
+ CURRENT_FOG_COORDINATE = 0x8453
10
+ CURRENT_SECONDARY_COLOR = 0x8459
11
+ DECR_WRAP = 0x8508
12
+ DEPTH_COMPONENT16 = 0x81A5
13
+ DEPTH_COMPONENT24 = 0x81A6
14
+ DEPTH_COMPONENT32 = 0x81A7
15
+ DEPTH_TEXTURE_MODE = 0x884B
16
+ FOG_COORDINATE = 0x8451
17
+ FOG_COORDINATE_ARRAY = 0x8457
18
+ FOG_COORDINATE_ARRAY_POINTER = 0x8456
19
+ FOG_COORDINATE_ARRAY_STRIDE = 0x8455
20
+ FOG_COORDINATE_ARRAY_TYPE = 0x8454
21
+ FOG_COORDINATE_SOURCE = 0x8450
22
+ FRAGMENT_DEPTH = 0x8452
23
+ GENERATE_MIPMAP = 0x8191
24
+ GENERATE_MIPMAP_HINT = 0x8192
25
+ INCR_WRAP = 0x8507
26
+ MAX_TEXTURE_LOD_BIAS = 0x84FD
27
+ MIRRORED_REPEAT = 0x8370
28
+ POINT_DISTANCE_ATTENUATION = 0x8129
29
+ POINT_FADE_THRESHOLD_SIZE = 0x8128
30
+ POINT_SIZE_MAX = 0x8127
31
+ POINT_SIZE_MIN = 0x8126
32
+ SECONDARY_COLOR_ARRAY = 0x845E
33
+ SECONDARY_COLOR_ARRAY_POINTER = 0x845D
34
+ SECONDARY_COLOR_ARRAY_SIZE = 0x845A
35
+ SECONDARY_COLOR_ARRAY_STRIDE = 0x845C
36
+ SECONDARY_COLOR_ARRAY_TYPE = 0x845B
37
+ TEXTURE_COMPARE_FUNC = 0x884D
38
+ TEXTURE_COMPARE_MODE = 0x884C
39
+ TEXTURE_DEPTH_SIZE = 0x884A
40
+ TEXTURE_FILTER_CONTROL = 0x8500
41
+ TEXTURE_LOD_BIAS = 0x8501
42
+ end
41
43
 
42
- @functions = {
43
- glBlendFuncSeparate: [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
44
- glMultiDrawArrays: [ :void, :GLenum, :pointer, :pointer, :GLsizei ].freeze,
45
- glMultiDrawElements: [ :void, :GLenum, :pointer, :GLenum, :pointer, :GLsizei ].freeze,
46
- glPointParameterf: [ :void, :GLenum, :GLfloat ].freeze,
47
- glPointParameterfv: [ :void, :GLenum, :pointer ].freeze,
48
- glPointParameteri: [ :void, :GLenum, :GLint ].freeze,
49
- glPointParameteriv: [ :void, :GLenum, :pointer ].freeze
50
- }.freeze
44
+ module Functions
45
+ def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) end
46
+ def glMultiDrawArrays(mode, first, count, drawcount) end
47
+ def glMultiDrawElements(mode, count, type, indices, drawcount) end
48
+ def glPointParameterf(pname, param) end
49
+ def glPointParameterfv(pname, params) end
50
+ def glPointParameteri(pname, param) end
51
+ def glPointParameteriv(pname, params) end
52
+
53
+ Parameters = {
54
+ glBlendFuncSeparate: [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
55
+ glMultiDrawArrays: [ :void, :GLenum, :pointer, :pointer, :GLsizei ].freeze,
56
+ glMultiDrawElements: [ :void, :GLenum, :pointer, :GLenum, :pointer, :GLsizei ].freeze,
57
+ glPointParameterf: [ :void, :GLenum, :GLfloat ].freeze,
58
+ glPointParameterfv: [ :void, :GLenum, :pointer ].freeze,
59
+ glPointParameteri: [ :void, :GLenum, :GLint ].freeze,
60
+ glPointParameteriv: [ :void, :GLenum, :pointer ].freeze
61
+ }.freeze
62
+ end
51
63
  end