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,28 +1,40 @@
1
1
  module GL_SGI_color_table
2
- GL_COLOR_TABLE_SGI = 0x80D0
3
- GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1
4
- GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2
5
- GL_PROXY_COLOR_TABLE_SGI = 0x80D3
6
- GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4
7
- GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5
8
- GL_COLOR_TABLE_SCALE_SGI = 0x80D6
9
- GL_COLOR_TABLE_BIAS_SGI = 0x80D7
10
- GL_COLOR_TABLE_FORMAT_SGI = 0x80D8
11
- GL_COLOR_TABLE_WIDTH_SGI = 0x80D9
12
- GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA
13
- GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB
14
- GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC
15
- GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD
16
- GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE
17
- GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF
2
+ module Constants
3
+ NCOLOR_TABLE_SGI = 0x80D0
4
+ NPOST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1
5
+ NPOST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2
6
+ NPROXY_COLOR_TABLE_SGI = 0x80D3
7
+ NPROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4
8
+ NPROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5
9
+ NCOLOR_TABLE_SCALE_SGI = 0x80D6
10
+ NCOLOR_TABLE_BIAS_SGI = 0x80D7
11
+ NCOLOR_TABLE_FORMAT_SGI = 0x80D8
12
+ NCOLOR_TABLE_WIDTH_SGI = 0x80D9
13
+ NCOLOR_TABLE_RED_SIZE_SGI = 0x80DA
14
+ NCOLOR_TABLE_GREEN_SIZE_SGI = 0x80DB
15
+ NCOLOR_TABLE_BLUE_SIZE_SGI = 0x80DC
16
+ NCOLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD
17
+ NCOLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE
18
+ NCOLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF
19
+ end
18
20
 
19
- @functions = {
20
- glColorTableSGI: [ :void, :GLenum, :GLenum, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
21
- glColorTableParameterfvSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
22
- glColorTableParameterivSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
23
- glCopyColorTableSGI: [ :void, :GLenum, :GLenum, :GLint, :GLint, :GLsizei ].freeze,
24
- glGetColorTableSGI: [ :void, :GLenum, :GLenum, :GLenum, :pointer ].freeze,
25
- glGetColorTableParameterfvSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
26
- glGetColorTableParameterivSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
27
- }.freeze
21
+ module Functions
22
+ def glColorTableSGI(target, internalformat, width, format, type, table) end
23
+ def glColorTableParameterfvSGI(target, pname, params) end
24
+ def glColorTableParameterivSGI(target, pname, params) end
25
+ def glCopyColorTableSGI(target, internalformat, x, y, width) end
26
+ def glGetColorTableSGI(target, format, type, table) end
27
+ def glGetColorTableParameterfvSGI(target, pname, params) end
28
+ def glGetColorTableParameterivSGI(target, pname, params) end
29
+
30
+ Parameters = {
31
+ glColorTableSGI: [ :void, :GLenum, :GLenum, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
32
+ glColorTableParameterfvSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
33
+ glColorTableParameterivSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
34
+ glCopyColorTableSGI: [ :void, :GLenum, :GLenum, :GLint, :GLint, :GLsizei ].freeze,
35
+ glGetColorTableSGI: [ :void, :GLenum, :GLenum, :GLenum, :pointer ].freeze,
36
+ glGetColorTableParameterfvSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
37
+ glGetColorTableParameterivSGI: [ :void, :GLenum, :GLenum, :pointer ].freeze,
38
+ }.freeze
39
+ end
28
40
  end
@@ -1,4 +1,6 @@
1
1
  module GL_SGI_texture_color_table
2
- GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC
3
- GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD
2
+ module Constants
3
+ NTEXTURE_COLOR_TABLE_SGI = 0x80BC
4
+ NPROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD
5
+ end
4
6
  end
@@ -1,8 +1,14 @@
1
1
  module GL_SUNX_constant_data
2
- GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5
3
- GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6
2
+ module Constants
3
+ NUNPACK_CONSTANT_DATA_SUNX = 0x81D5
4
+ NTEXTURE_CONSTANT_DATA_SUNX = 0x81D6
5
+ end
4
6
 
5
- @functions = {
6
- glFinishTextureSUNX: [ :void ].freeze,
7
- }.freeze
7
+ module Functions
8
+ def glFinishTextureSUNX() end
9
+
10
+ Parameters = {
11
+ glFinishTextureSUNX: [ :void ].freeze,
12
+ }.freeze
13
+ end
8
14
  end
@@ -1,3 +1,5 @@
1
1
  module GL_SUN_convolution_border_modes
2
- GL_WRAP_BORDER_SUN = 0x81D4
2
+ module Constants
3
+ NWRAP_BORDER_SUN = 0x81D4
4
+ end
3
5
  end
@@ -1,15 +1,28 @@
1
1
  module GL_SUN_global_alpha
2
- GL_GLOBAL_ALPHA_SUN = 0x81D9
3
- GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA
2
+ module Constants
3
+ NGLOBAL_ALPHA_SUN = 0x81D9
4
+ NGLOBAL_ALPHA_FACTOR_SUN = 0x81DA
5
+ end
4
6
 
5
- @functions = {
6
- glGlobalAlphaFactorbSUN: [ :void, :GLbyte ].freeze,
7
- glGlobalAlphaFactorsSUN: [ :void, :GLshort ].freeze,
8
- glGlobalAlphaFactoriSUN: [ :void, :GLint ].freeze,
9
- glGlobalAlphaFactorfSUN: [ :void, :GLfloat ].freeze,
10
- glGlobalAlphaFactordSUN: [ :void, :GLdouble ].freeze,
11
- glGlobalAlphaFactorubSUN: [ :void, :GLubyte ].freeze,
12
- glGlobalAlphaFactorusSUN: [ :void, :GLushort ].freeze,
13
- glGlobalAlphaFactoruiSUN: [ :void, :GLuint ].freeze,
14
- }.freeze
7
+ module Functions
8
+ def glGlobalAlphaFactorbSUN(factor) end
9
+ def glGlobalAlphaFactorsSUN(factor) end
10
+ def glGlobalAlphaFactoriSUN(factor) end
11
+ def glGlobalAlphaFactorfSUN(factor) end
12
+ def glGlobalAlphaFactordSUN(factor) end
13
+ def glGlobalAlphaFactorubSUN(factor) end
14
+ def glGlobalAlphaFactorusSUN(factor) end
15
+ def glGlobalAlphaFactoruiSUN(factor) end
16
+
17
+ Parameters = {
18
+ glGlobalAlphaFactorbSUN: [ :void, :GLbyte ].freeze,
19
+ glGlobalAlphaFactorsSUN: [ :void, :GLshort ].freeze,
20
+ glGlobalAlphaFactoriSUN: [ :void, :GLint ].freeze,
21
+ glGlobalAlphaFactorfSUN: [ :void, :GLfloat ].freeze,
22
+ glGlobalAlphaFactordSUN: [ :void, :GLdouble ].freeze,
23
+ glGlobalAlphaFactorubSUN: [ :void, :GLubyte ].freeze,
24
+ glGlobalAlphaFactorusSUN: [ :void, :GLushort ].freeze,
25
+ glGlobalAlphaFactoruiSUN: [ :void, :GLuint ].freeze,
26
+ }.freeze
27
+ end
15
28
  end
@@ -1,8 +1,14 @@
1
1
  module GL_SUN_mesh_array
2
- GL_QUAD_MESH_SUN = 0x8614
3
- GL_TRIANGLE_MESH_SUN = 0x8615
2
+ module Constants
3
+ NQUAD_MESH_SUN = 0x8614
4
+ NTRIANGLE_MESH_SUN = 0x8615
5
+ end
4
6
 
5
- @functions = {
6
- glDrawMeshArraysSUN: [ :void, :GLenum, :GLint, :GLsizei, :GLsizei ].freeze,
7
- }.freeze
7
+ module Functions
8
+ def glDrawMeshArraysSUN(mode, first, count, width) end
9
+
10
+ Parameters = {
11
+ glDrawMeshArraysSUN: [ :void, :GLenum, :GLint, :GLsizei, :GLsizei ].freeze,
12
+ }.freeze
13
+ end
8
14
  end
@@ -1,3 +1,5 @@
1
1
  module GL_SUN_slice_accum
2
- GL_SLICE_ACCUM_SUN = 0x85CC
2
+ module Constants
3
+ NSLICE_ACCUM_SUN = 0x85CC
4
+ end
3
5
  end
@@ -1,29 +1,41 @@
1
1
  module GL_SUN_triangle_list
2
- GL_RESTART_SUN = 0x0001
3
- GL_REPLACE_MIDDLE_SUN = 0x0002
4
- GL_REPLACE_OLDEST_SUN = 0x0003
5
- GL_TRIANGLE_LIST_SUN = 0x81D7
6
- GL_REPLACEMENT_CODE_SUN = 0x81D8
7
- GL_REPLACEMENT_CODE_ARRAY_SUN = 0x85C0
8
- GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1
9
- GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2
10
- GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3
11
- GL_R1UI_V3F_SUN = 0x85C4
12
- GL_R1UI_C4UB_V3F_SUN = 0x85C5
13
- GL_R1UI_C3F_V3F_SUN = 0x85C6
14
- GL_R1UI_N3F_V3F_SUN = 0x85C7
15
- GL_R1UI_C4F_N3F_V3F_SUN = 0x85C8
16
- GL_R1UI_T2F_V3F_SUN = 0x85C9
17
- GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA
18
- GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB
2
+ module Constants
3
+ NRESTART_SUN = 0x0001
4
+ NREPLACE_MIDDLE_SUN = 0x0002
5
+ NREPLACE_OLDEST_SUN = 0x0003
6
+ NTRIANGLE_LIST_SUN = 0x81D7
7
+ NREPLACEMENT_CODE_SUN = 0x81D8
8
+ NREPLACEMENT_CODE_ARRAY_SUN = 0x85C0
9
+ NREPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1
10
+ NREPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2
11
+ NREPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3
12
+ NR1UI_V3F_SUN = 0x85C4
13
+ NR1UI_C4UB_V3F_SUN = 0x85C5
14
+ NR1UI_C3F_V3F_SUN = 0x85C6
15
+ NR1UI_N3F_V3F_SUN = 0x85C7
16
+ NR1UI_C4F_N3F_V3F_SUN = 0x85C8
17
+ NR1UI_T2F_V3F_SUN = 0x85C9
18
+ NR1UI_T2F_N3F_V3F_SUN = 0x85CA
19
+ NR1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB
20
+ end
19
21
 
20
- @functions = {
21
- glReplacementCodeuiSUN: [ :void, :GLuint ].freeze,
22
- glReplacementCodeusSUN: [ :void, :GLushort ].freeze,
23
- glReplacementCodeubSUN: [ :void, :GLubyte ].freeze,
24
- glReplacementCodeuivSUN: [ :void, :pointer ].freeze,
25
- glReplacementCodeusvSUN: [ :void, :pointer ].freeze,
26
- glReplacementCodeubvSUN: [ :void, :pointer ].freeze,
27
- glReplacementCodePointerSUN: [ :void, :GLenum, :GLsizei, :pointer ].freeze,
28
- }.freeze
22
+ module Functions
23
+ def glReplacementCodeuiSUN(code) end
24
+ def glReplacementCodeusSUN(code) end
25
+ def glReplacementCodeubSUN(code) end
26
+ def glReplacementCodeuivSUN(code) end
27
+ def glReplacementCodeusvSUN(code) end
28
+ def glReplacementCodeubvSUN(code) end
29
+ def glReplacementCodePointerSUN(type, stride, pointer) end
30
+
31
+ Parameters = {
32
+ glReplacementCodeuiSUN: [ :void, :GLuint ].freeze,
33
+ glReplacementCodeusSUN: [ :void, :GLushort ].freeze,
34
+ glReplacementCodeubSUN: [ :void, :GLubyte ].freeze,
35
+ glReplacementCodeuivSUN: [ :void, :pointer ].freeze,
36
+ glReplacementCodeusvSUN: [ :void, :pointer ].freeze,
37
+ glReplacementCodeubvSUN: [ :void, :pointer ].freeze,
38
+ glReplacementCodePointerSUN: [ :void, :GLenum, :GLsizei, :pointer ].freeze,
39
+ }.freeze
40
+ end
29
41
  end
@@ -1,44 +1,87 @@
1
1
  module GL_SUN_vertex
2
- @functions = {
3
- glColor4ubVertex2fSUN: [ :void, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat ].freeze,
4
- glColor4ubVertex2fvSUN: [ :void, :pointer, :pointer ].freeze,
5
- glColor4ubVertex3fSUN: [ :void, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat, :GLfloat ].freeze,
6
- glColor4ubVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
7
- glColor3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
8
- glColor3fVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
9
- glNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
10
- glNormal3fVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
11
- glColor4fNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
12
- glColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
13
- glTexCoord2fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
14
- glTexCoord2fVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
15
- glTexCoord4fVertex4fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
16
- glTexCoord4fVertex4fvSUN: [ :void, :pointer, :pointer ].freeze,
17
- glTexCoord2fColor4ubVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat, :GLfloat ].freeze,
18
- glTexCoord2fColor4ubVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
19
- glTexCoord2fColor3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
20
- glTexCoord2fColor3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
21
- glTexCoord2fNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
22
- glTexCoord2fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
23
- glTexCoord2fColor4fNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
24
- glTexCoord2fColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
25
- glTexCoord4fColor4fNormal3fVertex4fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
26
- glTexCoord4fColor4fNormal3fVertex4fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
27
- glReplacementCodeuiVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat ].freeze,
28
- glReplacementCodeuiVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
29
- glReplacementCodeuiColor4ubVertex3fSUN: [ :void, :GLuint, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat, :GLfloat ].freeze,
30
- glReplacementCodeuiColor4ubVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
31
- glReplacementCodeuiColor3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
32
- glReplacementCodeuiColor3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
33
- glReplacementCodeuiNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
34
- glReplacementCodeuiNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
35
- glReplacementCodeuiColor4fNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
36
- glReplacementCodeuiColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
37
- glReplacementCodeuiTexCoord2fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
38
- glReplacementCodeuiTexCoord2fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
39
- glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
40
- glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
41
- glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
42
- glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
43
- }.freeze
2
+ module Functions
3
+ def glColor4ubVertex2fSUN(r, g, b, a, x, y) end
4
+ def glColor4ubVertex2fvSUN(c, v) end
5
+ def glColor4ubVertex3fSUN(r, g, b, a, x, y, z) end
6
+ def glColor4ubVertex3fvSUN(c, v) end
7
+ def glColor3fVertex3fSUN(r, g, b, x, y, z) end
8
+ def glColor3fVertex3fvSUN(c, v) end
9
+ def glNormal3fVertex3fSUN(nx, ny, nz, x, y, z) end
10
+ def glNormal3fVertex3fvSUN(n, v) end
11
+ def glColor4fNormal3fVertex3fSUN(r, g, b, a, nx, ny, nz, x, y, z) end
12
+ def glColor4fNormal3fVertex3fvSUN(c, n, v) end
13
+ def glTexCoord2fVertex3fSUN(s, t, x, y, z) end
14
+ def glTexCoord2fVertex3fvSUN(tc, v) end
15
+ def glTexCoord4fVertex4fSUN(s, t, p, q, x, y, z, w) end
16
+ def glTexCoord4fVertex4fvSUN(tc, v) end
17
+ def glTexCoord2fColor4ubVertex3fSUN(s, t, r, g, b, a, x, y, z) end
18
+ def glTexCoord2fColor4ubVertex3fvSUN(tc, c, v) end
19
+ def glTexCoord2fColor3fVertex3fSUN(s, t, r, g, b, x, y, z) end
20
+ def glTexCoord2fColor3fVertex3fvSUN(tc, c, v) end
21
+ def glTexCoord2fNormal3fVertex3fSUN(s, t, nx, ny, nz, x, y, z) end
22
+ def glTexCoord2fNormal3fVertex3fvSUN(tc, n, v) end
23
+ def glTexCoord2fColor4fNormal3fVertex3fSUN(s, t, r, g, b, a, nx, ny, nz, x, y, z) end
24
+ def glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, v) end
25
+ def glTexCoord4fColor4fNormal3fVertex4fSUN(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w) end
26
+ def glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, v) end
27
+ def glReplacementCodeuiVertex3fSUN(rc, x, y, z) end
28
+ def glReplacementCodeuiVertex3fvSUN(rc, v) end
29
+ def glReplacementCodeuiColor4ubVertex3fSUN(rc, r, g, b, a, x, y, z) end
30
+ def glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, v) end
31
+ def glReplacementCodeuiColor3fVertex3fSUN(rc, r, g, b, x, y, z) end
32
+ def glReplacementCodeuiColor3fVertex3fvSUN(rc, c, v) end
33
+ def glReplacementCodeuiNormal3fVertex3fSUN(rc, nx, ny, nz, x, y, z) end
34
+ def glReplacementCodeuiNormal3fVertex3fvSUN(rc, n, v) end
35
+ def glReplacementCodeuiColor4fNormal3fVertex3fSUN(rc, r, g, b, a, nx, ny, nz, x, y, z) end
36
+ def glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, n, v) end
37
+ def glReplacementCodeuiTexCoord2fVertex3fSUN(rc, s, t, x, y, z) end
38
+ def glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, v) end
39
+ def glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc, s, t, nx, ny, nz, x, y, z) end
40
+ def glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, v) end
41
+ def glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z) end
42
+ def glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, v) end
43
+
44
+ Parameters = {
45
+ glColor4ubVertex2fSUN: [ :void, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat ].freeze,
46
+ glColor4ubVertex2fvSUN: [ :void, :pointer, :pointer ].freeze,
47
+ glColor4ubVertex3fSUN: [ :void, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat, :GLfloat ].freeze,
48
+ glColor4ubVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
49
+ glColor3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
50
+ glColor3fVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
51
+ glNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
52
+ glNormal3fVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
53
+ glColor4fNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
54
+ glColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
55
+ glTexCoord2fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
56
+ glTexCoord2fVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
57
+ glTexCoord4fVertex4fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
58
+ glTexCoord4fVertex4fvSUN: [ :void, :pointer, :pointer ].freeze,
59
+ glTexCoord2fColor4ubVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat, :GLfloat ].freeze,
60
+ glTexCoord2fColor4ubVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
61
+ glTexCoord2fColor3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
62
+ glTexCoord2fColor3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
63
+ glTexCoord2fNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
64
+ glTexCoord2fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
65
+ glTexCoord2fColor4fNormal3fVertex3fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
66
+ glTexCoord2fColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
67
+ glTexCoord4fColor4fNormal3fVertex4fSUN: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
68
+ glTexCoord4fColor4fNormal3fVertex4fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
69
+ glReplacementCodeuiVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat ].freeze,
70
+ glReplacementCodeuiVertex3fvSUN: [ :void, :pointer, :pointer ].freeze,
71
+ glReplacementCodeuiColor4ubVertex3fSUN: [ :void, :GLuint, :GLubyte, :GLubyte, :GLubyte, :GLubyte, :GLfloat, :GLfloat, :GLfloat ].freeze,
72
+ glReplacementCodeuiColor4ubVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
73
+ glReplacementCodeuiColor3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
74
+ glReplacementCodeuiColor3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
75
+ glReplacementCodeuiNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
76
+ glReplacementCodeuiNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
77
+ glReplacementCodeuiColor4fNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
78
+ glReplacementCodeuiColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
79
+ glReplacementCodeuiTexCoord2fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
80
+ glReplacementCodeuiTexCoord2fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer ].freeze,
81
+ glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
82
+ glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer ].freeze,
83
+ glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
84
+ glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN: [ :void, :pointer, :pointer, :pointer, :pointer, :pointer ].freeze,
85
+ }.freeze
86
+ end
44
87
  end
@@ -1,3 +1,5 @@
1
1
  module GL_VIV_shader_binary
2
- GL_SHADER_BINARY_VIV = 0x8FC4
2
+ module Constants
3
+ NSHADER_BINARY_VIV = 0x8FC4
4
+ end
3
5
  end
@@ -1,4 +1,6 @@
1
1
  module GL_WIN_phong_shading
2
- GL_PHONG_WIN = 0x80EA
3
- GL_PHONG_HINT_WIN = 0x80EB
2
+ module Constants
3
+ NPHONG_WIN = 0x80EA
4
+ NPHONG_HINT_WIN = 0x80EB
5
+ end
4
6
  end
@@ -1,3 +1,5 @@
1
1
  module GL_WIN_specular_fog
2
- GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC
2
+ module Constants
3
+ NFOG_SPECULAR_TEXTURE_WIN = 0x80EC
4
+ end
3
5
  end
@@ -1,4 +1,6 @@
1
1
  module WGL_3DFX_multisample
2
- WGL_SAMPLE_BUFFERS_3DFX = 0x2060
3
- WGL_SAMPLES_3DFX = 0x2061
2
+ module Constants
3
+ NSAMPLE_BUFFERS_3DFX = 0x2060
4
+ NSAMPLES_3DFX = 0x2061
5
+ end
4
6
  end
