opengl-definitions 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. checksums.yaml +4 -4
  2. data/lib/opengl-definitions/extensions/GLX_AMD_gpu_association.rb +11 -23
  3. data/lib/opengl-definitions/extensions/GLX_ARB_create_context.rb +3 -7
  4. data/lib/opengl-definitions/extensions/GLX_ARB_get_proc_address.rb +3 -7
  5. data/lib/opengl-definitions/extensions/GLX_EXT_import_context.rb +7 -15
  6. data/lib/opengl-definitions/extensions/GLX_EXT_swap_control.rb +3 -7
  7. data/lib/opengl-definitions/extensions/GLX_EXT_texture_from_pixmap.rb +4 -9
  8. data/lib/opengl-definitions/extensions/GLX_MESA_agp_offset.rb +3 -7
  9. data/lib/opengl-definitions/extensions/GLX_MESA_copy_sub_buffer.rb +3 -7
  10. data/lib/opengl-definitions/extensions/GLX_MESA_pixmap_colormap.rb +3 -7
  11. data/lib/opengl-definitions/extensions/GLX_MESA_query_renderer.rb +6 -13
  12. data/lib/opengl-definitions/extensions/GLX_MESA_release_buffers.rb +3 -7
  13. data/lib/opengl-definitions/extensions/GLX_MESA_set_3dfx_mode.rb +3 -7
  14. data/lib/opengl-definitions/extensions/GLX_MESA_swap_control.rb +4 -9
  15. data/lib/opengl-definitions/extensions/GLX_NV_copy_buffer.rb +4 -9
  16. data/lib/opengl-definitions/extensions/GLX_NV_copy_image.rb +3 -7
  17. data/lib/opengl-definitions/extensions/GLX_NV_delay_before_swap.rb +3 -7
  18. data/lib/opengl-definitions/extensions/GLX_NV_present_video.rb +4 -9
  19. data/lib/opengl-definitions/extensions/GLX_NV_swap_group.rb +8 -17
  20. data/lib/opengl-definitions/extensions/GLX_NV_video_capture.rb +7 -15
  21. data/lib/opengl-definitions/extensions/GLX_NV_video_out.rb +8 -17
  22. data/lib/opengl-definitions/extensions/GLX_OML_sync_control.rb +7 -15
  23. data/lib/opengl-definitions/extensions/GLX_SGIX_dmbuffer.rb +3 -7
  24. data/lib/opengl-definitions/extensions/GLX_SGIX_fbconfig.rb +8 -17
  25. data/lib/opengl-definitions/extensions/GLX_SGIX_hyperpipe.rb +10 -21
  26. data/lib/opengl-definitions/extensions/GLX_SGIX_pbuffer.rb +7 -15
  27. data/lib/opengl-definitions/extensions/GLX_SGIX_swap_barrier.rb +4 -9
  28. data/lib/opengl-definitions/extensions/GLX_SGIX_swap_group.rb +3 -7
  29. data/lib/opengl-definitions/extensions/GLX_SGIX_video_resize.rb +7 -15
  30. data/lib/opengl-definitions/extensions/GLX_SGIX_video_source.rb +4 -9
  31. data/lib/opengl-definitions/extensions/GLX_SGI_cushion.rb +3 -7
  32. data/lib/opengl-definitions/extensions/GLX_SGI_make_current_read.rb +4 -9
  33. data/lib/opengl-definitions/extensions/GLX_SGI_swap_control.rb +3 -7
  34. data/lib/opengl-definitions/extensions/GLX_SGI_video_sync.rb +4 -9
  35. data/lib/opengl-definitions/extensions/GLX_SUN_get_transparent_index.rb +3 -7
  36. data/lib/opengl-definitions/extensions/GL_3DFX_tbuffer.rb +3 -7
  37. data/lib/opengl-definitions/extensions/GL_AMD_debug_output.rb +6 -13
  38. data/lib/opengl-definitions/extensions/GL_AMD_draw_buffers_blend.rb +6 -13
  39. data/lib/opengl-definitions/extensions/GL_AMD_framebuffer_sample_positions.rb +6 -13
  40. data/lib/opengl-definitions/extensions/GL_AMD_gpu_shader_int64.rb +36 -73
  41. data/lib/opengl-definitions/extensions/GL_AMD_interleaved_elements.rb +3 -7
  42. data/lib/opengl-definitions/extensions/GL_AMD_multi_draw_indirect.rb +4 -9
  43. data/lib/opengl-definitions/extensions/GL_AMD_name_gen_delete.rb +5 -11
  44. data/lib/opengl-definitions/extensions/GL_AMD_occlusion_query_event.rb +3 -7
  45. data/lib/opengl-definitions/extensions/GL_AMD_performance_monitor.rb +13 -27
  46. data/lib/opengl-definitions/extensions/GL_AMD_sample_positions.rb +3 -7
  47. data/lib/opengl-definitions/extensions/GL_AMD_sparse_texture.rb +4 -9
  48. data/lib/opengl-definitions/extensions/GL_AMD_stencil_operation_extended.rb +3 -7
  49. data/lib/opengl-definitions/extensions/GL_AMD_vertex_shader_tessellator.rb +4 -9
  50. data/lib/opengl-definitions/extensions/GL_ANGLE_framebuffer_blit.rb +3 -7
  51. data/lib/opengl-definitions/extensions/GL_ANGLE_framebuffer_multisample.rb +3 -7
  52. data/lib/opengl-definitions/extensions/GL_ANGLE_instanced_arrays.rb +5 -11
  53. data/lib/opengl-definitions/extensions/GL_ANGLE_translated_shader_source.rb +3 -7
  54. data/lib/opengl-definitions/extensions/GL_APPLE_copy_texture_levels.rb +3 -7
  55. data/lib/opengl-definitions/extensions/GL_APPLE_element_array.rb +7 -15
  56. data/lib/opengl-definitions/extensions/GL_APPLE_fence.rb +10 -21
  57. data/lib/opengl-definitions/extensions/GL_APPLE_flush_buffer_range.rb +4 -9
  58. data/lib/opengl-definitions/extensions/GL_APPLE_framebuffer_multisample.rb +4 -9
  59. data/lib/opengl-definitions/extensions/GL_APPLE_object_purgeable.rb +5 -11
  60. data/lib/opengl-definitions/extensions/GL_APPLE_sync.rb +9 -19
  61. data/lib/opengl-definitions/extensions/GL_APPLE_texture_range.rb +4 -9
  62. data/lib/opengl-definitions/extensions/GL_APPLE_vertex_array_object.rb +6 -13
  63. data/lib/opengl-definitions/extensions/GL_APPLE_vertex_array_range.rb +5 -11
  64. data/lib/opengl-definitions/extensions/GL_APPLE_vertex_program_evaluators.rb +9 -19
  65. data/lib/opengl-definitions/extensions/GL_ARB_ES2_compatibility.rb +7 -15
  66. data/lib/opengl-definitions/extensions/GL_ARB_ES3_1_compatibility.rb +3 -7
  67. data/lib/opengl-definitions/extensions/GL_ARB_ES3_2_compatibility.rb +3 -7
  68. data/lib/opengl-definitions/extensions/GL_ARB_base_instance.rb +5 -11
  69. data/lib/opengl-definitions/extensions/GL_ARB_bindless_texture.rb +18 -37
  70. data/lib/opengl-definitions/extensions/GL_ARB_blend_func_extended.rb +4 -9
  71. data/lib/opengl-definitions/extensions/GL_ARB_buffer_storage.rb +3 -7
  72. data/lib/opengl-definitions/extensions/GL_ARB_cl_event.rb +3 -7
  73. data/lib/opengl-definitions/extensions/GL_ARB_clear_buffer_object.rb +4 -9
  74. data/lib/opengl-definitions/extensions/GL_ARB_clear_texture.rb +4 -9
  75. data/lib/opengl-definitions/extensions/GL_ARB_clip_control.rb +3 -7
  76. data/lib/opengl-definitions/extensions/GL_ARB_color_buffer_float.rb +3 -7
  77. data/lib/opengl-definitions/extensions/GL_ARB_compute_shader.rb +4 -9
  78. data/lib/opengl-definitions/extensions/GL_ARB_compute_variable_group_size.rb +3 -7
  79. data/lib/opengl-definitions/extensions/GL_ARB_copy_buffer.rb +3 -7
  80. data/lib/opengl-definitions/extensions/GL_ARB_copy_image.rb +3 -7
  81. data/lib/opengl-definitions/extensions/GL_ARB_debug_output.rb +6 -13
  82. data/lib/opengl-definitions/extensions/GL_ARB_direct_state_access.rb +99 -199
  83. data/lib/opengl-definitions/extensions/GL_ARB_draw_buffers.rb +3 -7
  84. data/lib/opengl-definitions/extensions/GL_ARB_draw_buffers_blend.rb +6 -13
  85. data/lib/opengl-definitions/extensions/GL_ARB_draw_elements_base_vertex.rb +6 -13
  86. data/lib/opengl-definitions/extensions/GL_ARB_draw_indirect.rb +4 -9
  87. data/lib/opengl-definitions/extensions/GL_ARB_draw_instanced.rb +4 -9
  88. data/lib/opengl-definitions/extensions/GL_ARB_fragment_program.rb +21 -43
  89. data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_no_attachments.rb +4 -9
  90. data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_object.rb +22 -45
  91. data/lib/opengl-definitions/extensions/GL_ARB_geometry_shader4.rb +6 -13
  92. data/lib/opengl-definitions/extensions/GL_ARB_get_program_binary.rb +5 -11
  93. data/lib/opengl-definitions/extensions/GL_ARB_get_texture_sub_image.rb +4 -9
  94. data/lib/opengl-definitions/extensions/GL_ARB_gl_spirv.rb +3 -7
  95. data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader_fp64.rb +20 -41
  96. data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader_int64.rb +38 -77
  97. data/lib/opengl-definitions/extensions/GL_ARB_imaging.rb +36 -73
  98. data/lib/opengl-definitions/extensions/GL_ARB_indirect_parameters.rb +4 -9
  99. data/lib/opengl-definitions/extensions/GL_ARB_instanced_arrays.rb +3 -7
  100. data/lib/opengl-definitions/extensions/GL_ARB_internalformat_query.rb +3 -7
  101. data/lib/opengl-definitions/extensions/GL_ARB_internalformat_query2.rb +3 -7
  102. data/lib/opengl-definitions/extensions/GL_ARB_invalidate_subdata.rb +8 -17
  103. data/lib/opengl-definitions/extensions/GL_ARB_map_buffer_range.rb +4 -9
  104. data/lib/opengl-definitions/extensions/GL_ARB_matrix_palette.rb +7 -15
  105. data/lib/opengl-definitions/extensions/GL_ARB_multi_bind.rb +8 -17
  106. data/lib/opengl-definitions/extensions/GL_ARB_multi_draw_indirect.rb +4 -9
  107. data/lib/opengl-definitions/extensions/GL_ARB_multisample.rb +3 -7
  108. data/lib/opengl-definitions/extensions/GL_ARB_multitexture.rb +36 -73
  109. data/lib/opengl-definitions/extensions/GL_ARB_occlusion_query.rb +10 -21
  110. data/lib/opengl-definitions/extensions/GL_ARB_parallel_shader_compile.rb +3 -7
  111. data/lib/opengl-definitions/extensions/GL_ARB_point_parameters.rb +4 -9
  112. data/lib/opengl-definitions/extensions/GL_ARB_polygon_offset_clamp.rb +3 -7
  113. data/lib/opengl-definitions/extensions/GL_ARB_program_interface_query.rb +8 -17
  114. data/lib/opengl-definitions/extensions/GL_ARB_provoking_vertex.rb +3 -7
  115. data/lib/opengl-definitions/extensions/GL_ARB_robustness.rb +22 -45
  116. data/lib/opengl-definitions/extensions/GL_ARB_sample_locations.rb +5 -11
  117. data/lib/opengl-definitions/extensions/GL_ARB_sample_shading.rb +3 -7
  118. data/lib/opengl-definitions/extensions/GL_ARB_sampler_objects.rb +16 -33
  119. data/lib/opengl-definitions/extensions/GL_ARB_separate_shader_objects.rb +63 -127
  120. data/lib/opengl-definitions/extensions/GL_ARB_shader_atomic_counters.rb +3 -7
  121. data/lib/opengl-definitions/extensions/GL_ARB_shader_image_load_store.rb +4 -9
  122. data/lib/opengl-definitions/extensions/GL_ARB_shader_objects.rb +41 -83
  123. data/lib/opengl-definitions/extensions/GL_ARB_shader_storage_buffer_object.rb +3 -7
  124. data/lib/opengl-definitions/extensions/GL_ARB_shader_subroutine.rb +10 -21
  125. data/lib/opengl-definitions/extensions/GL_ARB_shading_language_include.rb +8 -17
  126. data/lib/opengl-definitions/extensions/GL_ARB_sparse_buffer.rb +5 -11
  127. data/lib/opengl-definitions/extensions/GL_ARB_sparse_texture.rb +3 -7
  128. data/lib/opengl-definitions/extensions/GL_ARB_sync.rb +9 -19
  129. data/lib/opengl-definitions/extensions/GL_ARB_tessellation_shader.rb +4 -9
  130. data/lib/opengl-definitions/extensions/GL_ARB_texture_barrier.rb +3 -7
  131. data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_object.rb +3 -7
  132. data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_range.rb +3 -7
  133. data/lib/opengl-definitions/extensions/GL_ARB_texture_compression.rb +9 -19
  134. data/lib/opengl-definitions/extensions/GL_ARB_texture_multisample.rb +6 -13
  135. data/lib/opengl-definitions/extensions/GL_ARB_texture_storage.rb +5 -11
  136. data/lib/opengl-definitions/extensions/GL_ARB_texture_storage_multisample.rb +4 -9
  137. data/lib/opengl-definitions/extensions/GL_ARB_texture_view.rb +3 -7
  138. data/lib/opengl-definitions/extensions/GL_ARB_timer_query.rb +5 -11
  139. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback2.rb +9 -19
  140. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback3.rb +6 -13
  141. data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback_instanced.rb +4 -9
  142. data/lib/opengl-definitions/extensions/GL_ARB_transpose_matrix.rb +6 -13
  143. data/lib/opengl-definitions/extensions/GL_ARB_uniform_buffer_object.rb +12 -25
  144. data/lib/opengl-definitions/extensions/GL_ARB_vertex_array_object.rb +6 -13
  145. data/lib/opengl-definitions/extensions/GL_ARB_vertex_attrib_64bit.rb +12 -25
  146. data/lib/opengl-definitions/extensions/GL_ARB_vertex_attrib_binding.rb +8 -17
  147. data/lib/opengl-definitions/extensions/GL_ARB_vertex_blend.rb +12 -25
  148. data/lib/opengl-definitions/extensions/GL_ARB_vertex_buffer_object.rb +13 -27
  149. data/lib/opengl-definitions/extensions/GL_ARB_vertex_program.rb +64 -129
  150. data/lib/opengl-definitions/extensions/GL_ARB_vertex_shader.rb +48 -97
  151. data/lib/opengl-definitions/extensions/GL_ARB_vertex_type_2_10_10_10_rev.rb +40 -81
  152. data/lib/opengl-definitions/extensions/GL_ARB_viewport_array.rb +12 -25
  153. data/lib/opengl-definitions/extensions/GL_ARB_window_pos.rb +18 -37
  154. data/lib/opengl-definitions/extensions/GL_ATI_draw_buffers.rb +3 -7
  155. data/lib/opengl-definitions/extensions/GL_ATI_element_array.rb +5 -11
  156. data/lib/opengl-definitions/extensions/GL_ATI_envmap_bumpmap.rb +6 -13
  157. data/lib/opengl-definitions/extensions/GL_ATI_fragment_shader.rb +16 -33
  158. data/lib/opengl-definitions/extensions/GL_ATI_map_object_buffer.rb +4 -9
  159. data/lib/opengl-definitions/extensions/GL_ATI_pn_triangles.rb +4 -9
  160. data/lib/opengl-definitions/extensions/GL_ATI_separate_stencil.rb +4 -9
  161. data/lib/opengl-definitions/extensions/GL_ATI_vertex_array_object.rb +14 -29
  162. data/lib/opengl-definitions/extensions/GL_ATI_vertex_attrib_array_object.rb +5 -11
  163. data/lib/opengl-definitions/extensions/GL_ATI_vertex_streams.rb +47 -95
  164. data/lib/opengl-definitions/extensions/GL_EXT_EGL_image_storage.rb +4 -9
  165. data/lib/opengl-definitions/extensions/GL_EXT_base_instance.rb +5 -11
  166. data/lib/opengl-definitions/extensions/GL_EXT_bindable_uniform.rb +5 -11
  167. data/lib/opengl-definitions/extensions/GL_EXT_blend_color.rb +3 -7
  168. data/lib/opengl-definitions/extensions/GL_EXT_blend_equation_separate.rb +3 -7
  169. data/lib/opengl-definitions/extensions/GL_EXT_blend_func_extended.rb +6 -13
  170. data/lib/opengl-definitions/extensions/GL_EXT_blend_func_separate.rb +3 -7
  171. data/lib/opengl-definitions/extensions/GL_EXT_blend_minmax.rb +3 -7
  172. data/lib/opengl-definitions/extensions/GL_EXT_buffer_storage.rb +3 -7
  173. data/lib/opengl-definitions/extensions/GL_EXT_clear_texture.rb +4 -9
  174. data/lib/opengl-definitions/extensions/GL_EXT_clip_control.rb +3 -7
  175. data/lib/opengl-definitions/extensions/GL_EXT_color_subtable.rb +4 -9
  176. data/lib/opengl-definitions/extensions/GL_EXT_compiled_vertex_array.rb +4 -9
  177. data/lib/opengl-definitions/extensions/GL_EXT_convolution.rb +15 -31
  178. data/lib/opengl-definitions/extensions/GL_EXT_coordinate_frame.rb +24 -49
  179. data/lib/opengl-definitions/extensions/GL_EXT_copy_image.rb +3 -7
  180. data/lib/opengl-definitions/extensions/GL_EXT_copy_texture.rb +7 -15
  181. data/lib/opengl-definitions/extensions/GL_EXT_cull_vertex.rb +4 -9
  182. data/lib/opengl-definitions/extensions/GL_EXT_debug_label.rb +4 -9
  183. data/lib/opengl-definitions/extensions/GL_EXT_debug_marker.rb +5 -11
  184. data/lib/opengl-definitions/extensions/GL_EXT_depth_bounds_test.rb +3 -7
  185. data/lib/opengl-definitions/extensions/GL_EXT_direct_state_access.rb +257 -515
  186. data/lib/opengl-definitions/extensions/GL_EXT_discard_framebuffer.rb +3 -7
  187. data/lib/opengl-definitions/extensions/GL_EXT_disjoint_timer_query.rb +13 -27
  188. data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers.rb +3 -7
  189. data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers2.rb +8 -17
  190. data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers_indexed.rb +10 -21
  191. data/lib/opengl-definitions/extensions/GL_EXT_draw_elements_base_vertex.rb +6 -13
  192. data/lib/opengl-definitions/extensions/GL_EXT_draw_instanced.rb +4 -9
  193. data/lib/opengl-definitions/extensions/GL_EXT_draw_range_elements.rb +3 -7
  194. data/lib/opengl-definitions/extensions/GL_EXT_draw_transform_feedback.rb +4 -9
  195. data/lib/opengl-definitions/extensions/GL_EXT_external_buffer.rb +4 -9
  196. data/lib/opengl-definitions/extensions/GL_EXT_fog_coord.rb +7 -15
  197. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_blit.rb +3 -7
  198. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_multisample.rb +3 -7
  199. data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_object.rb +19 -39
  200. data/lib/opengl-definitions/extensions/GL_EXT_geometry_shader.rb +3 -7
  201. data/lib/opengl-definitions/extensions/GL_EXT_geometry_shader4.rb +3 -7
  202. data/lib/opengl-definitions/extensions/GL_EXT_gpu_program_parameters.rb +4 -9
  203. data/lib/opengl-definitions/extensions/GL_EXT_gpu_shader4.rb +13 -27
  204. data/lib/opengl-definitions/extensions/GL_EXT_histogram.rb +12 -25
  205. data/lib/opengl-definitions/extensions/GL_EXT_index_func.rb +3 -7
  206. data/lib/opengl-definitions/extensions/GL_EXT_index_material.rb +3 -7
  207. data/lib/opengl-definitions/extensions/GL_EXT_instanced_arrays.rb +5 -11
  208. data/lib/opengl-definitions/extensions/GL_EXT_light_texture.rb +5 -11
  209. data/lib/opengl-definitions/extensions/GL_EXT_map_buffer_range.rb +4 -9
  210. data/lib/opengl-definitions/extensions/GL_EXT_memory_object.rb +21 -43
  211. data/lib/opengl-definitions/extensions/GL_EXT_memory_object_fd.rb +3 -7
  212. data/lib/opengl-definitions/extensions/GL_EXT_memory_object_win32.rb +4 -9
  213. data/lib/opengl-definitions/extensions/GL_EXT_multi_draw_arrays.rb +4 -9
  214. data/lib/opengl-definitions/extensions/GL_EXT_multi_draw_indirect.rb +4 -9
  215. data/lib/opengl-definitions/extensions/GL_EXT_multisample.rb +4 -9
  216. data/lib/opengl-definitions/extensions/GL_EXT_multisampled_render_to_texture.rb +4 -9
  217. data/lib/opengl-definitions/extensions/GL_EXT_multiview_draw_buffers.rb +5 -11
  218. data/lib/opengl-definitions/extensions/GL_EXT_occlusion_query_boolean.rb +9 -19
  219. data/lib/opengl-definitions/extensions/GL_EXT_paletted_texture.rb +6 -13
  220. data/lib/opengl-definitions/extensions/GL_EXT_pixel_transform.rb +8 -17
  221. data/lib/opengl-definitions/extensions/GL_EXT_point_parameters.rb +4 -9
  222. data/lib/opengl-definitions/extensions/GL_EXT_polygon_offset.rb +3 -7
  223. data/lib/opengl-definitions/extensions/GL_EXT_polygon_offset_clamp.rb +3 -7
  224. data/lib/opengl-definitions/extensions/GL_EXT_primitive_bounding_box.rb +3 -7
  225. data/lib/opengl-definitions/extensions/GL_EXT_provoking_vertex.rb +3 -7
  226. data/lib/opengl-definitions/extensions/GL_EXT_raster_multisample.rb +3 -7
  227. data/lib/opengl-definitions/extensions/GL_EXT_robustness.rb +6 -13
  228. data/lib/opengl-definitions/extensions/GL_EXT_secondary_color.rb +19 -39
  229. data/lib/opengl-definitions/extensions/GL_EXT_semaphore.rb +11 -23
  230. data/lib/opengl-definitions/extensions/GL_EXT_semaphore_fd.rb +3 -7
  231. data/lib/opengl-definitions/extensions/GL_EXT_semaphore_win32.rb +4 -9
  232. data/lib/opengl-definitions/extensions/GL_EXT_separate_shader_objects.rb +49 -99
  233. data/lib/opengl-definitions/extensions/GL_EXT_shader_framebuffer_fetch_non_coherent.rb +3 -7
  234. data/lib/opengl-definitions/extensions/GL_EXT_shader_image_load_store.rb +4 -9
  235. data/lib/opengl-definitions/extensions/GL_EXT_shader_pixel_local_storage2.rb +5 -11
  236. data/lib/opengl-definitions/extensions/GL_EXT_sparse_texture.rb +3 -7
  237. data/lib/opengl-definitions/extensions/GL_EXT_stencil_clear_tag.rb +3 -7
  238. data/lib/opengl-definitions/extensions/GL_EXT_stencil_two_side.rb +3 -7
  239. data/lib/opengl-definitions/extensions/GL_EXT_subtexture.rb +4 -9
  240. data/lib/opengl-definitions/extensions/GL_EXT_tessellation_shader.rb +3 -7
  241. data/lib/opengl-definitions/extensions/GL_EXT_texture3D.rb +4 -9
  242. data/lib/opengl-definitions/extensions/GL_EXT_texture_array.rb +3 -7
  243. data/lib/opengl-definitions/extensions/GL_EXT_texture_border_clamp.rb +10 -21
  244. data/lib/opengl-definitions/extensions/GL_EXT_texture_buffer.rb +4 -9
  245. data/lib/opengl-definitions/extensions/GL_EXT_texture_buffer_object.rb +3 -7
  246. data/lib/opengl-definitions/extensions/GL_EXT_texture_integer.rb +8 -17
  247. data/lib/opengl-definitions/extensions/GL_EXT_texture_object.rb +8 -17
  248. data/lib/opengl-definitions/extensions/GL_EXT_texture_perturb_normal.rb +3 -7
  249. data/lib/opengl-definitions/extensions/GL_EXT_texture_storage.rb +8 -17
  250. data/lib/opengl-definitions/extensions/GL_EXT_texture_view.rb +3 -7
  251. data/lib/opengl-definitions/extensions/GL_EXT_timer_query.rb +4 -9
  252. data/lib/opengl-definitions/extensions/GL_EXT_transform_feedback.rb +9 -19
  253. data/lib/opengl-definitions/extensions/GL_EXT_vertex_array.rb +11 -23
  254. data/lib/opengl-definitions/extensions/GL_EXT_vertex_attrib_64bit.rb +12 -25
  255. data/lib/opengl-definitions/extensions/GL_EXT_vertex_shader.rb +44 -89
  256. data/lib/opengl-definitions/extensions/GL_EXT_vertex_weighting.rb +5 -11
  257. data/lib/opengl-definitions/extensions/GL_EXT_win32_keyed_mutex.rb +4 -9
  258. data/lib/opengl-definitions/extensions/GL_EXT_window_rectangles.rb +3 -7
  259. data/lib/opengl-definitions/extensions/GL_EXT_x11_sync_object.rb +3 -7
  260. data/lib/opengl-definitions/extensions/GL_GREMEDY_frame_terminator.rb +3 -7
  261. data/lib/opengl-definitions/extensions/GL_GREMEDY_string_marker.rb +3 -7
  262. data/lib/opengl-definitions/extensions/GL_HP_image_transform.rb +8 -17
  263. data/lib/opengl-definitions/extensions/GL_IBM_multimode_draw_arrays.rb +4 -9
  264. data/lib/opengl-definitions/extensions/GL_IBM_static_data.rb +3 -7
  265. data/lib/opengl-definitions/extensions/GL_IBM_vertex_array_lists.rb +10 -21
  266. data/lib/opengl-definitions/extensions/GL_IMG_bindless_texture.rb +8 -17
  267. data/lib/opengl-definitions/extensions/GL_IMG_framebuffer_downsample.rb +4 -9
  268. data/lib/opengl-definitions/extensions/GL_IMG_multisampled_render_to_texture.rb +4 -9
  269. data/lib/opengl-definitions/extensions/GL_IMG_user_clip_plane.rb +4 -9
  270. data/lib/opengl-definitions/extensions/GL_INGR_blend_func_separate.rb +3 -7
  271. data/lib/opengl-definitions/extensions/GL_INTEL_framebuffer_CMAA.rb +3 -7
  272. data/lib/opengl-definitions/extensions/GL_INTEL_map_texture.rb +5 -11
  273. data/lib/opengl-definitions/extensions/GL_INTEL_parallel_arrays.rb +6 -13
  274. data/lib/opengl-definitions/extensions/GL_INTEL_performance_query.rb +12 -25
  275. data/lib/opengl-definitions/extensions/GL_KHR_blend_equation_advanced.rb +3 -7
  276. data/lib/opengl-definitions/extensions/GL_KHR_debug.rb +24 -49
  277. data/lib/opengl-definitions/extensions/GL_KHR_parallel_shader_compile.rb +3 -7
  278. data/lib/opengl-definitions/extensions/GL_KHR_robustness.rb +12 -25
  279. data/lib/opengl-definitions/extensions/GL_MESA_resize_buffers.rb +3 -7
  280. data/lib/opengl-definitions/extensions/GL_MESA_window_pos.rb +26 -53
  281. data/lib/opengl-definitions/extensions/GL_NVX_conditional_render.rb +4 -9
  282. data/lib/opengl-definitions/extensions/GL_NVX_linked_gpu_multicast.rb +5 -11
  283. data/lib/opengl-definitions/extensions/GL_NV_alpha_to_coverage_dither_control.rb +3 -7
  284. data/lib/opengl-definitions/extensions/GL_NV_bindless_multi_draw_indirect.rb +4 -9
  285. data/lib/opengl-definitions/extensions/GL_NV_bindless_multi_draw_indirect_count.rb +4 -9
  286. data/lib/opengl-definitions/extensions/GL_NV_bindless_texture.rb +15 -31
  287. data/lib/opengl-definitions/extensions/GL_NV_blend_equation_advanced.rb +4 -9
  288. data/lib/opengl-definitions/extensions/GL_NV_clip_space_w_scaling.rb +3 -7
  289. data/lib/opengl-definitions/extensions/GL_NV_command_list.rb +19 -39
  290. data/lib/opengl-definitions/extensions/GL_NV_conditional_render.rb +4 -9
  291. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster.rb +3 -7
  292. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_dilate.rb +3 -7
  293. data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_pre_snap_triangles.rb +3 -7
  294. data/lib/opengl-definitions/extensions/GL_NV_copy_buffer.rb +3 -7
  295. data/lib/opengl-definitions/extensions/GL_NV_copy_image.rb +3 -7
  296. data/lib/opengl-definitions/extensions/GL_NV_coverage_sample.rb +4 -9
  297. data/lib/opengl-definitions/extensions/GL_NV_depth_buffer_float.rb +5 -11
  298. data/lib/opengl-definitions/extensions/GL_NV_draw_buffers.rb +3 -7
  299. data/lib/opengl-definitions/extensions/GL_NV_draw_instanced.rb +4 -9
  300. data/lib/opengl-definitions/extensions/GL_NV_draw_texture.rb +3 -7
  301. data/lib/opengl-definitions/extensions/GL_NV_draw_vulkan_image.rb +7 -15
  302. data/lib/opengl-definitions/extensions/GL_NV_evaluators.rb +11 -23
  303. data/lib/opengl-definitions/extensions/GL_NV_explicit_multisample.rb +5 -11
  304. data/lib/opengl-definitions/extensions/GL_NV_fence.rb +9 -19
  305. data/lib/opengl-definitions/extensions/GL_NV_fragment_coverage_to_color.rb +3 -7
  306. data/lib/opengl-definitions/extensions/GL_NV_fragment_program.rb +8 -17
  307. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_blit.rb +3 -7
  308. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_mixed_samples.rb +6 -13
  309. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_multisample.rb +3 -7
  310. data/lib/opengl-definitions/extensions/GL_NV_framebuffer_multisample_coverage.rb +3 -7
  311. data/lib/opengl-definitions/extensions/GL_NV_geometry_program4.rb +6 -13
  312. data/lib/opengl-definitions/extensions/GL_NV_gpu_multicast.rb +14 -29
  313. data/lib/opengl-definitions/extensions/GL_NV_gpu_program4.rb +18 -37
  314. data/lib/opengl-definitions/extensions/GL_NV_gpu_program5.rb +4 -9
  315. data/lib/opengl-definitions/extensions/GL_NV_gpu_shader5.rb +35 -71
  316. data/lib/opengl-definitions/extensions/GL_NV_half_float.rb +48 -97
  317. data/lib/opengl-definitions/extensions/GL_NV_instanced_arrays.rb +3 -7
  318. data/lib/opengl-definitions/extensions/GL_NV_internalformat_sample_query.rb +3 -7
  319. data/lib/opengl-definitions/extensions/GL_NV_non_square_matrices.rb +8 -17
  320. data/lib/opengl-definitions/extensions/GL_NV_occlusion_query.rb +9 -19
  321. data/lib/opengl-definitions/extensions/GL_NV_parameter_buffer_object.rb +5 -11
  322. data/lib/opengl-definitions/extensions/GL_NV_path_rendering.rb +85 -171
  323. data/lib/opengl-definitions/extensions/GL_NV_pixel_data_range.rb +4 -9
  324. data/lib/opengl-definitions/extensions/GL_NV_point_sprite.rb +4 -9
  325. data/lib/opengl-definitions/extensions/GL_NV_polygon_mode.rb +3 -7
  326. data/lib/opengl-definitions/extensions/GL_NV_present_video.rb +8 -17
  327. data/lib/opengl-definitions/extensions/GL_NV_primitive_restart.rb +4 -9
  328. data/lib/opengl-definitions/extensions/GL_NV_query_resource.rb +3 -7
  329. data/lib/opengl-definitions/extensions/GL_NV_query_resource_tag.rb +5 -11
  330. data/lib/opengl-definitions/extensions/GL_NV_read_buffer.rb +3 -7
  331. data/lib/opengl-definitions/extensions/GL_NV_register_combiners.rb +15 -31
  332. data/lib/opengl-definitions/extensions/GL_NV_register_combiners2.rb +4 -9
  333. data/lib/opengl-definitions/extensions/GL_NV_sample_locations.rb +5 -11
  334. data/lib/opengl-definitions/extensions/GL_NV_shader_buffer_load.rb +16 -33
  335. data/lib/opengl-definitions/extensions/GL_NV_texture_barrier.rb +3 -7
  336. data/lib/opengl-definitions/extensions/GL_NV_texture_multisample.rb +8 -17
  337. data/lib/opengl-definitions/extensions/GL_NV_transform_feedback.rb +14 -29
  338. data/lib/opengl-definitions/extensions/GL_NV_transform_feedback2.rb +9 -19
  339. data/lib/opengl-definitions/extensions/GL_NV_vdpau_interop.rb +12 -25
  340. data/lib/opengl-definitions/extensions/GL_NV_vertex_array_range.rb +4 -9
  341. data/lib/opengl-definitions/extensions/GL_NV_vertex_attrib_integer_64bit.rb +21 -43
  342. data/lib/opengl-definitions/extensions/GL_NV_vertex_buffer_unified_memory.rb +14 -29
  343. data/lib/opengl-definitions/extensions/GL_NV_vertex_program.rb +66 -133
  344. data/lib/opengl-definitions/extensions/GL_NV_vertex_program4.rb +25 -51
  345. data/lib/opengl-definitions/extensions/GL_NV_video_capture.rb +14 -29
  346. data/lib/opengl-definitions/extensions/GL_NV_viewport_array.rb +14 -29
  347. data/lib/opengl-definitions/extensions/GL_NV_viewport_swizzle.rb +3 -7
  348. data/lib/opengl-definitions/extensions/GL_OES_EGL_image.rb +4 -9
  349. data/lib/opengl-definitions/extensions/GL_OES_blend_equation_separate.rb +3 -7
  350. data/lib/opengl-definitions/extensions/GL_OES_blend_func_separate.rb +3 -7
  351. data/lib/opengl-definitions/extensions/GL_OES_blend_subtract.rb +3 -7
  352. data/lib/opengl-definitions/extensions/GL_OES_byte_coordinates.rb +24 -49
  353. data/lib/opengl-definitions/extensions/GL_OES_copy_image.rb +3 -7
  354. data/lib/opengl-definitions/extensions/GL_OES_draw_buffers_indexed.rb +10 -21
  355. data/lib/opengl-definitions/extensions/GL_OES_draw_elements_base_vertex.rb +6 -13
  356. data/lib/opengl-definitions/extensions/GL_OES_draw_texture.rb +10 -21
  357. data/lib/opengl-definitions/extensions/GL_OES_fixed_point.rb +109 -219
  358. data/lib/opengl-definitions/extensions/GL_OES_framebuffer_object.rb +17 -35
  359. data/lib/opengl-definitions/extensions/GL_OES_geometry_shader.rb +3 -7
  360. data/lib/opengl-definitions/extensions/GL_OES_get_program_binary.rb +4 -9
  361. data/lib/opengl-definitions/extensions/GL_OES_mapbuffer.rb +5 -11
  362. data/lib/opengl-definitions/extensions/GL_OES_matrix_palette.rb +6 -13
  363. data/lib/opengl-definitions/extensions/GL_OES_point_size_array.rb +3 -7
  364. data/lib/opengl-definitions/extensions/GL_OES_primitive_bounding_box.rb +3 -7
  365. data/lib/opengl-definitions/extensions/GL_OES_query_matrix.rb +3 -7
  366. data/lib/opengl-definitions/extensions/GL_OES_sample_shading.rb +3 -7
  367. data/lib/opengl-definitions/extensions/GL_OES_single_precision.rb +8 -17
  368. data/lib/opengl-definitions/extensions/GL_OES_tessellation_shader.rb +3 -7
  369. data/lib/opengl-definitions/extensions/GL_OES_texture_3D.rb +8 -17
  370. data/lib/opengl-definitions/extensions/GL_OES_texture_border_clamp.rb +10 -21
  371. data/lib/opengl-definitions/extensions/GL_OES_texture_buffer.rb +4 -9
  372. data/lib/opengl-definitions/extensions/GL_OES_texture_cube_map.rb +11 -23
  373. data/lib/opengl-definitions/extensions/GL_OES_texture_storage_multisample_2d_array.rb +3 -7
  374. data/lib/opengl-definitions/extensions/GL_OES_texture_view.rb +3 -7
  375. data/lib/opengl-definitions/extensions/GL_OES_vertex_array_object.rb +6 -13
  376. data/lib/opengl-definitions/extensions/GL_OES_viewport_array.rb +14 -29
  377. data/lib/opengl-definitions/extensions/GL_OVR_multiview.rb +3 -7
  378. data/lib/opengl-definitions/extensions/GL_OVR_multiview_multisampled_render_to_texture.rb +3 -7
  379. data/lib/opengl-definitions/extensions/GL_PGI_misc_hints.rb +3 -7
  380. data/lib/opengl-definitions/extensions/GL_QCOM_alpha_test.rb +3 -7
  381. data/lib/opengl-definitions/extensions/GL_QCOM_driver_control.rb +6 -13
  382. data/lib/opengl-definitions/extensions/GL_QCOM_extended_get.rb +10 -21
  383. data/lib/opengl-definitions/extensions/GL_QCOM_extended_get2.rb +6 -13
  384. data/lib/opengl-definitions/extensions/GL_QCOM_framebuffer_foveated.rb +4 -9
  385. data/lib/opengl-definitions/extensions/GL_QCOM_shader_framebuffer_fetch_noncoherent.rb +3 -7
  386. data/lib/opengl-definitions/extensions/GL_QCOM_texture_foveated.rb +3 -7
  387. data/lib/opengl-definitions/extensions/GL_QCOM_tiled_rendering.rb +4 -9
  388. data/lib/opengl-definitions/extensions/GL_SGIS_detail_texture.rb +4 -9
  389. data/lib/opengl-definitions/extensions/GL_SGIS_fog_function.rb +4 -9
  390. data/lib/opengl-definitions/extensions/GL_SGIS_multisample.rb +4 -9
  391. data/lib/opengl-definitions/extensions/GL_SGIS_pixel_texture.rb +8 -17
  392. data/lib/opengl-definitions/extensions/GL_SGIS_point_parameters.rb +4 -9
  393. data/lib/opengl-definitions/extensions/GL_SGIS_sharpen_texture.rb +4 -9
  394. data/lib/opengl-definitions/extensions/GL_SGIS_texture4D.rb +4 -9
  395. data/lib/opengl-definitions/extensions/GL_SGIS_texture_color_mask.rb +3 -7
  396. data/lib/opengl-definitions/extensions/GL_SGIS_texture_filter4.rb +4 -9
  397. data/lib/opengl-definitions/extensions/GL_SGIX_async.rb +8 -17
  398. data/lib/opengl-definitions/extensions/GL_SGIX_flush_raster.rb +3 -7
  399. data/lib/opengl-definitions/extensions/GL_SGIX_fragment_lighting.rb +20 -41
  400. data/lib/opengl-definitions/extensions/GL_SGIX_framezoom.rb +3 -7
  401. data/lib/opengl-definitions/extensions/GL_SGIX_igloo_interface.rb +3 -7
  402. data/lib/opengl-definitions/extensions/GL_SGIX_instruments.rb +8 -17
  403. data/lib/opengl-definitions/extensions/GL_SGIX_list_priority.rb +8 -17
  404. data/lib/opengl-definitions/extensions/GL_SGIX_pixel_texture.rb +3 -7
  405. data/lib/opengl-definitions/extensions/GL_SGIX_polynomial_ffd.rb +6 -13
  406. data/lib/opengl-definitions/extensions/GL_SGIX_reference_plane.rb +3 -7
  407. data/lib/opengl-definitions/extensions/GL_SGIX_sprite.rb +6 -13
  408. data/lib/opengl-definitions/extensions/GL_SGIX_tag_sample_buffer.rb +3 -7
  409. data/lib/opengl-definitions/extensions/GL_SGI_color_table.rb +9 -19
  410. data/lib/opengl-definitions/extensions/GL_SUNX_constant_data.rb +3 -7
  411. data/lib/opengl-definitions/extensions/GL_SUN_global_alpha.rb +10 -21
  412. data/lib/opengl-definitions/extensions/GL_SUN_mesh_array.rb +3 -7
  413. data/lib/opengl-definitions/extensions/GL_SUN_triangle_list.rb +9 -19
  414. data/lib/opengl-definitions/extensions/GL_SUN_vertex.rb +42 -85
  415. data/lib/opengl-definitions/extensions/WGL_3DL_stereo_control.rb +3 -7
  416. data/lib/opengl-definitions/extensions/WGL_AMD_gpu_association.rb +11 -23
  417. data/lib/opengl-definitions/extensions/WGL_ARB_buffer_region.rb +6 -13
  418. data/lib/opengl-definitions/extensions/WGL_ARB_create_context.rb +3 -7
  419. data/lib/opengl-definitions/extensions/WGL_ARB_extensions_string.rb +3 -7
  420. data/lib/opengl-definitions/extensions/WGL_ARB_make_current_read.rb +4 -9
  421. data/lib/opengl-definitions/extensions/WGL_ARB_pbuffer.rb +7 -15
  422. data/lib/opengl-definitions/extensions/WGL_ARB_pixel_format.rb +5 -11
  423. data/lib/opengl-definitions/extensions/WGL_ARB_render_texture.rb +5 -11
  424. data/lib/opengl-definitions/extensions/WGL_EXT_display_color_table.rb +6 -13
  425. data/lib/opengl-definitions/extensions/WGL_EXT_extensions_string.rb +3 -7
  426. data/lib/opengl-definitions/extensions/WGL_EXT_make_current_read.rb +4 -9
  427. data/lib/opengl-definitions/extensions/WGL_EXT_pbuffer.rb +7 -15
  428. data/lib/opengl-definitions/extensions/WGL_EXT_pixel_format.rb +5 -11
  429. data/lib/opengl-definitions/extensions/WGL_EXT_swap_control.rb +4 -9
  430. data/lib/opengl-definitions/extensions/WGL_I3D_digital_video_control.rb +4 -9
  431. data/lib/opengl-definitions/extensions/WGL_I3D_gamma.rb +6 -13
  432. data/lib/opengl-definitions/extensions/WGL_I3D_genlock.rb +14 -29
  433. data/lib/opengl-definitions/extensions/WGL_I3D_image_buffer.rb +6 -13
  434. data/lib/opengl-definitions/extensions/WGL_I3D_swap_frame_lock.rb +6 -13
  435. data/lib/opengl-definitions/extensions/WGL_I3D_swap_frame_usage.rb +6 -13
  436. data/lib/opengl-definitions/extensions/WGL_NV_DX_interop.rb +10 -21
  437. data/lib/opengl-definitions/extensions/WGL_NV_copy_image.rb +3 -7
  438. data/lib/opengl-definitions/extensions/WGL_NV_delay_before_swap.rb +3 -7
  439. data/lib/opengl-definitions/extensions/WGL_NV_gpu_affinity.rb +7 -15
  440. data/lib/opengl-definitions/extensions/WGL_NV_present_video.rb +5 -11
  441. data/lib/opengl-definitions/extensions/WGL_NV_swap_group.rb +8 -17
  442. data/lib/opengl-definitions/extensions/WGL_NV_vertex_array_range.rb +4 -9
  443. data/lib/opengl-definitions/extensions/WGL_NV_video_capture.rb +7 -15
  444. data/lib/opengl-definitions/extensions/WGL_NV_video_output.rb +8 -17
  445. data/lib/opengl-definitions/extensions/WGL_OML_sync_control.rb +8 -17
  446. data/lib/opengl-definitions/version.rb +1 -1
  447. data/lib/opengl-definitions/versions/GLX_VERSION_1_0.rb +87 -0
  448. data/lib/opengl-definitions/versions/GLX_VERSION_1_1.rb +8 -14
  449. data/lib/opengl-definitions/versions/GLX_VERSION_1_2.rb +4 -8
  450. data/lib/opengl-definitions/versions/GLX_VERSION_1_3.rb +36 -56
  451. data/lib/opengl-definitions/versions/GLX_VERSION_1_4.rb +4 -8
  452. data/lib/opengl-definitions/versions/GL_VERSION_1_0.rb +50 -101
  453. data/lib/opengl-definitions/versions/GL_VERSION_1_1.rb +15 -31
  454. data/lib/opengl-definitions/versions/GL_VERSION_1_2.rb +6 -13
  455. data/lib/opengl-definitions/versions/GL_VERSION_1_3.rb +11 -23
  456. data/lib/opengl-definitions/versions/GL_VERSION_1_4.rb +9 -19
  457. data/lib/opengl-definitions/versions/GL_VERSION_1_5.rb +21 -43
  458. data/lib/opengl-definitions/versions/GL_VERSION_2_0.rb +95 -191
  459. data/lib/opengl-definitions/versions/GL_VERSION_2_1.rb +8 -17
  460. data/lib/opengl-definitions/versions/GL_VERSION_3_0.rb +57 -115
  461. data/lib/opengl-definitions/versions/GL_VERSION_3_1.rb +7 -14
  462. data/lib/opengl-definitions/versions/GL_VERSION_3_2.rb +5 -11
  463. data/lib/opengl-definitions/versions/GL_VERSION_3_3.rb +3 -7
  464. data/lib/opengl-definitions/versions/GL_VERSION_4_0.rb +7 -15
  465. data/lib/opengl-definitions/versions/GL_VERSION_4_2.rb +1 -1
  466. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_0.rb +255 -511
  467. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_1.rb +23 -47
  468. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_3.rb +39 -79
  469. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_4.rb +40 -81
  470. data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_5.rb +4 -8
  471. metadata +3 -2
