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

Unified Diff: cc/trees/thread_proxy.h

Issue 914403003: cc: Add main frame timing info to frame timing tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index 51cc18cd95fc6c89d86f6b48c38cb818ea64a32b..a7875e5d81955314fb817cb4da0d0b4cffbf0254 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -143,6 +143,9 @@ class CC_EXPORT ThreadProxy : public Proxy,
scoped_ptr<BeginFrameSource> external_begin_frame_source;
+ BeginFrameArgs last_begin_main_frame_args;
+ BeginFrameArgs last_begin_impl_frame_args;
mithro-old 2015/03/23 00:15:08 We now have "animation_time", "last_begin_main_fra
vmpstr 2015/03/23 20:26:43 Added a comment. I look forward to your patch land
+
scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl;
base::WeakPtrFactory<ThreadProxy> weak_factory;
};
@@ -284,6 +287,7 @@ class CC_EXPORT ThreadProxy : public Proxy,
void SetInputThrottledUntilCommitOnImplThread(bool is_throttled);
void SetDebugStateOnImplThread(const LayerTreeDebugState& debug_state);
void SetDeferCommitsOnImplThread(bool defer_commits) const;
+ void RecordMainFrameTiming();
LayerTreeHost* layer_tree_host();
const LayerTreeHost* layer_tree_host() const;

Powered by Google App Engine
This is Rietveld 408576698