@@ -1,10 +1,16 @@
1
1
  module WGL_3DL_stereo_control
2
- WGL_STEREO_EMITTER_ENABLE_3DL = 0x2055
3
- WGL_STEREO_EMITTER_DISABLE_3DL = 0x2056
4
- WGL_STEREO_POLARITY_NORMAL_3DL = 0x2057
5
- WGL_STEREO_POLARITY_INVERT_3DL = 0x2058
2
+ module Constants
3
+ NSTEREO_EMITTER_ENABLE_3DL = 0x2055
4
+ NSTEREO_EMITTER_DISABLE_3DL = 0x2056
5
+ NSTEREO_POLARITY_NORMAL_3DL = 0x2057
6
+ NSTEREO_POLARITY_INVERT_3DL = 0x2058
7
+ end
6
8
 
7
- @functions = {
8
- wglSetStereoEmitterState3DL: [ :BOOL, :HDC, :UINT ].freeze,
9
- }.freeze
9
+ module Functions
10
+ def wglSetStereoEmitterState3DL(hDC, uState) end
11
+
12
+ Parameters = {
13
+ wglSetStereoEmitterState3DL: [ :BOOL, :HDC, :UINT ].freeze,
14
+ }.freeze
15
+ end
10
16
  end
@@ -1,24 +1,38 @@
1
1
  module WGL_AMD_gpu_association
