Struct skia_safe::gpu::context_options::ContextOptions
source · #[repr(C)]pub struct ContextOptions {Show 28 fields
pub suppress_prints: bool,
pub skip_gl_error_checks: Enable,
pub max_texture_size_override: c_int,
pub buffer_map_threshold: c_int,
pub do_manual_mipmapping: bool,
pub disable_coverage_counting_paths: bool,
pub disable_distance_field_paths: bool,
pub allow_path_mask_caching: bool,
pub disable_gpu_yuv_conversion: bool,
pub glyph_cache_texture_maximum_bytes: usize,
pub min_distance_field_font_size: f32,
pub glyphs_as_paths_font_size: f32,
pub allow_multiple_glyph_cache_textures: Enable,
pub avoid_stencil_buffers: bool,
pub use_draw_instead_of_clear: Enable,
pub reduce_ops_task_splitting: Enable,
pub prefer_external_images_over_es3: bool,
pub disable_driver_correctness_workarounds: bool,
pub runtime_program_cache_size: c_int,
pub shader_cache_strategy: ShaderCacheStrategy,
pub internal_multisample_count: c_int,
pub max_cached_vulkan_secondary_command_buffers: c_int,
pub suppress_mipmap_support: bool,
pub enable_experimental_hardware_tessellation: bool,
pub reduced_shader_variations: bool,
pub allow_msaa_on_new_intel: bool,
pub always_use_text_storage_when_available: bool,
pub driver_bug_workarounds: DriverBugWorkarounds,
/* private fields */
}
Fields§
§suppress_prints: bool
§skip_gl_error_checks: Enable
§max_texture_size_override: c_int
§buffer_map_threshold: c_int
§do_manual_mipmapping: bool
§disable_coverage_counting_paths: bool
§disable_distance_field_paths: bool
§allow_path_mask_caching: bool
§disable_gpu_yuv_conversion: bool
§glyph_cache_texture_maximum_bytes: usize
§min_distance_field_font_size: f32
§glyphs_as_paths_font_size: f32
§allow_multiple_glyph_cache_textures: Enable
§avoid_stencil_buffers: bool
§use_draw_instead_of_clear: Enable
§reduce_ops_task_splitting: Enable
§prefer_external_images_over_es3: bool
§disable_driver_correctness_workarounds: bool
§runtime_program_cache_size: c_int
§shader_cache_strategy: ShaderCacheStrategy
§internal_multisample_count: c_int
§max_cached_vulkan_secondary_command_buffers: c_int
§suppress_mipmap_support: bool
§enable_experimental_hardware_tessellation: bool
§reduced_shader_variations: bool
§allow_msaa_on_new_intel: bool
§always_use_text_storage_when_available: bool
§driver_bug_workarounds: DriverBugWorkarounds
Implementations§
Trait Implementations§
source§impl Debug for ContextOptions
impl Debug for ContextOptions
source§impl Default for ContextOptions
impl Default for ContextOptions
impl Send for ContextOptions
impl Sync for ContextOptions
Auto Trait Implementations§
impl RefUnwindSafe for ContextOptions
impl Unpin for ContextOptions
impl UnwindSafe for ContextOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more