Index: tools/render_pictures_main.cpp |
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp |
index 91b6481b67359f4b0fb70f0c33027178c4cf5bc3..11c640fdc2c6c6995a8a0ed1a16440fa488c5515 100644 |
--- a/tools/render_pictures_main.cpp |
+++ b/tools/render_pictures_main.cpp |
@@ -486,9 +486,7 @@ int tool_main(int argc, char** argv) { |
#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 |