Update framework to use new method for disabling DF path rendering.
Test: compile only Change-Id: Ifa690a0af01cb6b07c4fd303302cb6a557e8dfde
This commit is contained in:
@@ -133,7 +133,7 @@ void EglManager::initialize() {
|
||||
LOG_ALWAYS_FATAL_IF(!glInterface.get());
|
||||
|
||||
GrContextOptions options;
|
||||
options.fDisableDistanceFieldPaths = true;
|
||||
options.fGpuPathRenderers &= ~GrContextOptions::GpuPathRenderers::kDistanceField;
|
||||
options.fAllowPathMaskCaching = true;
|
||||
mRenderThread.setGrContext(GrContext::Create(GrBackend::kOpenGL_GrBackend,
|
||||
(GrBackendContext)glInterface.get(), options));
|
||||
|
||||
Reference in New Issue
Block a user