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

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

Issue 1491033002: Create RenderSurface on Effect Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@alwayspt
Patch Set: fix for crash Created 5 years 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 float opacity); 247 float opacity);
248 void SetTreeLayerTransformMutated(int layer_id, 248 void SetTreeLayerTransformMutated(int layer_id,
249 LayerTreeImpl* tree, 249 LayerTreeImpl* tree,
250 const gfx::Transform& transform); 250 const gfx::Transform& transform);
251 void SetTreeLayerScrollOffsetMutated(int layer_id, 251 void SetTreeLayerScrollOffsetMutated(int layer_id,
252 LayerTreeImpl* tree, 252 LayerTreeImpl* tree,
253 const gfx::ScrollOffset& scroll_offset); 253 const gfx::ScrollOffset& scroll_offset);
254 void TreeLayerTransformIsPotentiallyAnimatingChanged(int layer_id, 254 void TreeLayerTransformIsPotentiallyAnimatingChanged(int layer_id,
255 LayerTreeImpl* tree, 255 LayerTreeImpl* tree,
256 bool is_animating); 256 bool is_animating);
257 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const;
257 258
258 // LayerTreeMutatorsClient implementation. 259 // LayerTreeMutatorsClient implementation.
259 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override; 260 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override;
260 void SetMutatorsNeedCommit() override; 261 void SetMutatorsNeedCommit() override;
261 void SetMutatorsNeedRebuildPropertyTrees() override; 262 void SetMutatorsNeedRebuildPropertyTrees() override;
262 void SetLayerFilterMutated(int layer_id, 263 void SetLayerFilterMutated(int layer_id,
263 LayerTreeType tree_type, 264 LayerTreeType tree_type,
264 const FilterOperations& filters) override; 265 const FilterOperations& filters) override;
265 void SetLayerOpacityMutated(int layer_id, 266 void SetLayerOpacityMutated(int layer_id,
266 LayerTreeType tree_type, 267 LayerTreeType tree_type,
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 830 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
830 831
831 scoped_ptr<Viewport> viewport_; 832 scoped_ptr<Viewport> viewport_;
832 833
833 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 834 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
834 }; 835 };
835 836
836 } // namespace cc 837 } // namespace cc
837 838
838 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 839 #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