summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/EglManager.cpp
diff options
context:
space:
mode:
authorBrian Osman <brianosman@google.com>2017-08-29 16:43:43 -0400
committerBrian Osman <brianosman@google.com>2017-08-30 09:33:44 -0400
commitda6ad8350709e1a4ea8a5d68930e1ad96766f2ab (patch)
treeeac868c48a02698bf2274b83de6fc149394d68bd /libs/hwui/renderthread/EglManager.cpp
parentc283ba74cd4e7f90d4b743008afefff25f22bb3b (diff)
Change how distance field paths are disabled
The path renderer bitfield will soon be private (for Skia testing only), so switch to using the public flag. Test: Simple refactoring change, still builds Change-Id: I6715ba8addd0e104a46842f2398320d1904bb187
Diffstat (limited to 'libs/hwui/renderthread/EglManager.cpp')
-rw-r--r--libs/hwui/renderthread/EglManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/EglManager.cpp b/libs/hwui/renderthread/EglManager.cpp
index 16d77364942e..87e5bfdc8ca5 100644
--- a/libs/hwui/renderthread/EglManager.cpp
+++ b/libs/hwui/renderthread/EglManager.cpp
@@ -138,7 +138,7 @@ void EglManager::initialize() {
LOG_ALWAYS_FATAL_IF(!glInterface.get());
GrContextOptions options;
- options.fGpuPathRenderers &= ~GrContextOptions::GpuPathRenderers::kDistanceField;
+ options.fDisableDistanceFieldPaths = true;
mRenderThread.cacheManager().configureContext(&options);
mRenderThread.setGrContext(GrContext::Create(GrBackend::kOpenGL_GrBackend,
(GrBackendContext)glInterface.get(), options));