Index: dm/DMGpuTask.cpp |
diff --git a/dm/DMGpuTask.cpp b/dm/DMGpuTask.cpp |
index 2aceb02b8ae01980f862b859acbfa525017a36fb..4d99356237b3188b472058b018911afc1df0873a 100644 |
--- a/dm/DMGpuTask.cpp |
+++ b/dm/DMGpuTask.cpp |
@@ -56,6 +56,10 @@ void GpuTask::draw() { |
bitmap.setConfig(fConfig, SkScalarCeilToInt(fGM->width()), SkScalarCeilToInt(fGM->height())); |
canvas.readPixels(&bitmap, 0, 0); |
+#if GR_CACHE_STATS |
+ gr->printCacheStats(); |
+#endif |
+ |
// We offload checksum comparison to the main CPU threadpool. |
// This cuts run time by about 30%. |
this->spawnChild(SkNEW_ARGS(ComparisonTask, (*this, fExpectations, bitmap))); |