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

Side by Side Diff: cc/scheduler/scheduler_state_machine.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « cc/scheduler/scheduler_settings.cc ('k') | cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 BEGIN_IMPL_FRAME_STATE_INSIDE_DEADLINE, 61 BEGIN_IMPL_FRAME_STATE_INSIDE_DEADLINE,
62 }; 62 };
63 static const char* BeginImplFrameStateToString(BeginImplFrameState state); 63 static const char* BeginImplFrameStateToString(BeginImplFrameState state);
64 64
65 enum CommitState { 65 enum CommitState {
66 COMMIT_STATE_IDLE, 66 COMMIT_STATE_IDLE,
67 COMMIT_STATE_BEGIN_MAIN_FRAME_SENT, 67 COMMIT_STATE_BEGIN_MAIN_FRAME_SENT,
68 COMMIT_STATE_BEGIN_MAIN_FRAME_STARTED, 68 COMMIT_STATE_BEGIN_MAIN_FRAME_STARTED,
69 COMMIT_STATE_READY_TO_COMMIT, 69 COMMIT_STATE_READY_TO_COMMIT,
70 COMMIT_STATE_WAITING_FOR_ACTIVATION, 70 COMMIT_STATE_WAITING_FOR_ACTIVATION,
71 COMMIT_STATE_WAITING_FOR_DRAW,
71 }; 72 };
72 static const char* CommitStateToString(CommitState state); 73 static const char* CommitStateToString(CommitState state);
73 74
74 enum ForcedRedrawOnTimeoutState { 75 enum ForcedRedrawOnTimeoutState {
75 FORCED_REDRAW_STATE_IDLE, 76 FORCED_REDRAW_STATE_IDLE,
76 FORCED_REDRAW_STATE_WAITING_FOR_COMMIT, 77 FORCED_REDRAW_STATE_WAITING_FOR_COMMIT,
77 FORCED_REDRAW_STATE_WAITING_FOR_ACTIVATION, 78 FORCED_REDRAW_STATE_WAITING_FOR_ACTIVATION,
78 FORCED_REDRAW_STATE_WAITING_FOR_DRAW, 79 FORCED_REDRAW_STATE_WAITING_FOR_DRAW,
79 }; 80 };
80 static const char* ForcedRedrawOnTimeoutStateToString( 81 static const char* ForcedRedrawOnTimeoutStateToString(
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 bool impl_latency_takes_priority_on_battery_; 325 bool impl_latency_takes_priority_on_battery_;
325 bool children_need_begin_frames_; 326 bool children_need_begin_frames_;
326 327
327 private: 328 private:
328 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); 329 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
329 }; 330 };
330 331
331 } // namespace cc 332 } // namespace cc
332 333
333 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 334 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_settings.cc ('k') | cc/scheduler/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698