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

Unified Diff: cc/trees/single_thread_proxy.cc

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/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index d6c503f3c1dd28dd2884fd400bb37ba99b7409d0..f4b18bd8bec6c050383793646e7b054fa544dccc 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -359,7 +359,7 @@ void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() {
// Called by the legacy scheduling path (e.g. where render_widget does the
// scheduling)
-void SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time) {
+void SingleThreadProxy::CompositeImmediately(gfx::FrameTime frame_begin_time) {
gfx::Rect device_viewport_damage_rect;
LayerTreeHostImpl::FrameData frame;
@@ -411,7 +411,7 @@ void SingleThreadProxy::ForceSerializeOnSwapBuffers() {
}
bool SingleThreadProxy::CommitAndComposite(
- base::TimeTicks frame_begin_time,
+ gfx::FrameTime frame_begin_time,
gfx::Rect device_viewport_damage_rect,
bool for_readback,
LayerTreeHostImpl::FrameData* frame) {
@@ -474,7 +474,7 @@ void SingleThreadProxy::UpdateBackgroundAnimateTicking() {
bool SingleThreadProxy::DoComposite(
scoped_refptr<cc::ContextProvider> offscreen_context_provider,
- base::TimeTicks frame_begin_time,
+ gfx::FrameTime frame_begin_time,
gfx::Rect device_viewport_damage_rect,
bool for_readback,
LayerTreeHostImpl::FrameData* frame) {
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698