Added grid data to logging output
authorkelvinly <kelvinly@google.com>
Tue, 3 Jun 2014 22:43:34 +0000 (15:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Jun 2014 22:43:34 +0000 (15:43 -0700)
BUG=skia:
R=bensong@google.com, jcgregorio@google.com

Author: kelvinly@google.com

Review URL: https://codereview.chromium.org/318433003

tools/PictureRenderer.h

index 109073b..57d73cf 100644 (file)
@@ -260,6 +260,10 @@ public:
             config.append("_quadtree");
         } else if (kTileGrid_BBoxHierarchyType == fBBoxHierarchyType) {
             config.append("_grid");
+            config.append("_");
+            config.appendS32(fGridInfo.fTileInterval.width());
+            config.append("x");
+            config.appendS32(fGridInfo.fTileInterval.height());
         }
 #if SK_SUPPORT_GPU
         switch (fDeviceType) {