[][src]Struct skia_bindings::GrDriverBugWorkarounds

#[repr(C)]
pub struct GrDriverBugWorkarounds {
    pub add_and_true_to_loop_condition: bool,
    pub disable_blend_equation_advanced: bool,
    pub disable_discard_framebuffer: 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 gl_clear_broken: bool,
    pub max_fragment_uniform_vectors_32: bool,
    pub max_msaa_sample_count_4: bool,
    pub max_texture_size_limit_4096: bool,
    pub pack_parameters_workaround_with_pack_buffer: bool,
    pub remove_pow_with_constant_exponent: bool,
    pub restore_scissor_on_fbo_change: 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: booldisable_blend_equation_advanced: booldisable_discard_framebuffer: booldisable_texture_storage: booldisallow_large_instanced_draw: boolemulate_abs_int_function: boolflush_on_framebuffer_change: boolgl_clear_broken: boolmax_fragment_uniform_vectors_32: boolmax_msaa_sample_count_4: boolmax_texture_size_limit_4096: boolpack_parameters_workaround_with_pack_buffer: boolremove_pow_with_constant_exponent: boolrestore_scissor_on_fbo_change: boolrewrite_do_while_loops: boolunbind_attachments_on_bound_render_fbo_delete: boolunfold_short_circuit_as_ternary_operation: bool

Methods

impl GrDriverBugWorkarounds[src]

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

pub unsafe fn new() -> Self[src]

pub unsafe fn new1(workarounds: *const u8) -> Self[src]

pub unsafe fn destruct(&mut self)[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]