office-gobmx/external/skia/no-trace-resources-on-exit.patch.1
Luboš Luňák 1e609d1c5a update Skia to chrome/m82
Also don't build pdf and jpeg support, it's not needed.

Change-Id: I5f10b1279072dbaba7695aecba5e415853ae308b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90666
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-03-18 11:33:26 +01:00

26 lines
872 B
Groff

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