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

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

Issue 1840883002: cc : Calculate jitter without using layer hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 const gfx::Size& device_viewport_size, 111 const gfx::Size& device_viewport_size,
112 const gfx::Transform& device_transform, 112 const gfx::Transform& device_transform,
113 LayerImplList* render_surface_layer_list, 113 LayerImplList* render_surface_layer_list,
114 int current_render_surface_layer_list_id); 114 int current_render_surface_layer_list_id);
115 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 115 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
116 const gfx::Size& device_viewport_size, 116 const gfx::Size& device_viewport_size,
117 LayerImplList* render_surface_layer_list, 117 LayerImplList* render_surface_layer_list,
118 int current_render_surface_layer_list_id); 118 int current_render_surface_layer_list_id);
119 }; 119 };
120 120
121 static int CalculateFrameJitter(LayerImpl* scrolling_layer); 121 static int CalculateLayerJitter(LayerImpl* scrolling_layer);
122 static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs); 122 static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs);
123 static void PreCalculateMetaInformation(Layer* root_layer); 123 static void PreCalculateMetaInformation(Layer* root_layer);
124 static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer); 124 static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer);
125 static void PreCalculateMetaInformationForTesting(Layer* root_layer); 125 static void PreCalculateMetaInformationForTesting(Layer* root_layer);
126 126
127 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs); 127 static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs);
128 static void CalculateDrawProperties( 128 static void CalculateDrawProperties(
129 CalcDrawPropsImplInputsForTesting* inputs); 129 CalcDrawPropsImplInputsForTesting* inputs);
130 130
131 template <typename LayerType> 131 template <typename LayerType>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 function); 211 function);
212 } 212 }
213 } 213 }
214 214
215 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); 215 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer);
216 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); 216 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer);
217 217
218 } // namespace cc 218 } // namespace cc
219 219
220 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 220 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698