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

Unified Diff: cc/picture_layer_tiling.cc

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « cc/math_util.cc ('k') | cc/tile.h » ('j') | cc/tile.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_tiling.cc
diff --git a/cc/picture_layer_tiling.cc b/cc/picture_layer_tiling.cc
index d90eb42782f82c117f3c7898a6374c655f8c5aab..81b468e3e265ce6bf0b99175d0069fa0b4ff6569 100644
--- a/cc/picture_layer_tiling.cc
+++ b/cc/picture_layer_tiling.cc
@@ -435,6 +435,11 @@ void PictureLayerTiling::UpdateTilePriorities(
resolution_,
time_to_visible_in_seconds,
distance_to_visible_in_pixels);
+ bool clipped;
+ priority.set_current_screen_quad(
+ MathUtil::projectQuad(current_screen_transform,
shawnsingh 2013/02/01 19:39:22 First, are you sure we want project here? This is
+ gfx::QuadF(tile_bounds),
+ clipped));
tile->set_priority(tree, priority);
}
}
@@ -472,6 +477,11 @@ void PictureLayerTiling::UpdateTilePriorities(
resolution_,
time_to_visible_in_seconds,
distance_to_visible_in_pixels);
+ bool clipped;
+ priority.set_current_screen_quad(
+ MathUtil::projectQuad(current_screen_transform,
+ gfx::QuadF(tile_bounds),
+ clipped));
tile->set_priority(tree, priority);
}
}
« no previous file with comments | « cc/math_util.cc ('k') | cc/tile.h » ('j') | cc/tile.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698