OLD | NEW |
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 ProxyTimingHistory timing_history_; | 144 ProxyTimingHistory timing_history_; |
145 | 145 |
146 scoped_ptr<BlockingTaskRunner::CapturePostTasks> commit_blocking_task_runner_; | 146 scoped_ptr<BlockingTaskRunner::CapturePostTasks> commit_blocking_task_runner_; |
147 scoped_ptr<ResourceUpdateQueue> queue_for_commit_; | 147 scoped_ptr<ResourceUpdateQueue> queue_for_commit_; |
148 bool next_frame_is_newly_committed_frame_; | 148 bool next_frame_is_newly_committed_frame_; |
149 | 149 |
150 bool inside_draw_; | 150 bool inside_draw_; |
151 bool defer_commits_; | 151 bool defer_commits_; |
152 bool commit_was_deferred_; | 152 bool commit_was_deferred_; |
153 bool commit_requested_; | 153 bool commit_requested_; |
| 154 bool inside_synchronous_composite_; |
154 | 155 |
155 // True if a request to the LayerTreeHostClient to create an output surface | 156 // True if a request to the LayerTreeHostClient to create an output surface |
156 // is still outstanding. | 157 // is still outstanding. |
157 bool output_surface_creation_requested_; | 158 bool output_surface_creation_requested_; |
158 | 159 |
159 // This is the callback for the scheduled RequestNewOutputSurface. | 160 // This is the callback for the scheduled RequestNewOutputSurface. |
160 base::CancelableClosure output_surface_creation_callback_; | 161 base::CancelableClosure output_surface_creation_callback_; |
161 | 162 |
162 base::WeakPtrFactory<SingleThreadProxy> weak_factory_; | 163 base::WeakPtrFactory<SingleThreadProxy> weak_factory_; |
163 | 164 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 private: | 222 private: |
222 DebugScopedSetImplThread impl_thread_; | 223 DebugScopedSetImplThread impl_thread_; |
223 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 224 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
224 | 225 |
225 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 226 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
226 }; | 227 }; |
227 | 228 |
228 } // namespace cc | 229 } // namespace cc |
229 | 230 |
230 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 231 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |