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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 15673005: cc: Add compositor name for easier GPU debugging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index a9b9a663f53f78367ea130c86554dc6318518894..cdac0227fe4716eca4b0e907798d6cf3bc4d9683 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -201,6 +201,7 @@ void CompositorImpl::SetVisible(bool visible) {
host_.reset();
} else if (!host_) {
cc::LayerTreeSettings settings;
+ settings.compositor_name = "AndroidCompositor";
aelias_OOO_until_Jul13 2013/05/29 05:41:11 "BrowserCompositor" would be clearer I think.
settings.refresh_rate = 60.0;
settings.impl_side_painting = false;
settings.calculate_top_controls_position = false;
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698