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

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

Issue 2110683004: cc: Move filters to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 5 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/layer_tree_host_common_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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 ElementListType list_type, 280 ElementListType list_type,
281 const gfx::ScrollOffset& scroll_offset) override; 281 const gfx::ScrollOffset& scroll_offset) override;
282 void ElementTransformIsAnimatingChanged(ElementId element_id, 282 void ElementTransformIsAnimatingChanged(ElementId element_id,
283 ElementListType list_type, 283 ElementListType list_type,
284 AnimationChangeType change_type, 284 AnimationChangeType change_type,
285 bool is_animating) override; 285 bool is_animating) override;
286 void ElementOpacityIsAnimatingChanged(ElementId element_id, 286 void ElementOpacityIsAnimatingChanged(ElementId element_id,
287 ElementListType list_type, 287 ElementListType list_type,
288 AnimationChangeType change_type, 288 AnimationChangeType change_type,
289 bool is_animating) override; 289 bool is_animating) override;
290 void ElementFilterIsAnimatingChanged(ElementId element_id,
291 ElementListType list_type,
292 AnimationChangeType change_type,
293 bool is_animating) override;
290 void ScrollOffsetAnimationFinished() override; 294 void ScrollOffsetAnimationFinished() override;
291 gfx::ScrollOffset GetScrollOffsetForAnimation( 295 gfx::ScrollOffset GetScrollOffsetForAnimation(
292 ElementId element_id) const override; 296 ElementId element_id) const override;
293 297
294 virtual bool PrepareTiles(); 298 virtual bool PrepareTiles();
295 299
296 // Returns DRAW_SUCCESS unless problems occured preparing the frame, and we 300 // Returns DRAW_SUCCESS unless problems occured preparing the frame, and we
297 // should try to avoid displaying the frame. If PrepareToDraw is called, 301 // should try to avoid displaying the frame. If PrepareToDraw is called,
298 // DidDrawAllLayers must also be called, regardless of whether DrawLayers is 302 // DidDrawAllLayers must also be called, regardless of whether DrawLayers is
299 // called between the two. 303 // called between the two.
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 853
850 std::unique_ptr<PendingTreeDurationHistogramTimer> 854 std::unique_ptr<PendingTreeDurationHistogramTimer>
851 pending_tree_duration_timer_; 855 pending_tree_duration_timer_;
852 856
853 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 857 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
854 }; 858 };
855 859
856 } // namespace cc 860 } // namespace cc
857 861
858 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 862 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common_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