2
- WGL_GPU_VENDOR_AMD = 0x1F00
3
- WGL_GPU_RENDERER_STRING_AMD = 0x1F01
4
- WGL_GPU_OPENGL_VERSION_STRING_AMD = 0x1F02
5
- WGL_GPU_FASTEST_TARGET_GPUS_AMD = 0x21A2
6
- WGL_GPU_RAM_AMD = 0x21A3
7
- WGL_GPU_CLOCK_AMD = 0x21A4
8
- WGL_GPU_NUM_PIPES_AMD = 0x21A5
9
- WGL_GPU_NUM_SIMD_AMD = 0x21A6
10
- WGL_GPU_NUM_RB_AMD = 0x21A7
11
- WGL_GPU_NUM_SPI_AMD = 0x21A8
2
+ module Constants
3
+ NGPU_VENDOR_AMD = 0x1F00
4
+ NGPU_RENDERER_STRING_AMD = 0x1F01
5
+ NGPU_OPENGL_VERSION_STRING_AMD = 0x1F02
6
+ NGPU_FASTEST_TARGET_GPUS_AMD = 0x21A2
7
+ NGPU_RAM_AMD = 0x21A3
8
+ NGPU_CLOCK_AMD = 0x21A4
9
+ NGPU_NUM_PIPES_AMD = 0x21A5
10
+ NGPU_NUM_SIMD_AMD = 0x21A6
11
+ NGPU_NUM_RB_AMD = 0x21A7
12
+ NGPU_NUM_SPI_AMD = 0x21A8
13
+ end
12
14
 
