| 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_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_THREAD_PROXY_H_ |
| 6 #define CC_TREES_THREAD_PROXY_H_ | 6 #define CC_TREES_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 RendererCapabilities renderer_capabilities_main_thread_copy_; | 222 RendererCapabilities renderer_capabilities_main_thread_copy_; |
| 223 bool started_; | 223 bool started_; |
| 224 bool textures_acquired_; | 224 bool textures_acquired_; |
| 225 bool in_composite_and_readback_; | 225 bool in_composite_and_readback_; |
| 226 bool manage_tiles_pending_; | 226 bool manage_tiles_pending_; |
| 227 // Weak pointer to use when posting tasks to the impl thread. | 227 // Weak pointer to use when posting tasks to the impl thread. |
| 228 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 228 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 229 | 229 |
| 230 // Accessed on the main thread, or when main thread is blocked. | 230 // Accessed on the main thread, or when main thread is blocked. |
| 231 bool commit_waits_for_activation_; | 231 bool commit_waits_for_activation_; |
| 232 bool inside_commit_; | 232 bool main_thread_inside_commit_; |
| 233 | 233 |
| 234 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_; | 234 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_; |
| 235 | 235 |
| 236 scoped_ptr<Scheduler> scheduler_on_impl_thread_; | 236 scoped_ptr<Scheduler> scheduler_on_impl_thread_; |
| 237 | 237 |
| 238 // Set when the main thread is waiting on a | 238 // Set when the main thread is waiting on a |
| 239 // ScheduledActionSendBeginMainFrame to be issued. | 239 // ScheduledActionSendBeginMainFrame to be issued. |
| 240 CompletionEvent* | 240 CompletionEvent* |
| 241 begin_main_frame_sent_completion_event_on_impl_thread_; | 241 begin_main_frame_sent_completion_event_on_impl_thread_; |
| 242 | 242 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 base::WeakPtrFactory<ThreadProxy> weak_factory_; | 289 base::WeakPtrFactory<ThreadProxy> weak_factory_; |
| 290 | 290 |
| 291 const int layer_tree_host_id_; | 291 const int layer_tree_host_id_; |
| 292 | 292 |
| 293 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 293 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 } // namespace cc | 296 } // namespace cc |
| 297 | 297 |
| 298 #endif // CC_TREES_THREAD_PROXY_H_ | 298 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |