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_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <bitset> | 10 #include <bitset> |
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 | 830 |
831 SharedBitmapManager* shared_bitmap_manager_; | 831 SharedBitmapManager* shared_bitmap_manager_; |
832 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; | 832 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
833 TaskGraphRunner* task_graph_runner_; | 833 TaskGraphRunner* task_graph_runner_; |
834 int id_; | 834 int id_; |
835 | 835 |
836 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 836 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
837 | 837 |
838 bool requires_high_res_to_draw_; | 838 bool requires_high_res_to_draw_; |
839 bool is_likely_to_require_a_draw_; | 839 bool is_likely_to_require_a_draw_; |
| 840 bool has_valid_compositor_frame_sink_; |
840 | 841 |
841 std::unique_ptr<Viewport> viewport_; | 842 std::unique_ptr<Viewport> viewport_; |
842 | 843 |
843 std::unique_ptr<LayerTreeMutator> mutator_; | 844 std::unique_ptr<LayerTreeMutator> mutator_; |
844 | 845 |
845 std::unique_ptr<PendingTreeDurationHistogramTimer> | 846 std::unique_ptr<PendingTreeDurationHistogramTimer> |
846 pending_tree_duration_timer_; | 847 pending_tree_duration_timer_; |
847 | 848 |
848 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 849 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
849 }; | 850 }; |
850 | 851 |
851 } // namespace cc | 852 } // namespace cc |
852 | 853 |
853 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 854 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |