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

Unified Diff: cc/trees/thread_proxy.cc

Issue 1192663005: cc: Measure compositor timing with finer granularity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modeTimingHistory3
Patch Set: rebase Created 5 years, 6 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
« cc/test/scheduler_test_common.cc ('K') | « cc/trees/thread_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 248e6aea88f1be109316eadce45fa448b36b78ad..533c4906a011be0c0898e7f2d9d5e7fcb2170bea 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -912,6 +912,8 @@ void ThreadProxy::ScheduledActionCommit() {
impl().commit_completion_event = NULL;
}
+ impl().scheduler->DidCommit();
+
// Delay this step until afer the main thread has been released as it's
// often a good bit of work to update the tree and prepare the new frame.
impl().layer_tree_host_impl->CommitComplete();
@@ -1238,6 +1240,11 @@ void ThreadProxy::DidActivateSyncTree() {
impl().last_begin_main_frame_args;
}
+void ThreadProxy::WillPrepareTiles() {
+ DCHECK(IsImplThread());
+ impl().scheduler->WillPrepareTiles();
+}
+
void ThreadProxy::DidPrepareTiles() {
DCHECK(IsImplThread());
impl().scheduler->DidPrepareTiles();
« cc/test/scheduler_test_common.cc ('K') | « cc/trees/thread_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698