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

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

Issue 2241763002: cc: fix damage tracker rect with hidpi filters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 years, 4 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_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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <limits> 10 #include <limits>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool verify_transform_tree_calculations; 101 bool verify_transform_tree_calculations;
102 LayerImplList* render_surface_layer_list; 102 LayerImplList* render_surface_layer_list;
103 PropertyTrees* property_trees; 103 PropertyTrees* property_trees;
104 }; 104 };
105 105
106 struct CC_EXPORT CalcDrawPropsImplInputsForTesting 106 struct CC_EXPORT CalcDrawPropsImplInputsForTesting
107 : public CalcDrawPropsImplInputs { 107 : public CalcDrawPropsImplInputs {
108 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 108 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
109 const gfx::Size& device_viewport_size, 109 const gfx::Size& device_viewport_size,
110 const gfx::Transform& device_transform, 110 const gfx::Transform& device_transform,
111 float device_scale_factor,
112 LayerImplList* render_surface_layer_list);
113 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
114 const gfx::Size& device_viewport_size,
115 const gfx::Transform& device_transform,
111 LayerImplList* render_surface_layer_list); 116 LayerImplList* render_surface_layer_list);
112 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 117 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
113 const gfx::Size& device_viewport_size, 118 const gfx::Size& device_viewport_size,
114 LayerImplList* render_surface_layer_list); 119 LayerImplList* render_surface_layer_list);
120 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
121 const gfx::Size& device_viewport_size,
122 float device_scale_factor,
123 LayerImplList* render_surface_layer_list);
115 }; 124 };
116 125
117 static int CalculateLayerJitter(LayerImpl* scrolling_layer); 126 static int CalculateLayerJitter(LayerImpl* scrolling_layer);
118 static void CalculateDrawPropertiesForTesting( 127 static void CalculateDrawPropertiesForTesting(
119 CalcDrawPropsMainInputsForTesting* inputs); 128 CalcDrawPropsMainInputsForTesting* inputs);
120 129
121 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs); 130 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs);
122 static void CalculateDrawPropertiesForTesting( 131 static void CalculateDrawPropertiesForTesting(
123 CalcDrawPropsImplInputsForTesting* inputs); 132 CalcDrawPropsImplInputsForTesting* inputs);
124 133
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 function(tree_impl->LayerById(id)); 204 function(tree_impl->LayerById(id));
196 } 205 }
197 } 206 }
198 207
199 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); 208 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer);
200 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); 209 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer);
201 210
202 } // namespace cc 211 } // namespace cc
203 212
204 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 213 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698