2019-11-15 10:22:38 -06:00
|
|
|
diff --git a/src/gpu/vk/GrVkCommandPool.h b/src/gpu/vk/GrVkCommandPool.h
|
|
|
|
index fd44d62e94..f9e90f185f 100644
|
|
|
|
--- a/src/gpu/vk/GrVkCommandPool.h
|
|
|
|
+++ b/src/gpu/vk/GrVkCommandPool.h
|
|
|
|
@@ -41,7 +41,7 @@ public:
|
|
|
|
// returns true if close() has not been called
|
|
|
|
bool isOpen() const { return fOpen; }
|
|
|
|
|
|
|
|
-#ifdef SK_DEBUG
|
2020-03-17 14:45:04 -05:00
|
|
|
+#ifdef SK_TRACE_MANAGED_RESOURCES
|
2019-11-15 10:22:38 -06:00
|
|
|
void dumpInfo() const override {
|
|
|
|
SkDebugf("GrVkCommandPool: %p (%d refs)\n", fCommandPool, this->getRefCnt());
|
|
|
|
}
|
|
|
|
diff --git a/src/gpu/vk/GrVkResource.h b/src/gpu/vk/GrVkResource.h
|
|
|
|
index 7b9949ba1b..4e8fb48c7c 100644
|
2020-03-17 14:45:04 -05:00
|
|
|
--- a/src/gpu/GrManagedResource.h
|
|
|
|
+++ b/src/gpu/GrManagedResource.h
|
2019-11-15 10:22:38 -06:00
|
|
|
@@ -17,7 +17,7 @@ class GrVkGpu;
|
|
|
|
|
|
|
|
// uncomment to enable tracing of resource refs
|
|
|
|
#ifdef SK_DEBUG
|
2020-03-17 14:45:04 -05:00
|
|
|
-#define SK_TRACE_MANAGED_RESOURCES
|
|
|
|
+//#define SK_TRACE_MANAGED_RESOURCES
|
2019-11-15 10:22:38 -06:00
|
|
|
#endif
|
|
|
|
|
2020-03-17 14:45:04 -05:00
|
|
|
/** \class GrManagedResource
|