skia_safe::gpu::ganesh

Struct DriverBugWorkarounds

#[repr(C)]
pub struct DriverBugWorkarounds {
Show 17 fields pub add_and_true_to_loop_condition: bool, pub disable_blend_equation_advanced: bool, pub disable_discard_framebuffer: bool, pub disable_dual_source_blending_support: bool, pub disable_texture_storage: bool, pub disallow_large_instanced_draw: bool, pub emulate_abs_int_function: bool, pub flush_on_framebuffer_change: bool, pub force_update_scissor_state_when_binding_fbo0: bool, pub gl_clear_broken: bool, pub max_fragment_uniform_vectors_32: bool, pub max_msaa_sample_count_4: bool, pub pack_parameters_workaround_with_pack_buffer: bool, pub remove_pow_with_constant_exponent: bool, pub rewrite_do_while_loops: bool, pub unbind_attachments_on_bound_render_fbo_delete: bool, pub unfold_short_circuit_as_ternary_operation: bool,
}

Fields§

§add_and_true_to_loop_condition: bool§disable_blend_equation_advanced: bool§disable_discard_framebuffer: bool§disable_dual_source_blending_support: bool§disable_texture_storage: bool§disallow_large_instanced_draw: bool§emulate_abs_int_function: bool§flush_on_framebuffer_change: bool§force_update_scissor_state_when_binding_fbo0: bool§gl_clear_broken: bool§max_fragment_uniform_vectors_32: bool§max_msaa_sample_count_4: bool§pack_parameters_workaround_with_pack_buffer: bool§remove_pow_with_constant_exponent: bool§rewrite_do_while_loops: bool§unbind_attachments_on_bound_render_fbo_delete: bool§unfold_short_circuit_as_ternary_operation: bool

Implementations§

§

impl GrDriverBugWorkarounds

pub unsafe fn applyOverrides( &mut self, workarounds: *const GrDriverBugWorkarounds, )

pub unsafe fn new() -> GrDriverBugWorkarounds

pub unsafe fn new1( workarounds: *const __BindgenOpaqueArray<u64, 3>, ) -> GrDriverBugWorkarounds

pub unsafe fn destruct(&mut self)

Trait Implementations§

Source§

impl ApplyOverrides for DriverBugWorkarounds

Source§

fn apply_overrides(&mut self, workarounds: &DriverBugWorkarounds)

§

impl Debug for GrDriverBugWorkarounds

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.