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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 Proxy* proxy_; | 512 Proxy* proxy_; |
513 | 513 |
514 private: | 514 private: |
515 void CreateAndSetRenderer(); | 515 void CreateAndSetRenderer(); |
516 void CreateAndSetTileManager(); | 516 void CreateAndSetTileManager(); |
517 void DestroyTileManager(); | 517 void DestroyTileManager(); |
518 void ReleaseTreeResources(); | 518 void ReleaseTreeResources(); |
519 void EnforceZeroBudget(bool zero_budget); | 519 void EnforceZeroBudget(bool zero_budget); |
520 | 520 |
521 bool UsePendingTreeForSync() const; | 521 bool UsePendingTreeForSync() const; |
522 bool UseZeroCopyTextureUpload() const; | 522 bool UseZeroCopyRasterizer() const; |
523 bool UseOneCopyTextureUpload() const; | 523 bool UseOneCopyRasterizer() const; |
524 | 524 |
525 void ScrollViewportBy(gfx::Vector2dF scroll_delta); | 525 void ScrollViewportBy(gfx::Vector2dF scroll_delta); |
526 void AnimatePageScale(base::TimeTicks monotonic_time); | 526 void AnimatePageScale(base::TimeTicks monotonic_time); |
527 void AnimateScrollbars(base::TimeTicks monotonic_time); | 527 void AnimateScrollbars(base::TimeTicks monotonic_time); |
528 void AnimateTopControls(base::TimeTicks monotonic_time); | 528 void AnimateTopControls(base::TimeTicks monotonic_time); |
529 | 529 |
530 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( | 530 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( |
531 LayerImpl* layer_impl, | 531 LayerImpl* layer_impl, |
532 float scale_from_viewport_to_screen_space, | 532 float scale_from_viewport_to_screen_space, |
533 const gfx::PointF& viewport_point, | 533 const gfx::PointF& viewport_point, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 | 702 |
703 std::vector<PictureLayerImpl*> picture_layers_; | 703 std::vector<PictureLayerImpl*> picture_layers_; |
704 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; | 704 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
705 | 705 |
706 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 706 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
707 }; | 707 }; |
708 | 708 |
709 } // namespace cc | 709 } // namespace cc |
710 | 710 |
711 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 711 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |