[][src]Struct skia_bindings::GrContextOptions

#[repr(C)]
pub struct GrContextOptions {
    pub fSuppressPrints: bool,
    pub fMaxTextureSizeOverride: c_int,
    pub fBufferMapThreshold: c_int,
    pub fExecutor: *mut SkExecutor,
    pub fDoManualMipmapping: bool,
    pub fDisableCoverageCountingPaths: bool,
    pub fDisableDistanceFieldPaths: bool,
    pub fAllowPathMaskCaching: bool,
    pub fDisableGpuYUVConversion: bool,
    pub fGlyphCacheTextureMaximumBytes: usize,
    pub fMinDistanceFieldFontSize: f32,
    pub fGlyphsAsPathsFontSize: f32,
    pub fAllowMultipleGlyphCacheTextures: GrContextOptions_Enable,
    pub fAvoidStencilBuffers: bool,
    pub fSharpenMipmappedTextures: bool,
    pub fUseDrawInsteadOfClear: GrContextOptions_Enable,
    pub fReduceOpListSplitting: GrContextOptions_Enable,
    pub fPreferExternalImagesOverES3: bool,
    pub fDisableDriverCorrectnessWorkarounds: bool,
    pub fPersistentCache: *mut GrContextOptions_PersistentCache,
    pub fDisallowGLSLBinaryCaching: bool,
    pub fShaderErrorHandler: *mut GrContextOptions_ShaderErrorHandler,
    pub fDriverBugWorkarounds: GrDriverBugWorkarounds,
}

Fields

fSuppressPrints: boolfMaxTextureSizeOverride: c_intfBufferMapThreshold: c_intfExecutor: *mut SkExecutorfDoManualMipmapping: boolfDisableCoverageCountingPaths: boolfDisableDistanceFieldPaths: boolfAllowPathMaskCaching: boolfDisableGpuYUVConversion: boolfGlyphCacheTextureMaximumBytes: usizefMinDistanceFieldFontSize: f32fGlyphsAsPathsFontSize: f32fAllowMultipleGlyphCacheTextures: GrContextOptions_EnablefAvoidStencilBuffers: boolfSharpenMipmappedTextures: boolfUseDrawInsteadOfClear: GrContextOptions_EnablefReduceOpListSplitting: GrContextOptions_EnablefPreferExternalImagesOverES3: boolfDisableDriverCorrectnessWorkarounds: boolfPersistentCache: *mut GrContextOptions_PersistentCachefDisallowGLSLBinaryCaching: boolfShaderErrorHandler: *mut GrContextOptions_ShaderErrorHandlerfDriverBugWorkarounds: GrDriverBugWorkarounds

Methods

impl GrContextOptions[src]

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

Trait Implementations

impl Debug for GrContextOptions[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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