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

Unified Diff: cc/resources/picture_layer_tiling_perftest.cc

Issue 38553002: cc: Add tile pool to tile manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/base/ref_counted_managed.h ('k') | cc/resources/tile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_perftest.cc
diff --git a/cc/resources/picture_layer_tiling_perftest.cc b/cc/resources/picture_layer_tiling_perftest.cc
index 7a9b8dff4b44c67990089cf13cd36d226e6d7138..51dbd132e2803e2b5ec21a04d21fcb5c8f538141 100644
--- a/cc/resources/picture_layer_tiling_perftest.cc
+++ b/cc/resources/picture_layer_tiling_perftest.cc
@@ -146,6 +146,12 @@ TEST_F(PictureLayerTilingPerfTest, Invalidate) {
Region one_tile(gfx::Rect(256, 256));
RunInvalidateTest("1x1", one_tile);
+ Region screen_region(gfx::Rect(5 * 256, 5 * 256));
+ RunInvalidateTest("5x5", screen_region);
+
+ Region large_screen_region(gfx::Rect(15 * 256, 15 * 256));
+ RunInvalidateTest("15x15", large_screen_region);
+
Region half_region(gfx::Rect(25 * 256, 50 * 256));
RunInvalidateTest("25x50", half_region);
« no previous file with comments | « cc/base/ref_counted_managed.h ('k') | cc/resources/tile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698