vizia::vg::gpu

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 [u64; 3]) -> GrDriverBugWorkarounds

pub unsafe fn destruct(&mut self)

Trait Implementations§

§

impl ApplyOverrides for GrDriverBugWorkarounds

§

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

§

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
§

impl<T> Downcast for T
where T: 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>

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)

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)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

source§

type Output = T

Should always be Self
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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more