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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 } | 406 } |
407 | 407 |
408 LayerTreeHostImplClient* client_; | 408 LayerTreeHostImplClient* client_; |
409 Proxy* proxy_; | 409 Proxy* proxy_; |
410 | 410 |
411 private: | 411 private: |
412 void CreateAndSetRenderer(OutputSurface* output_surface, | 412 void CreateAndSetRenderer(OutputSurface* output_surface, |
413 ResourceProvider* resource_provider, | 413 ResourceProvider* resource_provider, |
414 bool skip_gl_renderer); | 414 bool skip_gl_renderer); |
415 void CreateAndSetTileManager(ResourceProvider* resource_provider, | 415 void CreateAndSetTileManager(ResourceProvider* resource_provider, |
416 bool using_map_image); | 416 bool using_map_image, |
| 417 size_t max_transfer_buffer_usage_bytes); |
417 void ReleaseTreeResources(); | 418 void ReleaseTreeResources(); |
418 void EnforceZeroBudget(bool zero_budget); | 419 void EnforceZeroBudget(bool zero_budget); |
419 | 420 |
420 void AnimatePageScale(base::TimeTicks monotonic_time); | 421 void AnimatePageScale(base::TimeTicks monotonic_time); |
421 void AnimateScrollbars(base::TimeTicks monotonic_time); | 422 void AnimateScrollbars(base::TimeTicks monotonic_time); |
422 void AnimateTopControls(base::TimeTicks monotonic_time); | 423 void AnimateTopControls(base::TimeTicks monotonic_time); |
423 | 424 |
424 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( | 425 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( |
425 LayerImpl* layer_impl, | 426 LayerImpl* layer_impl, |
426 float scale_from_viewport_to_screen_space, | 427 float scale_from_viewport_to_screen_space, |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 | 558 |
558 // Optional callback to notify of new tree activations. | 559 // Optional callback to notify of new tree activations. |
559 base::Closure tree_activation_callback_; | 560 base::Closure tree_activation_callback_; |
560 | 561 |
561 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 562 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
562 }; | 563 }; |
563 | 564 |
564 } // namespace cc | 565 } // namespace cc |
565 | 566 |
566 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 567 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |