Index: tools/bench_pictures_main.cpp |
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp |
index e8c4063d78cf981ebceaafec63a0dc48cea80127..f919812d13acd193cfdfb8b0cb4fcbcc6da98f9d 100644 |
--- a/tools/bench_pictures_main.cpp |
+++ b/tools/bench_pictures_main.cpp |
@@ -473,9 +473,7 @@ int tool_main(int argc, char** argv) { |
#if GR_GPU_STATS && SK_SUPPORT_GPU |
if (FLAGS_gpuStats && benchmark.renderer()->isUsingGpuDevice()) { |
- GrContext* ctx = benchmark.renderer()->getGrContext(); |
- SkDebugf("RenderTarget Binds: %d\n", ctx->gpuStats()->renderTargetBinds()); |
- SkDebugf("Shader Compilations: %d\n", ctx->gpuStats()->shaderCompilations()); |
+ benchmark.renderer()->getGrContext()->printGpuStats(); |
} |
#endif |