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

Unified Diff: trunk/src/cc/scheduler/scheduler_state_machine.h

Issue 254883004: Revert 266624 "cc: Split animating and drawing into separate act..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | « trunk/src/cc/scheduler/scheduler.cc ('k') | trunk/src/cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/scheduler/scheduler_state_machine.h
===================================================================
--- trunk/src/cc/scheduler/scheduler_state_machine.h (revision 266894)
+++ trunk/src/cc/scheduler/scheduler_state_machine.h (working copy)
@@ -101,7 +101,6 @@
enum Action {
ACTION_NONE,
- ACTION_ANIMATE,
ACTION_SEND_BEGIN_MAIN_FRAME,
ACTION_COMMIT,
ACTION_UPDATE_VISIBLE_TILES,
@@ -165,9 +164,6 @@
void SetNeedsRedraw();
bool needs_redraw() const { return needs_redraw_; }
- void SetNeedsAnimate();
- bool needs_animate() const { return needs_animate_; }
-
// Indicates that manage-tiles is required. This guarantees another
// ManageTiles will occur shortly (even if no redraw is required).
void SetNeedsManageTiles();
@@ -252,13 +248,12 @@
}
protected:
- bool BeginFrameNeededToAnimateOrDraw() const;
+ bool BeginFrameNeededToDraw() const;
bool ProactiveBeginFrameWanted() const;
// True if we need to force activations to make forward progress.
bool PendingActivationsShouldBeForced() const;
- bool ShouldAnimate() const;
bool ShouldBeginOutputSurfaceCreation() const;
bool ShouldDrawForced() const;
bool ShouldDraw() const;
@@ -291,7 +286,6 @@
int commit_count_;
int current_frame_number_;
- int last_frame_number_animate_performed_;
int last_frame_number_swap_performed_;
int last_frame_number_begin_main_frame_sent_;
int last_frame_number_update_visible_tiles_was_called_;
@@ -305,7 +299,6 @@
int max_pending_swaps_;
int pending_swaps_;
bool needs_redraw_;
- bool needs_animate_;
bool needs_manage_tiles_;
bool swap_used_incomplete_tile_;
bool needs_commit_;
« no previous file with comments | « trunk/src/cc/scheduler/scheduler.cc ('k') | trunk/src/cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698