| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |