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

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

Issue 2648583005: [wip] hack to use synthetic bfs for browser compositor (Closed)
Patch Set: Created 3 years, 11 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/single_thread_proxy.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | 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 ebd54ca69802127c53b0794b8cac909e0a06f70a..e8c2b90dee0da228333db56c4d6f1b626578aab3 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -515,6 +515,7 @@ void CompositorImpl::SetNeedsComposite() {
}
void CompositorImpl::UpdateLayerTreeHost() {
+ TRACE_EVENT0("cc", "CompositorImpl::UpdateLayerTreeHost");
client_->UpdateLayerTreeHost();
if (needs_animate_) {
needs_animate_ = false;
@@ -710,6 +711,7 @@ void CompositorImpl::DidLoseCompositorFrameSink() {
}
void CompositorImpl::DidCommit() {
+ TRACE_EVENT0("cc", "CompositorImpl::DidCommit");
root_window_->OnCompositingDidCommit();
}
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698