From ab61fb8b5f3e7fc807bd335fcfe088d2d0fcb13a Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Thu, 23 Feb 2017 07:48:11 -0500 Subject: Update framework to use new method for disabling DF path rendering. Test: compile only Change-Id: Ifa690a0af01cb6b07c4fd303302cb6a557e8dfde --- libs/hwui/renderthread/EglManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/renderthread/EglManager.cpp') diff --git a/libs/hwui/renderthread/EglManager.cpp b/libs/hwui/renderthread/EglManager.cpp index 860725b37f8b..44af5fd8d0dd 100644 --- a/libs/hwui/renderthread/EglManager.cpp +++ b/libs/hwui/renderthread/EglManager.cpp @@ -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)); -- cgit v1.2.3