#[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§

source§

impl GrDriverBugWorkarounds

source

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

source

pub unsafe fn new() -> GrDriverBugWorkarounds

source

pub unsafe fn new1(workarounds: *const [u64; 3]) -> GrDriverBugWorkarounds

source

pub unsafe fn destruct(&mut self)

Trait Implementations§

source§

impl Debug for GrDriverBugWorkarounds

source§

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.