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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 26880010: gfx: Add FrameTime and DisplayTime classes (Closed) Base URL: http://git.chromium.org/chromium/src.git@checkHighResNow4
Patch Set: WIP Created 7 years, 2 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_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index 14960b7416f3aee41b425f1faa960b2c61a8557d..ce33114b1fe7a32ad1e01fcaa72d961dac412404 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -75,20 +75,19 @@ class SingleThreadProxy : public Proxy, LayerTreeHostImplClient {
virtual void DidActivatePendingTree() OVERRIDE {}
// Called by the legacy path where RenderWidget does the scheduling.
- void CompositeImmediately(base::TimeTicks frame_begin_time);
+ void CompositeImmediately(gfx::FrameTime frame_begin_time);
private:
explicit SingleThreadProxy(LayerTreeHost* layer_tree_host);
void OnOutputSurfaceInitializeAttempted(bool success);
- bool CommitAndComposite(base::TimeTicks frame_begin_time,
+ bool CommitAndComposite(gfx::FrameTime frame_begin_time,
gfx::Rect device_viewport_damage_rect,
bool for_readback,
LayerTreeHostImpl::FrameData* frame);
void DoCommit(scoped_ptr<ResourceUpdateQueue> queue);
- bool DoComposite(
- scoped_refptr<cc::ContextProvider> offscreen_context_provider,
- base::TimeTicks frame_begin_time,
+ bool DoComposite(scoped_refptr<cc::ContextProvider> offscreen_context_provider,
+ gfx::FrameTime frame_begin_time,
gfx::Rect device_viewport_damage_rect,
bool for_readback,
LayerTreeHostImpl::FrameData* frame);
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698