7#include "flutter/shell/common/context_options.h"
9#include "flutter/common/graphics/persistent_cache.h"
14 std::optional<GrBackendApi> api) {
28 options.fAvoidStencilBuffers =
true;
32 options.fPreferExternalImagesOverES3 =
true;
36 options.fDisableGpuYUVConversion =
true;
40 options.fReducedShaderVariations =
false;
static void MarkStrategySet()
static PersistentCache * GetCacheForProcess()
GrContextOptions MakeDefaultContextOptions(ContextType type, std::optional< GrBackendApi > api)
Initializes GrContextOptions with values suitable for Flutter. The options can be further tweaked bef...