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

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

Issue 609003002: cc:: Remove main_frame_before_draw_enabled from scheduler settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DCHECK Created 6 years, 2 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
« 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_FIRST_DRAW,
72 }; 71 };
73 static const char* CommitStateToString(CommitState state); 72 static const char* CommitStateToString(CommitState state);
74 73
75 enum ForcedRedrawOnTimeoutState { 74 enum ForcedRedrawOnTimeoutState {
76 FORCED_REDRAW_STATE_IDLE, 75 FORCED_REDRAW_STATE_IDLE,
77 FORCED_REDRAW_STATE_WAITING_FOR_COMMIT, 76 FORCED_REDRAW_STATE_WAITING_FOR_COMMIT,
78 FORCED_REDRAW_STATE_WAITING_FOR_ACTIVATION, 77 FORCED_REDRAW_STATE_WAITING_FOR_ACTIVATION,
79 FORCED_REDRAW_STATE_WAITING_FOR_DRAW, 78 FORCED_REDRAW_STATE_WAITING_FOR_DRAW,
80 }; 79 };
81 static const char* ForcedRedrawOnTimeoutStateToString( 80 static const char* ForcedRedrawOnTimeoutStateToString(
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 bool skip_begin_main_frame_to_reduce_latency_; 313 bool skip_begin_main_frame_to_reduce_latency_;
315 bool continuous_painting_; 314 bool continuous_painting_;
316 315
317 private: 316 private:
318 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); 317 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
319 }; 318 };
320 319
321 } // namespace cc 320 } // namespace cc
322 321
323 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 322 #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