diff options
| author | 2018-08-15 17:10:46 +0000 | |
|---|---|---|
| committer | 2018-08-15 17:10:46 +0000 | |
| commit | 966c141d49734dce92be97836c7135233a46aad9 (patch) | |
| tree | cdbb8fcb1bb30901df7b3b066345be315728d5b8 | |
| parent | 0253c3f48a50581d43de419df9376fb0f5e7895b (diff) | |
| parent | 333a83c02f67527d8d15e545d9e9e24fe162edd4 (diff) | |
Merge "Prefer ES 2.0 with external image support vs ES 3.0 without that support"
| -rw-r--r-- | libs/hwui/renderthread/RenderThread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderThread.cpp b/libs/hwui/renderthread/RenderThread.cpp index 3eaf43b65f69..c1284ec02655 100644 --- a/libs/hwui/renderthread/RenderThread.cpp +++ b/libs/hwui/renderthread/RenderThread.cpp @@ -189,6 +189,7 @@ void RenderThread::requireGlContext() { LOG_ALWAYS_FATAL_IF(!glInterface.get()); GrContextOptions options; + options.fPreferExternalImagesOverES3 = true; options.fDisableDistanceFieldPaths = true; cacheManager().configureContext(&options); sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options)); |