Index: dm/DMGpuGMTask.cpp |
diff --git a/dm/DMGpuGMTask.cpp b/dm/DMGpuGMTask.cpp |
index 65d65d9598ffdee02022f1fc3b5ec23d978abf9e..fb170a26b9796ac2404e7d7a8a9d1d2a0fdc1aae 100644 |
--- a/dm/DMGpuGMTask.cpp |
+++ b/dm/DMGpuGMTask.cpp |
@@ -1,7 +1,7 @@ |
#include "DMGpuGMTask.h" |
#include "DMUtil.h" |
#include "DMWriteTask.h" |
-#include "SkCommandLineFlags.h" |
+#include "SkCommonFlags.h" |
#include "SkSurface.h" |
#include "SkTLS.h" |
@@ -39,6 +39,11 @@ void GpuGMTask::draw(GrContextFactory* grFactory) { |
canvas->concat(fGM->getInitialTransform()); |
fGM->draw(canvas); |
canvas->flush(); |
+#if GR_CACHE_STATS && SK_SUPPORT_GPU |
+ if (FLAGS_veryVerbose) { |
+ grFactory->get(fContextType)->printCacheStats(); |
+ } |
+#endif |
SkBitmap bitmap; |
bitmap.setInfo(info); |