| 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 453 |
| 454 const AnimationRegistrar::AnimationControllerMap& | 454 const AnimationRegistrar::AnimationControllerMap& |
| 455 active_animation_controllers() const { | 455 active_animation_controllers() const { |
| 456 return animation_registrar_->active_animation_controllers(); | 456 return animation_registrar_->active_animation_controllers(); |
| 457 } | 457 } |
| 458 | 458 |
| 459 bool manage_tiles_needed() const { return tile_priorities_dirty_; } | 459 bool manage_tiles_needed() const { return tile_priorities_dirty_; } |
| 460 | 460 |
| 461 LayerTreeHostImplClient* client_; | 461 LayerTreeHostImplClient* client_; |
| 462 Proxy* proxy_; | 462 Proxy* proxy_; |
| 463 SharedBitmapManager* shared_bitmap_manager_; |
| 463 | 464 |
| 464 private: | 465 private: |
| 465 void CreateAndSetRenderer( | 466 void CreateAndSetRenderer( |
| 466 OutputSurface* output_surface, | 467 OutputSurface* output_surface, |
| 467 ResourceProvider* resource_provider, | 468 ResourceProvider* resource_provider, |
| 468 bool skip_gl_renderer); | 469 bool skip_gl_renderer); |
| 469 void CreateAndSetTileManager(ResourceProvider* resource_provider, | 470 void CreateAndSetTileManager(ResourceProvider* resource_provider, |
| 470 ContextProvider* context_provider, | 471 ContextProvider* context_provider, |
| 471 bool using_map_image, | 472 bool using_map_image, |
| 472 bool allow_rasterize_on_demand); | 473 bool allow_rasterize_on_demand); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 MicroBenchmarkControllerImpl micro_benchmark_controller_; | 646 MicroBenchmarkControllerImpl micro_benchmark_controller_; |
| 646 | 647 |
| 647 bool need_to_update_visible_tiles_before_draw_; | 648 bool need_to_update_visible_tiles_before_draw_; |
| 648 #ifndef NDEBUG | 649 #ifndef NDEBUG |
| 649 bool did_lose_called_; | 650 bool did_lose_called_; |
| 650 #endif | 651 #endif |
| 651 | 652 |
| 652 // Optional callback to notify of new tree activations. | 653 // Optional callback to notify of new tree activations. |
| 653 base::Closure tree_activation_callback_; | 654 base::Closure tree_activation_callback_; |
| 654 | 655 |
| 655 SharedBitmapManager* shared_bitmap_manager_; | |
| 656 int id_; | 656 int id_; |
| 657 | 657 |
| 658 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 658 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 659 | 659 |
| 660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 661 }; | 661 }; |
| 662 | 662 |
| 663 } // namespace cc | 663 } // namespace cc |
| 664 | 664 |
| 665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |