Index: src/gpu/vk/GrVkRenderPass.h |
diff --git a/src/gpu/vk/GrVkRenderPass.h b/src/gpu/vk/GrVkRenderPass.h |
index 997989d07318738d662f2403b3e94671a11f1614..5438a10dfc8b568ef82b43390290c41cb82e7a23 100644 |
--- a/src/gpu/vk/GrVkRenderPass.h |
+++ b/src/gpu/vk/GrVkRenderPass.h |
@@ -120,6 +120,12 @@ public: |
void genKey(GrProcessorKeyBuilder* b) const; |
+#ifdef SK_TRACE_VK_RESOURCES |
+ void dumpInfo() const override { |
+ SkDebugf("GrVkRenderPass: %d (%d refs)\n", fRenderPass, this->getRefCnt()); |
+ } |
+#endif |
+ |
private: |
GrVkRenderPass(const GrVkRenderPass&); |