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

Unified Diff: cc/single_thread_proxy.h

Issue 12804006: cc: Save correct frame begin time to FrameRateCounter (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 188402 Created 7 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
« no previous file with comments | « cc/scheduler.cc ('k') | cc/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/single_thread_proxy.h
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h
index 4180b02672a8e89681b6a640226dedeee39abc79..ef3a890cd862b3481522421f4c7a44becd7176f0 100644
--- a/cc/single_thread_proxy.h
+++ b/cc/single_thread_proxy.h
@@ -75,15 +75,16 @@ class SingleThreadProxy : public Proxy, LayerTreeHostImplClient {
virtual void RenewTreePriority() OVERRIDE {}
// Called by the legacy path where RenderWidget does the scheduling.
- void CompositeImmediately();
+ void CompositeImmediately(base::TimeTicks frame_begin_time);
private:
explicit SingleThreadProxy(LayerTreeHost* layer_tree_host);
- bool CommitAndComposite();
+ bool CommitAndComposite(base::TimeTicks frame_begin_time);
void DoCommit(scoped_ptr<ResourceUpdateQueue> queue);
bool DoComposite(
- scoped_refptr<cc::ContextProvider> offscreen_context_provider);
+ scoped_refptr<cc::ContextProvider> offscreen_context_provider,
+ base::TimeTicks frame_begin_time);
void DidSwapFrame();
// Accessed on main thread only.
« no previous file with comments | « cc/scheduler.cc ('k') | cc/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698