Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 1457803003: cc:: Don't use cached screen space transform for layers not in RSLL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 622
623 // Removes empty or orphan RenderPasses from the frame. 623 // Removes empty or orphan RenderPasses from the frame.
624 static void RemoveRenderPasses(FrameData* frame); 624 static void RemoveRenderPasses(FrameData* frame);
625 625
626 LayerTreeHostImplClient* client_; 626 LayerTreeHostImplClient* client_;
627 TaskRunnerProvider* task_runner_provider_; 627 TaskRunnerProvider* task_runner_provider_;
628 628
629 BeginFrameTracker current_begin_frame_tracker_; 629 BeginFrameTracker current_begin_frame_tracker_;
630 630
631 private: 631 private:
632 const gfx::Transform LayerScreenSpaceTransform(const LayerImpl* layer);
632 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( 633 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta(
633 LayerImpl* layer_impl, 634 LayerImpl* layer_impl,
634 const gfx::PointF& viewport_point, 635 const gfx::PointF& viewport_point,
635 const gfx::Vector2dF& viewport_delta); 636 const gfx::Vector2dF& viewport_delta);
636 637
637 void CreateAndSetRenderer(); 638 void CreateAndSetRenderer();
638 void CleanUpTileManagerAndUIResources(); 639 void CleanUpTileManagerAndUIResources();
639 void CreateTileManagerResources(); 640 void CreateTileManagerResources();
640 void ReleaseTreeResources(); 641 void ReleaseTreeResources();
641 void RecreateTreeResources(); 642 void RecreateTreeResources();
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 828 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
828 829
829 scoped_ptr<Viewport> viewport_; 830 scoped_ptr<Viewport> viewport_;
830 831
831 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 832 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
832 }; 833 };
833 834
834 } // namespace cc 835 } // namespace cc
835 836
836 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 837 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698