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

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

Issue 2814273003: cc: Make DamageTracker use the effect tree and layer list (Closed)
Patch Set: Rebase Created 3 years, 8 months 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
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 ScrollState* scroll_state, 658 ScrollState* scroll_state,
659 ScrollNode* scrolling_node, 659 ScrollNode* scrolling_node,
660 InputHandler::ScrollInputType type); 660 InputHandler::ScrollInputType type);
661 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&); 661 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&);
662 void DistributeScrollDelta(ScrollState* scroll_state); 662 void DistributeScrollDelta(ScrollState* scroll_state);
663 663
664 bool AnimatePageScale(base::TimeTicks monotonic_time); 664 bool AnimatePageScale(base::TimeTicks monotonic_time);
665 bool AnimateScrollbars(base::TimeTicks monotonic_time); 665 bool AnimateScrollbars(base::TimeTicks monotonic_time);
666 bool AnimateBrowserControls(base::TimeTicks monotonic_time); 666 bool AnimateBrowserControls(base::TimeTicks monotonic_time);
667 667
668 void TrackDamageForAllSurfaces(
669 const LayerImplList& render_surface_layer_list);
670
671 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); 668 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
672 669
673 // This function should only be called from PrepareToDraw, as DidDrawAllLayers 670 // This function should only be called from PrepareToDraw, as DidDrawAllLayers
674 // must be called if this helper function is called. Returns DRAW_SUCCESS if 671 // must be called if this helper function is called. Returns DRAW_SUCCESS if
675 // the frame should be drawn. 672 // the frame should be drawn.
676 DrawResult CalculateRenderPasses(FrameData* frame); 673 DrawResult CalculateRenderPasses(FrameData* frame);
677 674
678 void ClearCurrentlyScrollingNode(); 675 void ClearCurrentlyScrollingNode();
679 676
680 LayerImpl* FindScrollLayerForDeviceViewportPoint( 677 LayerImpl* FindScrollLayerForDeviceViewportPoint(
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 bool has_scrolled_by_touch_; 868 bool has_scrolled_by_touch_;
872 869
873 bool touchpad_and_wheel_scroll_latching_enabled_; 870 bool touchpad_and_wheel_scroll_latching_enabled_;
874 871
875 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 872 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
876 }; 873 };
877 874
878 } // namespace cc 875 } // namespace cc
879 876
880 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 877 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698