blob: 5b8607d5568319a009c187c6dc4f2b98c5652552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
+#ifdef SK_TRACE_MANAGED_RESOURCES
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
--- a/src/gpu/GrManagedResource.h
+++ b/src/gpu/GrManagedResource.h
@@ -17,7 +17,7 @@ class GrVkGpu;
// uncomment to enable tracing of resource refs
#ifdef SK_DEBUG
-#define SK_TRACE_MANAGED_RESOURCES
+//#define SK_TRACE_MANAGED_RESOURCES
#endif
/** \class GrManagedResource
|