Lines Matching defs:GrContextOptions
23 struct SK_API GrContextOptions { struct
24 enum class Enable {
35 enum class ShaderCacheStrategy {
57 virtual void store(const SkData& /*key*/, const SkData& /*data*/) { SkASSERT(false); } in store()
63 virtual void store(const SkData& key, const SkData& data, const SkString& /*description*/) { in store()
90 GrContextOptions() {} in GrContextOptions() argument
93 bool fSuppressPrints = false;
100 Enable fSkipGLErrorChecks = Enable::kDefault;
106 int fMaxTextureSizeOverride = SK_MaxS32;
111 int fBufferMapThreshold = -1;
119 SkExecutor* fExecutor = nullptr;
124 bool fDoManualMipmapping = false;
132 bool fDisableCoverageCountingPaths = true;
138 bool fDisableDistanceFieldPaths = false;
144 bool fAllowPathMaskCaching = true;
150 bool fDisableGpuYUVConversion = false;
155 size_t fGlyphCacheTextureMaximumBytes = 2048 * 1024 * 4;
161 float fMinDistanceFieldFontSize = 18;
167 float fGlyphsAsPathsFontSize = 384;
169 float fGlyphsAsPathsFontSize = 256;
171 float fGlyphsAsPathsFontSize = 324;
178 Enable fAllowMultipleGlyphCacheTextures = Enable::kDefault;
184 bool fAvoidStencilBuffers = false;
191 bool fSharpenMipmappedTextures = false;
196 Enable fUseDrawInsteadOfClear = Enable::kDefault;
204 Enable fReduceOpsTaskSplitting = Enable::kDefault;
211 bool fPreferExternalImagesOverES3 = false;
218 bool fDisableDriverCorrectnessWorkarounds = false;
223 int fRuntimeProgramCacheSize = 512;
228 PersistentCache* fPersistentCache = nullptr;
236 ShaderCacheStrategy fShaderCacheStrategy = ShaderCacheStrategy::kBackendBinary;
242 ShaderErrorHandler* fShaderErrorHandler = nullptr;
250 int fInternalMultisampleCount = 4;
261 int fMaxCachedVulkanSecondaryCommandBuffers = -1;
266 bool fSuppressMipmapSupport = false;
271 bool fEnableExperimentalHardwareTessellation = false;
277 bool fReducedShaderVariations = false;
280 std::string fProcessName;
290 bool fSuppressDualSourceBlending = false;
296 bool fSuppressAdvancedBlendEquations = false;
301 bool fSuppressFramebufferFetch = false;
307 int fMaxTessellationSegmentsOverride = 0;
312 bool fAllPathsVolatile = false;
317 bool fWireframeMode = false;
322 bool fClearAllTextures = false;
327 bool fRandomGLOOM = false;
332 bool fDisallowWriteAndTransferPixelRowBytes = false;
337 GpuPathRenderers fGpuPathRenderers = GpuPathRenderers::kDefault;
361 struct GrContextOptions { argument
362 struct PersistentCache {};