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

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

Issue 24019008: cc: Remove safe_to_expect_begin_frame workaround (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 3 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 | « no previous file | cc/scheduler/scheduler.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_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_H_
6 #define CC_SCHEDULER_SCHEDULER_H_ 6 #define CC_SCHEDULER_SCHEDULER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void DrawAndSwapForced(); 112 void DrawAndSwapForced();
113 void DrawAndReadback(); 113 void DrawAndReadback();
114 void ProcessScheduledActions(); 114 void ProcessScheduledActions();
115 115
116 const SchedulerSettings settings_; 116 const SchedulerSettings settings_;
117 SchedulerClient* client_; 117 SchedulerClient* client_;
118 118
119 base::WeakPtrFactory<Scheduler> weak_factory_; 119 base::WeakPtrFactory<Scheduler> weak_factory_;
120 bool last_set_needs_begin_frame_; 120 bool last_set_needs_begin_frame_;
121 bool has_pending_begin_frame_; 121 bool has_pending_begin_frame_;
122 // TODO(brianderson): crbug.com/249806 : Remove safe_to_expect_begin_frame_
123 // workaround.
124 bool safe_to_expect_begin_frame_;
125 BeginFrameArgs last_begin_frame_args_; 122 BeginFrameArgs last_begin_frame_args_;
126 123
127 SchedulerStateMachine state_machine_; 124 SchedulerStateMachine state_machine_;
128 bool inside_process_scheduled_actions_; 125 bool inside_process_scheduled_actions_;
129 126
130 DISALLOW_COPY_AND_ASSIGN(Scheduler); 127 DISALLOW_COPY_AND_ASSIGN(Scheduler);
131 }; 128 };
132 129
133 } // namespace cc 130 } // namespace cc
134 131
135 #endif // CC_SCHEDULER_SCHEDULER_H_ 132 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698