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

Side by Side Diff: cc/trees/proxy_impl.h

Issue 1765723002: Hoist begin frame sources out of scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_remove_throttle_flag
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TREES_PROXY_IMPL_H_ 5 #ifndef CC_TREES_PROXY_IMPL_H_
6 #define CC_TREES_PROXY_IMPL_H_ 6 #define CC_TREES_PROXY_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/base/completion_event.h" 10 #include "cc/base/completion_event.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // thread. 144 // thread.
145 bool next_frame_is_newly_committed_frame_; 145 bool next_frame_is_newly_committed_frame_;
146 146
147 bool inside_draw_; 147 bool inside_draw_;
148 bool input_throttled_until_commit_; 148 bool input_throttled_until_commit_;
149 149
150 TaskRunnerProvider* task_runner_provider_; 150 TaskRunnerProvider* task_runner_provider_;
151 151
152 DelayedUniqueNotifier smoothness_priority_expiration_notifier_; 152 DelayedUniqueNotifier smoothness_priority_expiration_notifier_;
153 153
154 scoped_ptr<BeginFrameSource> external_begin_frame_source_; 154 scoped_ptr<BeginFrameSource> begin_frame_source_;
155 scoped_ptr<SyntheticBeginFrameSource> synthetic_frame_source_;
Sami 2016/03/08 19:15:25 nit: synthetic_begin_frame_source_
155 156
156 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 157 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
157 158
158 // Values used to keep track of frame durations. Used only in frame timing. 159 // Values used to keep track of frame durations. Used only in frame timing.
159 BeginFrameArgs last_begin_main_frame_args_; 160 BeginFrameArgs last_begin_main_frame_args_;
160 BeginFrameArgs last_processed_begin_main_frame_args_; 161 BeginFrameArgs last_processed_begin_main_frame_args_;
161 162
162 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_; 163 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_;
163 164
164 ChannelImpl* channel_impl_; 165 ChannelImpl* channel_impl_;
165 166
166 // Use accessors instead of this variable directly. 167 // Use accessors instead of this variable directly.
167 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; 168 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_;
168 BlockedMainCommitOnly& blocked_main_commit(); 169 BlockedMainCommitOnly& blocked_main_commit();
169 170
170 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 171 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
171 }; 172 };
172 173
173 } // namespace cc 174 } // namespace cc
174 175
175 #endif // CC_TREES_PROXY_IMPL_H_ 176 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698