| 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 <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 | 696 |
| 697 // Expected time between two begin impl frame calls. | 697 // Expected time between two begin impl frame calls. |
| 698 base::TimeDelta begin_impl_frame_interval_; | 698 base::TimeDelta begin_impl_frame_interval_; |
| 699 | 699 |
| 700 scoped_ptr<AnimationRegistrar> animation_registrar_; | 700 scoped_ptr<AnimationRegistrar> animation_registrar_; |
| 701 | 701 |
| 702 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 702 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 703 MicroBenchmarkControllerImpl micro_benchmark_controller_; | 703 MicroBenchmarkControllerImpl micro_benchmark_controller_; |
| 704 | 704 |
| 705 bool need_to_update_visible_tiles_before_draw_; | 705 bool need_to_update_visible_tiles_before_draw_; |
| 706 #if DCHECK_IS_ON | 706 bool have_valid_output_surface_; |
| 707 bool did_lose_called_; | |
| 708 #endif | |
| 709 | 707 |
| 710 // Optional callback to notify of new tree activations. | 708 // Optional callback to notify of new tree activations. |
| 711 base::Closure tree_activation_callback_; | 709 base::Closure tree_activation_callback_; |
| 712 | 710 |
| 713 SharedBitmapManager* shared_bitmap_manager_; | 711 SharedBitmapManager* shared_bitmap_manager_; |
| 714 int id_; | 712 int id_; |
| 715 | 713 |
| 716 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 714 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 717 | 715 |
| 718 size_t transfer_buffer_memory_limit_; | 716 size_t transfer_buffer_memory_limit_; |
| 719 | 717 |
| 720 std::vector<PictureLayerImpl*> picture_layers_; | 718 std::vector<PictureLayerImpl*> picture_layers_; |
| 721 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; | 719 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
| 722 | 720 |
| 723 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 721 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 724 }; | 722 }; |
| 725 | 723 |
| 726 } // namespace cc | 724 } // namespace cc |
| 727 | 725 |
| 728 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 726 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |