Make SKP bench JSON ouput better
BUG=skia:
NOTREECHECKS=true
R=bensong@google.com, jcgregorio@google.com, bsalomon@google.com, robertphillips@google.com, rmistry@google.com
Author: kelvinly@google.com
Review URL: https://codereview.chromium.org/329993008
diff --git a/tools/PictureBenchmark.cpp b/tools/PictureBenchmark.cpp
index 85a49f4..70ce180 100644
--- a/tools/PictureBenchmark.cpp
+++ b/tools/PictureBenchmark.cpp
@@ -173,7 +173,7 @@
SkAssertResult(longRunningTimerData.appendTimes(longRunningTimer.get()));
}
- fWriter->tileConfig(tiledRenderer->getConfigName());
+ fWriter->logRenderer(tiledRenderer);
fWriter->tileMeta(x, y, xTiles, yTiles);
// TODO(borenet): Turn off per-iteration tile time reporting for now.
@@ -236,7 +236,7 @@
SkAssertResult(longRunningTimerData.appendTimes(longRunningTimer.get()));
}
- fWriter->tileConfig(fRenderer->getConfigName());
+ fWriter->logRenderer(fRenderer);
if (fPurgeDecodedTex) {
fWriter->addTileFlag(PictureResultsWriter::kPurging);
}