diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-02-23 07:48:11 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2017-02-23 08:29:59 -0500 |
commit | ab61fb8b5f3e7fc807bd335fcfe088d2d0fcb13a (patch) | |
tree | a0e20fd5079d2afee6fab3a0e1595090d7f73853 /libs/hwui/renderthread/EglManager.cpp | |
parent | df0824ad4cd31a3e96653fe82ce969b08cd00be2 (diff) |
Update framework to use new method for disabling DF path rendering.
Test: compile only
Change-Id: Ifa690a0af01cb6b07c4fd303302cb6a557e8dfde
Diffstat (limited to 'libs/hwui/renderthread/EglManager.cpp')
-rw-r--r-- | libs/hwui/renderthread/EglManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |