aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 1770fa6ee4..ad3789b1a8 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -210,6 +210,13 @@ public:
void purgeCache();
/**
+ * Purge all the unlocked resources from the cache.
+ * This entry point is mainly meant for timing texture uploads
+ * and is not defined in normal builds of Skia.
+ */
+ void purgeAllUnlockedResources();
+
+ /**
* Creates a texture that is outside the cache. Does not count against
* cache's budget.
*/