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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 271533011: cc: Move tiling management out of draw properties calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« cc/layers/picture_layer_impl.cc ('K') | « cc/layers/picture_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 97e9c1754c9a18eb8f9740101b72ad3849675808..006efd66832448c68255e645c0c8647b34d8529b 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -510,6 +510,10 @@ void LayerTreeImpl::UpdateDrawProperties() {
it != end;
++it) {
LayerImpl* layer = *it;
+
sohanjg 2014/05/13 15:56:59 will this be the best place to managetiling ?
enne (OOO) 2014/05/13 18:04:09 No. I think UpdateTilePriorities should call Mana
+ // Untie ManageTilings from CalculateDrawProperties
+ layer->ManageTilings(layer->TransformIsAnimating(), 1.f);
+
if (it.represents_itself())
layer->UpdateTilePriorities();
« cc/layers/picture_layer_impl.cc ('K') | « cc/layers/picture_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698