13
- @functions = {
14
- wglGetGPUIDsAMD: [ :UINT, :UINT, :pointer ].freeze,
15
- wglGetGPUInfoAMD: [ :INT, :UINT, :int, :GLenum, :UINT, :pointer ].freeze,
16
- wglGetContextGPUIDAMD: [ :UINT, :HGLRC ].freeze,
17
- wglCreateAssociatedContextAMD: [ :HGLRC, :UINT ].freeze,
18
- wglCreateAssociatedContextAttribsAMD: [ :HGLRC, :UINT, :HGLRC, :pointer ].freeze,
19
- wglDeleteAssociatedContextAMD: [ :BOOL, :HGLRC ].freeze,
20
- wglMakeAssociatedContextCurrentAMD: [ :BOOL, :HGLRC ].freeze,
21
- wglGetCurrentAssociatedContextAMD: [ :HGLRC ].freeze,
22
- wglBlitContextFramebufferAMD: [ :VOID, :HGLRC, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLbitfield, :GLenum ].freeze,
23
- }.freeze
15
+ module Functions
16
+ def wglGetGPUIDsAMD(maxCount, ids) end
17
+ def wglGetGPUInfoAMD(id, property, dataType, size, data) end
18
+ def wglGetContextGPUIDAMD(hglrc) end
19
+ def wglCreateAssociatedContextAMD(id) end
20
+ def wglCreateAssociatedContextAttribsAMD(id, hShareContext, attribList) end
21
+ def wglDeleteAssociatedContextAMD(hglrc) end
22
+ def wglMakeAssociatedContextCurrentAMD(hglrc) end
23
+ def wglGetCurrentAssociatedContextAMD() end
24
+ def wglBlitContextFramebufferAMD(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) end
25
+
26
+ Parameters = {
27
+ wglGetGPUIDsAMD: [ :UINT, :UINT, :pointer ].freeze,
28
+ wglGetGPUInfoAMD: [ :INT, :UINT, :int, :GLenum, :UINT, :pointer ].freeze,
29
+ wglGetContextGPUIDAMD: [ :UINT, :HGLRC ].freeze,
30
+ wglCreateAssociatedContextAMD: [ :HGLRC, :UINT ].freeze,
31
+ wglCreateAssociatedContextAttribsAMD: [ :HGLRC, :UINT, :HGLRC, :pointer ].freeze,
32
+ wglDeleteAssociatedContextAMD: [ :BOOL, :HGLRC ].freeze,
33
+ wglMakeAssociatedContextCurrentAMD: [ :BOOL, :HGLRC ].freeze,
34
+ wglGetCurrentAssociatedContextAMD: [ :HGLRC ].freeze,
35
+ wglBlitContextFramebufferAMD: [ :VOID, :HGLRC, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLbitfield, :GLenum ].freeze,
36
+ }.freeze
37
+ end
24
38
  end
