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

Unified Diff: cc/scheduler/scheduler.h

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 7 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/frame_rate_controller_unittest.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 5f4c2ab370b9e0956255145120bd5d311cd3feb0..aec0cdf2b56dcb4e801f41af44f165831ae3205d 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -33,7 +33,7 @@ struct ScheduledActionDrawAndSwapResult {
class SchedulerClient {
public:
- virtual void ScheduledActionBeginFrame() = 0;
+ virtual void ScheduledActionSendBeginFrameToMainThread() = 0;
virtual ScheduledActionDrawAndSwapResult
ScheduledActionDrawAndSwapIfPossible() = 0;
virtual ScheduledActionDrawAndSwapResult
@@ -83,8 +83,8 @@ class CC_EXPORT Scheduler : FrameRateControllerClient {
void DidSwapUseIncompleteTile();
- void BeginFrameComplete();
- void BeginFrameAborted();
+ void FinishCommit();
+ void BeginFrameAbortedByMainThread();
void SetMaxFramesPending(int max);
int MaxFramesPending() const;
@@ -109,10 +109,10 @@ class CC_EXPORT Scheduler : FrameRateControllerClient {
base::TimeTicks AnticipatedDrawTime();
- base::TimeTicks LastVSyncTime();
+ base::TimeTicks LastBeginFrameOnImplThreadTime();
// FrameRateControllerClient implementation
- virtual void VSyncTick(bool throttled) OVERRIDE;
+ virtual void BeginFrame(bool throttled) OVERRIDE;
std::string StateAsStringForTesting() { return state_machine_.ToString(); }
« no previous file with comments | « cc/scheduler/frame_rate_controller_unittest.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698