roglew 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/lib/roglew/contexts/base.rb +58 -0
- data/lib/roglew/contexts/deferred.rb +27 -0
- data/lib/roglew/contexts/immediate.rb +19 -0
- data/lib/roglew/contextual.rb +53 -0
- data/lib/roglew/errors.rb +5 -0
- data/lib/roglew/ext/ffi_struct_ext.rb +20 -0
- data/lib/roglew/extensions/GL_3DFX_multisample.rb +8 -0
- data/lib/roglew/extensions/GL_3DFX_tbuffer.rb +8 -0
- data/lib/roglew/extensions/GL_3DFX_texture_compression_FXT1.rb +6 -0
- data/lib/roglew/extensions/GL_AMD_blend_minmax_factor.rb +6 -0
- data/lib/roglew/extensions/GL_AMD_debug_output.rb +37 -0
- data/lib/roglew/extensions/GL_AMD_depth_clamp_separate.rb +6 -0
- data/lib/roglew/extensions/GL_AMD_draw_buffers_blend.rb +10 -0
- data/lib/roglew/extensions/GL_AMD_multi_draw_indirect.rb +8 -0
- data/lib/roglew/extensions/GL_AMD_name_gen_delete.rb +19 -0
- data/lib/roglew/extensions/GL_AMD_performance_monitor.rb +29 -0
- data/lib/roglew/extensions/GL_AMD_pinned_memory.rb +5 -0
- data/lib/roglew/extensions/GL_AMD_query_buffer_object.rb +7 -0
- data/lib/roglew/extensions/GL_AMD_sample_positions.rb +13 -0
- data/lib/roglew/extensions/GL_AMD_seamless_cubemap_per_texture.rb +5 -0
- data/lib/roglew/extensions/GL_AMD_stencil_operation_extended.rb +16 -0
- data/lib/roglew/extensions/GL_AMD_vertex_shader_tessellator.rb +20 -0
- data/lib/roglew/extensions/GL_APPLE_aux_depth_stencil.rb +5 -0
- data/lib/roglew/extensions/GL_APPLE_client_storage.rb +5 -0
- data/lib/roglew/extensions/GL_APPLE_element_array.rb +19 -0
- data/lib/roglew/extensions/GL_APPLE_fence.rb +21 -0
- data/lib/roglew/extensions/GL_APPLE_float_pixels.rb +18 -0
- data/lib/roglew/extensions/GL_APPLE_flush_buffer_range.rb +15 -0
- data/lib/roglew/extensions/GL_APPLE_object_purgeable.rb +20 -0
- data/lib/roglew/extensions/GL_APPLE_pixel_buffer.rb +5 -0
- data/lib/roglew/extensions/GL_APPLE_rgb_422.rb +7 -0
- data/lib/roglew/extensions/GL_APPLE_row_bytes.rb +6 -0
- data/lib/roglew/extensions/GL_APPLE_specular_vector.rb +5 -0
- data/lib/roglew/extensions/GL_APPLE_texture_range.rb +19 -0
- data/lib/roglew/extensions/GL_APPLE_transform_hint.rb +5 -0
- data/lib/roglew/extensions/GL_APPLE_vertex_array_object.rb +16 -0
- data/lib/roglew/extensions/GL_APPLE_vertex_array_range.rb +22 -0
- data/lib/roglew/extensions/GL_APPLE_vertex_program_evaluators.rb +28 -0
- data/lib/roglew/extensions/GL_APPLE_ycbcr_422.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_ES2_compatibility.rb +32 -0
- data/lib/roglew/extensions/GL_ARB_ES3_compatibility.rb +17 -0
- data/lib/roglew/extensions/GL_ARB_base_instance.rb +9 -0
- data/lib/roglew/extensions/GL_ARB_blend_func_extended.rb +17 -0
- data/lib/roglew/extensions/GL_ARB_cl_event.rb +14 -0
- data/lib/roglew/extensions/GL_ARB_clear_buffer_object.rb +10 -0
- data/lib/roglew/extensions/GL_ARB_color_buffer_float.rb +17 -0
- data/lib/roglew/extensions/GL_ARB_compressed_texture_pixel_storage.rb +12 -0
- data/lib/roglew/extensions/GL_ARB_compute_shader.rb +31 -0
- data/lib/roglew/extensions/GL_ARB_copy_buffer.rb +14 -0
- data/lib/roglew/extensions/GL_ARB_copy_image.rb +7 -0
- data/lib/roglew/extensions/GL_ARB_debug_output.rb +39 -0
- data/lib/roglew/extensions/GL_ARB_depth_buffer_float.rb +7 -0
- data/lib/roglew/extensions/GL_ARB_depth_clamp.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_depth_texture.rb +9 -0
- data/lib/roglew/extensions/GL_ARB_draw_buffers.rb +29 -0
- data/lib/roglew/extensions/GL_ARB_draw_buffers_blend.rb +10 -0
- data/lib/roglew/extensions/GL_ARB_draw_elements_base_vertex.rb +10 -0
- data/lib/roglew/extensions/GL_ARB_draw_indirect.rb +15 -0
- data/lib/roglew/extensions/GL_ARB_explicit_uniform_location.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_fragment_program.rb +19 -0
- data/lib/roglew/extensions/GL_ARB_fragment_shader.rb +7 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_no_attachments.rb +24 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_object/framebuffer.rb +24 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_object/framebuffer_context.rb +51 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_object/renderbuffer.rb +23 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_object/renderbuffer_context.rb +48 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_object.rb +152 -0
- data/lib/roglew/extensions/GL_ARB_framebuffer_sRGB.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_geometry_shader4.rb +34 -0
- data/lib/roglew/extensions/GL_ARB_get_program_binary.rb +18 -0
- data/lib/roglew/extensions/GL_ARB_gpu_shader5.rb +10 -0
- data/lib/roglew/extensions/GL_ARB_gpu_shader_fp64.rb +41 -0
- data/lib/roglew/extensions/GL_ARB_half_float_pixel.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_half_float_vertex.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_imaging.rb +120 -0
- data/lib/roglew/extensions/GL_ARB_instanced_arrays.rb +15 -0
- data/lib/roglew/extensions/GL_ARB_internalformat_query.rb +13 -0
- data/lib/roglew/extensions/GL_ARB_internalformat_query2.rb +124 -0
- data/lib/roglew/extensions/GL_ARB_invalidate_subdata.rb +12 -0
- data/lib/roglew/extensions/GL_ARB_map_buffer_alignment.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_map_buffer_range.rb +19 -0
- data/lib/roglew/extensions/GL_ARB_matrix_palette.rb +26 -0
- data/lib/roglew/extensions/GL_ARB_multi_draw_indirect.rb +8 -0
- data/lib/roglew/extensions/GL_ARB_multisample.rb +21 -0
- data/lib/roglew/extensions/GL_ARB_multitexture.rb +80 -0
- data/lib/roglew/extensions/GL_ARB_occlusion_query.rb +24 -0
- data/lib/roglew/extensions/GL_ARB_occlusion_query2.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_pixel_buffer_object.rb +9 -0
- data/lib/roglew/extensions/GL_ARB_point_parameters.rb +17 -0
- data/lib/roglew/extensions/GL_ARB_point_sprite.rb +6 -0
- data/lib/roglew/extensions/GL_ARB_program_interface_query.rb +64 -0
- data/lib/roglew/extensions/GL_ARB_provoking_vertex.rb +16 -0
- data/lib/roglew/extensions/GL_ARB_robustness.rb +38 -0
- data/lib/roglew/extensions/GL_ARB_sample_shading.rb +15 -0
- data/lib/roglew/extensions/GL_ARB_sampler_objects.rb +27 -0
- data/lib/roglew/extensions/GL_ARB_seamless_cube_map.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_separate_shader_objects.rb +81 -0
- data/lib/roglew/extensions/GL_ARB_shader_atomic_counters.rb +42 -0
- data/lib/roglew/extensions/GL_ARB_shader_image_load_store.rb +78 -0
- data/lib/roglew/extensions/GL_ARB_shader_objects.rb +85 -0
- data/lib/roglew/extensions/GL_ARB_shader_storage_buffer_object.rb +29 -0
- data/lib/roglew/extensions/GL_ARB_shader_subroutine.rb +29 -0
- data/lib/roglew/extensions/GL_ARB_shading_language_100.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_shading_language_include.rb +20 -0
- data/lib/roglew/extensions/GL_ARB_shadow.rb +7 -0
- data/lib/roglew/extensions/GL_ARB_shadow_ambient.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_stencil_texturing.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_sync.rb +34 -0
- data/lib/roglew/extensions/GL_ARB_tessellation_shader.rb +46 -0
- data/lib/roglew/extensions/GL_ARB_texture_border_clamp.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_texture_buffer_object.rb +18 -0
- data/lib/roglew/extensions/GL_ARB_texture_buffer_range.rb +17 -0
- data/lib/roglew/extensions/GL_ARB_texture_compression.rb +30 -0
- data/lib/roglew/extensions/GL_ARB_texture_compression_bptc.rb +8 -0
- data/lib/roglew/extensions/GL_ARB_texture_compression_rgtc.rb +8 -0
- data/lib/roglew/extensions/GL_ARB_texture_cube_map.rb +16 -0
- data/lib/roglew/extensions/GL_ARB_texture_cube_map_array.rb +11 -0
- data/lib/roglew/extensions/GL_ARB_texture_env_combine.rb +26 -0
- data/lib/roglew/extensions/GL_ARB_texture_env_dot3.rb +6 -0
- data/lib/roglew/extensions/GL_ARB_texture_float.rb +24 -0
- data/lib/roglew/extensions/GL_ARB_texture_gather.rb +7 -0
- data/lib/roglew/extensions/GL_ARB_texture_mirrored_repeat.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_texture_multisample.rb +37 -0
- data/lib/roglew/extensions/GL_ARB_texture_rectangle.rb +10 -0
- data/lib/roglew/extensions/GL_ARB_texture_rg.rb +28 -0
- data/lib/roglew/extensions/GL_ARB_texture_rgb10_a2ui.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_texture_storage.rb +19 -0
- data/lib/roglew/extensions/GL_ARB_texture_storage_multisample.rb +11 -0
- data/lib/roglew/extensions/GL_ARB_texture_swizzle.rb +9 -0
- data/lib/roglew/extensions/GL_ARB_texture_view.rb +18 -0
- data/lib/roglew/extensions/GL_ARB_timer_query.rb +17 -0
- data/lib/roglew/extensions/GL_ARB_transform_feedback2.rb +23 -0
- data/lib/roglew/extensions/GL_ARB_transform_feedback3pt.rb +18 -0
- data/lib/roglew/extensions/GL_ARB_transform_feedback_instanced.rb +9 -0
- data/lib/roglew/extensions/GL_ARB_transpose_matrix.rb +20 -0
- data/lib/roglew/extensions/GL_ARB_uniform_buffer_object.rb +55 -0
- data/lib/roglew/extensions/GL_ARB_vertex_array_bgra.rb +5 -0
- data/lib/roglew/extensions/GL_ARB_vertex_array_object.rb +21 -0
- data/lib/roglew/extensions/GL_ARB_vertex_attrib_64bit.rb +28 -0
- data/lib/roglew/extensions/GL_ARB_vertex_attrib_binding.rb +25 -0
- data/lib/roglew/extensions/GL_ARB_vertex_blend.rb +64 -0
- data/lib/roglew/extensions/GL_ARB_vertex_buffer_object.rb +51 -0
- data/lib/roglew/extensions/GL_ARB_vertex_program.rb +153 -0
- data/lib/roglew/extensions/GL_ARB_vertex_shader.rb +22 -0
- data/lib/roglew/extensions/GL_ARB_vertex_type_2_10_10_10_rev.rb +52 -0
- data/lib/roglew/extensions/GL_ARB_viewport_array.rb +35 -0
- data/lib/roglew/extensions/GL_ARB_window_pos.rb +22 -0
- data/lib/roglew/extensions/GL_ATIX_point_sprites.rb +10 -0
- data/lib/roglew/extensions/GL_ATIX_texture_env_combine3.rb +7 -0
- data/lib/roglew/extensions/GL_ATIX_texture_env_route.rb +7 -0
- data/lib/roglew/extensions/GL_ATIX_vertex_shader_output_point_size.rb +5 -0
- data/lib/roglew/extensions/GL_ATI_draw_buffers.rb +30 -0
- data/lib/roglew/extensions/GL_ATI_element_array.rb +18 -0
- data/lib/roglew/extensions/GL_ATI_envmap_bumpmap.rb +24 -0
- data/lib/roglew/extensions/GL_ATI_fragment_shader.rb +80 -0
- data/lib/roglew/extensions/GL_ATI_map_object_buffer.rb +9 -0
- data/lib/roglew/extensions/GL_ATI_meminfo.rb +7 -0
- data/lib/roglew/extensions/GL_ATI_pn_triangles.rb +23 -0
- data/lib/roglew/extensions/GL_ATI_separate_stencil.rb +18 -0
- data/lib/roglew/extensions/GL_ATI_text_fragment_shader.rb +5 -0
- data/lib/roglew/extensions/GL_ATI_texture_compression_3dc.rb +5 -0
- data/lib/roglew/extensions/GL_ATI_texture_env_combine3.rb +7 -0
- data/lib/roglew/extensions/GL_ATI_texture_float.rb +16 -0
- data/lib/roglew/extensions/GL_ATI_texture_mirror_once.rb +6 -0
- data/lib/roglew/extensions/GL_ATI_vertex_array_object.rb +32 -0
- data/lib/roglew/extensions/GL_ATI_vertex_attrib_array_object.rb +9 -0
- data/lib/roglew/extensions/GL_ATI_vertex_streams.rb +67 -0
- data/lib/roglew/extensions/GL_EXT_422_pixels.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_Cg_shader.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_abgr.rb +5 -0
- data/lib/roglew/extensions/GL_EXT_bgra.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_bindable_uniform.rb +21 -0
- data/lib/roglew/extensions/GL_EXT_blend_color.rb +18 -0
- data/lib/roglew/extensions/GL_EXT_blend_equation_separate.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_blend_func_separate.rb +17 -0
- data/lib/roglew/extensions/GL_EXT_blend_minmax.rb +17 -0
- data/lib/roglew/extensions/GL_EXT_blend_subtract.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_clip_volume_hint.rb +5 -0
- data/lib/roglew/extensions/GL_EXT_cmyka.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_color_subtable.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_compiled_vertex_array.rb +16 -0
- data/lib/roglew/extensions/GL_EXT_convolution.rb +45 -0
- data/lib/roglew/extensions/GL_EXT_coordinate_frame.rb +28 -0
- data/lib/roglew/extensions/GL_EXT_copy_texture.rb +11 -0
- data/lib/roglew/extensions/GL_EXT_cull_vertex.rb +17 -0
- data/lib/roglew/extensions/GL_EXT_debug_marker.rb +9 -0
- data/lib/roglew/extensions/GL_EXT_depth_bounds_test.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_direct_state_access.rb +245 -0
- data/lib/roglew/extensions/GL_EXT_draw_buffers2.rb +12 -0
- data/lib/roglew/extensions/GL_EXT_draw_instanced.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_draw_range_elements.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_fog_coord.rb +24 -0
- data/lib/roglew/extensions/GL_EXT_fragment_lighting.rb +44 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_blit.rb +17 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_multisample.rb +16 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_multisample_blit_scaled.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_object/framebuffer.rb +24 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_object/framebuffer_context.rb +42 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer.rb +23 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer_context.rb +43 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_object.rb +127 -0
- data/lib/roglew/extensions/GL_EXT_framebuffer_sRGB.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_geometry_shader4.rb +35 -0
- data/lib/roglew/extensions/GL_EXT_gpu_program_parameters.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_gpu_shader4.rb +72 -0
- data/lib/roglew/extensions/GL_EXT_histogram.rb +35 -0
- data/lib/roglew/extensions/GL_EXT_index_func.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_index_material.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_light_texture.rb +24 -0
- data/lib/roglew/extensions/GL_EXT_multi_draw_arrays.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_multisample.rb +31 -0
- data/lib/roglew/extensions/GL_EXT_packed_depth_stencil.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_packed_float.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_packed_pixels.rb +9 -0
- data/lib/roglew/extensions/GL_EXT_paletted_texture.rb +37 -0
- data/lib/roglew/extensions/GL_EXT_pixel_buffer_object.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_pixel_transform.rb +27 -0
- data/lib/roglew/extensions/GL_EXT_point_parameters.rb +18 -0
- data/lib/roglew/extensions/GL_EXT_polygon_offset.rb +16 -0
- data/lib/roglew/extensions/GL_EXT_provoking_vertex.rb +17 -0
- data/lib/roglew/extensions/GL_EXT_rescale_normal.rb +5 -0
- data/lib/roglew/extensions/GL_EXT_scene_marker.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_secondary_color.rb +36 -0
- data/lib/roglew/extensions/GL_EXT_separate_shader_objects.rb +16 -0
- data/lib/roglew/extensions/GL_EXT_separate_specular_color.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_shader_image_load_store.rb +69 -0
- data/lib/roglew/extensions/GL_EXT_shared_texture_palette.rb +5 -0
- data/lib/roglew/extensions/GL_EXT_stencil_clear_tag.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_stencil_two_side.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_stencil_wrap.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_subtexture.rb +9 -0
- data/lib/roglew/extensions/GL_EXT_texture.rb +46 -0
- data/lib/roglew/extensions/GL_EXT_texture3D.rb +22 -0
- data/lib/roglew/extensions/GL_EXT_texture_array.rb +21 -0
- data/lib/roglew/extensions/GL_EXT_texture_buffer_object.rb +18 -0
- data/lib/roglew/extensions/GL_EXT_texture_compression_latc.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_texture_compression_rgtc.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_texture_compression_s3tc.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_texture_cube_map.rb +16 -0
- data/lib/roglew/extensions/GL_EXT_texture_edge_clamp.rb +5 -0
- data/lib/roglew/extensions/GL_EXT_texture_env.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_texture_env_combine.rb +25 -0
- data/lib/roglew/extensions/GL_EXT_texture_env_dot3.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_texture_filter_anisotropic.rb +6 -0
- data/lib/roglew/extensions/GL_EXT_texture_integer.rb +65 -0
- data/lib/roglew/extensions/GL_EXT_texture_lod_bias.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_texture_mirror_clamp.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_texture_object.rb +23 -0
- data/lib/roglew/extensions/GL_EXT_texture_perturb_normal.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_texture_rectangle.rb +8 -0
- data/lib/roglew/extensions/GL_EXT_texture_sRGB.rb +20 -0
- data/lib/roglew/extensions/GL_EXT_texture_sRGB_decode.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_texture_shared_exponent.rb +7 -0
- data/lib/roglew/extensions/GL_EXT_texture_snorm.rb +29 -0
- data/lib/roglew/extensions/GL_EXT_texture_swizzle.rb +9 -0
- data/lib/roglew/extensions/GL_EXT_timer_query.rb +15 -0
- data/lib/roglew/extensions/GL_EXT_transform_feedback.rb +34 -0
- data/lib/roglew/extensions/GL_EXT_vertex_array.rb +53 -0
- data/lib/roglew/extensions/GL_EXT_vertex_array_bgra.rb +5 -0
- data/lib/roglew/extensions/GL_EXT_vertex_attrib_64bit.rb +35 -0
- data/lib/roglew/extensions/GL_EXT_vertex_shader.rb +164 -0
- data/lib/roglew/extensions/GL_EXT_vertex_weighting.rb +28 -0
- data/lib/roglew/extensions/GL_EXT_x11_sync_object.rb +14 -0
- data/lib/roglew/extensions/GL_GREMEDY_frame_terminator.rb +7 -0
- data/lib/roglew/extensions/GL_GREMEDY_string_marker.rb +7 -0
- data/lib/roglew/extensions/GL_HP_image_transform.rb +12 -0
- data/lib/roglew/extensions/GL_HP_occlusion_test.rb +6 -0
- data/lib/roglew/extensions/GL_IBM_cull_vertex.rb +5 -0
- data/lib/roglew/extensions/GL_IBM_multimode_draw_arrays.rb +8 -0
- data/lib/roglew/extensions/GL_IBM_rasterpos_clip.rb +5 -0
- data/lib/roglew/extensions/GL_IBM_static_data.rb +6 -0
- data/lib/roglew/extensions/GL_IBM_texture_mirrored_repeat.rb +5 -0
- data/lib/roglew/extensions/GL_IBM_vertex_array_lists.rb +36 -0
- data/lib/roglew/extensions/GL_INGR_color_clamp.rb +12 -0
- data/lib/roglew/extensions/GL_INGR_interlace_read.rb +5 -0
- data/lib/roglew/extensions/GL_INTEL_parallel_arrays.rb +21 -0
- data/lib/roglew/extensions/GL_INTEL_texture_scissor.rb +8 -0
- data/lib/roglew/extensions/GL_KHR_debug.rb +64 -0
- data/lib/roglew/extensions/GL_KHR_texture_compression_astc_ldr.rb +32 -0
- data/lib/roglew/extensions/GL_KTX_buffer_region.rb +21 -0
- data/lib/roglew/extensions/GL_MESAX_texture_stack.rb +10 -0
- data/lib/roglew/extensions/GL_MESA_pack_invert.rb +5 -0
- data/lib/roglew/extensions/GL_MESA_resize_buffers.rb +7 -0
- data/lib/roglew/extensions/GL_MESA_window_pos.rb +30 -0
- data/lib/roglew/extensions/GL_MESA_ycbcr_texture.rb +7 -0
- data/lib/roglew/extensions/GL_NVX_gpu_memory_info.rb +9 -0
- data/lib/roglew/extensions/GL_NV_bindless_texture.rb +19 -0
- data/lib/roglew/extensions/GL_NV_conditional_render.rb +18 -0
- data/lib/roglew/extensions/GL_NV_copy_depth_to_color.rb +6 -0
- data/lib/roglew/extensions/GL_NV_copy_image.rb +7 -0
- data/lib/roglew/extensions/GL_NV_depth_buffer_float.rb +19 -0
- data/lib/roglew/extensions/GL_NV_depth_clamp.rb +5 -0
- data/lib/roglew/extensions/GL_NV_depth_range_unclamped.rb +9 -0
- data/lib/roglew/extensions/GL_NV_evaluators.rb +45 -0
- data/lib/roglew/extensions/GL_NV_explicit_multisample.rb +25 -0
- data/lib/roglew/extensions/GL_NV_fence.rb +22 -0
- data/lib/roglew/extensions/GL_NV_float_buffer.rb +19 -0
- data/lib/roglew/extensions/GL_NV_fog_distance.rb +7 -0
- data/lib/roglew/extensions/GL_NV_fragment_program.rb +24 -0
- data/lib/roglew/extensions/GL_NV_fragment_program2.rb +9 -0
- data/lib/roglew/extensions/GL_NV_framebuffer_multisample_coverage.rb +17 -0
- data/lib/roglew/extensions/GL_NV_geometry_program4.rb +16 -0
- data/lib/roglew/extensions/GL_NV_gpu_program4.rb +32 -0
- data/lib/roglew/extensions/GL_NV_gpu_program5.rb +10 -0
- data/lib/roglew/extensions/GL_NV_gpu_shader5.rb +74 -0
- data/lib/roglew/extensions/GL_NV_half_float.rb +59 -0
- data/lib/roglew/extensions/GL_NV_light_max_exponent.rb +6 -0
- data/lib/roglew/extensions/GL_NV_multisample_coverage.rb +6 -0
- data/lib/roglew/extensions/GL_NV_multisample_filter_hint.rb +5 -0
- data/lib/roglew/extensions/GL_NV_occlusion_query.rb +23 -0
- data/lib/roglew/extensions/GL_NV_packed_depth_stencil.rb +6 -0
- data/lib/roglew/extensions/GL_NV_parameter_buffer_object.rb +20 -0
- data/lib/roglew/extensions/GL_NV_path_rendering.rb +191 -0
- data/lib/roglew/extensions/GL_NV_pixel_data_range.rb +20 -0
- data/lib/roglew/extensions/GL_NV_point_sprite.rb +17 -0
- data/lib/roglew/extensions/GL_NV_present_video.rb +24 -0
- data/lib/roglew/extensions/GL_NV_primitive_restart.rb +16 -0
- data/lib/roglew/extensions/GL_NV_register_combiners.rb +76 -0
- data/lib/roglew/extensions/GL_NV_register_combiners2.rb +15 -0
- data/lib/roglew/extensions/GL_NV_shader_buffer_load.rb +28 -0
- data/lib/roglew/extensions/GL_NV_tessellation_program5.rb +9 -0
- data/lib/roglew/extensions/GL_NV_texgen_emboss.rb +7 -0
- data/lib/roglew/extensions/GL_NV_texgen_reflection.rb +7 -0
- data/lib/roglew/extensions/GL_NV_texture_barrier.rb +7 -0
- data/lib/roglew/extensions/GL_NV_texture_env_combine4.rb +9 -0
- data/lib/roglew/extensions/GL_NV_texture_expand_normal.rb +5 -0
- data/lib/roglew/extensions/GL_NV_texture_multisample.rb +20 -0
- data/lib/roglew/extensions/GL_NV_texture_rectangle.rb +8 -0
- data/lib/roglew/extensions/GL_NV_texture_shader.rb +77 -0
- data/lib/roglew/extensions/GL_NV_texture_shader2.rb +32 -0
- data/lib/roglew/extensions/GL_NV_texture_shader3.rb +21 -0
- data/lib/roglew/extensions/GL_NV_transform_feedback.rb +48 -0
- data/lib/roglew/extensions/GL_NV_transform_feedback2.rb +23 -0
- data/lib/roglew/extensions/GL_NV_vdpau_interop.rb +26 -0
- data/lib/roglew/extensions/GL_NV_vertex_array_range.rb +19 -0
- data/lib/roglew/extensions/GL_NV_vertex_array_range2.rb +5 -0
- data/lib/roglew/extensions/GL_NV_vertex_attrib_integer_64bit.rb +33 -0
- data/lib/roglew/extensions/GL_NV_vertex_buffer_unified_memory.rb +49 -0
- data/lib/roglew/extensions/GL_NV_vertex_program.rb +159 -0
- data/lib/roglew/extensions/GL_NV_vertex_program2_option.rb +6 -0
- data/lib/roglew/extensions/GL_NV_vertex_program3.rb +5 -0
- data/lib/roglew/extensions/GL_NV_vertex_program4.rb +5 -0
- data/lib/roglew/extensions/GL_NV_video_capture.rb +53 -0
- data/lib/roglew/extensions/GL_OES_byte_coordinates.rb +5 -0
- data/lib/roglew/extensions/GL_OES_compressed_paletted_texture.rb +14 -0
- data/lib/roglew/extensions/GL_OES_read_format.rb +6 -0
- data/lib/roglew/extensions/GL_OES_single_precision.rb +12 -0
- data/lib/roglew/extensions/GL_OML_interlace.rb +6 -0
- data/lib/roglew/extensions/GL_OML_resample.rb +10 -0
- data/lib/roglew/extensions/GL_OML_subsample.rb +6 -0
- data/lib/roglew/extensions/GL_PGI_misc_hints.rb +24 -0
- data/lib/roglew/extensions/GL_PGI_vertex_hints.rb +26 -0
- data/lib/roglew/extensions/GL_REGAL_error_string.rb +7 -0
- data/lib/roglew/extensions/GL_REGAL_extension_query.rb +8 -0
- data/lib/roglew/extensions/GL_REGAL_log.rb +13 -0
- data/lib/roglew/extensions/GL_REND_screen_coordinates.rb +6 -0
- data/lib/roglew/extensions/GL_S3_s3tc.rb +10 -0
- data/lib/roglew/extensions/GL_SGIS_color_range.rb +13 -0
- data/lib/roglew/extensions/GL_SGIS_detail_texture.rb +8 -0
- data/lib/roglew/extensions/GL_SGIS_fog_function.rb +8 -0
- data/lib/roglew/extensions/GL_SGIS_generate_mipmap.rb +6 -0
- data/lib/roglew/extensions/GL_SGIS_multisample.rb +30 -0
- data/lib/roglew/extensions/GL_SGIS_point_line_texgen.rb +12 -0
- data/lib/roglew/extensions/GL_SGIS_sharpen_texture.rb +8 -0
- data/lib/roglew/extensions/GL_SGIS_texture4D.rb +8 -0
- data/lib/roglew/extensions/GL_SGIS_texture_border_clamp.rb +5 -0
- data/lib/roglew/extensions/GL_SGIS_texture_edge_clamp.rb +5 -0
- data/lib/roglew/extensions/GL_SGIS_texture_filter4.rb +8 -0
- data/lib/roglew/extensions/GL_SGIS_texture_lod.rb +8 -0
- data/lib/roglew/extensions/GL_SGIX_async.rb +19 -0
- data/lib/roglew/extensions/GL_SGIX_async_histogram.rb +6 -0
- data/lib/roglew/extensions/GL_SGIX_async_pixel.rb +10 -0
- data/lib/roglew/extensions/GL_SGIX_blend_alpha_minmax.rb +6 -0
- data/lib/roglew/extensions/GL_SGIX_convolution_accuracy.rb +5 -0
- data/lib/roglew/extensions/GL_SGIX_depth_texture.rb +7 -0
- data/lib/roglew/extensions/GL_SGIX_flush_raster.rb +7 -0
- data/lib/roglew/extensions/GL_SGIX_fog_offset.rb +6 -0
- data/lib/roglew/extensions/GL_SGIX_fog_texture.rb +16 -0
- data/lib/roglew/extensions/GL_SGIX_fragment_specular_lighting.rb +23 -0
- data/lib/roglew/extensions/GL_SGIX_framezoom.rb +8 -0
- data/lib/roglew/extensions/GL_SGIX_interlace.rb +5 -0
- data/lib/roglew/extensions/GL_SGIX_pixel_texture.rb +8 -0
- data/lib/roglew/extensions/GL_SGIX_reference_plane.rb +7 -0
- data/lib/roglew/extensions/GL_SGIX_resample.rb +8 -0
- data/lib/roglew/extensions/GL_SGIX_shadow_ambient.rb +5 -0
- data/lib/roglew/extensions/GL_SGIX_sprite.rb +10 -0
- data/lib/roglew/extensions/GL_SGIX_tag_sample_buffer.rb +7 -0
- data/lib/roglew/extensions/GL_SGIX_texture_coordinate_clamp.rb +7 -0
- data/lib/roglew/extensions/GL_SGIX_texture_multi_buffer.rb +5 -0
- data/lib/roglew/extensions/GL_SGIX_texture_range.rb +32 -0
- data/lib/roglew/extensions/GL_SGIX_texture_scale_bias.rb +8 -0
- data/lib/roglew/extensions/GL_SGIX_vertex_preclip.rb +6 -0
- data/lib/roglew/extensions/GL_SGIX_vertex_preclip_hint.rb +6 -0
- data/lib/roglew/extensions/GL_SGI_color_matrix.rb +15 -0
- data/lib/roglew/extensions/GL_SGI_color_table.rb +35 -0
- data/lib/roglew/extensions/GL_SGI_texture_color_table.rb +6 -0
- data/lib/roglew/extensions/GL_SUNX_constant_data.rb +15 -0
- data/lib/roglew/extensions/GL_SUN_convolution_border_modes.rb +5 -0
- data/lib/roglew/extensions/GL_SUN_global_alpha.rb +22 -0
- data/lib/roglew/extensions/GL_SUN_mesh_array.rb +6 -0
- data/lib/roglew/extensions/GL_SUN_read_video_pixels.rb +7 -0
- data/lib/roglew/extensions/GL_SUN_slice_accum.rb +5 -0
- data/lib/roglew/extensions/GL_SUN_triangle_list.rb +36 -0
- data/lib/roglew/extensions/GL_SUN_vertex.rb +46 -0
- data/lib/roglew/extensions/GL_VERSION_1_2.rb +62 -0
- data/lib/roglew/extensions/GL_VERSION_1_3.rb +154 -0
- data/lib/roglew/extensions/GL_VERSION_1_4.rb +99 -0
- data/lib/roglew/extensions/GL_VERSION_1_5.rb +79 -0
- data/lib/roglew/extensions/GL_VERSION_2_0/shader.rb +52 -0
- data/lib/roglew/extensions/GL_VERSION_2_0/shader_program.rb +33 -0
- data/lib/roglew/extensions/GL_VERSION_2_0.rb +251 -0
- data/lib/roglew/extensions/GL_VERSION_2_1.rb +40 -0
- data/lib/roglew/extensions/GL_VERSION_3_0.rb +178 -0
- data/lib/roglew/extensions/GL_VERSION_3_1.rb +53 -0
- data/lib/roglew/extensions/GL_VERSION_3_2.rb +43 -0
- data/lib/roglew/extensions/GL_VERSION_3_3.rb +19 -0
- data/lib/roglew/extensions/GL_VERSION_4_0.rb +46 -0
- data/lib/roglew/extensions/GL_VERSION_4_2.rb +21 -0
- data/lib/roglew/extensions/GL_VERSION_4_3.rb +30 -0
- data/lib/roglew/extensions/GL_WIN_specular_fog.rb +5 -0
- data/lib/roglew/extensions/GL_WIN_swap_hint.rb +7 -0
- data/lib/roglew/extensions/WGL_3DFX_multisample.rb +6 -0
- data/lib/roglew/extensions/WGL_3DL_stereo_control.rb +16 -0
- data/lib/roglew/extensions/WGL_AMD_gpu_association.rb +30 -0
- data/lib/roglew/extensions/WGL_ARB_buffer_region.rb +19 -0
- data/lib/roglew/extensions/WGL_ARB_create_context.rb +20 -0
- data/lib/roglew/extensions/WGL_ARB_create_context_profile.rb +8 -0
- data/lib/roglew/extensions/WGL_ARB_extensions_string.rb +7 -0
- data/lib/roglew/extensions/WGL_ARB_framebuffer_sRGB.rb +5 -0
- data/lib/roglew/extensions/WGL_ARB_make_current_read.rb +15 -0
- data/lib/roglew/extensions/WGL_ARB_multisample.rb +6 -0
- data/lib/roglew/extensions/WGL_ARB_pbuffer.rb +24 -0
- data/lib/roglew/extensions/WGL_ARB_pixel_format.rb +63 -0
- data/lib/roglew/extensions/WGL_ARB_pixel_format_float.rb +5 -0
- data/lib/roglew/extensions/WGL_ARB_render_texture.rb +47 -0
- data/lib/roglew/extensions/WGL_ATI_pixel_format_float.rb +10 -0
- data/lib/roglew/extensions/WGL_ATI_render_texture_rectangle.rb +5 -0
- data/lib/roglew/extensions/WGL_EXT_create_context_es2_profile.rb +5 -0
- data/lib/roglew/extensions/WGL_EXT_create_context_es_profile.rb +5 -0
- data/lib/roglew/extensions/WGL_EXT_depth_float.rb +5 -0
- data/lib/roglew/extensions/WGL_EXT_display_color_table.rb +10 -0
- data/lib/roglew/extensions/WGL_EXT_extensions_string.rb +7 -0
- data/lib/roglew/extensions/WGL_EXT_framebuffer_sRGB.rb +5 -0
- data/lib/roglew/extensions/WGL_EXT_make_current_read.rb +14 -0
- data/lib/roglew/extensions/WGL_EXT_multisample.rb +6 -0
- data/lib/roglew/extensions/WGL_EXT_pbuffer.rb +25 -0
- data/lib/roglew/extensions/WGL_EXT_pixel_format.rb +59 -0
- data/lib/roglew/extensions/WGL_EXT_pixel_format_packed_float.rb +5 -0
- data/lib/roglew/extensions/WGL_EXT_swap_control.rb +8 -0
- data/lib/roglew/extensions/WGL_I3D_digital_video_control.rb +17 -0
- data/lib/roglew/extensions/WGL_I3D_gamma.rb +17 -0
- data/lib/roglew/extensions/WGL_I3D_genlock.rb +32 -0
- data/lib/roglew/extensions/WGL_I3D_image_buffer.rb +18 -0
- data/lib/roglew/extensions/WGL_I3D_swap_frame_lock.rb +10 -0
- data/lib/roglew/extensions/WGL_I3D_swap_frame_usage.rb +10 -0
- data/lib/roglew/extensions/WGL_NV_DX_interop.rb +22 -0
- data/lib/roglew/extensions/WGL_NV_copy_image.rb +7 -0
- data/lib/roglew/extensions/WGL_NV_float_buffer.rb +13 -0
- data/lib/roglew/extensions/WGL_NV_gpu_affinity.rb +26 -0
- data/lib/roglew/extensions/WGL_NV_multisample_coverage.rb +6 -0
- data/lib/roglew/extensions/WGL_NV_present_video.rb +15 -0
- data/lib/roglew/extensions/WGL_NV_render_depth_texture.rb +10 -0
- data/lib/roglew/extensions/WGL_NV_render_texture_rectangle.rb +7 -0
- data/lib/roglew/extensions/WGL_NV_swap_group.rb +12 -0
- data/lib/roglew/extensions/WGL_NV_vertex_array_range.rb +8 -0
- data/lib/roglew/extensions/WGL_NV_video_capture.rb +18 -0
- data/lib/roglew/extensions/WGL_NV_video_output.rb +30 -0
- data/lib/roglew/extensions/WGL_OML_sync_control.rb +12 -0
- data/lib/roglew/gl_extension.rb +21 -0
- data/lib/roglew/gl_object.rb +32 -0
- data/lib/roglew/native/gdi32.rb +242 -0
- data/lib/roglew/native/gl.rb +906 -0
- data/lib/roglew/native/glx.rb +8 -0
- data/lib/roglew/native/kernel32.rb +9 -0
- data/lib/roglew/native/native_object.rb +11 -0
- data/lib/roglew/native/wgl.rb +138 -0
- data/lib/roglew/native/win32ffi.rb +27 -0
- data/lib/roglew/render_context.rb +229 -0
- data/lib/roglew/render_handle.rb +64 -0
- data/lib/roglew/texture2d.rb +23 -0
- data/lib/roglew/texture_context.rb +46 -0
- data/lib/roglew.rb +32 -0
- metadata +531 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
COMPRESSED_SLUMINANCE ||= 0x8C4A
|
4
|
+
COMPRESSED_SLUMINANCE_ALPHA ||= 0x8C4B
|
5
|
+
COMPRESSED_SRGB ||= 0x8C48
|
6
|
+
COMPRESSED_SRGB_ALPHA ||= 0x8C49
|
7
|
+
CURRENT_RASTER_SECONDARY_COLOR ||= 0x845F
|
8
|
+
FLOAT_MAT2x3 ||= 0x8B65
|
9
|
+
FLOAT_MAT2x4 ||= 0x8B66
|
10
|
+
FLOAT_MAT3x2 ||= 0x8B67
|
11
|
+
FLOAT_MAT3x4 ||= 0x8B68
|
12
|
+
FLOAT_MAT4x2 ||= 0x8B69
|
13
|
+
FLOAT_MAT4x3 ||= 0x8B6A
|
14
|
+
PIXEL_PACK_BUFFER ||= 0x88EB
|
15
|
+
PIXEL_PACK_BUFFER_BINDING ||= 0x88ED
|
16
|
+
PIXEL_UNPACK_BUFFER ||= 0x88EC
|
17
|
+
PIXEL_UNPACK_BUFFER_BINDING ||= 0x88EF
|
18
|
+
SLUMINANCE ||= 0x8C46
|
19
|
+
SLUMINANCE_ALPHA ||= 0x8C44
|
20
|
+
SLUMINANCE8 ||= 0x8C47
|
21
|
+
SLUMINANCE8_ALPHA8 ||= 0x8C45
|
22
|
+
SRGB ||= 0x8C40
|
23
|
+
SRGB_ALPHA ||= 0x8C42
|
24
|
+
SRGB8 ||= 0x8C41
|
25
|
+
SRGB8_ALPHA8 ||= 0x8C43
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
module GL_VERSION_2_1
|
30
|
+
module RenderContext
|
31
|
+
include Roglew::GLExtension
|
32
|
+
|
33
|
+
functions [:glUniformMatrix2x3fv, [ :int, :int, :uchar, :pointer ], :void],
|
34
|
+
[:glUniformMatrix2x4fv, [ :int, :int, :uchar, :pointer ], :void],
|
35
|
+
[:glUniformMatrix3x2fv, [ :int, :int, :uchar, :pointer ], :void],
|
36
|
+
[:glUniformMatrix3x4fv, [ :int, :int, :uchar, :pointer ], :void],
|
37
|
+
[:glUniformMatrix4x2fv, [ :int, :int, :uchar, :pointer ], :void],
|
38
|
+
[:glUniformMatrix4x3fv, [ :int, :int, :uchar, :pointer ], :void]
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,178 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
ALPHA_INTEGER ||= 0x8D97
|
4
|
+
BGR_INTEGER ||= 0x8D9A
|
5
|
+
BGRA_INTEGER ||= 0x8D9B
|
6
|
+
BLUE_INTEGER ||= 0x8D96
|
7
|
+
CLAMP_FRAGMENT_COLOR ||= 0x891B
|
8
|
+
CLAMP_READ_COLOR ||= 0x891C
|
9
|
+
CLAMP_VERTEX_COLOR ||= 0x891A
|
10
|
+
CLIP_DISTANCE0 ||= CLIP_PLANE0
|
11
|
+
CLIP_DISTANCE1 ||= CLIP_PLANE1
|
12
|
+
CLIP_DISTANCE2 ||= CLIP_PLANE2
|
13
|
+
CLIP_DISTANCE3 ||= CLIP_PLANE3
|
14
|
+
CLIP_DISTANCE4 ||= CLIP_PLANE4
|
15
|
+
CLIP_DISTANCE5 ||= CLIP_PLANE5
|
16
|
+
COMPARE_R_TO_TEXTURE_ARB ||= 0x884E
|
17
|
+
COMPARE_REF_TO_TEXTURE ||= COMPARE_R_TO_TEXTURE_ARB
|
18
|
+
COMPRESSED_RED ||= 0x8225
|
19
|
+
COMPRESSED_RG ||= 0x8226
|
20
|
+
CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT ||= 0x0001
|
21
|
+
CONTEXT_FLAGS ||= 0x821E
|
22
|
+
DEPTH_BUFFER ||= 0x8223
|
23
|
+
FIXED_ONLY ||= 0x891D
|
24
|
+
GREEN_INTEGER ||= 0x8D95
|
25
|
+
INT_SAMPLER_1D ||= 0x8DC9
|
26
|
+
INT_SAMPLER_1D_ARRAY ||= 0x8DCE
|
27
|
+
INT_SAMPLER_2D ||= 0x8DCA
|
28
|
+
INT_SAMPLER_2D_ARRAY ||= 0x8DCF
|
29
|
+
INT_SAMPLER_3D ||= 0x8DCB
|
30
|
+
INT_SAMPLER_CUBE ||= 0x8DCC
|
31
|
+
INTERLEAVED_ATTRIBS ||= 0x8C8C
|
32
|
+
MAJOR_VERSION ||= 0x821B
|
33
|
+
MAX_ARRAY_TEXTURE_LAYERS ||= 0x88FF
|
34
|
+
MAX_CLIP_DISTANCES ||= MAX_CLIP_PLANES
|
35
|
+
MAX_PROGRAM_TEXEL_OFFSET ||= 0x8905
|
36
|
+
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS ||= 0x8C8A
|
37
|
+
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS ||= 0x8C8B
|
38
|
+
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS ||= 0x8C80
|
39
|
+
MAX_VARYING_COMPONENTS ||= MAX_VARYING_FLOATS
|
40
|
+
MIN_PROGRAM_TEXEL_OFFSET ||= 0x8904
|
41
|
+
MINOR_VERSION ||= 0x821C
|
42
|
+
NUM_EXTENSIONS ||= 0x821D
|
43
|
+
PRIMITIVES_GENERATED ||= 0x8C87
|
44
|
+
PROXY_TEXTURE_1D_ARRAY ||= 0x8C19
|
45
|
+
PROXY_TEXTURE_2D_ARRAY ||= 0x8C1B
|
46
|
+
QUERY_BY_REGION_NO_WAIT ||= 0x8E16
|
47
|
+
QUERY_BY_REGION_WAIT ||= 0x8E15
|
48
|
+
QUERY_NO_WAIT ||= 0x8E14
|
49
|
+
QUERY_WAIT ||= 0x8E13
|
50
|
+
R11F_G11F_B10F ||= 0x8C3A
|
51
|
+
RASTERIZER_DISCARD ||= 0x8C89
|
52
|
+
RED_INTEGER ||= 0x8D94
|
53
|
+
RGB_INTEGER ||= 0x8D98
|
54
|
+
RGB16F ||= 0x881B
|
55
|
+
RGB16I ||= 0x8D89
|
56
|
+
RGB16UI ||= 0x8D77
|
57
|
+
RGB32F ||= 0x8815
|
58
|
+
RGB32I ||= 0x8D83
|
59
|
+
RGB32UI ||= 0x8D71
|
60
|
+
RGB8I ||= 0x8D8F
|
61
|
+
RGB8UI ||= 0x8D7D
|
62
|
+
RGB9_E5 ||= 0x8C3D
|
63
|
+
RGBA_INTEGER ||= 0x8D99
|
64
|
+
RGBA16F ||= 0x881A
|
65
|
+
RGBA16I ||= 0x8D88
|
66
|
+
RGBA16UI ||= 0x8D76
|
67
|
+
RGBA32F ||= 0x8814
|
68
|
+
RGBA32I ||= 0x8D82
|
69
|
+
RGBA32UI ||= 0x8D70
|
70
|
+
RGBA8I ||= 0x8D8E
|
71
|
+
RGBA8UI ||= 0x8D7C
|
72
|
+
SAMPLER_1D_ARRAY ||= 0x8DC0
|
73
|
+
SAMPLER_1D_ARRAY_SHADOW ||= 0x8DC3
|
74
|
+
SAMPLER_2D_ARRAY ||= 0x8DC1
|
75
|
+
SAMPLER_2D_ARRAY_SHADOW ||= 0x8DC4
|
76
|
+
SAMPLER_CUBE_SHADOW ||= 0x8DC5
|
77
|
+
SEPARATE_ATTRIBS ||= 0x8C8D
|
78
|
+
STENCIL_BUFFER ||= 0x8224
|
79
|
+
TEXTURE_1D_ARRAY ||= 0x8C18
|
80
|
+
TEXTURE_2D_ARRAY ||= 0x8C1A
|
81
|
+
TEXTURE_ALPHA_TYPE ||= 0x8C13
|
82
|
+
TEXTURE_BINDING_1D_ARRAY ||= 0x8C1C
|
83
|
+
TEXTURE_BINDING_2D_ARRAY ||= 0x8C1D
|
84
|
+
TEXTURE_BLUE_TYPE ||= 0x8C12
|
85
|
+
TEXTURE_DEPTH_TYPE ||= 0x8C16
|
86
|
+
TEXTURE_GREEN_TYPE ||= 0x8C11
|
87
|
+
TEXTURE_INTENSITY_TYPE ||= 0x8C15
|
88
|
+
TEXTURE_LUMINANCE_TYPE ||= 0x8C14
|
89
|
+
TEXTURE_RED_TYPE ||= 0x8C10
|
90
|
+
TEXTURE_SHARED_SIZE ||= 0x8C3F
|
91
|
+
TRANSFORM_FEEDBACK_BUFFER ||= 0x8C8E
|
92
|
+
TRANSFORM_FEEDBACK_BUFFER_BINDING ||= 0x8C8F
|
93
|
+
TRANSFORM_FEEDBACK_BUFFER_MODE ||= 0x8C7F
|
94
|
+
TRANSFORM_FEEDBACK_BUFFER_SIZE ||= 0x8C85
|
95
|
+
TRANSFORM_FEEDBACK_BUFFER_START ||= 0x8C84
|
96
|
+
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN ||= 0x8C88
|
97
|
+
TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH ||= 0x8C76
|
98
|
+
TRANSFORM_FEEDBACK_VARYINGS ||= 0x8C83
|
99
|
+
UNSIGNED_INT_10F_11F_11F_REV ||= 0x8C3B
|
100
|
+
UNSIGNED_INT_5_9_9_9_REV ||= 0x8C3E
|
101
|
+
UNSIGNED_INT_SAMPLER_1D ||= 0x8DD1
|
102
|
+
UNSIGNED_INT_SAMPLER_1D_ARRAY ||= 0x8DD6
|
103
|
+
UNSIGNED_INT_SAMPLER_2D ||= 0x8DD2
|
104
|
+
UNSIGNED_INT_SAMPLER_2D_ARRAY ||= 0x8DD7
|
105
|
+
UNSIGNED_INT_SAMPLER_3D ||= 0x8DD3
|
106
|
+
UNSIGNED_INT_SAMPLER_CUBE ||= 0x8DD4
|
107
|
+
UNSIGNED_INT_VEC2 ||= 0x8DC6
|
108
|
+
UNSIGNED_INT_VEC3 ||= 0x8DC7
|
109
|
+
UNSIGNED_INT_VEC4 ||= 0x8DC8
|
110
|
+
VERTEX_ATTRIB_ARRAY_INTEGER ||= 0x88FD
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
module GL_VERSION_3_0
|
115
|
+
module RenderContext
|
116
|
+
include Roglew::GLExtension
|
117
|
+
|
118
|
+
functions [:glBeginConditionalRender, [ :uint, :uint ], :void],
|
119
|
+
[:glBeginTransformFeedback, [ :uint ], :void],
|
120
|
+
[:glBindFragDataLocation, [ :uint, :uint, :string ], :void],
|
121
|
+
[:glClampColor, [ :uint, :uint ], :void],
|
122
|
+
[:glClearBufferfi, [ :uint, :int, :float, :int ], :void],
|
123
|
+
[:glClearBufferfv, [ :uint, :int, :pointer ], :void],
|
124
|
+
[:glClearBufferiv, [ :uint, :int, :pointer ], :void],
|
125
|
+
[:glClearBufferuiv, [ :uint, :int, :pointer ], :void],
|
126
|
+
[:glColorMaski, [ :uint, :uchar, :uchar, :uchar, :uchar ], :void],
|
127
|
+
[:glDisablei, [ :uint, :uint ], :void],
|
128
|
+
[:glEnablei, [ :uint, :uint ], :void],
|
129
|
+
[:glEndConditionalRender, [ ], :void],
|
130
|
+
[:glEndTransformFeedback, [ ], :void],
|
131
|
+
[:glGetBooleani_v, [ :uint, :uint, :pointer ], :void],
|
132
|
+
[:glGetFragDataLocation, [ :uint, :string ], :int],
|
133
|
+
[:glGetStringi, [ :uint, :uint ], :string],
|
134
|
+
[:glGetTexParameterIiv, [ :uint, :uint, :pointer ], :void],
|
135
|
+
[:glGetTexParameterIuiv, [ :uint, :uint, :pointer ], :void],
|
136
|
+
[:glGetTransformFeedbackVarying, [ :uint, :uint, :int, :pointer, :pointer, :pointer, :string ], :void],
|
137
|
+
[:glGetUniformuiv, [ :uint, :int, :pointer ], :void],
|
138
|
+
[:glGetVertexAttribIiv, [ :uint, :uint, :pointer ], :void],
|
139
|
+
[:glGetVertexAttribIuiv, [ :uint, :uint, :pointer ], :void],
|
140
|
+
[:glIsEnabledi, [ :uint, :uint ], :uchar],
|
141
|
+
[:glTexParameterIiv, [ :uint, :uint, :pointer ], :void],
|
142
|
+
[:glTexParameterIuiv, [ :uint, :uint, :pointer ], :void],
|
143
|
+
[:glTransformFeedbackVaryings, [ :uint, :int, :pointer, :uint ], :void],
|
144
|
+
[:glUniform1ui, [ :int, :uint ], :void],
|
145
|
+
[:glUniform1uiv, [ :int, :int, :pointer ], :void],
|
146
|
+
[:glUniform2ui, [ :int, :uint, :uint ], :void],
|
147
|
+
[:glUniform2uiv, [ :int, :int, :pointer ], :void],
|
148
|
+
[:glUniform3ui, [ :int, :uint, :uint, :uint ], :void],
|
149
|
+
[:glUniform3uiv, [ :int, :int, :pointer ], :void],
|
150
|
+
[:glUniform4ui, [ :int, :uint, :uint, :uint, :uint ], :void],
|
151
|
+
[:glUniform4uiv, [ :int, :int, :pointer ], :void],
|
152
|
+
[:glVertexAttribI1i, [ :uint, :int ], :void],
|
153
|
+
[:glVertexAttribI1iv, [ :uint, :pointer ], :void],
|
154
|
+
[:glVertexAttribI1ui, [ :uint, :uint ], :void],
|
155
|
+
[:glVertexAttribI1uiv, [ :uint, :pointer ], :void],
|
156
|
+
[:glVertexAttribI2i, [ :uint, :int, :int ], :void],
|
157
|
+
[:glVertexAttribI2iv, [ :uint, :pointer ], :void],
|
158
|
+
[:glVertexAttribI2ui, [ :uint, :uint, :uint ], :void],
|
159
|
+
[:glVertexAttribI2uiv, [ :uint, :pointer ], :void],
|
160
|
+
[:glVertexAttribI3i, [ :uint, :int, :int, :int ], :void],
|
161
|
+
[:glVertexAttribI3iv, [ :uint, :pointer ], :void],
|
162
|
+
[:glVertexAttribI3ui, [ :uint, :uint, :uint, :uint ], :void],
|
163
|
+
[:glVertexAttribI3uiv, [ :uint, :pointer ], :void],
|
164
|
+
[:glVertexAttribI4bv, [ :uint, :pointer ], :void],
|
165
|
+
[:glVertexAttribI4i, [ :uint, :int, :int, :int, :int ], :void],
|
166
|
+
[:glVertexAttribI4iv, [ :uint, :pointer ], :void],
|
167
|
+
[:glVertexAttribI4sv, [ :uint, :pointer ], :void],
|
168
|
+
[:glVertexAttribI4ubv, [ :uint, :pointer ], :void],
|
169
|
+
[:glVertexAttribI4ui, [ :uint, :uint, :uint, :uint, :uint ], :void],
|
170
|
+
[:glVertexAttribI4uiv, [ :uint, :pointer ], :void],
|
171
|
+
[:glVertexAttribI4usv, [ :uint, :pointer ], :void],
|
172
|
+
[:glVertexAttribIPointer, [ :uint, :int, :uint, :int, :pointer ], :void]
|
173
|
+
end
|
174
|
+
end
|
175
|
+
#GL_VERSION_4_0 implicit requires
|
176
|
+
#GL_ARB_framebuffer_object
|
177
|
+
#GL_ARB_map_buffer_range
|
178
|
+
#GL_ARB_vertex_array_object
|
@@ -0,0 +1,53 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
BUFFER_ACCESS_FLAGS ||= 0x911F
|
4
|
+
BUFFER_MAP_LENGTH ||= 0x9120
|
5
|
+
BUFFER_MAP_OFFSET ||= 0x9121
|
6
|
+
INT_SAMPLER_2D_RECT ||= 0x8DCD
|
7
|
+
INT_SAMPLER_BUFFER ||= 0x8DD0
|
8
|
+
MAX_RECTANGLE_TEXTURE_SIZE ||= 0x84F8
|
9
|
+
MAX_TEXTURE_BUFFER_SIZE ||= 0x8C2B
|
10
|
+
PRIMITIVE_RESTART ||= 0x8F9D
|
11
|
+
PRIMITIVE_RESTART_INDEX ||= 0x8F9E
|
12
|
+
PROXY_TEXTURE_RECTANGLE ||= 0x84F7
|
13
|
+
R16_SNORM ||= 0x8F98
|
14
|
+
R8_SNORM ||= 0x8F94
|
15
|
+
RED_SNORM ||= 0x8F90
|
16
|
+
RG_SNORM ||= 0x8F91
|
17
|
+
RG16_SNORM ||= 0x8F99
|
18
|
+
RG8_SNORM ||= 0x8F95
|
19
|
+
RGB_SNORM ||= 0x8F92
|
20
|
+
RGB16_SNORM ||= 0x8F9A
|
21
|
+
RGB8_SNORM ||= 0x8F96
|
22
|
+
RGBA_SNORM ||= 0x8F93
|
23
|
+
RGBA16_SNORM ||= 0x8F9B
|
24
|
+
RGBA8_SNORM ||= 0x8F97
|
25
|
+
SAMPLER_2D_RECT ||= 0x8B63
|
26
|
+
SAMPLER_2D_RECT_SHADOW ||= 0x8B64
|
27
|
+
SAMPLER_BUFFER ||= 0x8DC2
|
28
|
+
SIGNED_NORMALIZED ||= 0x8F9C
|
29
|
+
TEXTURE_BINDING_BUFFER ||= 0x8C2C
|
30
|
+
TEXTURE_BINDING_RECTANGLE ||= 0x84F6
|
31
|
+
TEXTURE_BUFFER ||= 0x8C2A
|
32
|
+
TEXTURE_BUFFER_DATA_STORE_BINDING ||= 0x8C2D
|
33
|
+
TEXTURE_BUFFER_FORMAT ||= 0x8C2E
|
34
|
+
TEXTURE_RECTANGLE ||= 0x84F5
|
35
|
+
UNSIGNED_INT_SAMPLER_2D_RECT ||= 0x8DD5
|
36
|
+
UNSIGNED_INT_SAMPLER_BUFFER ||= 0x8DD8
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
module GL_VERSION_3_1
|
41
|
+
module RenderContext
|
42
|
+
include Roglew::GLExtension
|
43
|
+
|
44
|
+
functions [:glDrawArraysInstanced, [ :uint, :int, :int, :int ], :void],
|
45
|
+
[:glDrawElementsInstanced, [ :uint, :int, :uint, :pointer, :int ], :void],
|
46
|
+
[:glPrimitiveRestartIndex, [ :uint ], :void],
|
47
|
+
[:glTexBuffer, [ :uint, :uint, :uint ], :void]
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
#GL_VERSION_4_0 implicit requires
|
52
|
+
#GL_ARB_uniform_buffer_object
|
53
|
+
#GL_ARB_copy_buffer
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
CONTEXT_COMPATIBILITY_PROFILE_BIT ||= 0x00000002
|
4
|
+
CONTEXT_CORE_PROFILE_BIT ||= 0x00000001
|
5
|
+
CONTEXT_PROFILE_MASK ||= 0x9126
|
6
|
+
FRAMEBUFFER_ATTACHMENT_LAYERED ||= 0x8DA7
|
7
|
+
FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS ||= 0x8DA8
|
8
|
+
GEOMETRY_INPUT_TYPE ||= 0x8917
|
9
|
+
GEOMETRY_OUTPUT_TYPE ||= 0x8918
|
10
|
+
GEOMETRY_SHADER ||= 0x8DD9
|
11
|
+
GEOMETRY_VERTICES_OUT ||= 0x8916
|
12
|
+
LINE_STRIP_ADJACENCY ||= 0x000B
|
13
|
+
LINES_ADJACENCY ||= 0x000A
|
14
|
+
MAX_FRAGMENT_INPUT_COMPONENTS ||= 0x9125
|
15
|
+
MAX_GEOMETRY_INPUT_COMPONENTS ||= 0x9123
|
16
|
+
MAX_GEOMETRY_OUTPUT_COMPONENTS ||= 0x9124
|
17
|
+
MAX_GEOMETRY_OUTPUT_VERTICES ||= 0x8DE0
|
18
|
+
MAX_GEOMETRY_TEXTURE_IMAGE_UNITS ||= 0x8C29
|
19
|
+
MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS ||= 0x8DE1
|
20
|
+
MAX_GEOMETRY_UNIFORM_COMPONENTS ||= 0x8DDF
|
21
|
+
MAX_VERTEX_OUTPUT_COMPONENTS ||= 0x9122
|
22
|
+
PROGRAM_POINT_SIZE ||= 0x8642
|
23
|
+
TRIANGLE_STRIP_ADJACENCY ||= 0x000D
|
24
|
+
TRIANGLES_ADJACENCY ||= 0x000C
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
module GL_VERSION_3_2
|
30
|
+
module RenderContext
|
31
|
+
include Roglew::GLExtension
|
32
|
+
|
33
|
+
functions [:glFramebufferTexture, [ :uint, :uint, :uint, :int ], :void],
|
34
|
+
[:glGetBufferParameteri64v, [ :uint, :uint, :pointer ], :void],
|
35
|
+
[:glGetInteger64i_v, [ :uint, :uint, :pointer ], :void]
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
#GL_VERSION_4_0 implicit requires
|
40
|
+
#GL_ARB_draw_elements_base_vertex
|
41
|
+
#GL_ARB_provoking_vertex
|
42
|
+
#GL_ARB_sync
|
43
|
+
#GL_ARB_texture_multisample
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module GL_VERSION_3_3
|
2
|
+
module RenderContext
|
3
|
+
include Roglew::GLExtension
|
4
|
+
|
5
|
+
functions [:glVertexAttribDivisor, [ :uint, :uint ], :void]
|
6
|
+
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
#GL_VERSION_3_3 implicit requires
|
11
|
+
#GL_ARB_explicit_attrib_location
|
12
|
+
#GL_ARB_shader_bit_encoding
|
13
|
+
#GL_ARB_blend_func_extended
|
14
|
+
#GL_ARB_sampler_objects
|
15
|
+
#GL_ARB_occlusion_query2
|
16
|
+
#GL_ARB_texture_rgb10_a2ui
|
17
|
+
#GL_ARB_texture_swizzle
|
18
|
+
#GL_ARB_timer_query
|
19
|
+
#GL_ARB_vertex_type_2_10_10_10_rev
|
@@ -0,0 +1,46 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
FRAGMENT_INTERPOLATION_OFFSET_BITS ||= 0x8E5D
|
4
|
+
GEOMETRY_SHADER_INVOCATIONS ||= 0x887F
|
5
|
+
INT_SAMPLER_CUBE_MAP_ARRAY ||= 0x900E
|
6
|
+
MAX_FRAGMENT_INTERPOLATION_OFFSET ||= 0x8E5C
|
7
|
+
MAX_GEOMETRY_SHADER_INVOCATIONS ||= 0x8E5A
|
8
|
+
MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS ||= 0x8F9F
|
9
|
+
MAX_PROGRAM_TEXTURE_GATHER_OFFSET ||= 0x8E5F
|
10
|
+
MIN_FRAGMENT_INTERPOLATION_OFFSET ||= 0x8E5B
|
11
|
+
MIN_PROGRAM_TEXTURE_GATHER_OFFSET ||= 0x8E5E
|
12
|
+
MIN_SAMPLE_SHADING_VALUE ||= 0x8C37
|
13
|
+
PROXY_TEXTURE_CUBE_MAP_ARRAY ||= 0x900B
|
14
|
+
SAMPLE_SHADING ||= 0x8C36
|
15
|
+
SAMPLER_CUBE_MAP_ARRAY ||= 0x900C
|
16
|
+
SAMPLER_CUBE_MAP_ARRAY_SHADOW ||= 0x900D
|
17
|
+
TEXTURE_BINDING_CUBE_MAP_ARRAY ||= 0x900A
|
18
|
+
TEXTURE_CUBE_MAP_ARRAY ||= 0x9009
|
19
|
+
UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY ||= 0x900F
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module GL_VERSION_4_0
|
24
|
+
module RenderContext
|
25
|
+
include Roglew::GLExtension
|
26
|
+
|
27
|
+
functions [:glBlendEquationi, [ :uint, :uint ], :void],
|
28
|
+
[:glBlendEquationSeparatei, [ :uint, :uint, :uint ], :void],
|
29
|
+
[:glBlendFunci, [ :uint, :uint, :uint ], :void],
|
30
|
+
[:glBlendFuncSeparatei, [ :uint, :uint, :uint, :uint, :uint ], :void],
|
31
|
+
[:glMinSampleShading, [ :float ], :void]
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
#GL_VERSION_4_0 implicit requires
|
36
|
+
#GL_ARB_texture_query_lod
|
37
|
+
#GL_ARB_texture_buffer_object_rgb32
|
38
|
+
#GL_ARB_transform_feedback3
|
39
|
+
#GL_ARB_draw_indirect
|
40
|
+
#GL_ARB_gpu_shader5
|
41
|
+
#GL_ARB_gpu_shader_fp64
|
42
|
+
#GL_ARB_shader_subroutine
|
43
|
+
#GL_ARB_tessellation_shader
|
44
|
+
#GL_ARB_texture_cube_map_array
|
45
|
+
#GL_ARB_texture_gather
|
46
|
+
#GL_ARB_transform_feedback2
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
COMPRESSED_RGB_BPTC_SIGNED_FLOAT ||= 0x8E8E
|
4
|
+
COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT ||= 0x8E8F
|
5
|
+
COMPRESSED_RGBA_BPTC_UNORM ||= 0x8E8C
|
6
|
+
COMPRESSED_SRGB_ALPHA_BPTC_UNORM ||= 0x8E8D
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
#GL_VERSION_4_2 implicit requires
|
11
|
+
#GL_ARB_shading_language_packing
|
12
|
+
#GL_ARB_shading_language_420pack
|
13
|
+
#GL_ARB_conservative_depth
|
14
|
+
#GL_ARB_base_instance
|
15
|
+
#GL_ARB_compressed_texture_pixel_storage
|
16
|
+
#GL_ARB_internalformat_query
|
17
|
+
#GL_ARB_map_buffer_alignment
|
18
|
+
#GL_ARB_shader_atomic_counters
|
19
|
+
#GL_ARB_shader_image_load_store
|
20
|
+
#GL_ARB_texture_storage
|
21
|
+
#GL_ARB_transform_feedback_instanced
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Roglew
|
2
|
+
module GL
|
3
|
+
NUM_SHADING_LANGUAGE_VERSIONS ||= 0x82E9
|
4
|
+
VERTEX_ATTRIB_ARRAY_LONG ||= 0x874E
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
#GL_VERSION_4_3 implicit requires
|
9
|
+
#GL_ARB_arrays_of_arrays
|
10
|
+
#GL_ARB_fragment_layer_viewport
|
11
|
+
#GL_ARB_shader_image_size
|
12
|
+
#GL_ARB_robust_buffer_access_behavior
|
13
|
+
#GL_ARB_texture_query_levels
|
14
|
+
#GL_ARB_ES3_compatibility
|
15
|
+
#GL_ARB_clear_buffer_object
|
16
|
+
#GL_ARB_compute_shader
|
17
|
+
#GL_ARB_copy_image
|
18
|
+
#GL_ARB_explicit_uniform_location
|
19
|
+
#GL_ARB_framebuffer_no_attachments
|
20
|
+
#GL_ARB_internalformat_query2
|
21
|
+
#GL_ARB_invalidate_subdata
|
22
|
+
#GL_ARB_multi_draw_indirect
|
23
|
+
#GL_ARB_program_interface_query
|
24
|
+
#GL_ARB_shader_storage_buffer_object
|
25
|
+
#GL_ARB_stencil_texturing
|
26
|
+
#GL_ARB_texture_buffer_range
|
27
|
+
#GL_ARB_texture_storage_multisample
|
28
|
+
#GL_ARB_texture_view
|
29
|
+
#GL_ARB_vertex_attrib_binding
|
30
|
+
#GL_KHR_debug
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Roglew
|
2
|
+
module WGL
|
3
|
+
STEREO_EMITTER_DISABLE_3DL ||= 0x2056
|
4
|
+
STEREO_EMITTER_ENABLE_3DL ||= 0x2055
|
5
|
+
STEREO_POLARITY_INVERT_3DL ||= 0x2058
|
6
|
+
STEREO_POLARITY_NORMAL_3DL ||= 0x2057
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
module WGL_3DL_stereo_control
|
11
|
+
module RenderContext
|
12
|
+
include Roglew::GLExtension
|
13
|
+
|
14
|
+
functions [:wglSetStereoEmitterState3DL, [ :pointer, :uint ], :bool ]
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Roglew
|
2
|
+
module WGL
|
3
|
+
GPU_CLOCK_AMD ||= 0x21A4
|
4
|
+
GPU_FASTEST_TARGET_GPUS_AMD ||= 0x21A2
|
5
|
+
GPU_NUM_PIPES_AMD ||= 0x21A5
|
6
|
+
GPU_NUM_RB_AMD ||= 0x21A7
|
7
|
+
GPU_NUM_SIMD_AMD ||= 0x21A6
|
8
|
+
GPU_NUM_SPI_AMD ||= 0x21A8
|
9
|
+
GPU_OPENGL_VERSION_STRING_AMD ||= 0x1F02
|
10
|
+
GPU_RAM_AMD ||= 0x21A3
|
11
|
+
GPU_RENDERER_STRING_AMD ||= 0x1F01
|
12
|
+
GPU_VENDOR_AMD ||= 0x1F00
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module WGL_AMD_gpu_association
|
17
|
+
module RenderContext
|
18
|
+
include Roglew::GLExtension
|
19
|
+
|
20
|
+
functions [:wglBlitContextFramebufferAMD, [ :pointer, :int, :int, :int, :int, :int, :int, :int, :int, :uint, :uint ], :void ],
|
21
|
+
[:wglCreateAssociatedContextAMD, [ :uint ], :pointer ],
|
22
|
+
[:wglCreateAssociatedContextAttribsAMD, [ :uint, :pointer, :pointer ], :pointer ],
|
23
|
+
[:wglDeleteAssociatedContextAMD, [ :pointer ], :bool ],
|
24
|
+
[:wglGetContextGPUIDAMD, [ :pointer ], :uint ],
|
25
|
+
[:wglGetCurrentAssociatedContextAMD, [ ], :pointer ],
|
26
|
+
[:wglGetGPUIDsAMD, [ :uint, :pointer ], :uint ],
|
27
|
+
[:wglGetGPUInfoAMD, [ :uint, :int, :uint, :uint, :pointer ], :int ],
|
28
|
+
[:wglMakeAssociatedContextCurrentAMD, [ :pointer ], :bool ]
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Roglew
|
2
|
+
module WGL
|
3
|
+
BACK_COLOR_BUFFER_BIT_ARB ||= 0x00000002
|
4
|
+
DEPTH_BUFFER_BIT_ARB ||= 0x00000004
|
5
|
+
FRONT_COLOR_BUFFER_BIT_ARB ||= 0x00000001
|
6
|
+
STENCIL_BUFFER_BIT_ARB ||= 0x00000008
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
module WGL_ARB_buffer_region
|
11
|
+
module RenderContext
|
12
|
+
include Roglew::GLExtension
|
13
|
+
|
14
|
+
functions [:wglCreateBufferRegionARB, [ :pointer, :int, :uint ], :pointer ],
|
15
|
+
[:wglDeleteBufferRegionARB, [ :pointer ], :void ],
|
16
|
+
[:wglRestoreBufferRegionARB, [ :pointer, :int, :int, :int, :int, :int, :int ], :bool ],
|
17
|
+
[:wglSaveBufferRegionARB, [ :pointer, :int, :int, :int, :int ], :bool ]
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Roglew
|
2
|
+
module WGL
|
3
|
+
CONTEXT_DEBUG_BIT_ARB ||= 0x0001
|
4
|
+
CONTEXT_FLAGS_ARB ||= 0x2094
|
5
|
+
CONTEXT_FORWARD_COMPATIBLE_BIT_ARB ||= 0x0002
|
6
|
+
CONTEXT_LAYER_PLANE_ARB ||= 0x2093
|
7
|
+
CONTEXT_MAJOR_VERSION_ARB ||= 0x2091
|
8
|
+
CONTEXT_MINOR_VERSION_ARB ||= 0x2092
|
9
|
+
ERROR_INVALID_PROFILE_ARB ||= 0x2096
|
10
|
+
ERROR_INVALID_VERSION_ARB ||= 0x2095
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module WGL_ARB_create_context
|
15
|
+
module RenderContext
|
16
|
+
include Roglew::GLExtension
|
17
|
+
|
18
|
+
functions [:wglCreateContextAttribsARB, [ :pointer, :pointer, :pointer ], :pointer ]
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Roglew
|
2
|
+
module WGL
|
3
|
+
ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB ||= 0x2054
|
4
|
+
ERROR_INVALID_PIXEL_TYPE_ARB ||= 0x2043
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
module WGL_ARB_make_current_read
|
9
|
+
module RenderContext
|
10
|
+
include Roglew::GLExtension
|
11
|
+
|
12
|
+
functions [:wglGetCurrentReadDCARB, [ ], :pointer ],
|
13
|
+
[:wglMakeContextCurrentARB, [ :pointer, :pointer, :pointer ], :bool ]
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Roglew
|
2
|
+
module WGL
|
3
|
+
DRAW_TO_PBUFFER_ARB ||= 0x202D
|
4
|
+
MAX_PBUFFER_HEIGHT_ARB ||= 0x2030
|
5
|
+
MAX_PBUFFER_PIXELS_ARB ||= 0x202E
|
6
|
+
MAX_PBUFFER_WIDTH_ARB ||= 0x202F
|
7
|
+
PBUFFER_HEIGHT_ARB ||= 0x2035
|
8
|
+
PBUFFER_LARGEST_ARB ||= 0x2033
|
9
|
+
PBUFFER_LOST_ARB ||= 0x2036
|
10
|
+
PBUFFER_WIDTH_ARB ||= 0x2034
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module WGL_ARB_pbuffer
|
15
|
+
module RenderContext
|
16
|
+
include Roglew::GLExtension
|
17
|
+
|
18
|
+
functions [:wglCreatePbufferARB, [ :pointer, :int, :int, :int, :pointer ], :pointer ],
|
19
|
+
[:wglDestroyPbufferARB, [ :pointer ], :bool ],
|
20
|
+
[:wglGetPbufferDCARB, [ :pointer ], :pointer ],
|
21
|
+
[:wglQueryPbufferARB, [ :pointer, :int, :pointer ], :bool ],
|
22
|
+
[:wglReleasePbufferDCARB, [ :pointer, :pointer ], :int ]
|
23
|
+
end
|
24
|
+
end
|