aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h
index f399ab538e..76e856b387 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