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

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

Issue 17204002: Revert 206020 "cc: Emulate BeginFrame in OutputSurfaces that don..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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_settings.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 206654)
+++ trunk/src/cc/scheduler/scheduler_state_machine.h (working copy)
@@ -8,7 +8,6 @@
#include <string>
#include "base/basictypes.h"
-#include "base/time.h"
#include "cc/base/cc_export.h"
#include "cc/scheduler/scheduler_settings.h"
@@ -79,9 +78,7 @@
// The scheduler will not draw more than once in a given BeginFrame
// callback.
void DidEnterBeginFrame();
- void SetFrameTime(base::TimeTicks frame_time);
void DidLeaveBeginFrame();
- bool inside_begin_frame() const { return inside_begin_frame_; }
// Indicates whether the LayerTreeHostImpl is visible.
void SetVisible(bool visible);
@@ -171,7 +168,6 @@
const SchedulerSettings settings_;
CommitState commit_state_;
- int commit_count_;
int current_frame_number_;
int last_frame_number_where_draw_was_called_;
@@ -188,7 +184,6 @@
bool expect_immediate_begin_frame_for_main_thread_;
bool main_thread_needs_layer_textures_;
bool inside_begin_frame_;
- base::TimeTicks last_frame_time_;
bool visible_;
bool can_start_;
bool can_draw_;
@@ -198,7 +193,6 @@
OutputSurfaceState output_surface_state_;
bool did_create_and_initialize_first_output_surface_;
- private:
DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
};
« no previous file with comments | « trunk/src/cc/scheduler/scheduler_settings.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