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

Side by Side Diff: cc/trees/single_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: update 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 unified diff | Download patch
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void ScheduledActionActivateSyncTree() override; 73 void ScheduledActionActivateSyncTree() override;
74 void ScheduledActionBeginOutputSurfaceCreation() override; 74 void ScheduledActionBeginOutputSurfaceCreation() override;
75 void ScheduledActionPrepareTiles() override; 75 void ScheduledActionPrepareTiles() override;
76 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override; 76 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override;
77 base::TimeDelta DrawDurationEstimate() override; 77 base::TimeDelta DrawDurationEstimate() override;
78 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override; 78 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
79 base::TimeDelta CommitToActivateDurationEstimate() override; 79 base::TimeDelta CommitToActivateDurationEstimate() override;
80 void DidBeginImplFrameDeadline() override; 80 void DidBeginImplFrameDeadline() override;
81 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; 81 void SendBeginFramesToChildren(const BeginFrameArgs& args) override;
82 void SendBeginMainFrameNotExpectedSoon() override; 82 void SendBeginMainFrameNotExpectedSoon() override;
83 base::TimeTicks GetNextBeginImplFrameTimeIfRequested() const override;
83 84
84 // LayerTreeHostImplClient implementation 85 // LayerTreeHostImplClient implementation
85 void UpdateRendererCapabilitiesOnImplThread() override; 86 void UpdateRendererCapabilitiesOnImplThread() override;
86 void DidLoseOutputSurfaceOnImplThread() override; 87 void DidLoseOutputSurfaceOnImplThread() override;
87 void CommitVSyncParameters(base::TimeTicks timebase, 88 void CommitVSyncParameters(base::TimeTicks timebase,
88 base::TimeDelta interval) override; 89 base::TimeDelta interval) override;
89 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override {} 90 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override {}
90 void SetMaxSwapsPendingOnImplThread(int max) override {} 91 void SetMaxSwapsPendingOnImplThread(int max) override {}
91 void DidSwapBuffersOnImplThread() override; 92 void DidSwapBuffersOnImplThread() override;
92 void DidSwapBuffersCompleteOnImplThread() override; 93 void DidSwapBuffersCompleteOnImplThread() override;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 private: 232 private:
232 DebugScopedSetImplThread impl_thread_; 233 DebugScopedSetImplThread impl_thread_;
233 DebugScopedSetMainThreadBlocked main_thread_blocked_; 234 DebugScopedSetMainThreadBlocked main_thread_blocked_;
234 235
235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 236 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
236 }; 237 };
237 238
238 } // namespace cc 239 } // namespace cc
239 240
240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 241 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698