@@ -1,13 +1,22 @@
1
1
  module WGL_ARB_buffer_region
2
- WGL_FRONT_COLOR_BUFFER_BIT_ARB = 0x00000001
3
- WGL_BACK_COLOR_BUFFER_BIT_ARB = 0x00000002
4
- WGL_DEPTH_BUFFER_BIT_ARB = 0x00000004
5
- WGL_STENCIL_BUFFER_BIT_ARB = 0x00000008
2
+ module Constants
3
+ NFRONT_COLOR_BUFFER_BIT_ARB = 0x00000001
4
+ NBACK_COLOR_BUFFER_BIT_ARB = 0x00000002
5
+ NDEPTH_BUFFER_BIT_ARB = 0x00000004
6
+ NSTENCIL_BUFFER_BIT_ARB = 0x00000008
7
+ end
6
8
 
7
- @functions = {
8
- wglCreateBufferRegionARB: [ :HANDLE, :HDC, :int, :UINT ].freeze,
9
- wglDeleteBufferRegionARB: [ :VOID, :HANDLE ].freeze,
10
- wglSaveBufferRegionARB: [ :BOOL, :HANDLE, :int, :int, :int, :int ].freeze,
11
- wglRestoreBufferRegionARB: [ :BOOL, :HANDLE, :int, :int, :int, :int, :int, :int ].freeze,
12
- }.freeze
9
+ module Functions
10
+ def wglCreateBufferRegionARB(hDC, iLayerPlane, uType) end
11
+ def wglDeleteBufferRegionARB(hRegion) end
12
+ def wglSaveBufferRegionARB(hRegion, x, y, width, height) end
13
+ def wglRestoreBufferRegionARB(hRegion, x, y, width, height, xSrc, ySrc) end
14
+
15
+ Parameters = {
16
+ wglCreateBufferRegionARB: [ :HANDLE, :HDC, :int, :UINT ].freeze,
17
+ wglDeleteBufferRegionARB: [ :VOID, :HANDLE ].freeze,
18
+ wglSaveBufferRegionARB: [ :BOOL, :HANDLE, :int, :int, :int, :int ].freeze,
19
+ wglRestoreBufferRegionARB: [ :BOOL, :HANDLE, :int, :int, :int, :int, :int, :int ].freeze,
20
+ }.freeze
21
+ end
13
22
  end
