| 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 active_animation_controllers() const { | 476 active_animation_controllers() const { |
| 477 return animation_registrar_->active_animation_controllers(); | 477 return animation_registrar_->active_animation_controllers(); |
| 478 } | 478 } |
| 479 | 479 |
| 480 bool manage_tiles_needed() const { return tile_priorities_dirty_; } | 480 bool manage_tiles_needed() const { return tile_priorities_dirty_; } |
| 481 | 481 |
| 482 LayerTreeHostImplClient* client_; | 482 LayerTreeHostImplClient* client_; |
| 483 Proxy* proxy_; | 483 Proxy* proxy_; |
| 484 | 484 |
| 485 private: | 485 private: |
| 486 void CreateAndSetRenderer( | 486 void CreateAndSetRenderer(OutputSurface* output_surface, |
| 487 OutputSurface* output_surface, | 487 ResourceProvider* resource_provider); |
| 488 ResourceProvider* resource_provider, | |
| 489 bool skip_gl_renderer); | |
| 490 void CreateAndSetTileManager(ResourceProvider* resource_provider, | 488 void CreateAndSetTileManager(ResourceProvider* resource_provider, |
| 491 ContextProvider* context_provider, | 489 ContextProvider* context_provider, |
| 492 bool use_zero_copy, | 490 bool use_zero_copy, |
| 493 bool use_one_copy, | 491 bool use_one_copy, |
| 494 bool allow_rasterize_on_demand); | 492 bool allow_rasterize_on_demand); |
| 495 void ReleaseTreeResources(); | 493 void ReleaseTreeResources(); |
| 496 void EnforceZeroBudget(bool zero_budget); | 494 void EnforceZeroBudget(bool zero_budget); |
| 497 | 495 |
| 498 void ScrollViewportBy(gfx::Vector2dF scroll_delta); | 496 void ScrollViewportBy(gfx::Vector2dF scroll_delta); |
| 499 void AnimatePageScale(base::TimeTicks monotonic_time); | 497 void AnimatePageScale(base::TimeTicks monotonic_time); |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 680 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
| 683 | 681 |
| 684 size_t transfer_buffer_memory_limit_; | 682 size_t transfer_buffer_memory_limit_; |
| 685 | 683 |
| 686 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 684 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 687 }; | 685 }; |
| 688 | 686 |
| 689 } // namespace cc | 687 } // namespace cc |
| 690 | 688 |
| 691 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 689 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |