opengl-definitions 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/opengl-definitions/extensions/GLX_AMD_gpu_association.rb +11 -23
- data/lib/opengl-definitions/extensions/GLX_ARB_create_context.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_ARB_get_proc_address.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_EXT_import_context.rb +7 -15
- data/lib/opengl-definitions/extensions/GLX_EXT_swap_control.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_EXT_texture_from_pixmap.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_MESA_agp_offset.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_MESA_copy_sub_buffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_MESA_pixmap_colormap.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_MESA_query_renderer.rb +6 -13
- data/lib/opengl-definitions/extensions/GLX_MESA_release_buffers.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_MESA_set_3dfx_mode.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_MESA_swap_control.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_NV_copy_buffer.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_NV_copy_image.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_NV_delay_before_swap.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_NV_present_video.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_NV_swap_group.rb +8 -17
- data/lib/opengl-definitions/extensions/GLX_NV_video_capture.rb +7 -15
- data/lib/opengl-definitions/extensions/GLX_NV_video_out.rb +8 -17
- data/lib/opengl-definitions/extensions/GLX_OML_sync_control.rb +7 -15
- data/lib/opengl-definitions/extensions/GLX_SGIX_dmbuffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_SGIX_fbconfig.rb +8 -17
- data/lib/opengl-definitions/extensions/GLX_SGIX_hyperpipe.rb +10 -21
- data/lib/opengl-definitions/extensions/GLX_SGIX_pbuffer.rb +7 -15
- data/lib/opengl-definitions/extensions/GLX_SGIX_swap_barrier.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_SGIX_swap_group.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_SGIX_video_resize.rb +7 -15
- data/lib/opengl-definitions/extensions/GLX_SGIX_video_source.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_SGI_cushion.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_SGI_make_current_read.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_SGI_swap_control.rb +3 -7
- data/lib/opengl-definitions/extensions/GLX_SGI_video_sync.rb +4 -9
- data/lib/opengl-definitions/extensions/GLX_SUN_get_transparent_index.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_3DFX_tbuffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_AMD_debug_output.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_AMD_draw_buffers_blend.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_AMD_framebuffer_sample_positions.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_AMD_gpu_shader_int64.rb +36 -73
- data/lib/opengl-definitions/extensions/GL_AMD_interleaved_elements.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_AMD_multi_draw_indirect.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_AMD_name_gen_delete.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_AMD_occlusion_query_event.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_AMD_performance_monitor.rb +13 -27
- data/lib/opengl-definitions/extensions/GL_AMD_sample_positions.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_AMD_sparse_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_AMD_stencil_operation_extended.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_AMD_vertex_shader_tessellator.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ANGLE_framebuffer_blit.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ANGLE_framebuffer_multisample.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ANGLE_instanced_arrays.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ANGLE_translated_shader_source.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_APPLE_copy_texture_levels.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_APPLE_element_array.rb +7 -15
- data/lib/opengl-definitions/extensions/GL_APPLE_fence.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_APPLE_flush_buffer_range.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_APPLE_framebuffer_multisample.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_APPLE_object_purgeable.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_APPLE_sync.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_APPLE_texture_range.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_APPLE_vertex_array_object.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_APPLE_vertex_array_range.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_APPLE_vertex_program_evaluators.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_ARB_ES2_compatibility.rb +7 -15
- data/lib/opengl-definitions/extensions/GL_ARB_ES3_1_compatibility.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_ES3_2_compatibility.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_base_instance.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ARB_bindless_texture.rb +18 -37
- data/lib/opengl-definitions/extensions/GL_ARB_blend_func_extended.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_buffer_storage.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_cl_event.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_clear_buffer_object.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_clear_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_clip_control.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_color_buffer_float.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_compute_shader.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_compute_variable_group_size.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_copy_buffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_copy_image.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_debug_output.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_direct_state_access.rb +99 -199
- data/lib/opengl-definitions/extensions/GL_ARB_draw_buffers.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_draw_buffers_blend.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_draw_elements_base_vertex.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_draw_indirect.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_draw_instanced.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_fragment_program.rb +21 -43
- data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_no_attachments.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_framebuffer_object.rb +22 -45
- data/lib/opengl-definitions/extensions/GL_ARB_geometry_shader4.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_get_program_binary.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ARB_get_texture_sub_image.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_gl_spirv.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader_fp64.rb +20 -41
- data/lib/opengl-definitions/extensions/GL_ARB_gpu_shader_int64.rb +38 -77
- data/lib/opengl-definitions/extensions/GL_ARB_imaging.rb +36 -73
- data/lib/opengl-definitions/extensions/GL_ARB_indirect_parameters.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_instanced_arrays.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_internalformat_query.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_internalformat_query2.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_invalidate_subdata.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_ARB_map_buffer_range.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_matrix_palette.rb +7 -15
- data/lib/opengl-definitions/extensions/GL_ARB_multi_bind.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_ARB_multi_draw_indirect.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_multisample.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_multitexture.rb +36 -73
- data/lib/opengl-definitions/extensions/GL_ARB_occlusion_query.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_ARB_parallel_shader_compile.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_point_parameters.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_polygon_offset_clamp.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_program_interface_query.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_ARB_provoking_vertex.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_robustness.rb +22 -45
- data/lib/opengl-definitions/extensions/GL_ARB_sample_locations.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ARB_sample_shading.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_sampler_objects.rb +16 -33
- data/lib/opengl-definitions/extensions/GL_ARB_separate_shader_objects.rb +63 -127
- data/lib/opengl-definitions/extensions/GL_ARB_shader_atomic_counters.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_shader_image_load_store.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_shader_objects.rb +41 -83
- data/lib/opengl-definitions/extensions/GL_ARB_shader_storage_buffer_object.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_shader_subroutine.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_ARB_shading_language_include.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_ARB_sparse_buffer.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ARB_sparse_texture.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_sync.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_ARB_tessellation_shader.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_texture_barrier.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_object.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_texture_buffer_range.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_texture_compression.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_ARB_texture_multisample.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_texture_storage.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ARB_texture_storage_multisample.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_texture_view.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ARB_timer_query.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback2.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback3.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_transform_feedback_instanced.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ARB_transpose_matrix.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_uniform_buffer_object.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_array_object.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_attrib_64bit.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_attrib_binding.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_blend.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_buffer_object.rb +13 -27
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_program.rb +64 -129
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_shader.rb +48 -97
- data/lib/opengl-definitions/extensions/GL_ARB_vertex_type_2_10_10_10_rev.rb +40 -81
- data/lib/opengl-definitions/extensions/GL_ARB_viewport_array.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_ARB_window_pos.rb +18 -37
- data/lib/opengl-definitions/extensions/GL_ATI_draw_buffers.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_ATI_element_array.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ATI_envmap_bumpmap.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_ATI_fragment_shader.rb +16 -33
- data/lib/opengl-definitions/extensions/GL_ATI_map_object_buffer.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ATI_pn_triangles.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ATI_separate_stencil.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_ATI_vertex_array_object.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_ATI_vertex_attrib_array_object.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_ATI_vertex_streams.rb +47 -95
- data/lib/opengl-definitions/extensions/GL_EXT_EGL_image_storage.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_base_instance.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_bindable_uniform.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_blend_color.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_blend_equation_separate.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_blend_func_extended.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_EXT_blend_func_separate.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_blend_minmax.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_buffer_storage.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_clear_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_clip_control.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_color_subtable.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_compiled_vertex_array.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_convolution.rb +15 -31
- data/lib/opengl-definitions/extensions/GL_EXT_coordinate_frame.rb +24 -49
- data/lib/opengl-definitions/extensions/GL_EXT_copy_image.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_copy_texture.rb +7 -15
- data/lib/opengl-definitions/extensions/GL_EXT_cull_vertex.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_debug_label.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_debug_marker.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_depth_bounds_test.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_direct_state_access.rb +257 -515
- data/lib/opengl-definitions/extensions/GL_EXT_discard_framebuffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_disjoint_timer_query.rb +13 -27
- data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers2.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_EXT_draw_buffers_indexed.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_EXT_draw_elements_base_vertex.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_EXT_draw_instanced.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_draw_range_elements.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_draw_transform_feedback.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_external_buffer.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_fog_coord.rb +7 -15
- data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_blit.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_multisample.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_framebuffer_object.rb +19 -39
- data/lib/opengl-definitions/extensions/GL_EXT_geometry_shader.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_geometry_shader4.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_gpu_program_parameters.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_gpu_shader4.rb +13 -27
- data/lib/opengl-definitions/extensions/GL_EXT_histogram.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_EXT_index_func.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_index_material.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_instanced_arrays.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_light_texture.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_map_buffer_range.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_memory_object.rb +21 -43
- data/lib/opengl-definitions/extensions/GL_EXT_memory_object_fd.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_memory_object_win32.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_multi_draw_arrays.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_multi_draw_indirect.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_multisample.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_multisampled_render_to_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_multiview_draw_buffers.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_occlusion_query_boolean.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_EXT_paletted_texture.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_EXT_pixel_transform.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_EXT_point_parameters.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_polygon_offset.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_polygon_offset_clamp.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_primitive_bounding_box.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_provoking_vertex.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_raster_multisample.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_robustness.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_EXT_secondary_color.rb +19 -39
- data/lib/opengl-definitions/extensions/GL_EXT_semaphore.rb +11 -23
- data/lib/opengl-definitions/extensions/GL_EXT_semaphore_fd.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_semaphore_win32.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_separate_shader_objects.rb +49 -99
- data/lib/opengl-definitions/extensions/GL_EXT_shader_framebuffer_fetch_non_coherent.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_shader_image_load_store.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_shader_pixel_local_storage2.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_sparse_texture.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_stencil_clear_tag.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_stencil_two_side.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_subtexture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_tessellation_shader.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_texture3D.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_texture_array.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_texture_border_clamp.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_EXT_texture_buffer.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_texture_buffer_object.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_texture_integer.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_EXT_texture_object.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_EXT_texture_perturb_normal.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_texture_storage.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_EXT_texture_view.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_timer_query.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_transform_feedback.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_EXT_vertex_array.rb +11 -23
- data/lib/opengl-definitions/extensions/GL_EXT_vertex_attrib_64bit.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_EXT_vertex_shader.rb +44 -89
- data/lib/opengl-definitions/extensions/GL_EXT_vertex_weighting.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_EXT_win32_keyed_mutex.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_EXT_window_rectangles.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_EXT_x11_sync_object.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_GREMEDY_frame_terminator.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_GREMEDY_string_marker.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_HP_image_transform.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_IBM_multimode_draw_arrays.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_IBM_static_data.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_IBM_vertex_array_lists.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_IMG_bindless_texture.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_IMG_framebuffer_downsample.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_IMG_multisampled_render_to_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_IMG_user_clip_plane.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_INGR_blend_func_separate.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_INTEL_framebuffer_CMAA.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_INTEL_map_texture.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_INTEL_parallel_arrays.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_INTEL_performance_query.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_KHR_blend_equation_advanced.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_KHR_debug.rb +24 -49
- data/lib/opengl-definitions/extensions/GL_KHR_parallel_shader_compile.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_KHR_robustness.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_MESA_resize_buffers.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_MESA_window_pos.rb +26 -53
- data/lib/opengl-definitions/extensions/GL_NVX_conditional_render.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NVX_linked_gpu_multicast.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_NV_alpha_to_coverage_dither_control.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_bindless_multi_draw_indirect.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_bindless_multi_draw_indirect_count.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_bindless_texture.rb +15 -31
- data/lib/opengl-definitions/extensions/GL_NV_blend_equation_advanced.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_clip_space_w_scaling.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_command_list.rb +19 -39
- data/lib/opengl-definitions/extensions/GL_NV_conditional_render.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_conservative_raster.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_dilate.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_conservative_raster_pre_snap_triangles.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_copy_buffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_copy_image.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_coverage_sample.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_depth_buffer_float.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_NV_draw_buffers.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_draw_instanced.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_draw_texture.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_draw_vulkan_image.rb +7 -15
- data/lib/opengl-definitions/extensions/GL_NV_evaluators.rb +11 -23
- data/lib/opengl-definitions/extensions/GL_NV_explicit_multisample.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_NV_fence.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_NV_fragment_coverage_to_color.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_fragment_program.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_NV_framebuffer_blit.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_framebuffer_mixed_samples.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_NV_framebuffer_multisample.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_framebuffer_multisample_coverage.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_geometry_program4.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_NV_gpu_multicast.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_NV_gpu_program4.rb +18 -37
- data/lib/opengl-definitions/extensions/GL_NV_gpu_program5.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_gpu_shader5.rb +35 -71
- data/lib/opengl-definitions/extensions/GL_NV_half_float.rb +48 -97
- data/lib/opengl-definitions/extensions/GL_NV_instanced_arrays.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_internalformat_sample_query.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_non_square_matrices.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_NV_occlusion_query.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_NV_parameter_buffer_object.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_NV_path_rendering.rb +85 -171
- data/lib/opengl-definitions/extensions/GL_NV_pixel_data_range.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_point_sprite.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_polygon_mode.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_present_video.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_NV_primitive_restart.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_query_resource.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_query_resource_tag.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_NV_read_buffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_register_combiners.rb +15 -31
- data/lib/opengl-definitions/extensions/GL_NV_register_combiners2.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_sample_locations.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_NV_shader_buffer_load.rb +16 -33
- data/lib/opengl-definitions/extensions/GL_NV_texture_barrier.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_NV_texture_multisample.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_NV_transform_feedback.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_NV_transform_feedback2.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_NV_vdpau_interop.rb +12 -25
- data/lib/opengl-definitions/extensions/GL_NV_vertex_array_range.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_NV_vertex_attrib_integer_64bit.rb +21 -43
- data/lib/opengl-definitions/extensions/GL_NV_vertex_buffer_unified_memory.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_NV_vertex_program.rb +66 -133
- data/lib/opengl-definitions/extensions/GL_NV_vertex_program4.rb +25 -51
- data/lib/opengl-definitions/extensions/GL_NV_video_capture.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_NV_viewport_array.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_NV_viewport_swizzle.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_EGL_image.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_OES_blend_equation_separate.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_blend_func_separate.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_blend_subtract.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_byte_coordinates.rb +24 -49
- data/lib/opengl-definitions/extensions/GL_OES_copy_image.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_draw_buffers_indexed.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_OES_draw_elements_base_vertex.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_OES_draw_texture.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_OES_fixed_point.rb +109 -219
- data/lib/opengl-definitions/extensions/GL_OES_framebuffer_object.rb +17 -35
- data/lib/opengl-definitions/extensions/GL_OES_geometry_shader.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_get_program_binary.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_OES_mapbuffer.rb +5 -11
- data/lib/opengl-definitions/extensions/GL_OES_matrix_palette.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_OES_point_size_array.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_primitive_bounding_box.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_query_matrix.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_sample_shading.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_single_precision.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_OES_tessellation_shader.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_texture_3D.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_OES_texture_border_clamp.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_OES_texture_buffer.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_OES_texture_cube_map.rb +11 -23
- data/lib/opengl-definitions/extensions/GL_OES_texture_storage_multisample_2d_array.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_texture_view.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OES_vertex_array_object.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_OES_viewport_array.rb +14 -29
- data/lib/opengl-definitions/extensions/GL_OVR_multiview.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_OVR_multiview_multisampled_render_to_texture.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_PGI_misc_hints.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_QCOM_alpha_test.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_QCOM_driver_control.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_QCOM_extended_get.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_QCOM_extended_get2.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_QCOM_framebuffer_foveated.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_QCOM_shader_framebuffer_fetch_noncoherent.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_QCOM_texture_foveated.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_QCOM_tiled_rendering.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_detail_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_fog_function.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_multisample.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_pixel_texture.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_SGIS_point_parameters.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_sharpen_texture.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_texture4D.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIS_texture_color_mask.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGIS_texture_filter4.rb +4 -9
- data/lib/opengl-definitions/extensions/GL_SGIX_async.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_SGIX_flush_raster.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGIX_fragment_lighting.rb +20 -41
- data/lib/opengl-definitions/extensions/GL_SGIX_framezoom.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGIX_igloo_interface.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGIX_instruments.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_SGIX_list_priority.rb +8 -17
- data/lib/opengl-definitions/extensions/GL_SGIX_pixel_texture.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGIX_polynomial_ffd.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_SGIX_reference_plane.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGIX_sprite.rb +6 -13
- data/lib/opengl-definitions/extensions/GL_SGIX_tag_sample_buffer.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SGI_color_table.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_SUNX_constant_data.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SUN_global_alpha.rb +10 -21
- data/lib/opengl-definitions/extensions/GL_SUN_mesh_array.rb +3 -7
- data/lib/opengl-definitions/extensions/GL_SUN_triangle_list.rb +9 -19
- data/lib/opengl-definitions/extensions/GL_SUN_vertex.rb +42 -85
- data/lib/opengl-definitions/extensions/WGL_3DL_stereo_control.rb +3 -7
- data/lib/opengl-definitions/extensions/WGL_AMD_gpu_association.rb +11 -23
- data/lib/opengl-definitions/extensions/WGL_ARB_buffer_region.rb +6 -13
- data/lib/opengl-definitions/extensions/WGL_ARB_create_context.rb +3 -7
- data/lib/opengl-definitions/extensions/WGL_ARB_extensions_string.rb +3 -7
- data/lib/opengl-definitions/extensions/WGL_ARB_make_current_read.rb +4 -9
- data/lib/opengl-definitions/extensions/WGL_ARB_pbuffer.rb +7 -15
- data/lib/opengl-definitions/extensions/WGL_ARB_pixel_format.rb +5 -11
- data/lib/opengl-definitions/extensions/WGL_ARB_render_texture.rb +5 -11
- data/lib/opengl-definitions/extensions/WGL_EXT_display_color_table.rb +6 -13
- data/lib/opengl-definitions/extensions/WGL_EXT_extensions_string.rb +3 -7
- data/lib/opengl-definitions/extensions/WGL_EXT_make_current_read.rb +4 -9
- data/lib/opengl-definitions/extensions/WGL_EXT_pbuffer.rb +7 -15
- data/lib/opengl-definitions/extensions/WGL_EXT_pixel_format.rb +5 -11
- data/lib/opengl-definitions/extensions/WGL_EXT_swap_control.rb +4 -9
- data/lib/opengl-definitions/extensions/WGL_I3D_digital_video_control.rb +4 -9
- data/lib/opengl-definitions/extensions/WGL_I3D_gamma.rb +6 -13
- data/lib/opengl-definitions/extensions/WGL_I3D_genlock.rb +14 -29
- data/lib/opengl-definitions/extensions/WGL_I3D_image_buffer.rb +6 -13
- data/lib/opengl-definitions/extensions/WGL_I3D_swap_frame_lock.rb +6 -13
- data/lib/opengl-definitions/extensions/WGL_I3D_swap_frame_usage.rb +6 -13
- data/lib/opengl-definitions/extensions/WGL_NV_DX_interop.rb +10 -21
- data/lib/opengl-definitions/extensions/WGL_NV_copy_image.rb +3 -7
- data/lib/opengl-definitions/extensions/WGL_NV_delay_before_swap.rb +3 -7
- data/lib/opengl-definitions/extensions/WGL_NV_gpu_affinity.rb +7 -15
- data/lib/opengl-definitions/extensions/WGL_NV_present_video.rb +5 -11
- data/lib/opengl-definitions/extensions/WGL_NV_swap_group.rb +8 -17
- data/lib/opengl-definitions/extensions/WGL_NV_vertex_array_range.rb +4 -9
- data/lib/opengl-definitions/extensions/WGL_NV_video_capture.rb +7 -15
- data/lib/opengl-definitions/extensions/WGL_NV_video_output.rb +8 -17
- data/lib/opengl-definitions/extensions/WGL_OML_sync_control.rb +8 -17
- data/lib/opengl-definitions/version.rb +1 -1
- data/lib/opengl-definitions/versions/GLX_VERSION_1_0.rb +87 -0
- data/lib/opengl-definitions/versions/GLX_VERSION_1_1.rb +8 -14
- data/lib/opengl-definitions/versions/GLX_VERSION_1_2.rb +4 -8
- data/lib/opengl-definitions/versions/GLX_VERSION_1_3.rb +36 -56
- data/lib/opengl-definitions/versions/GLX_VERSION_1_4.rb +4 -8
- data/lib/opengl-definitions/versions/GL_VERSION_1_0.rb +50 -101
- data/lib/opengl-definitions/versions/GL_VERSION_1_1.rb +15 -31
- data/lib/opengl-definitions/versions/GL_VERSION_1_2.rb +6 -13
- data/lib/opengl-definitions/versions/GL_VERSION_1_3.rb +11 -23
- data/lib/opengl-definitions/versions/GL_VERSION_1_4.rb +9 -19
- data/lib/opengl-definitions/versions/GL_VERSION_1_5.rb +21 -43
- data/lib/opengl-definitions/versions/GL_VERSION_2_0.rb +95 -191
- data/lib/opengl-definitions/versions/GL_VERSION_2_1.rb +8 -17
- data/lib/opengl-definitions/versions/GL_VERSION_3_0.rb +57 -115
- data/lib/opengl-definitions/versions/GL_VERSION_3_1.rb +7 -14
- data/lib/opengl-definitions/versions/GL_VERSION_3_2.rb +5 -11
- data/lib/opengl-definitions/versions/GL_VERSION_3_3.rb +3 -7
- data/lib/opengl-definitions/versions/GL_VERSION_4_0.rb +7 -15
- data/lib/opengl-definitions/versions/GL_VERSION_4_2.rb +1 -1
- data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_0.rb +255 -511
- data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_1.rb +23 -47
- data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_3.rb +39 -79
- data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_4.rb +40 -81
- data/lib/opengl-definitions/versions/compatibility/GL_VERSION_1_5.rb +4 -8
- metadata +3 -2
@@ -1,15 +1,8 @@
|
|
1
1
|
module WGL_I3D_swap_frame_usage
|
2
|
-
|
3
|
-
def wglGetFrameUsageI3D(pUsage) end
|
4
|
-
def wglBeginFrameTrackingI3D() end
|
5
|
-
def wglEndFrameTrackingI3D() end
|
6
|
-
def wglQueryFrameTrackingI3D(pFrameCount, pMissedFrames, pLastMissedUsage) end
|
7
|
-
|
8
|
-
Parameters = {
|
9
|
-
wglGetFrameUsageI3D: [ :BOOL, :pointer ].freeze,
|
10
|
-
wglBeginFrameTrackingI3D: [ :BOOL ].freeze,
|
11
|
-
wglEndFrameTrackingI3D: [ :BOOL ].freeze,
|
12
|
-
wglQueryFrameTrackingI3D: [ :BOOL, :pointer, :pointer, :pointer ].freeze,
|
13
|
-
}.freeze
|
14
|
-
end
|
2
|
+
Functions = {
|
3
|
+
def wglGetFrameUsageI3D(pUsage) end => [ :BOOL, :pointer ].freeze,
|
4
|
+
def wglBeginFrameTrackingI3D() end => [ :BOOL ].freeze,
|
5
|
+
def wglEndFrameTrackingI3D() end => [ :BOOL ].freeze,
|
6
|
+
def wglQueryFrameTrackingI3D(pFrameCount, pMissedFrames, pLastMissedUsage) end => [ :BOOL, :pointer, :pointer, :pointer ].freeze,
|
7
|
+
}.freeze
|
15
8
|
end
|
@@ -5,25 +5,14 @@ module WGL_NV_DX_interop
|
|
5
5
|
NACCESS_WRITE_DISCARD_NV = 0x00000002
|
6
6
|
end
|
7
7
|
|
8
|
-
|
9
|
-
def wglDXSetResourceShareHandleNV(dxObject, shareHandle) end
|
10
|
-
def wglDXOpenDeviceNV(dxDevice) end
|
11
|
-
def wglDXCloseDeviceNV(hDevice) end
|
12
|
-
def wglDXRegisterObjectNV(hDevice, dxObject, name, type, access) end
|
13
|
-
def wglDXUnregisterObjectNV(hDevice, hObject) end
|
14
|
-
def wglDXObjectAccessNV(hObject, access) end
|
15
|
-
def wglDXLockObjectsNV(hDevice, count, hObjects) end
|
16
|
-
def wglDXUnlockObjectsNV(hDevice, count, hObjects) end
|
17
|
-
|
18
|
-
Parameters = {
|
19
|
-
wglDXSetResourceShareHandleNV: [ :BOOL, :pointer, :HANDLE ].freeze,
|
20
|
-
wglDXOpenDeviceNV: [ :HANDLE, :pointer ].freeze,
|
21
|
-
wglDXCloseDeviceNV: [ :BOOL, :HANDLE ].freeze,
|
22
|
-
wglDXRegisterObjectNV: [ :HANDLE, :HANDLE, :pointer, :GLuint, :GLenum, :GLenum ].freeze,
|
23
|
-
wglDXUnregisterObjectNV: [ :BOOL, :HANDLE, :HANDLE ].freeze,
|
24
|
-
wglDXObjectAccessNV: [ :BOOL, :HANDLE, :GLenum ].freeze,
|
25
|
-
wglDXLockObjectsNV: [ :BOOL, :HANDLE, :GLint, :pointer ].freeze,
|
26
|
-
wglDXUnlockObjectsNV: [ :BOOL, :HANDLE, :GLint, :pointer ].freeze,
|
27
|
-
}.freeze
|
28
|
-
end
|
8
|
+
Functions = {
|
9
|
+
def wglDXSetResourceShareHandleNV(dxObject, shareHandle) end => [ :BOOL, :pointer, :HANDLE ].freeze,
|
10
|
+
def wglDXOpenDeviceNV(dxDevice) end => [ :HANDLE, :pointer ].freeze,
|
11
|
+
def wglDXCloseDeviceNV(hDevice) end => [ :BOOL, :HANDLE ].freeze,
|
12
|
+
def wglDXRegisterObjectNV(hDevice, dxObject, name, type, access) end => [ :HANDLE, :HANDLE, :pointer, :GLuint, :GLenum, :GLenum ].freeze,
|
13
|
+
def wglDXUnregisterObjectNV(hDevice, hObject) end => [ :BOOL, :HANDLE, :HANDLE ].freeze,
|
14
|
+
def wglDXObjectAccessNV(hObject, access) end => [ :BOOL, :HANDLE, :GLenum ].freeze,
|
15
|
+
def wglDXLockObjectsNV(hDevice, count, hObjects) end => [ :BOOL, :HANDLE, :GLint, :pointer ].freeze,
|
16
|
+
def wglDXUnlockObjectsNV(hDevice, count, hObjects) end => [ :BOOL, :HANDLE, :GLint, :pointer ].freeze,
|
17
|
+
}.freeze
|
29
18
|
end
|
@@ -1,9 +1,5 @@
|
|
1
1
|
module WGL_NV_copy_image
|
2
|
-
|
3
|
-
def wglCopyImageSubDataNV(hSrcRC, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, hDstRC, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth) end
|
4
|
-
|
5
|
-
Parameters = {
|
6
|
-
wglCopyImageSubDataNV: [ :BOOL, :HGLRC, :GLuint, :GLenum, :GLint, :GLint, :GLint, :GLint, :HGLRC, :GLuint, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei ].freeze,
|
7
|
-
}.freeze
|
8
|
-
end
|
2
|
+
Functions = {
|
3
|
+
def wglCopyImageSubDataNV(hSrcRC, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, hDstRC, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth) end => [ :BOOL, :HGLRC, :GLuint, :GLenum, :GLint, :GLint, :GLint, :GLint, :HGLRC, :GLuint, :GLenum, :GLint, :GLint, :GLint, :GLint, :GLsizei, :GLsizei, :GLsizei ].freeze,
|
4
|
+
}.freeze
|
9
5
|
end
|
@@ -1,9 +1,5 @@
|
|
1
1
|
module WGL_NV_delay_before_swap
|
2
|
-
|
3
|
-
def wglDelayBeforeSwapNV(hDC, seconds) end
|
4
|
-
|
5
|
-
Parameters = {
|
6
|
-
wglDelayBeforeSwapNV: [ :BOOL, :HDC, :GLfloat ].freeze,
|
7
|
-
}.freeze
|
8
|
-
end
|
2
|
+
Functions = {
|
3
|
+
def wglDelayBeforeSwapNV(hDC, seconds) end => [ :BOOL, :HDC, :GLfloat ].freeze,
|
4
|
+
}.freeze
|
9
5
|
end
|
@@ -4,19 +4,11 @@ module WGL_NV_gpu_affinity
|
|
4
4
|
NERROR_MISSING_AFFINITY_MASK_NV = 0x20D1
|
5
5
|
end
|
6
6
|
|
7
|
-
|
8
|
-
def wglEnumGpusNV(iGpuIndex, phGpu) end
|
9
|
-
def wglEnumGpuDevicesNV(hGpu, iDeviceIndex, lpGpuDevice) end
|
10
|
-
def wglCreateAffinityDCNV(phGpuList) end
|
11
|
-
def wglEnumGpusFromAffinityDCNV(hAffinityDC, iGpuIndex, hGpu) end
|
12
|
-
def wglDeleteDCNV(hdc) end
|
13
|
-
|
14
|
-
Parameters = {
|
15
|
-
wglEnumGpusNV: [ :BOOL, :UINT, :pointer ].freeze,
|
16
|
-
wglEnumGpuDevicesNV: [ :BOOL, :HGPUNV, :UINT, :PGPU_DEVICE ].freeze,
|
17
|
-
wglCreateAffinityDCNV: [ :HDC, :pointer ].freeze,
|
18
|
-
wglEnumGpusFromAffinityDCNV: [ :BOOL, :HDC, :UINT, :pointer ].freeze,
|
19
|
-
wglDeleteDCNV: [ :BOOL, :HDC ].freeze,
|
20
|
-
}.freeze
|
21
|
-
end
|
7
|
+
Functions = {
|
8
|
+
def wglEnumGpusNV(iGpuIndex, phGpu) end => [ :BOOL, :UINT, :pointer ].freeze,
|
9
|
+
def wglEnumGpuDevicesNV(hGpu, iDeviceIndex, lpGpuDevice) end => [ :BOOL, :HGPUNV, :UINT, :PGPU_DEVICE ].freeze,
|
10
|
+
def wglCreateAffinityDCNV(phGpuList) end => [ :HDC, :pointer ].freeze,
|
11
|
+
def wglEnumGpusFromAffinityDCNV(hAffinityDC, iGpuIndex, hGpu) end => [ :BOOL, :HDC, :UINT, :pointer ].freeze,
|
12
|
+
def wglDeleteDCNV(hdc) end => [ :BOOL, :HDC ].freeze,
|
13
|
+
}.freeze
|
22
14
|
end
|
@@ -3,15 +3,9 @@ module WGL_NV_present_video
|
|
3
3
|
NNUM_VIDEO_SLOTS_NV = 0x20F0
|
4
4
|
end
|
5
5
|
|
6
|
-
|
7
|
-
def wglEnumerateVideoDevicesNV(hDC, phDeviceList) end
|
8
|
-
def wglBindVideoDeviceNV(hDC, uVideoSlot, hVideoDevice, piAttribList) end
|
9
|
-
def wglQueryCurrentContextNV(iAttribute, piValue) end
|
10
|
-
|
11
|
-
Parameters = {
|
12
|
-
wglEnumerateVideoDevicesNV: [ :int, :HDC, :pointer ].freeze,
|
13
|
-
wglBindVideoDeviceNV: [ :BOOL, :HDC, :uint, :HVIDEOOUTPUTDEVICENV, :pointer ].freeze,
|
14
|
-
wglQueryCurrentContextNV: [ :BOOL, :int, :pointer ].freeze,
|
15
|
-
}.freeze
|
16
|
-
end
|
6
|
+
Functions = {
|
7
|
+
def wglEnumerateVideoDevicesNV(hDC, phDeviceList) end => [ :int, :HDC, :pointer ].freeze,
|
8
|
+
def wglBindVideoDeviceNV(hDC, uVideoSlot, hVideoDevice, piAttribList) end => [ :BOOL, :HDC, :uint, :HVIDEOOUTPUTDEVICENV, :pointer ].freeze,
|
9
|
+
def wglQueryCurrentContextNV(iAttribute, piValue) end => [ :BOOL, :int, :pointer ].freeze,
|
10
|
+
}.freeze
|
17
11
|
end
|
@@ -1,19 +1,10 @@
|
|
1
1
|
module WGL_NV_swap_group
|
2
|
-
|
3
|
-
def wglJoinSwapGroupNV(hDC, group) end
|
4
|
-
def wglBindSwapBarrierNV(group, barrier) end
|
5
|
-
def wglQuerySwapGroupNV(hDC, group, barrier) end
|
6
|
-
def wglQueryMaxSwapGroupsNV(hDC, maxGroups, maxBarriers) end
|
7
|
-
def wglQueryFrameCountNV(hDC, count) end
|
8
|
-
def wglResetFrameCountNV(hDC) end
|
9
|
-
|
10
|
-
Parameters = {
|
11
|
-
wglJoinSwapGroupNV: [ :BOOL, :HDC, :GLuint ].freeze,
|
12
|
-
wglBindSwapBarrierNV: [ :BOOL, :GLuint, :GLuint ].freeze,
|
13
|
-
wglQuerySwapGroupNV: [ :BOOL, :HDC, :pointer, :pointer ].freeze,
|
14
|
-
wglQueryMaxSwapGroupsNV: [ :BOOL, :HDC, :pointer, :pointer ].freeze,
|
15
|
-
wglQueryFrameCountNV: [ :BOOL, :HDC, :pointer ].freeze,
|
16
|
-
wglResetFrameCountNV: [ :BOOL, :HDC ].freeze,
|
17
|
-
}.freeze
|
18
|
-
end
|
2
|
+
Functions = {
|
3
|
+
def wglJoinSwapGroupNV(hDC, group) end => [ :BOOL, :HDC, :GLuint ].freeze,
|
4
|
+
def wglBindSwapBarrierNV(group, barrier) end => [ :BOOL, :GLuint, :GLuint ].freeze,
|
5
|
+
def wglQuerySwapGroupNV(hDC, group, barrier) end => [ :BOOL, :HDC, :pointer, :pointer ].freeze,
|
6
|
+
def wglQueryMaxSwapGroupsNV(hDC, maxGroups, maxBarriers) end => [ :BOOL, :HDC, :pointer, :pointer ].freeze,
|
7
|
+
def wglQueryFrameCountNV(hDC, count) end => [ :BOOL, :HDC, :pointer ].freeze,
|
8
|
+
def wglResetFrameCountNV(hDC) end => [ :BOOL, :HDC ].freeze,
|
9
|
+
}.freeze
|
19
10
|
end
|
@@ -1,11 +1,6 @@
|
|
1
1
|
module WGL_NV_vertex_array_range
|
2
|
-
|
3
|
-
def wglAllocateMemoryNV(size, readfreq, writefreq, priority) end
|
4
|
-
def wglFreeMemoryNV(pointer) end
|
5
|
-
|
6
|
-
Parameters = {
|
7
|
-
wglAllocateMemoryNV: [ :pointer, :GLsizei, :GLfloat, :GLfloat, :GLfloat ].freeze,
|
8
|
-
wglFreeMemoryNV: [ :void, :pointer ].freeze,
|
9
|
-
}.freeze
|
10
|
-
end
|
2
|
+
Functions = {
|
3
|
+
def wglAllocateMemoryNV(size, readfreq, writefreq, priority) end => [ :pointer, :GLsizei, :GLfloat, :GLfloat, :GLfloat ].freeze,
|
4
|
+
def wglFreeMemoryNV(pointer) end => [ :void, :pointer ].freeze,
|
5
|
+
}.freeze
|
11
6
|
end
|
@@ -4,19 +4,11 @@ module WGL_NV_video_capture
|
|
4
4
|
NNUM_VIDEO_CAPTURE_SLOTS_NV = 0x20CF
|
5
5
|
end
|
6
6
|
|
7
|
-
|
8
|
-
def wglBindVideoCaptureDeviceNV(uVideoSlot, hDevice) end
|
9
|
-
def wglEnumerateVideoCaptureDevicesNV(hDc, phDeviceList) end
|
10
|
-
def wglLockVideoCaptureDeviceNV(hDc, hDevice) end
|
11
|
-
def wglQueryVideoCaptureDeviceNV(hDc, hDevice, iAttribute, piValue) end
|
12
|
-
def wglReleaseVideoCaptureDeviceNV(hDc, hDevice) end
|
13
|
-
|
14
|
-
Parameters = {
|
15
|
-
wglBindVideoCaptureDeviceNV: [ :BOOL, :UINT, :HVIDEOINPUTDEVICENV ].freeze,
|
16
|
-
wglEnumerateVideoCaptureDevicesNV: [ :UINT, :HDC, :pointer ].freeze,
|
17
|
-
wglLockVideoCaptureDeviceNV: [ :BOOL, :HDC, :HVIDEOINPUTDEVICENV ].freeze,
|
18
|
-
wglQueryVideoCaptureDeviceNV: [ :BOOL, :HDC, :HVIDEOINPUTDEVICENV, :int, :pointer ].freeze,
|
19
|
-
wglReleaseVideoCaptureDeviceNV: [ :BOOL, :HDC, :HVIDEOINPUTDEVICENV ].freeze,
|
20
|
-
}.freeze
|
21
|
-
end
|
7
|
+
Functions = {
|
8
|
+
def wglBindVideoCaptureDeviceNV(uVideoSlot, hDevice) end => [ :BOOL, :UINT, :HVIDEOINPUTDEVICENV ].freeze,
|
9
|
+
def wglEnumerateVideoCaptureDevicesNV(hDc, phDeviceList) end => [ :UINT, :HDC, :pointer ].freeze,
|
10
|
+
def wglLockVideoCaptureDeviceNV(hDc, hDevice) end => [ :BOOL, :HDC, :HVIDEOINPUTDEVICENV ].freeze,
|
11
|
+
def wglQueryVideoCaptureDeviceNV(hDc, hDevice, iAttribute, piValue) end => [ :BOOL, :HDC, :HVIDEOINPUTDEVICENV, :int, :pointer ].freeze,
|
12
|
+
def wglReleaseVideoCaptureDeviceNV(hDc, hDevice) end => [ :BOOL, :HDC, :HVIDEOINPUTDEVICENV ].freeze,
|
13
|
+
}.freeze
|
22
14
|
end
|
@@ -15,21 +15,12 @@ module WGL_NV_video_output
|
|
15
15
|
NVIDEO_OUT_STACKED_FIELDS_2_1 = 0x20CC
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
def wglGetVideoDeviceNV(hDC, numDevices, hVideoDevice) end
|
20
|
-
def wglReleaseVideoDeviceNV(hVideoDevice) end
|
21
|
-
def wglBindVideoImageNV(hVideoDevice, hPbuffer, iVideoBuffer) end
|
22
|
-
def wglReleaseVideoImageNV(hPbuffer, iVideoBuffer) end
|
23
|
-
def wglSendPbufferToVideoNV(hPbuffer, iBufferType, pulCounterPbuffer, bBlock) end
|
24
|
-
def wglGetVideoInfoNV(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo) end
|
25
|
-
|
26
|
-
Parameters = {
|
27
|
-
wglGetVideoDeviceNV: [ :BOOL, :HDC, :int, :pointer ].freeze,
|
28
|
-
wglReleaseVideoDeviceNV: [ :BOOL, :HPVIDEODEV ].freeze,
|
29
|
-
wglBindVideoImageNV: [ :BOOL, :HPVIDEODEV, :HPBUFFERARB, :int ].freeze,
|
30
|
-
wglReleaseVideoImageNV: [ :BOOL, :HPBUFFERARB, :int ].freeze,
|
31
|
-
wglSendPbufferToVideoNV: [ :BOOL, :HPBUFFERARB, :int, :pointer, :BOOL ].freeze,
|
32
|
-
wglGetVideoInfoNV: [ :BOOL, :HPVIDEODEV, :pointer, :pointer ].freeze,
|
33
|
-
}.freeze
|
34
|
-
end
|
18
|
+
Functions = {
|
19
|
+
def wglGetVideoDeviceNV(hDC, numDevices, hVideoDevice) end => [ :BOOL, :HDC, :int, :pointer ].freeze,
|
20
|
+
def wglReleaseVideoDeviceNV(hVideoDevice) end => [ :BOOL, :HPVIDEODEV ].freeze,
|
21
|
+
def wglBindVideoImageNV(hVideoDevice, hPbuffer, iVideoBuffer) end => [ :BOOL, :HPVIDEODEV, :HPBUFFERARB, :int ].freeze,
|
22
|
+
def wglReleaseVideoImageNV(hPbuffer, iVideoBuffer) end => [ :BOOL, :HPBUFFERARB, :int ].freeze,
|
23
|
+
def wglSendPbufferToVideoNV(hPbuffer, iBufferType, pulCounterPbuffer, bBlock) end => [ :BOOL, :HPBUFFERARB, :int, :pointer, :BOOL ].freeze,
|
24
|
+
def wglGetVideoInfoNV(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo) end => [ :BOOL, :HPVIDEODEV, :pointer, :pointer ].freeze,
|
25
|
+
}.freeze
|
35
26
|
end
|
@@ -1,19 +1,10 @@
|
|
1
1
|
module WGL_OML_sync_control
|
2
|
-
|
3
|
-
def wglGetSyncValuesOML(hdc, ust, msc, sbc) end
|
4
|
-
def wglGetMscRateOML(hdc, numerator, denominator) end
|
5
|
-
def wglSwapBuffersMscOML(hdc, target_msc, divisor, remainder) end
|
6
|
-
def wglSwapLayerBuffersMscOML(hdc, fuPlanes, target_msc, divisor, remainder) end
|
7
|
-
def wglWaitForMscOML(hdc, target_msc, divisor, remainder, ust, msc, sbc) end
|
8
|
-
def wglWaitForSbcOML(hdc, target_sbc, ust, msc, sbc) end
|
9
|
-
|
10
|
-
Parameters = {
|
11
|
-
wglGetSyncValuesOML: [ :BOOL, :HDC, :pointer, :pointer, :pointer ].freeze,
|
12
|
-
wglGetMscRateOML: [ :BOOL, :HDC, :pointer, :pointer ].freeze,
|
13
|
-
wglSwapBuffersMscOML: [ :INT64, :HDC, :INT64, :INT64, :INT64 ].freeze,
|
14
|
-
wglSwapLayerBuffersMscOML: [ :INT64, :HDC, :int, :INT64, :INT64, :INT64 ].freeze,
|
15
|
-
wglWaitForMscOML: [ :BOOL, :HDC, :INT64, :INT64, :INT64, :pointer, :pointer, :pointer ].freeze,
|
16
|
-
wglWaitForSbcOML: [ :BOOL, :HDC, :INT64, :pointer, :pointer, :pointer ].freeze,
|
17
|
-
}.freeze
|
18
|
-
end
|
2
|
+
Functions = {
|
3
|
+
def wglGetSyncValuesOML(hdc, ust, msc, sbc) end => [ :BOOL, :HDC, :pointer, :pointer, :pointer ].freeze,
|
4
|
+
def wglGetMscRateOML(hdc, numerator, denominator) end => [ :BOOL, :HDC, :pointer, :pointer ].freeze,
|
5
|
+
def wglSwapBuffersMscOML(hdc, target_msc, divisor, remainder) end => [ :INT64, :HDC, :INT64, :INT64, :INT64 ].freeze,
|
6
|
+
def wglSwapLayerBuffersMscOML(hdc, fuPlanes, target_msc, divisor, remainder) end => [ :INT64, :HDC, :int, :INT64, :INT64, :INT64 ].freeze,
|
7
|
+
def wglWaitForMscOML(hdc, target_msc, divisor, remainder, ust, msc, sbc) end => [ :BOOL, :HDC, :INT64, :INT64, :INT64, :pointer, :pointer, :pointer ].freeze,
|
8
|
+
def wglWaitForSbcOML(hdc, target_sbc, ust, msc, sbc) end => [ :BOOL, :HDC, :INT64, :pointer, :pointer, :pointer ].freeze,
|
9
|
+
}.freeze
|
19
10
|
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# Unlike other extensions, functions from this module are not pointers.
|
2
|
+
#
|
3
|
+
module GLX_VERSION_1_0
|
4
|
+
module Constants
|
5
|
+
GLX_EXTENSION_NAME = 'GLX'
|
6
|
+
GLX_PbufferClobber = 0
|
7
|
+
GLX_BufferSwapComplete = 1
|
8
|
+
GLX_NUMBER_EVENTS = 17
|
9
|
+
GLX_BAD_SCREEN = 1
|
10
|
+
GLX_BAD_ATTRIBUTE = 2
|
11
|
+
GLX_NO_EXTENSION = 3
|
12
|
+
GLX_BAD_VISUAL = 4
|
13
|
+
GLX_BAD_CONTEXT = 5
|
14
|
+
GLX_BAD_VALUE = 6
|
15
|
+
GLX_BAD_ENUM = 7
|
16
|
+
GLX_USE_GL = 1
|
17
|
+
GLX_BUFFER_SIZE = 2
|
18
|
+
GLX_LEVEL = 3
|
19
|
+
GLX_RGBA = 4
|
20
|
+
GLX_DOUBLEBUFFER = 5
|
21
|
+
GLX_STEREO = 6
|
22
|
+
GLX_AUX_BUFFERS = 7
|
23
|
+
GLX_RED_SIZE = 8
|
24
|
+
GLX_GREEN_SIZE = 9
|
25
|
+
GLX_BLUE_SIZE = 10
|
26
|
+
GLX_ALPHA_SIZE = 11
|
27
|
+
GLX_DEPTH_SIZE = 12
|
28
|
+
GLX_STENCIL_SIZE = 13
|
29
|
+
GLX_ACCUM_RED_SIZE = 14
|
30
|
+
GLX_ACCUM_GREEN_SIZE = 15
|
31
|
+
GLX_ACCUM_BLUE_SIZE = 16
|
32
|
+
GLX_ACCUM_ALPHA_SIZE = 17
|
33
|
+
end
|
34
|
+
|
35
|
+
Functions = {
|
36
|
+
# XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList)
|
37
|
+
def glXChooseVisual(dpy, screen, attribList) end => [ :pointer, :pointer, :int, :pointer ].freeze,
|
38
|
+
|
39
|
+
# void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask)
|
40
|
+
def glXCopyContext(dpy, src, dst, mask) end => [ :void, :pointer, :pointer, :pointer, :ulong ].freeze,
|
41
|
+
|
42
|
+
# GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
|
43
|
+
def glXCreateContext(dpy, vis, shareList, direct) end => [ :pointer, :pointer, :pointer, :pointer, :int ].freeze,
|
44
|
+
|
45
|
+
# GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap)
|
46
|
+
def glXCreateGLXPixmap(dpy, visual, pixmap) end => [ :ulong, :pointer, :pointer, :ulong ].freeze,
|
47
|
+
|
48
|
+
# void glXDestroyContext (Display *dpy, GLXContext ctx)
|
49
|
+
def glXDestroyContext(dpy, ctx) end => [ :void, :pointer, :pointer ].freeze,
|
50
|
+
|
51
|
+
# void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix)
|
52
|
+
def glXDestroyGLXPixmap(dpy, pixmap) end => [ :void, :pointer, :ulong ].freeze,
|
53
|
+
|
54
|
+
# int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value)
|
55
|
+
def glXGetConfig(dpy, visual, attrib, value) end => [ :int, :pointer, :pointer, :int, :pointer ].freeze,
|
56
|
+
|
57
|
+
# GLXContext glXGetCurrentContext (void)
|
58
|
+
def glXGetCurrentContext() end => [ :pointer ].freeze,
|
59
|
+
|
60
|
+
# GLXDrawable glXGetCurrentDrawable (void)
|
61
|
+
def glXGetCurrentDrawable() end => [ :ulong ].freeze,
|
62
|
+
|
63
|
+
# Bool glXIsDirect (Display *dpy, GLXContext ctx)
|
64
|
+
def glXIsDirect(dpy, ctx) end => [ :int, :pointer, :pointer ].freeze,
|
65
|
+
|
66
|
+
# Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx)
|
67
|
+
def glXMakeCurrent(dpy, drawable, ctx) end => [ :int, :pointer, :ulong, :pointer ].freeze,
|
68
|
+
|
69
|
+
# Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase)
|
70
|
+
def glXQueryExtension(dpy, errorb, event) end => [ :int, :pointer, :pointer, :pointer ].freeze,
|
71
|
+
|
72
|
+
# Bool glXQueryVersion (Display *dpy, int *major, int *minor)
|
73
|
+
def glXQueryVersion(dpy, major, minor) end => [ :int, :pointer, :pointer, :pointer ].freeze,
|
74
|
+
|
75
|
+
# void glXSwapBuffers (Display *dpy, GLXDrawable drawable)
|
76
|
+
def glXSwapBuffers(dpy, drawable) end => [ :void, :pointer, :ulong ].freeze,
|
77
|
+
|
78
|
+
# void glXUseXFont (Font font, int first, int count, int listBase)
|
79
|
+
def glXUseXFont(font, first, count, list) end => [ :void, :ulong, :int, :int, :int ].freeze,
|
80
|
+
|
81
|
+
# void glXWaitGL (void)
|
82
|
+
def glXWaitGL() end => [ :void ].freeze,
|
83
|
+
|
84
|
+
# void glXWaitX (void)
|
85
|
+
def glXWaitX() end => [ :void ].freeze,
|
86
|
+
}.freeze
|
87
|
+
end
|
@@ -7,20 +7,14 @@ module GLX_VERSION_1_1
|
|
7
7
|
EXTENSIONS = 0x3
|
8
8
|
end
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
def
|
13
|
-
def glXQueryServerString(dpy, screen, name) end
|
10
|
+
Functions = {
|
11
|
+
# const char* glXGetClientString (Display *dpy, int name)
|
12
|
+
def glXGetClientString(dpy, name) end => [ :string, :pointer, :int ].freeze,
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
glXGetClientString: [ :string, :pointer, :int ].freeze,
|
14
|
+
# const char* glXQueryExtensionsString (Display *dpy, int screen)
|
15
|
+
def glXQueryExtensionsString(dpy, screen) end => [ :string, :pointer, :int ].freeze,
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
#const char* glXQueryServerString (Display *dpy, int screen, int name)
|
23
|
-
glXQueryServerString: [ :string, :pointer, :int, :int ].freeze
|
24
|
-
}.freeze
|
25
|
-
end
|
17
|
+
# const char* glXQueryServerString (Display *dpy, int screen, int name)
|
18
|
+
def glXQueryServerString(dpy, screen, name) end => [ :string, :pointer, :int, :int ].freeze
|
19
|
+
}.freeze
|
26
20
|
end
|
@@ -1,10 +1,6 @@
|
|
1
1
|
module GLX_VERSION_1_2
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
#Display* glXGetCurrentDisplay (void)
|
7
|
-
glXGetCurrentDisplay: [ :pointer ].freeze
|
8
|
-
}.freeze
|
9
|
-
end
|
2
|
+
Functions = {
|
3
|
+
# Display* glXGetCurrentDisplay (void)
|
4
|
+
def glXGetCurrentDisplay() end => [ :pointer ].freeze
|
5
|
+
}.freeze
|
10
6
|
end
|
@@ -58,76 +58,56 @@ module GLX_VERSION_1_3
|
|
58
58
|
X_VISUAL_TYPE = 0x22
|
59
59
|
end
|
60
60
|
|
61
|
-
|
62
|
-
|
63
|
-
def
|
64
|
-
def glXCreatePbuffer(dpy, config, attrib_list) end
|
65
|
-
def glXCreatePixmap(dpy, config, pixmap, attrib_list) end
|
66
|
-
def glXCreateWindow(dpy, config, win, attrib_list) end
|
67
|
-
def glXDestroyPbuffer(dpy, pbuf) end
|
68
|
-
def glXDestroyPixmap(dpy, pixmap) end
|
69
|
-
def glXDestroyWindow(dpy, win) end
|
70
|
-
def glXGetCurrentReadDrawable() end
|
71
|
-
def glXGetFBConfigAttrib(dpy, config, attribute, value) end
|
72
|
-
def glXGetFBConfigs(dpy, screen, nelements) end
|
73
|
-
def glXGetSelectedEvent(dpy, draw, event_mask) end
|
74
|
-
def glXGetVisualFromFBConfig(dpy, config) end
|
75
|
-
def glXMakeContextCurrent(dpy, draw, read, ctx) end
|
76
|
-
def glXQueryContext(dpy, ctx, attribute, value) end
|
77
|
-
def glXQueryDrawable(dpy, draw, attribute, value) end
|
78
|
-
def glXSelectEvent(dpy, draw, event_mask) end
|
61
|
+
Functions = {
|
62
|
+
# GLXFBConfig* glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements)
|
63
|
+
def glXChooseFBConfig(dpy, screen, attrib_list, nelements) end => [ :pointer, :pointer, :int, :pointer, :pointe ].freeze,
|
79
64
|
|
80
|
-
|
81
|
-
|
82
|
-
glXChooseFBConfig: [ :pointer, :pointer, :int, :pointer, :pointe ].freeze,
|
65
|
+
# GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
|
66
|
+
def glXCreateNewContext(dpy, config, render_type, share_list, direct) end => [ :pointer, :pointer, :pointer, :int, :pointer, :boo ].freeze,
|
83
67
|
|
84
|
-
|
85
|
-
|
68
|
+
# GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list)
|
69
|
+
def glXCreatePbuffer(dpy, config, attrib_list) end => [ :int, :pointer, :pointer, :pointe ].freeze,
|
86
70
|
|
87
|
-
|
88
|
-
|
71
|
+
# GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
|
72
|
+
def glXCreatePixmap(dpy, config, pixmap, attrib_list) end => [ :int, :pointer, :pointer, :int, :pointe ].freeze,
|
89
73
|
|
90
|
-
|
91
|
-
|
74
|
+
# GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
|
75
|
+
def glXCreateWindow(dpy, config, win, attrib_list) end => [ :int, :pointer, :pointer, :int, :pointe ].freeze,
|
92
76
|
|
93
|
-
|
94
|
-
|
77
|
+
# void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf)
|
78
|
+
def glXDestroyPbuffer(dpy, pbuf) end => [ :void, :pointer, :in ].freeze,
|
95
79
|
|
96
|
-
|
97
|
-
|
80
|
+
# void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap)
|
81
|
+
def glXDestroyPixmap(dpy, pixmap) end => [ :void, :pointer, :in ].freeze,
|
98
82
|
|
99
|
-
|
100
|
-
|
83
|
+
# void glXDestroyWindow (Display *dpy, GLXWindow win)
|
84
|
+
def glXDestroyWindow(dpy, win) end => [ :void, :pointer, :in ].freeze,
|
101
85
|
|
102
|
-
|
103
|
-
|
86
|
+
# GLXDrawable glXGetCurrentReadDrawable (void)
|
87
|
+
def glXGetCurrentReadDrawable() end => [ :int ].freeze,
|
104
88
|
|
105
|
-
|
106
|
-
|
89
|
+
# int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value)
|
90
|
+
def glXGetFBConfigAttrib(dpy, config, attribute, value) end => [ :int, :pointer, :pointer, :int, :pointe ].freeze,
|
107
91
|
|
108
|
-
|
109
|
-
|
92
|
+
# GLXFBConfig* glXGetFBConfigs (Display *dpy, int screen, int *nelements)
|
93
|
+
def glXGetFBConfigs(dpy, screen, nelements) end => [ :pointer, :pointer, :int, :pointe ].freeze,
|
110
94
|
|
111
|
-
|
112
|
-
|
95
|
+
# void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask)
|
96
|
+
def glXGetSelectedEvent(dpy, draw, event_mask) end => [ :void, :pointer, :int, :pointe ].freeze,
|
113
97
|
|
114
|
-
|
115
|
-
|
98
|
+
# XVisualInfo* glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config)
|
99
|
+
def glXGetVisualFromFBConfig(dpy, config) end => [ :pointer, :pointer, :pointer ].freeze,
|
116
100
|
|
117
|
-
|
118
|
-
|
101
|
+
# Bool glXMakeContextCurrent (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
|
102
|
+
def glXMakeContextCurrent(dpy, draw, read, ctx) end => [ :bool, :pointer, :int, :int, :pointe ].freeze,
|
119
103
|
|
120
|
-
|
121
|
-
|
104
|
+
# int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value)
|
105
|
+
def glXQueryContext(dpy, ctx, attribute, value) end => [ :int, :pointer, :pointer, :int, :pointe ].freeze,
|
122
106
|
|
123
|
-
|
124
|
-
|
107
|
+
# void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
|
108
|
+
def glXQueryDrawable(dpy, draw, attribute, value) end => [ :void, :pointer, :int, :int, :pointe ].freeze,
|
125
109
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
#void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask)
|
130
|
-
glXSelectEvent: [ :void, :pointer, :int, :uin ].freeze
|
131
|
-
}.freeze
|
132
|
-
end
|
110
|
+
# void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask)
|
111
|
+
def glXSelectEvent(dpy, draw, event_mask) end => [ :void, :pointer, :int, :uin ].freeze,
|
112
|
+
}.freeze
|
133
113
|
end
|