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: boolImplementations§
§impl GrDriverBugWorkarounds
impl GrDriverBugWorkarounds
pub unsafe fn applyOverrides( &mut self, workarounds: *const GrDriverBugWorkarounds, )
pub unsafe fn new( workarounds: *const __BindgenOpaqueArray<u64, 3>, ) -> GrDriverBugWorkarounds
Trait Implementations§
§impl ApplyOverrides for GrDriverBugWorkarounds
impl ApplyOverrides for GrDriverBugWorkarounds
fn apply_overrides(&mut self, workarounds: &GrDriverBugWorkarounds)
Auto Trait Implementations§
impl Freeze for GrDriverBugWorkarounds
impl RefUnwindSafe for GrDriverBugWorkarounds
impl Send for GrDriverBugWorkarounds
impl Sync for GrDriverBugWorkarounds
impl Unpin for GrDriverBugWorkarounds
impl UnwindSafe for GrDriverBugWorkarounds
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.