diff options
author | John Reck <jreck@google.com> | 2018-04-09 16:56:34 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-04-11 13:39:19 -0700 |
commit | 18f442eb2d9c8cf9e7ce397ef1b2d526dd421ea6 (patch) | |
tree | 857ecc45a31aa4bca493ce548994d333efb95320 /native/webview | |
parent | 076b631dd958819a640670714e27833998e6e29b (diff) |
Remove RenderPipelineType::OpenGL (1/many)
Just removes the define & all things referencing the define.
Test: hwui_unit passes
Change-Id: I3f98c271e23ef696c40addf260abdc0fb149a70d
Diffstat (limited to 'native/webview')
-rw-r--r-- | native/webview/plat_support/draw_gl_functor.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/native/webview/plat_support/draw_gl_functor.cpp b/native/webview/plat_support/draw_gl_functor.cpp index d54f558b9866..7cb49da483de 100644 --- a/native/webview/plat_support/draw_gl_functor.cpp +++ b/native/webview/plat_support/draw_gl_functor.cpp @@ -21,7 +21,6 @@ #include "draw_gl.h" -#include <Properties.h> #include <errno.h> #include <jni.h> #include <private/hwui/DrawGlInfo.h> @@ -54,13 +53,7 @@ class DrawGLFunctor : public Functor { } AwDrawGLInfo aw_info; - // TODO(boliu): Remove property check once OpenGL fallback is removed. - auto render_pipeline_type = - android::uirenderer::Properties::getRenderPipelineType(); - aw_info.version = (render_pipeline_type == - android::uirenderer::RenderPipelineType::OpenGL) - ? 2 - : kAwDrawGLInfoVersion; + aw_info.version = kAwDrawGLInfoVersion; switch (what) { case DrawGlInfo::kModeDraw: { aw_info.mode = AwDrawGLInfo::kModeDraw; |