Index: src/gpu/vk/GrVkImage.h |
diff --git a/src/gpu/vk/GrVkImage.h b/src/gpu/vk/GrVkImage.h |
index fe180698e8b4d833d1770afd0e7407b7d413c6e0..2bfc08d150ffa41fb179aa8111b415cac8d2a1c9 100644 |
--- a/src/gpu/vk/GrVkImage.h |
+++ b/src/gpu/vk/GrVkImage.h |
@@ -107,6 +107,11 @@ private: |
~Resource() override {} |
+#ifdef SK_TRACE_VK_RESOURCES |
+ void dumpInfo() const override { |
+ SkDebugf("GrVkImage: %d (%d refs)\n", fImage, this->getRefCnt()); |
+ } |
+#endif |
private: |
void freeGPUData(const GrVkGpu* gpu) const override; |