Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1599)

Unified Diff: android_webview/browser/hardware_renderer.cc

Issue 675083002: Add cc::RendererSettings for use in with cc::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/hardware_renderer.cc
diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc
index ef98ecb7fb4264a4af245ca45a732cf88b0b8a03..7c348b52bb82990c7b390ae15d4c9601f08e7b7b 100644
--- a/android_webview/browser/hardware_renderer.cc
+++ b/android_webview/browser/hardware_renderer.cc
@@ -92,11 +92,11 @@ HardwareRenderer::HardwareRenderer(SharedRendererState* state)
cc::LayerTreeSettings settings;
// Should be kept in sync with compositor_impl_android.cc.
- settings.allow_antialiasing = false;
- settings.highp_threshold_min = 2048;
+ settings.renderer_settings.allow_antialiasing = false;
+ settings.renderer_settings.highp_threshold_min = 2048;
// Webview does not own the surface so should not clear it.
- settings.should_clear_root_render_pass = false;
+ settings.renderer_settings.should_clear_root_render_pass = false;
// TODO(enne): Update this this compositor to use a synchronous scheduler.
settings.single_thread_proxy_scheduler = false;
« no previous file with comments | « no previous file | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698