patch from issue 886233004 at patchset 40001 (http://crrev.com/886233004#ps40001)
... with changes proposed in the review.
BUG=skia:
Review URL: https://codereview.chromium.org/894013002
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp
index 91b6481..11c640f 100644
--- a/tools/render_pictures_main.cpp
+++ b/tools/render_pictures_main.cpp
@@ -486,9 +486,7 @@
#if GR_GPU_STATS && SK_SUPPORT_GPU
if (FLAGS_gpuStats && renderer->isUsingGpuDevice()) {
- GrContext* ctx = renderer->getGrContext();
- SkDebugf("RenderTarget Binds: %d\n", ctx->gpuStats()->renderTargetBinds());
- SkDebugf("Shader Compilations: %d\n", ctx->gpuStats()->shaderCompilations());
+ renderer->getGrContext()->printGpuStats();
}
#endif