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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use kTopLeft Created 7 years, 7 months 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
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index c9db433d91aa99a413aaefddfdaa2b49e105c580..a3844bb08db2c5b5eb392bb60383c389f0de2e83 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1400,7 +1400,8 @@ bool LayerTreeHostImpl::InitializeRenderer(
renderer_ = GLRenderer::Create(this,
output_surface.get(),
resource_provider.get(),
- settings_.highp_threshold_min);
+ settings_.highp_threshold_min,
+ settings_.force_direct_layer_drawing);
} else if (output_surface->software_device()) {
renderer_ = SoftwareRenderer::Create(this,
output_surface.get(),

Powered by Google App Engine
This is Rietveld 408576698