OLD | NEW |
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_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 void TriggerPrepaint(); | 264 void TriggerPrepaint(); |
265 | 265 |
266 void PrioritizeTextures(const LayerList& render_surface_layer_list, | 266 void PrioritizeTextures(const LayerList& render_surface_layer_list, |
267 OverdrawMetrics* metrics); | 267 OverdrawMetrics* metrics); |
268 void SetPrioritiesForSurfaces(size_t surface_memory_bytes); | 268 void SetPrioritiesForSurfaces(size_t surface_memory_bytes); |
269 void SetPrioritiesForLayers(const LayerList& update_list); | 269 void SetPrioritiesForLayers(const LayerList& update_list); |
270 size_t CalculateMemoryForRenderSurfaces(const LayerList& update_list); | 270 size_t CalculateMemoryForRenderSurfaces(const LayerList& update_list); |
271 | 271 |
272 void AnimateLayers(base::TimeTicks monotonic_time); | 272 void AnimateLayers(base::TimeTicks monotonic_time); |
273 bool AnimateLayersRecursive(Layer* current, base::TimeTicks time); | 273 bool AnimateLayersRecursive(Layer* current, base::TimeTicks time); |
274 void SetAnimationEventsRecursive(const AnimationEventsVector& events, | |
275 Layer* layer, | |
276 base::Time wall_clock_time); | |
277 | 274 |
278 bool animating_; | 275 bool animating_; |
279 bool needs_full_tree_sync_; | 276 bool needs_full_tree_sync_; |
280 bool needs_filter_context_; | 277 bool needs_filter_context_; |
281 | 278 |
282 base::CancelableClosure prepaint_callback_; | 279 base::CancelableClosure prepaint_callback_; |
283 | 280 |
284 LayerTreeHostClient* client_; | 281 LayerTreeHostClient* client_; |
285 scoped_ptr<Proxy> proxy_; | 282 scoped_ptr<Proxy> proxy_; |
286 | 283 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 base::TimeDelta duration; | 332 base::TimeDelta duration; |
336 }; | 333 }; |
337 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 334 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
338 | 335 |
339 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 336 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
340 }; | 337 }; |
341 | 338 |
342 } // namespace cc | 339 } // namespace cc |
343 | 340 |
344 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 341 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |