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

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

Issue 1113493007: Allow cc::STP::SetNeedsAnimate to request another commit from a commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove {}'s Created 5 years, 7 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/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/single_thread_proxy.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_TREES_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // Accessed from both threads. 155 // Accessed from both threads.
156 scoped_ptr<Scheduler> scheduler_on_impl_thread_; 156 scoped_ptr<Scheduler> scheduler_on_impl_thread_;
157 ProxyTimingHistory timing_history_; 157 ProxyTimingHistory timing_history_;
158 158
159 scoped_ptr<BlockingTaskRunner::CapturePostTasks> commit_blocking_task_runner_; 159 scoped_ptr<BlockingTaskRunner::CapturePostTasks> commit_blocking_task_runner_;
160 scoped_ptr<ResourceUpdateQueue> queue_for_commit_; 160 scoped_ptr<ResourceUpdateQueue> queue_for_commit_;
161 bool next_frame_is_newly_committed_frame_; 161 bool next_frame_is_newly_committed_frame_;
162 162
163 bool inside_draw_; 163 bool inside_draw_;
164 bool defer_commits_; 164 bool defer_commits_;
165 bool animate_requested_;
165 bool commit_requested_; 166 bool commit_requested_;
166 bool inside_synchronous_composite_; 167 bool inside_synchronous_composite_;
167 168
168 // True if a request to the LayerTreeHostClient to create an output surface 169 // True if a request to the LayerTreeHostClient to create an output surface
169 // is still outstanding. 170 // is still outstanding.
170 bool output_surface_creation_requested_; 171 bool output_surface_creation_requested_;
171 172
172 // This is the callback for the scheduled RequestNewOutputSurface. 173 // This is the callback for the scheduled RequestNewOutputSurface.
173 base::CancelableClosure output_surface_creation_callback_; 174 base::CancelableClosure output_surface_creation_callback_;
174 175
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 private: 235 private:
235 DebugScopedSetImplThread impl_thread_; 236 DebugScopedSetImplThread impl_thread_;
236 DebugScopedSetMainThreadBlocked main_thread_blocked_; 237 DebugScopedSetMainThreadBlocked main_thread_blocked_;
237 238
238 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 239 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
239 }; 240 };
240 241
241 } // namespace cc 242 } // namespace cc
242 243
243 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 244 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698