Index: include/core/SkImageGenerator.h |
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h |
index f399ab538e9ea05d125ab1b21ec387640d69ffc3..76e856b387c95109eb8e0cb70d72ca5758df6f82 100644 |
--- a/include/core/SkImageGenerator.h |
+++ b/include/core/SkImageGenerator.h |
@@ -34,6 +34,12 @@ class SkImageGenerator; |
*/ |
SK_API bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination); |
+/** |
+ * Purges all unlocked discardable memory in Skia's global |
+ * discardable memory pool. |
+ */ |
+SK_API void SkPurgeGlobalDiscardableMemoryPool(); |
+ |
/** |
* An interface that allows a purgeable PixelRef (such as a |