Update framework to use new method for disabling DF path rendering.

Test: compile only
Change-Id: Ifa690a0af01cb6b07c4fd303302cb6a557e8dfde
This commit is contained in:
Derek Sollenberger
2017-02-23 07:48:11 -05:00
parent df0824ad4c
commit ab61fb8b5f

View File

@@ -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));