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

Side by Side Diff: cc/trees/layer_tree_host_common.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.cc ('k') | cc/trees/layer_tree_host_common.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_COMMON_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_
6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ 6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const gfx::Size& device_viewport_size, 108 const gfx::Size& device_viewport_size,
109 const gfx::Transform& device_transform, 109 const gfx::Transform& device_transform,
110 LayerImplList* render_surface_layer_list, 110 LayerImplList* render_surface_layer_list,
111 int current_render_surface_layer_list_id); 111 int current_render_surface_layer_list_id);
112 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 112 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
113 const gfx::Size& device_viewport_size, 113 const gfx::Size& device_viewport_size,
114 LayerImplList* render_surface_layer_list, 114 LayerImplList* render_surface_layer_list,
115 int current_render_surface_layer_list_id); 115 int current_render_surface_layer_list_id);
116 }; 116 };
117 117
118 static void UpdateRenderSurfaces(Layer* root_layer,
119 bool can_render_to_separate_surface,
120 const gfx::Transform& transform,
121 bool preserves_2d_axis_alignment);
122 static void UpdateRenderSurface(Layer* layer,
123 bool can_render_to_separate_surface,
124 gfx::Transform* transform,
125 bool* animation_preserves_axis_alignment);
126 static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs); 118 static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs);
127 static void PreCalculateMetaInformation(Layer* root_layer); 119 static void PreCalculateMetaInformation(Layer* root_layer);
128 static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer); 120 static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer);
129 static void PreCalculateMetaInformationForTesting(Layer* root_layer); 121 static void PreCalculateMetaInformationForTesting(Layer* root_layer);
130 122
131 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs); 123 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs);
132 static void CalculateDrawProperties( 124 static void CalculateDrawProperties(
133 CalcDrawPropsImplInputsForTesting* inputs); 125 CalcDrawPropsImplInputsForTesting* inputs);
134 126
135 template <typename LayerType> 127 template <typename LayerType>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 function); 232 function);
241 } 233 }
242 } 234 }
243 235
244 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); 236 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer);
245 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); 237 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer);
246 238
247 } // namespace cc 239 } // namespace cc
248 240
249 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 241 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698