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

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

Issue 15959012: cc: Make all layer recursion use CallFunctionForSubtree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DidBeginTracing changes Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_common.h ('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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 LayerImpl* root_draw_layer, 412 LayerImpl* root_draw_layer,
413 const LayerImplList& render_surface_layer_list); 413 const LayerImplList& render_surface_layer_list);
414 414
415 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); 415 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
416 416
417 // Returns false if the frame should not be displayed. This function should 417 // Returns false if the frame should not be displayed. This function should
418 // only be called from PrepareToDraw, as DidDrawAllLayers must be called 418 // only be called from PrepareToDraw, as DidDrawAllLayers must be called
419 // if this helper function is called. 419 // if this helper function is called.
420 bool CalculateRenderPasses(FrameData* frame); 420 bool CalculateRenderPasses(FrameData* frame);
421 421
422 void SendDidLoseOutputSurfaceRecursive(LayerImpl* current);
423 void ClearRenderSurfaces(); 422 void ClearRenderSurfaces();
424 bool EnsureRenderSurfaceLayerList(); 423 bool EnsureRenderSurfaceLayerList();
425 void ClearCurrentlyScrollingLayer(); 424 void ClearCurrentlyScrollingLayer();
426 425
427 void AnimateScrollbarsRecursive(LayerImpl* layer, 426 void AnimateScrollbarsRecursive(LayerImpl* layer,
428 base::TimeTicks time); 427 base::TimeTicks time);
429 428
430 void DumpRenderSurfaces(std::string* str, 429 void DumpRenderSurfaces(std::string* str,
431 int indent, 430 int indent,
432 const LayerImpl* layer) const; 431 const LayerImpl* layer) const;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 scoped_ptr<AnimationRegistrar> animation_registrar_; 505 scoped_ptr<AnimationRegistrar> animation_registrar_;
507 506
508 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 507 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
509 508
510 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 509 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
511 }; 510 };
512 511
513 } // namespace cc 512 } // namespace cc
514 513
515 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 514 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698