Struct skia_bindings::GrContextOptions
source · #[repr(C)]pub struct GrContextOptions {Show 35 fields
pub fSuppressPrints: bool,
pub fSkipGLErrorChecks: GrContextOptions_Enable,
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 fUseDrawInsteadOfClear: GrContextOptions_Enable,
pub fReduceOpsTaskSplitting: GrContextOptions_Enable,
pub fPreferExternalImagesOverES3: bool,
pub fDisableDriverCorrectnessWorkarounds: bool,
pub fRuntimeProgramCacheSize: c_int,
pub fPersistentCache: *mut GrContextOptions_PersistentCache,
pub fShaderCacheStrategy: GrContextOptions_ShaderCacheStrategy,
pub fShaderErrorHandler: *mut GrContextOptions_ShaderErrorHandler,
pub fInternalMultisampleCount: c_int,
pub fMaxCachedVulkanSecondaryCommandBuffers: c_int,
pub fSuppressMipmapSupport: bool,
pub fDisableTessellationPathRenderer: bool,
pub fEnableExperimentalHardwareTessellation: bool,
pub fSupportBilerpFromGlyphAtlas: bool,
pub fReducedShaderVariations: bool,
pub fAllowMSAAOnNewIntel: bool,
pub fAlwaysUseTexStorageWhenAvailable: bool,
pub fContextDeleteContext: GrDirectContextDestroyedContext,
pub fContextDeleteProc: GrDirectContextDestroyedProc,
pub fDriverBugWorkarounds: GrDriverBugWorkarounds,
}
Fields§
§fSuppressPrints: bool
§fSkipGLErrorChecks: GrContextOptions_Enable
§fMaxTextureSizeOverride: c_int
§fBufferMapThreshold: c_int
§fExecutor: *mut SkExecutor
§fDoManualMipmapping: bool
§fDisableCoverageCountingPaths: bool
§fDisableDistanceFieldPaths: bool
§fAllowPathMaskCaching: bool
§fDisableGpuYUVConversion: bool
§fGlyphCacheTextureMaximumBytes: usize
§fMinDistanceFieldFontSize: f32
§fGlyphsAsPathsFontSize: f32
§fAllowMultipleGlyphCacheTextures: GrContextOptions_Enable
§fAvoidStencilBuffers: bool
§fUseDrawInsteadOfClear: GrContextOptions_Enable
§fReduceOpsTaskSplitting: GrContextOptions_Enable
§fPreferExternalImagesOverES3: bool
§fDisableDriverCorrectnessWorkarounds: bool
§fRuntimeProgramCacheSize: c_int
§fPersistentCache: *mut GrContextOptions_PersistentCache
§fShaderCacheStrategy: GrContextOptions_ShaderCacheStrategy
§fShaderErrorHandler: *mut GrContextOptions_ShaderErrorHandler
§fInternalMultisampleCount: c_int
§fMaxCachedVulkanSecondaryCommandBuffers: c_int
§fSuppressMipmapSupport: bool
§fDisableTessellationPathRenderer: bool
§fEnableExperimentalHardwareTessellation: bool
§fSupportBilerpFromGlyphAtlas: bool
§fReducedShaderVariations: bool
§fAllowMSAAOnNewIntel: bool
§fAlwaysUseTexStorageWhenAvailable: bool
§fContextDeleteContext: GrDirectContextDestroyedContext
§fContextDeleteProc: GrDirectContextDestroyedProc
§fDriverBugWorkarounds: GrDriverBugWorkarounds
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GrContextOptions
impl !Send for GrContextOptions
impl !Sync for GrContextOptions
impl Unpin for GrContextOptions
impl UnwindSafe for GrContextOptions
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