@@ -1,5 +1,7 @@
1
1
  module WGL_ARB_context_flush_control
2
- WGL_CONTEXT_RELEASE_BEHAVIOR_ARB = 0x2097
3
- WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB = 0
4
- WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB = 0x2098
2
+ module Constants
3
+ NCONTEXT_RELEASE_BEHAVIOR_ARB = 0x2097
4
+ NCONTEXT_RELEASE_BEHAVIOR_NONE_ARB = 0
5
+ NCONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB = 0x2098
6
+ end
5
7
  end
@@ -1,13 +1,19 @@
1
1
  module WGL_ARB_create_context
2
- WGL_CONTEXT_DEBUG_BIT_ARB = 0x00000001
3
- WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB = 0x00000002
4
- WGL_CONTEXT_MAJOR_VERSION_ARB = 0x2091
5
- WGL_CONTEXT_MINOR_VERSION_ARB = 0x2092
6
- WGL_CONTEXT_LAYER_PLANE_ARB = 0x2093
7
- WGL_CONTEXT_FLAGS_ARB = 0x2094
8
- ERROR_INVALID_VERSION_ARB = 0x2095
2
+ module Constants
3
+ NCONTEXT_DEBUG_BIT_ARB = 0x00000001
4
+ NCONTEXT_FORWARD_COMPATIBLE_BIT_ARB = 0x00000002
5
+ NCONTEXT_MAJOR_VERSION_ARB = 0x2091
6
+ NCONTEXT_MINOR_VERSION_ARB = 0x2092
7
+ NCONTEXT_LAYER_PLANE_ARB = 0x2093
8
+ NCONTEXT_FLAGS_ARB = 0x2094
9
+ NERROR_INVALID_VERSION_ARB = 0x2095
10
+ end
9
11
 
10
- @functions = {
11
- wglCreateContextAttribsARB: [ :HGLRC, :HDC, :HGLRC, :pointer ].freeze,
12
- }.freeze
12
+ module Functions
13
+ def wglCreateContextAttribsARB(hDC, hShareContext, attribList) end
14
+
15
+ Parameters = {
16
+ wglCreateContextAttribsARB: [ :HGLRC, :HDC, :HGLRC, :pointer ].freeze,
17
+ }.freeze
18
+ end
13
19
  end
@@ -1,3 +1,5 @@
1
1
  module WGL_ARB_create_context_no_error
2
- WGL_CONTEXT_OPENGL_NO_ERROR_ARB = 0x31B3
2
+ module Constants
3
+ NCONTEXT_OPENGL_NO_ERROR_ARB = 0x31B3
4
+ end
3
5
  end
@@ -1,6 +1,8 @@
1
1
  module WGL_ARB_create_context_profile
2
- WGL_CONTEXT_PROFILE_MASK_ARB = 0x9126
3
- WGL_CONTEXT_CORE_PROFILE_BIT_ARB = 0x00000001
4
- WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002
5
- ERROR_INVALID_PROFILE_ARB = 0x2096
2
+ module Constants
3
+ NCONTEXT_PROFILE_MASK_ARB = 0x9126
4
+ NCONTEXT_CORE_PROFILE_BIT_ARB = 0x00000001
5
+ NCONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002
6
+ NERROR_INVALID_PROFILE_ARB = 0x2096
7
+ end
6
8
  end