Lines Matching defs:GrContextOptions
24 struct SK_API GrContextOptions { struct
25 enum class Enable {
36 enum class ShaderCacheStrategy {
76 GrContextOptions() {} in GrContextOptions() argument
79 bool fSuppressPrints = false;
87 Enable fSkipGLErrorChecks = Enable::kDefault;
93 int fMaxTextureSizeOverride = SK_MaxS32;
98 int fBufferMapThreshold = -1;
106 SkExecutor* fExecutor = nullptr;
111 bool fDoManualMipmapping = false;
119 bool fDisableCoverageCountingPaths = true;
125 bool fDisableDistanceFieldPaths = false;
131 bool fAllowPathMaskCaching = true;
137 bool fDisableGpuYUVConversion = false;
142 size_t fGlyphCacheTextureMaximumBytes = 2048 * 1024 * 4;
148 float fMinDistanceFieldFontSize = 18;
154 float fGlyphsAsPathsFontSize = 384;
156 float fGlyphsAsPathsFontSize = 256;
158 float fGlyphsAsPathsFontSize = 324;
165 Enable fAllowMultipleGlyphCacheTextures = Enable::kDefault;
171 bool fAvoidStencilBuffers = false;
176 Enable fUseDrawInsteadOfClear = Enable::kDefault;
184 Enable fReduceOpsTaskSplitting = Enable::kDefault;
191 bool fPreferExternalImagesOverES3 = false;
198 bool fDisableDriverCorrectnessWorkarounds = false;
203 int fRuntimeProgramCacheSize = 256;
208 PersistentCache* fPersistentCache = nullptr;
216 ShaderCacheStrategy fShaderCacheStrategy = ShaderCacheStrategy::kBackendBinary;
222 ShaderErrorHandler* fShaderErrorHandler = nullptr;
230 int fInternalMultisampleCount = 4;
241 int fMaxCachedVulkanSecondaryCommandBuffers = -1;
246 bool fSuppressMipmapSupport = false;
252 bool fDisableTessellationPathRenderer = false;
258 bool fEnableExperimentalHardwareTessellation = false;
267 bool fSupportBilerpFromGlyphAtlas = true;
269 bool fSupportBilerpFromGlyphAtlas = false;
276 bool fReducedShaderVariations = false;
281 bool fAllowMSAAOnNewIntel = false;
290 bool fAlwaysUseTexStorageWhenAvailable = false;
298 GrDirectContextDestroyedContext fContextDeleteContext = nullptr;
299 GrDirectContextDestroyedProc fContextDeleteProc = nullptr;
310 bool fFailFlushTimeCallbacks = false;
315 bool fSuppressDualSourceBlending = false;
321 bool fSuppressAdvancedBlendEquations = false;
326 bool fSuppressFramebufferFetch = false;
331 bool fAllPathsVolatile = false;
336 bool fWireframeMode = false;
341 bool fClearAllTextures = false;
346 bool fRandomGLOOM = false;
351 bool fDisallowWriteAndTransferPixelRowBytes = false;
375 struct GrContextOptions { argument
376 struct PersistentCache {};