Lines Matching defs:GrContextOptions

24 struct SK_API GrContextOptions {  struct
25 enum class Enable {
36 enum class ShaderCacheStrategy {
76 GrContextOptions() {} in GrContextOptions() argument
87 std::optional<uint64_t> fVulkanVMALargeHeapBlockSize;
95 GrDirectContextDestroyedContext fContextDeleteContext = nullptr;
96 GrDirectContextDestroyedProc fContextDeleteProc = nullptr;
104 SkExecutor* fExecutor = nullptr;
109 PersistentCache* fPersistentCache = nullptr;
115 ShaderErrorHandler* fShaderErrorHandler = nullptr;
121 size_t fMinimumStagingBufferSize = 64 * 1024;
126 size_t fGlyphCacheTextureMaximumBytes = 2048 * 1024 * 4;
134 Enable fSkipGLErrorChecks = Enable::kDefault;
140 Enable fAllowMultipleGlyphCacheTextures = Enable::kDefault;
145 Enable fUseDrawInsteadOfClear = Enable::kDefault;
153 Enable fReduceOpsTaskSplitting = Enable::kDefault;
161 ShaderCacheStrategy fShaderCacheStrategy = ShaderCacheStrategy::kBackendBinary;
167 int fMaxTextureSizeOverride = SK_MaxS32;
172 int fBufferMapThreshold = -1;
177 int fRuntimeProgramCacheSize = 256;
185 int fInternalMultisampleCount = 4;
196 int fMaxCachedVulkanSecondaryCommandBuffers = -1;
202 float fMinDistanceFieldFontSize = 18;
208 float fGlyphsAsPathsFontSize = 384;
210 float fGlyphsAsPathsFontSize = 256;
212 float fGlyphsAsPathsFontSize = 324;
215 GrDriverBugWorkarounds fDriverBugWorkarounds;
220 bool fDoManualMipmapping = false;
228 bool fDisableCoverageCountingPaths = true;
234 bool fDisableDistanceFieldPaths = false;
240 bool fAllowPathMaskCaching = true;
246 bool fDisableGpuYUVConversion = false;
252 bool fAvoidStencilBuffers = false;
259 bool fSharpenMipmappedTextures = true;
266 bool fPreferExternalImagesOverES3 = false;
273 bool fDisableDriverCorrectnessWorkarounds = false;
278 bool fSuppressMipmapSupport = false;
284 bool fDisableTessellationPathRenderer = false;
290 bool fEnableExperimentalHardwareTessellation = false;
296 bool fSupportBilerpFromGlyphAtlas = false;
302 bool fReducedShaderVariations = false;
307 bool fAllowMSAAOnNewIntel = false;
316 bool fAlwaysUseTexStorageWhenAvailable = false;
319 bool fSuppressPrints = false;
329 GpuPathRenderers fGpuPathRenderers = GpuPathRenderers::kDefault;
337 int fResourceCacheLimitOverride = -1;
342 int fMaxTextureAtlasSize = 2048;
348 bool fFailFlushTimeCallbacks = false;
353 bool fSuppressDualSourceBlending = false;
359 bool fSuppressAdvancedBlendEquations = false;
364 bool fSuppressFramebufferFetch = false;
369 bool fAllPathsVolatile = false;
374 bool fWireframeMode = false;
379 bool fClearAllTextures = false;
384 bool fRandomGLOOM = false;
389 bool fDisallowWriteAndTransferPixelRowBytes = false;