@@ -6,12 +6,8 @@ module GLX_VERSION_1_4
6
6
  SAMPLES = 100001
7
7
  end
8
8
 
9
- module Functions
10
- def glXGetProcAddress(procName) end
11
-
12
- Parameters = {
13
- #void ( * glXGetProcAddress (const GLubyte *procName)) (void)
14
- glXGetProcAddress: [ :pointer, :string ].freeze
15
- }.freeze
16
- end
9
+ Functions = {
10
+ # void ( * glXGetProcAddress (const GLubyte *procName)) (void)
11
+ def glXGetProcAddress(procName) end => [ :pointer, :string ].freeze
12
+ }.freeze
17
13
  end
@@ -538,105 +538,54 @@ module GL_VERSION_1_0
538
538
  ZOOM_Y = 0x0D17
539
539
  end
540
540
 
541
- module Functions
542
- def glBlendFunc(sfactor, dfactor) end
543
- def glClear(mask) end
544
- def glClearColor(red, green, blue, alpha) end
545
- def glClearDepth(depth) end
546
- def glClearStencil(s) end
547
- def glColorMask(red, green, blue, alpha) end
548
- def glCullFace(mode) end
549
- def glDepthFunc(func) end
550
- def glDepthMask(flag) end
551
- def glDepthRange(n, f) end
552
- def glDisable(cap) end
553
- def glDrawBuffer(buf) end
554
- def glEnable(cap) end
555
- def glFinish() end
556
- def glFlush() end
557
- def glFrontFace(mode) end
558
- def glGetBooleanv(pname, data) end
559
- def glGetDoublev(pname, data) end
560
- def glGetError() end
561
- def glGetFloatv(pname, data) end
562
- def glGetIntegerv(pname, data) end
563
- def glGetString(name) end
564
- def glGetTexImage(target, level, format, type, pixels) end
565
- def glGetTexLevelParameterfv(target, level, pname, params) end
566
- def glGetTexLevelParameteriv(target, level, pname, params) end
567
- def glGetTexParameterfv(target, pname, params) end
568
- def glGetTexParameteriv(target, pname, params) end
569
- def glHint(target, mode) end
570
- def glIsEnabled(cap) end
571
- def glLineWidth(width) end
572
- def glLogicOp(opcode) end
573
- def glPixelStoref(pname, param) end
574
- def glPixelStorei(pname, param) end
575
- def glPointSize(size) end
576
- def glPolygonMode(face, mode) end
577
- def glReadBuffer(src) end
578
- def glReadPixels(x, y, width, height, format, type, pixels) end
579
- def glScissor(x, y, width, height) end
580
- def glStencilFunc(func, ref, mask) end
581
- def glStencilMask(mask) end
582
- def glStencilOp(fail, zfail, zpass) end
583
- def glTexImage1D(target, level, internalformat, width, border, format, type, pixels) end
584
- def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) end
585
- def glTexParameterf(target, pname, param) end
586
- def glTexParameterfv(target, pname, params) end
587
- def glTexParameteri(target, pname, param) end
588
- def glTexParameteriv(target, pname, params) end
589
- def glViewport(x, y, width, height) end
590
-
591
- Parameters = {
592
- glBlendFunc: [ :void, :GLenum, :GLenum ].freeze,
593
- glClear: [ :void, :GLbitfield ].freeze,
594
- glClearColor: [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
595
- glClearDepth: [ :void, :GLdouble ].freeze,
596
- glClearStencil: [ :void, :GLint ].freeze,
597
- glColorMask: [ :void, :GLboolean, :GLboolean, :GLboolean, :GLboolean ].freeze,
598
- glCullFace: [ :void, :GLenum ].freeze,
599
- glDepthFunc: [ :void, :GLenum ].freeze,
600
- glDepthMask: [ :void, :GLboolean ].freeze,
601
- glDepthRange: [ :void, :GLdouble, :GLdouble ].freeze,
602
- glDisable: [ :void, :GLenum ].freeze,
603
- glDrawBuffer: [ :void, :GLenum ].freeze,
604
- glEnable: [ :void, :GLenum ].freeze,
605
- glFinish: [ :void ].freeze,
606
- glFlush: [ :void ].freeze,
607
- glFrontFace: [ :void, :GLenum ].freeze,
608
- glGetBooleanv: [ :void, :GLenum, :pointer ].freeze,
609
- glGetDoublev: [ :void, :GLenum, :pointer ].freeze,
610
- glGetError: [ :GLenum ].freeze,
611
- glGetFloatv: [ :void, :GLenum, :pointer ].freeze,
612
- glGetIntegerv: [ :void, :GLenum, :pointer ].freeze,
613
- glGetString: [ :string, :GLenum ].freeze,
614
- glGetTexImage: [ :void, :GLenum, :GLint, :GLenum, :GLenum, :pointer ].freeze,
615
- glGetTexLevelParameterfv: [ :void, :GLenum, :GLint, :GLenum, :pointer ].freeze,
616
- glGetTexLevelParameteriv: [ :void, :GLenum, :GLint, :GLenum, :pointer ].freeze,
617
- glGetTexParameterfv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
618
- glGetTexParameteriv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
619
- glHint: [ :void, :GLenum, :GLenum ].freeze,
620
- glIsEnabled: [ :GLboolean, :GLenum ].freeze,
621
- glLineWidth: [ :void, :GLfloat ].freeze,
622
- glLogicOp: [ :void, :GLenum ].freeze,
623
- glPixelStoref: [ :void, :GLenum, :GLfloat ].freeze,
624
- glPixelStorei: [ :void, :GLenum, :GLint ].freeze,
625
- glPointSize: [ :void, :GLfloat ].freeze,
626
- glPolygonMode: [ :void, :GLenum, :GLenum ].freeze,
627
- glReadBuffer: [ :void, :GLenum ].freeze,
628
- glReadPixels: [ :void, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
629
- glScissor: [ :void, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
630
- glStencilFunc: [ :void, :GLenum, :GLint, :GLuint ].freeze,
631
- glStencilMask: [ :void, :GLuint ].freeze,
632
- glStencilOp: [ :void, :GLenum, :GLenum, :GLenum ].freeze,
633
- glTexImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
634
- glTexImage2D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
635
- glTexParameterf: [ :void, :GLenum, :GLenum, :GLfloat ].freeze,
636
- glTexParameterfv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
637
- glTexParameteri: [ :void, :GLenum, :GLenum, :GLint ].freeze,
638
- glTexParameteriv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
639
- glViewport: [ :void, :GLint, :GLint, :GLsizei, :GLsizei ].freeze
640
- }.freeze
641
- end
541
+ Functions = {
542
+ def glBlendFunc(sfactor, dfactor) end => [ :void, :GLenum, :GLenum ].freeze,
543
+ def glClear(mask) end => [ :void, :GLbitfield ].freeze,
544
+ def glClearColor(red, green, blue, alpha) end => [ :void, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
545
+ def glClearDepth(depth) end => [ :void, :GLdouble ].freeze,
546
+ def glClearStencil(s) end => [ :void, :GLint ].freeze,
547
+ def glColorMask(red, green, blue, alpha) end => [ :void, :GLboolean, :GLboolean, :GLboolean, :GLboolean ].freeze,
548
+ def glCullFace(mode) end => [ :void, :GLenum ].freeze,
549
+ def glDepthFunc(func) end => [ :void, :GLenum ].freeze,
550
+ def glDepthMask(flag) end => [ :void, :GLboolean ].freeze,
551
+ def glDepthRange(n, f) end => [ :void, :GLdouble, :GLdouble ].freeze,
552
+ def glDisable(cap) end => [ :void, :GLenum ].freeze,
553
+ def glDrawBuffer(buf) end => [ :void, :GLenum ].freeze,
554
+ def glEnable(cap) end => [ :void, :GLenum ].freeze,
555
+ def glFinish() end => [ :void ].freeze,
556
+ def glFlush() end => [ :void ].freeze,
557
+ def glFrontFace(mode) end => [ :void, :GLenum ].freeze,
558
+ def glGetBooleanv(pname, data) end => [ :void, :GLenum, :pointer ].freeze,
559
+ def glGetDoublev(pname, data) end => [ :void, :GLenum, :pointer ].freeze,
560
+ def glGetError() end => [ :GLenum ].freeze,
561
+ def glGetFloatv(pname, data) end => [ :void, :GLenum, :pointer ].freeze,
562
+ def glGetIntegerv(pname, data) end => [ :void, :GLenum, :pointer ].freeze,
563
+ def glGetString(name) end => [ :string, :GLenum ].freeze,
564
+ def glGetTexImage(target, level, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLenum, :GLenum, :pointer ].freeze,
565
+ def glGetTexLevelParameterfv(target, level, pname, params) end => [ :void, :GLenum, :GLint, :GLenum, :pointer ].freeze,
566
+ def glGetTexLevelParameteriv(target, level, pname, params) end => [ :void, :GLenum, :GLint, :GLenum, :pointer ].freeze,
567
+ def glGetTexParameterfv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
568
+ def glGetTexParameteriv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
569
+ def glHint(target, mode) end => [ :void, :GLenum, :GLenum ].freeze,
570
+ def glIsEnabled(cap) end => [ :GLboolean, :GLenum ].freeze,
571
+ def glLineWidth(width) end => [ :void, :GLfloat ].freeze,
572
+ def glLogicOp(opcode) end => [ :void, :GLenum ].freeze,
573
+ def glPixelStoref(pname, param) end => [ :void, :GLenum, :GLfloat ].freeze,
574
+ def glPixelStorei(pname, param) end => [ :void, :GLenum, :GLint ].freeze,
575
+ def glPointSize(size) end => [ :void, :GLfloat ].freeze,
576
+ def glPolygonMode(face, mode) end => [ :void, :GLenum, :GLenum ].freeze,
577
+ def glReadBuffer(src) end => [ :void, :GLenum ].freeze,
578
+ def glReadPixels(x, y, width, height, format, type, pixels) end => [ :void, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
579
+ def glScissor(x, y, width, height) end => [ :void, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
580
+ def glStencilFunc(func, ref, mask) end => [ :void, :GLenum, :GLint, :GLuint ].freeze,
581
+ def glStencilMask(mask) end => [ :void, :GLuint ].freeze,
582
+ def glStencilOp(fail, zfail, zpass) end => [ :void, :GLenum, :GLenum, :GLenum ].freeze,
583
+ def glTexImage1D(target, level, internalformat, width, border, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
584
+ def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
585
+ def glTexParameterf(target, pname, param) end => [ :void, :GLenum, :GLenum, :GLfloat ].freeze,
586
+ def glTexParameterfv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
587
+ def glTexParameteri(target, pname, param) end => [ :void, :GLenum, :GLenum, :GLint ].freeze,
588
+ def glTexParameteriv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
589
+ def glViewport(x, y, width, height) end => [ :void, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
590
+ }.freeze
642
591
  end
@@ -1,35 +1,19 @@
1
1
  # Unlike other extensions, functions from this module are not pointers.
2
2
 
3
3
  module GL_VERSION_1_1
4
- module Functions
5
- def glBindTexture(target, texture) end
6
- def glCopyTexImage1D(target, level, internalformat, x, y, width, border) end
7
- def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) end
8
- def glCopyTexSubImage1D(target, level, xoffset, x, y, width) end
9
- def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) end
10
- def glDeleteTextures(n, textures) end
11
- def glDrawArrays(mode, first, count) end
12
- def glDrawElements(mode, count, type, indices) end
13
- def glGenTextures(n, textures) end
14
- def glIsTexture(texture) end
15
- def glPolygonOffset(factor, units) end
16
- def glTexSubImage1D(target, level, xoffset, width, format, type, pixels) end
17
- def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) end
18
-
19
- Parameters = {
20
- glBindTexture: [ :void, :GLenum, :GLuint ].freeze,
21
- glCopyTexImage1D: [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLint ].freeze,
22
- glCopyTexImage2D: [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint ].freeze,
23
- glCopyTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei ].freeze,
24
- glCopyTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
25
- glDeleteTextures: [ :void, :GLsizei, :pointer ].freeze,
26
- glDrawArrays: [ :void, :GLenum, :GLint, :GLsizei ].freeze,
27
- glDrawElements: [ :void, :GLenum, :GLsizei, :GLenum, :pointer ].freeze,
28
- glGenTextures: [ :void, :GLsizei, :pointer ].freeze,
29
- glIsTexture: [ :GLboolean, :GLuint ].freeze,
30
- glPolygonOffset: [ :void, :GLfloat, :GLfloat ].freeze,
31
- glTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
32
- glTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze
33
- }.freeze
34
- end
4
+ Functions = {
5
+ def glBindTexture(target, texture) end => [ :void, :GLenum, :GLuint ].freeze,
6
+ def glCopyTexImage1D(target, level, internalformat, x, y, width, border) end => [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLint ].freeze,
7
+ def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) end => [ :void, :GLenum, :GLint, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLint ].freeze,
8
+ def glCopyTexSubImage1D(target, level, xoffset, x, y, width) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei ].freeze,
9
+ def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
10
+ def glDeleteTextures(n, textures) end => [ :void, :GLsizei, :pointer ].freeze,
11
+ def glDrawArrays(mode, first, count) end => [ :void, :GLenum, :GLint, :GLsizei ].freeze,
12
+ def glDrawElements(mode, count, type, indices) end => [ :void, :GLenum, :GLsizei, :GLenum, :pointer ].freeze,
13
+ def glGenTextures(n, textures) end => [ :void, :GLsizei, :pointer ].freeze,
14
+ def glIsTexture(texture) end => [ :GLboolean, :GLuint ].freeze,
15
+ def glPolygonOffset(factor, units) end => [ :void, :GLfloat, :GLfloat ].freeze,
16
+ def glTexSubImage1D(target, level, xoffset, width, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
17
+ def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
18
+ }.freeze
35
19
  end
@@ -47,17 +47,10 @@ module GL_VERSION_1_2
47
47
  :GL_ARB_imaging
48
48
  ].freeze
49
49
 
50
- module Functions
51
- def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height) end
52
- def glDrawRangeElements(mode, start, end_, count, type, indices) end
53
- def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels) end
54
- def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) end
55
-
56
- Parameters = {
57
- glCopyTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
58
- glDrawRangeElements: [ :void, :GLenum, :GLuint, :GLuint, :GLsizei, :GLenum, :pointer ].freeze,
59
- glTexImage3D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
60
- glTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze
61
- }.freeze
62
- end
50
+ Functions = {
51
+ def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei ].freeze,
52
+ def glDrawRangeElements(mode, start, end_, count, type, indices) end => [ :void, :GLenum, :GLuint, :GLuint, :GLsizei, :GLenum, :pointer ].freeze,
53
+ def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLenum, :GLenum, :pointer ].freeze,
54
+ def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLenum, :pointer ].freeze,
55
+ }.freeze
63
56
  end
@@ -98,27 +98,15 @@ module GL_VERSION_1_3
98
98
  TRANSPOSE_TEXTURE_MATRIX = 0x84E5
99
99
  end
100
100
 
101
- module Functions
102
- def glActiveTexture(texture) end
103
- def glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data) end
104
- def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) end
105
- def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data) end
106
- def glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data) end
107
- def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) end
108
- def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) end
109
- def glGetCompressedTexImage(target, level, img) end
110
- def glSampleCoverage(value, invert) end
111
-
112
- Parameters = {
113
- glActiveTexture: [ :void, :GLenum ].freeze,
114
- glCompressedTexImage1D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
115
- glCompressedTexImage2D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
116
- glCompressedTexImage3D: [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
117
- glCompressedTexSubImage1D: [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
118
- glCompressedTexSubImage2D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
119
- glCompressedTexSubImage3D: [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
120
- glGetCompressedTexImage: [ :void, :GLenum, :GLint, :pointer ].freeze,
121
- glSampleCoverage: [ :void, :GLfloat, :GLboolean ].freeze
122
- }.freeze
123
- end
101
+ Functions = {
102
+ def glActiveTexture(texture) end => [ :void, :GLenum ].freeze,
103
+ def glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data) end => [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
104
+ def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) end => [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
105
+ def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data) end => [ :void, :GLenum, :GLint, :GLenum, :GLsizei, :GLsizei, :GLsizei, :GLint, :GLsizei, :pointer ].freeze,
106
+ def glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data) end => [ :void, :GLenum, :GLint, :GLint, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
107
+ def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
108
+ def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) end => [ :void, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei, :GLenum, :GLsizei, :pointer ].freeze,
109
+ def glGetCompressedTexImage(target, level, img) end => [ :void, :GLenum, :GLint, :pointer ].freeze,
110
+ def glSampleCoverage(value, invert) end => [ :void, :GLfloat, :GLboolean ].freeze,
111
+ }.freeze
124
112
  end
@@ -41,23 +41,13 @@ module GL_VERSION_1_4
41
41
  TEXTURE_LOD_BIAS = 0x8501
42
42
  end
43
43
 
44
- module Functions
45
- def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) end
46
- def glMultiDrawArrays(mode, first, count, drawcount) end
47
- def glMultiDrawElements(mode, count, type, indices, drawcount) end
48
- def glPointParameterf(pname, param) end
49
- def glPointParameterfv(pname, params) end
50
- def glPointParameteri(pname, param) end
51
- def glPointParameteriv(pname, params) end
52
-
53
- Parameters = {
54
- glBlendFuncSeparate: [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
55
- glMultiDrawArrays: [ :void, :GLenum, :pointer, :pointer, :GLsizei ].freeze,
56
- glMultiDrawElements: [ :void, :GLenum, :pointer, :GLenum, :pointer, :GLsizei ].freeze,
57
- glPointParameterf: [ :void, :GLenum, :GLfloat ].freeze,
58
- glPointParameterfv: [ :void, :GLenum, :pointer ].freeze,
59
- glPointParameteri: [ :void, :GLenum, :GLint ].freeze,
60
- glPointParameteriv: [ :void, :GLenum, :pointer ].freeze
61
- }.freeze
62
- end
44
+ Functions = {
45
+ def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) end => [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
46
+ def glMultiDrawArrays(mode, first, count, drawcount) end => [ :void, :GLenum, :pointer, :pointer, :GLsizei ].freeze,
47
+ def glMultiDrawElements(mode, count, type, indices, drawcount) end => [ :void, :GLenum, :pointer, :GLenum, :pointer, :GLsizei ].freeze,
48
+ def glPointParameterf(pname, param) end => [ :void, :GLenum, :GLfloat ].freeze,
49
+ def glPointParameterfv(pname, params) end => [ :void, :GLenum, :pointer ].freeze,
50
+ def glPointParameteri(pname, param) end => [ :void, :GLenum, :GLint ].freeze,
51
+ def glPointParameteriv(pname, params) end => [ :void, :GLenum, :pointer ].freeze,
52
+ }.freeze
63
53
  end
@@ -51,47 +51,25 @@ module GL_VERSION_1_5
51
51
  WRITE_ONLY = 0x88B9
52
52
  end
53
53
 
54
- module Functions
55
- def glBeginQuery(target, id) end
56
- def glBindBuffer(target, buffer) end
57
- def glBufferData(target, size, data, usage) end
58
- def glBufferSubData(target, offset, size, data) end
59
- def glDeleteBuffers(n, buffers) end
60
- def glDeleteQueries(n, ids) end
61
- def glEndQuery(target) end
62
- def glGenBuffers(n, buffers) end
63
- def glGenQueries(n, ids) end
64
- def glGetBufferParameteriv(target, pname, params) end
65
- def glGetBufferPointerv(target, pname, params) end
66
- def glGetBufferSubData(target, offset, size, data) end
67
- def glGetQueryiv(target, pname, params) end
68
- def glGetQueryObjectiv(id, pname, params) end
69
- def glGetQueryObjectuiv(id, pname, params) end
70
- def glIsBuffer(buffer) end
71
- def glIsQuery(id) end
72
- def glMapBuffer(target, access) end
73
- def glUnmapBuffer(target) end
74
-
75
- Parameters = {
76
- glBeginQuery: [ :void, :GLenum, :GLuint ].freeze,
77
- glBindBuffer: [ :void, :GLenum, :GLuint ].freeze,
78
- glBufferData: [ :void, :GLenum, :GLsizeiptr, :pointer, :GLenum ].freeze,
79
- glBufferSubData: [ :void, :GLenum, :GLintptr, :GLsizeiptr, :pointer ].freeze,
80
- glDeleteBuffers: [ :void, :GLsizei, :pointer ].freeze,
81
- glDeleteQueries: [ :void, :GLsizei, :pointer ].freeze,
82
- glEndQuery: [ :void, :GLenum ].freeze,
83
- glGenBuffers: [ :void, :GLsizei, :pointer ].freeze,
84
- glGenQueries: [ :void, :GLsizei, :pointer ].freeze,
85
- glGetBufferParameteriv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
86
- glGetBufferPointerv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
87
- glGetBufferSubData: [ :void, :GLenum, :GLintptr, :GLsizeiptr, :pointer ].freeze,
88
- glGetQueryiv: [ :void, :GLenum, :GLenum, :pointer ].freeze,
89
- glGetQueryObjectiv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
90
- glGetQueryObjectuiv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
91
- glIsBuffer: [ :GLboolean, :GLuint ].freeze,
92
- glIsQuery: [ :GLboolean, :GLuint ].freeze,
93
- glMapBuffer: [ :pointer, :GLenum, :GLenum ].freeze,
94
- glUnmapBuffer: [ :GLboolean, :GLenum ].freeze
95
- }.freeze
96
- end
54
+ Functions = {
55
+ def glBeginQuery(target, id) end => [ :void, :GLenum, :GLuint ].freeze,
56
+ def glBindBuffer(target, buffer) end => [ :void, :GLenum, :GLuint ].freeze,
57
+ def glBufferData(target, size, data, usage) end => [ :void, :GLenum, :GLsizeiptr, :pointer, :GLenum ].freeze,
58
+ def glBufferSubData(target, offset, size, data) end => [ :void, :GLenum, :GLintptr, :GLsizeiptr, :pointer ].freeze,
59
+ def glDeleteBuffers(n, buffers) end => [ :void, :GLsizei, :pointer ].freeze,
60
+ def glDeleteQueries(n, ids) end => [ :void, :GLsizei, :pointer ].freeze,
61
+ def glEndQuery(target) end => [ :void, :GLenum ].freeze,
62
+ def glGenBuffers(n, buffers) end => [ :void, :GLsizei, :pointer ].freeze,
63
+ def glGenQueries(n, ids) end => [ :void, :GLsizei, :pointer ].freeze,
64
+ def glGetBufferParameteriv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
65
+ def glGetBufferPointerv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
66
+ def glGetBufferSubData(target, offset, size, data) end => [ :void, :GLenum, :GLintptr, :GLsizeiptr, :pointer ].freeze,
67
+ def glGetQueryObjectiv(id, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
68
+ def glGetQueryObjectuiv(id, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
69
+ def glGetQueryiv(target, pname, params) end => [ :void, :GLenum, :GLenum, :pointer ].freeze,
70
+ def glIsBuffer(buffer) end => [ :GLboolean, :GLuint ].freeze,
71
+ def glIsQuery(id) end => [ :GLboolean, :GLuint ].freeze,
72
+ def glMapBuffer(target, access) end => [ :pointer, :GLenum, :GLenum ].freeze,
73
+ def glUnmapBuffer(target) end => [ :GLboolean, :GLenum ].freeze,
74
+ }.freeze
97
75
  end
@@ -87,195 +87,99 @@ module GL_VERSION_2_0
87
87
  VERTEX_SHADER = 0x8B31
88
88
  end
89
89
 
90
- module Functions
91
- def glAttachShader(program, shader) end
92
- def glBindAttribLocation(program, index, name) end
93
- def glBlendEquationSeparate(modeRGB, modeAlpha) end
94
- def glCompileShader(shader) end
95
- def glCreateProgram() end
96
- def glCreateShader(type) end
97
- def glDeleteProgram(program) end
98
- def glDeleteShader(shader) end
99
- def glDetachShader(program, shader) end
100
- def glDisableVertexAttribArray(index) end
101
- def glDrawBuffers(n, bufs) end
102
- def glEnableVertexAttribArray(index) end
103
- def glGetActiveAttrib(program, index, bufSize, length, size, type, name) end
104
- def glGetActiveUniform(program, index, bufSize, length, size, type, name) end
105
- def glGetAttachedShaders(program, maxCount, count, shaders) end
106
- def glGetAttribLocation(program, name) end
107
- def glGetProgramInfoLog(program, bufSize, length, infoLog) end
108
- def glGetProgramiv(program, pname, params) end
109
- def glGetShaderInfoLog(shader, bufSize, length, infoLog) end
110
- def glGetShaderiv(shader, pname, params) end
111
- def glGetShaderSource(shader, bufSize, length, source) end
112
- def glGetUniformfv(program, location, params) end
113
- def glGetUniformiv(program, location, params) end
114
- def glGetUniformLocation(program, name) end
115
- def glGetVertexAttribdv(index, pname, params) end
116
- def glGetVertexAttribfv(index, pname, params) end
117
- def glGetVertexAttribiv(index, pname, params) end
118
- def glGetVertexAttribPointerv(index, pname, pointer) end
119
- def glIsProgram(program) end
120
- def glIsShader(shader) end
121
- def glLinkProgram(program) end
122
- def glShaderSource(shader, count, string, length) end
123
- def glStencilFuncSeparate(face, func, ref, mask) end
124
- def glStencilMaskSeparate(face, mask) end
125
- def glStencilOpSeparate(face, sfail, dpfail, dppass) end
126
- def glUniform1f(location, v0) end
127
- def glUniform1fv(location, count, value) end
128
- def glUniform1i(location, v0) end
129
- def glUniform1iv(location, count, value) end
130
- def glUniform2f(location, v0, v1) end
131
- def glUniform2fv(location, count, value) end
132
- def glUniform2i(location, v0, v1) end
133
- def glUniform2iv(location, count, value) end
134
- def glUniform3f(location, v0, v1, v2) end
135
- def glUniform3fv(location, count, value) end
136
- def glUniform3i(location, v0, v1, v2) end
137
- def glUniform3iv(location, count, value) end
138
- def glUniform4f(location, v0, v1, v2, v3) end
139
- def glUniform4fv(location, count, value) end
140
- def glUniform4i(location, v0, v1, v2, v3) end
141
- def glUniform4iv(location, count, value) end
142
- def glUniformMatrix2fv(location, count, transpose, value) end
143
- def glUniformMatrix3fv(location, count, transpose, value) end
144
- def glUniformMatrix4fv(location, count, transpose, value) end
145
- def glUseProgram(program) end
146
- def glValidateProgram(program) end
147
- def glVertexAttrib1d(index, x) end
148
- def glVertexAttrib1dv(index, v) end
149
- def glVertexAttrib1f(index, x) end
150
- def glVertexAttrib1fv(index, v) end
151
- def glVertexAttrib1s(index, x) end
152
- def glVertexAttrib1sv(index, v) end
153
- def glVertexAttrib2d(index, x, y) end
154
- def glVertexAttrib2dv(index, v) end
155
- def glVertexAttrib2f(index, x, y) end
156
- def glVertexAttrib2fv(index, v) end
157
- def glVertexAttrib2s(index, x, y) end
158
- def glVertexAttrib2sv(index, v) end
159
- def glVertexAttrib3d(index, x, y, z) end
160
- def glVertexAttrib3dv(index, v) end
161
- def glVertexAttrib3f(index, x, y, z) end
162
- def glVertexAttrib3fv(index, v) end
163
- def glVertexAttrib3s(index, x, y, z) end
164
- def glVertexAttrib3sv(index, v) end
165
- def glVertexAttrib4bv(index, v) end
166
- def glVertexAttrib4d(index, x, y, z, w) end
167
- def glVertexAttrib4dv(index, v) end
168
- def glVertexAttrib4f(index, x, y, z, w) end
169
- def glVertexAttrib4fv(index, v) end
170
- def glVertexAttrib4iv(index, v) end
171
- def glVertexAttrib4Nbv(index, v) end
172
- def glVertexAttrib4Niv(index, v) end
173
- def glVertexAttrib4Nsv(index, v) end
174
- def glVertexAttrib4Nub(index, x, y, z, w) end
175
- def glVertexAttrib4Nubv(index, v) end
176
- def glVertexAttrib4Nuiv(index, v) end
177
- def glVertexAttrib4Nusv(index, v) end
178
- def glVertexAttrib4s(index, x, y, z, w) end
179
- def glVertexAttrib4sv(index, v) end
180
- def glVertexAttrib4ubv(index, v) end
181
- def glVertexAttrib4uiv(index, v) end
182
- def glVertexAttrib4usv(index, v) end
183
- def glVertexAttribPointer(index, size, type, normalized, stride, pointer) end
184
-
185
- Parameters = {
186
- glAttachShader: [ :void, :GLuint, :GLuint ].freeze,
187
- glBindAttribLocation: [ :void, :GLuint, :GLuint, :string ].freeze,
188
- glBlendEquationSeparate: [ :void, :GLenum, :GLenum ].freeze,
189
- glCompileShader: [ :void, :GLuint ].freeze,
190
- glCreateProgram: [ :GLuint ].freeze,
191
- glCreateShader: [ :GLuint, :GLenum ].freeze,
192
- glDeleteProgram: [ :void, :GLuint ].freeze,
193
- glDeleteShader: [ :void, :GLuint ].freeze,
194
- glDetachShader: [ :void, :GLuint, :GLuint ].freeze,
195
- glDisableVertexAttribArray: [ :void, :GLuint ].freeze,
196
- glDrawBuffers: [ :void, :GLsizei, :pointer ].freeze,
197
- glEnableVertexAttribArray: [ :void, :GLuint ].freeze,
198
- glGetActiveAttrib: [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
199
- glGetActiveUniform: [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
200
- glGetAttachedShaders: [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
201
- glGetAttribLocation: [ :GLint, :GLuint, :string ].freeze,
202
- glGetProgramInfoLog: [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
203
- glGetProgramiv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
204
- glGetShaderInfoLog: [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
205
- glGetShaderiv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
206
- glGetShaderSource: [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
207
- glGetUniformfv: [ :void, :GLuint, :GLint, :pointer ].freeze,
208
- glGetUniformiv: [ :void, :GLuint, :GLint, :pointer ].freeze,
209
- glGetUniformLocation: [ :GLint, :GLuint, :string ].freeze,
210
- glGetVertexAttribdv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
211
- glGetVertexAttribfv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
212
- glGetVertexAttribiv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
213
- glGetVertexAttribPointerv: [ :void, :GLuint, :GLenum, :pointer ].freeze,
214
- glIsProgram: [ :GLboolean, :GLuint ].freeze,
215
- glIsShader: [ :GLboolean, :GLuint ].freeze,
216
- glLinkProgram: [ :void, :GLuint ].freeze,
217
- glShaderSource: [ :void, :GLuint, :GLsizei, :string, :pointer ].freeze,
218
- glStencilFuncSeparate: [ :void, :GLenum, :GLenum, :GLint, :GLuint ].freeze,
219
- glStencilMaskSeparate: [ :void, :GLenum, :GLuint ].freeze,
220
- glStencilOpSeparate: [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
221
- glUniform1f: [ :void, :GLint, :GLfloat ].freeze,
222
- glUniform1fv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
223
- glUniform1i: [ :void, :GLint, :GLint ].freeze,
224
- glUniform1iv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
225
- glUniform2f: [ :void, :GLint, :GLfloat, :GLfloat ].freeze,
226
- glUniform2fv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
227
- glUniform2i: [ :void, :GLint, :GLint, :GLint ].freeze,
228
- glUniform2iv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
229
- glUniform3f: [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat ].freeze,
230
- glUniform3fv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
231
- glUniform3i: [ :void, :GLint, :GLint, :GLint, :GLint ].freeze,
232
- glUniform3iv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
233
- glUniform4f: [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
234
- glUniform4fv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
235
- glUniform4i: [ :void, :GLint, :GLint, :GLint, :GLint, :GLint ].freeze,
236
- glUniform4iv: [ :void, :GLint, :GLsizei, :pointer ].freeze,
237
- glUniformMatrix2fv: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
238
- glUniformMatrix3fv: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
239
- glUniformMatrix4fv: [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
240
- glUseProgram: [ :void, :GLuint ].freeze,
241
- glValidateProgram: [ :void, :GLuint ].freeze,
242
- glVertexAttrib1d: [ :void, :GLuint, :GLdouble ].freeze,
243
- glVertexAttrib1dv: [ :void, :GLuint, :pointer ].freeze,
244
- glVertexAttrib1f: [ :void, :GLuint, :GLfloat ].freeze,
245
- glVertexAttrib1fv: [ :void, :GLuint, :pointer ].freeze,
246
- glVertexAttrib1s: [ :void, :GLuint, :GLshort ].freeze,
247
- glVertexAttrib1sv: [ :void, :GLuint, :pointer ].freeze,
248
- glVertexAttrib2d: [ :void, :GLuint, :GLdouble, :GLdouble ].freeze,
249
- glVertexAttrib2dv: [ :void, :GLuint, :pointer ].freeze,
250
- glVertexAttrib2f: [ :void, :GLuint, :GLfloat, :GLfloat ].freeze,
251
- glVertexAttrib2fv: [ :void, :GLuint, :pointer ].freeze,
252
- glVertexAttrib2s: [ :void, :GLuint, :GLshort, :GLshort ].freeze,
253
- glVertexAttrib2sv: [ :void, :GLuint, :pointer ].freeze,
254
- glVertexAttrib3d: [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble ].freeze,
255
- glVertexAttrib3dv: [ :void, :GLuint, :pointer ].freeze,
256
- glVertexAttrib3f: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat ].freeze,
257
- glVertexAttrib3fv: [ :void, :GLuint, :pointer ].freeze,
258
- glVertexAttrib3s: [ :void, :GLuint, :GLshort, :GLshort, :GLshort ].freeze,
259
- glVertexAttrib3sv: [ :void, :GLuint, :pointer ].freeze,
260
- glVertexAttrib4bv: [ :void, :GLuint, :pointer ].freeze,
261
- glVertexAttrib4d: [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble, :GLdouble ].freeze,
262
- glVertexAttrib4dv: [ :void, :GLuint, :pointer ].freeze,
263
- glVertexAttrib4f: [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
264
- glVertexAttrib4fv: [ :void, :GLuint, :pointer ].freeze,
265
- glVertexAttrib4iv: [ :void, :GLuint, :pointer ].freeze,
266
- glVertexAttrib4Nbv: [ :void, :GLuint, :pointer ].freeze,
267
- glVertexAttrib4Niv: [ :void, :GLuint, :pointer ].freeze,
268
- glVertexAttrib4Nsv: [ :void, :GLuint, :pointer ].freeze,
269
- glVertexAttrib4Nub: [ :void, :GLuint, :GLubyte, :GLubyte, :GLubyte, :GLubyte ].freeze,
270
- glVertexAttrib4Nubv: [ :void, :GLuint, :pointer ].freeze,
271
- glVertexAttrib4Nuiv: [ :void, :GLuint, :pointer ].freeze,
272
- glVertexAttrib4Nusv: [ :void, :GLuint, :pointer ].freeze,
273
- glVertexAttrib4s: [ :void, :GLuint, :GLshort, :GLshort, :GLshort, :GLshort ].freeze,
274
- glVertexAttrib4sv: [ :void, :GLuint, :pointer ].freeze,
275
- glVertexAttrib4ubv: [ :void, :GLuint, :pointer ].freeze,
276
- glVertexAttrib4uiv: [ :void, :GLuint, :pointer ].freeze,
277
- glVertexAttrib4usv: [ :void, :GLuint, :pointer ].freeze,
278
- glVertexAttribPointer: [ :void, :GLuint, :GLint, :GLenum, :GLboolean, :GLsizei, :pointer ].freeze
279
- }.freeze
280
- end
90
+ Functions = {
91
+ def glAttachShader(program, shader) end => [ :void, :GLuint, :GLuint ].freeze,
92
+ def glBindAttribLocation(program, index, name) end => [ :void, :GLuint, :GLuint, :string ].freeze,
93
+ def glBlendEquationSeparate(modeRGB, modeAlpha) end => [ :void, :GLenum, :GLenum ].freeze,
94
+ def glCompileShader(shader) end => [ :void, :GLuint ].freeze,
95
+ def glCreateProgram() end => [ :GLuint ].freeze,
96
+ def glCreateShader(type) end => [ :GLuint, :GLenum ].freeze,
97
+ def glDeleteProgram(program) end => [ :void, :GLuint ].freeze,
98
+ def glDeleteShader(shader) end => [ :void, :GLuint ].freeze,
99
+ def glDetachShader(program, shader) end => [ :void, :GLuint, :GLuint ].freeze,
100
+ def glDisableVertexAttribArray(index) end => [ :void, :GLuint ].freeze,
101
+ def glDrawBuffers(n, bufs) end => [ :void, :GLsizei, :pointer ].freeze,
102
+ def glEnableVertexAttribArray(index) end => [ :void, :GLuint ].freeze,
103
+ def glGetActiveAttrib(program, index, bufSize, length, size, type, name) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
104
+ def glGetActiveUniform(program, index, bufSize, length, size, type, name) end => [ :void, :GLuint, :GLuint, :GLsizei, :pointer, :pointer, :pointer, :string ].freeze,
105
+ def glGetAttachedShaders(program, maxCount, count, shaders) end => [ :void, :GLuint, :GLsizei, :pointer, :pointer ].freeze,
106
+ def glGetAttribLocation(program, name) end => [ :GLint, :GLuint, :string ].freeze,
107
+ def glGetProgramInfoLog(program, bufSize, length, infoLog) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
108
+ def glGetProgramiv(program, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
109
+ def glGetShaderInfoLog(shader, bufSize, length, infoLog) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
110
+ def glGetShaderSource(shader, bufSize, length, source) end => [ :void, :GLuint, :GLsizei, :pointer, :string ].freeze,
111
+ def glGetShaderiv(shader, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
112
+ def glGetUniformLocation(program, name) end => [ :GLint, :GLuint, :string ].freeze,
113
+ def glGetUniformfv(program, location, params) end => [ :void, :GLuint, :GLint, :pointer ].freeze,
114
+ def glGetUniformiv(program, location, params) end => [ :void, :GLuint, :GLint, :pointer ].freeze,
115
+ def glGetVertexAttribPointerv(index, pname, pointer) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
116
+ def glGetVertexAttribdv(index, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
117
+ def glGetVertexAttribfv(index, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
118
+ def glGetVertexAttribiv(index, pname, params) end => [ :void, :GLuint, :GLenum, :pointer ].freeze,
119
+ def glIsProgram(program) end => [ :GLboolean, :GLuint ].freeze,
120
+ def glIsShader(shader) end => [ :GLboolean, :GLuint ].freeze,
121
+ def glLinkProgram(program) end => [ :void, :GLuint ].freeze,
122
+ def glShaderSource(shader, count, string, length) end => [ :void, :GLuint, :GLsizei, :string, :pointer ].freeze,
123
+ def glStencilFuncSeparate(face, func, ref, mask) end => [ :void, :GLenum, :GLenum, :GLint, :GLuint ].freeze,
124
+ def glStencilMaskSeparate(face, mask) end => [ :void, :GLenum, :GLuint ].freeze,
125
+ def glStencilOpSeparate(face, sfail, dpfail, dppass) end => [ :void, :GLenum, :GLenum, :GLenum, :GLenum ].freeze,
126
+ def glUniform1f(location, v0) end => [ :void, :GLint, :GLfloat ].freeze,
127
+ def glUniform1fv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
128
+ def glUniform1i(location, v0) end => [ :void, :GLint, :GLint ].freeze,
129
+ def glUniform1iv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
130
+ def glUniform2f(location, v0, v1) end => [ :void, :GLint, :GLfloat, :GLfloat ].freeze,
131
+ def glUniform2fv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
132
+ def glUniform2i(location, v0, v1) end => [ :void, :GLint, :GLint, :GLint ].freeze,
133
+ def glUniform2iv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
134
+ def glUniform3f(location, v0, v1, v2) end => [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat ].freeze,
135
+ def glUniform3fv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
136
+ def glUniform3i(location, v0, v1, v2) end => [ :void, :GLint, :GLint, :GLint, :GLint ].freeze,
137
+ def glUniform3iv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
138
+ def glUniform4f(location, v0, v1, v2, v3) end => [ :void, :GLint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
139
+ def glUniform4fv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
140
+ def glUniform4i(location, v0, v1, v2, v3) end => [ :void, :GLint, :GLint, :GLint, :GLint, :GLint ].freeze,
141
+ def glUniform4iv(location, count, value) end => [ :void, :GLint, :GLsizei, :pointer ].freeze,
142
+ def glUniformMatrix2fv(location, count, transpose, value) end => [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
143
+ def glUniformMatrix3fv(location, count, transpose, value) end => [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
144
+ def glUniformMatrix4fv(location, count, transpose, value) end => [ :void, :GLint, :GLsizei, :GLboolean, :pointer ].freeze,
145
+ def glUseProgram(program) end => [ :void, :GLuint ].freeze,
146
+ def glValidateProgram(program) end => [ :void, :GLuint ].freeze,
147
+ def glVertexAttrib1d(index, x) end => [ :void, :GLuint, :GLdouble ].freeze,
148
+ def glVertexAttrib1dv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
149
+ def glVertexAttrib1f(index, x) end => [ :void, :GLuint, :GLfloat ].freeze,
150
+ def glVertexAttrib1fv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
151
+ def glVertexAttrib1s(index, x) end => [ :void, :GLuint, :GLshort ].freeze,
152
+ def glVertexAttrib1sv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
153
+ def glVertexAttrib2d(index, x, y) end => [ :void, :GLuint, :GLdouble, :GLdouble ].freeze,
154
+ def glVertexAttrib2dv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
155
+ def glVertexAttrib2f(index, x, y) end => [ :void, :GLuint, :GLfloat, :GLfloat ].freeze,
156
+ def glVertexAttrib2fv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
157
+ def glVertexAttrib2s(index, x, y) end => [ :void, :GLuint, :GLshort, :GLshort ].freeze,
158
+ def glVertexAttrib2sv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
159
+ def glVertexAttrib3d(index, x, y, z) end => [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble ].freeze,
160
+ def glVertexAttrib3dv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
161
+ def glVertexAttrib3f(index, x, y, z) end => [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat ].freeze,
162
+ def glVertexAttrib3fv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
163
+ def glVertexAttrib3s(index, x, y, z) end => [ :void, :GLuint, :GLshort, :GLshort, :GLshort ].freeze,
164
+ def glVertexAttrib3sv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
165
+ def glVertexAttrib4Nbv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
166
+ def glVertexAttrib4Niv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
167
+ def glVertexAttrib4Nsv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
168
+ def glVertexAttrib4Nub(index, x, y, z, w) end => [ :void, :GLuint, :GLubyte, :GLubyte, :GLubyte, :GLubyte ].freeze,
169
+ def glVertexAttrib4Nubv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
170
+ def glVertexAttrib4Nuiv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
171
+ def glVertexAttrib4Nusv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
172
+ def glVertexAttrib4bv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
173
+ def glVertexAttrib4d(index, x, y, z, w) end => [ :void, :GLuint, :GLdouble, :GLdouble, :GLdouble, :GLdouble ].freeze,
174
+ def glVertexAttrib4dv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
175
+ def glVertexAttrib4f(index, x, y, z, w) end => [ :void, :GLuint, :GLfloat, :GLfloat, :GLfloat, :GLfloat ].freeze,
176
+ def glVertexAttrib4fv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
177
+ def glVertexAttrib4iv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
178
+ def glVertexAttrib4s(index, x, y, z, w) end => [ :void, :GLuint, :GLshort, :GLshort, :GLshort, :GLshort ].freeze,
179
+ def glVertexAttrib4sv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
180
+ def glVertexAttrib4ubv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
181
+ def glVertexAttrib4uiv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
182
+ def glVertexAttrib4usv(index, v) end => [ :void, :GLuint, :pointer ].freeze,
183
+ def glVertexAttribPointer(index, size, type, normalized, stride, pointer) end => [ :void, :GLuint, :GLint, :GLenum, :GLboolean, :GLsizei, :pointer ].freeze,
184
+ }.freeze
281
185
  end