aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-18 17:25:33 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-18 17:25:33 +0000
commit94d8f1ed6116780346ffa39ed683f1977786434a (patch)
tree5f7659d24be080dba118030b0d1c72d93ee26b20 /include
parentd20f9b7358a82b43bf04b049a8cd031331563baf (diff)
Update bench pictures to time image decode & upload costs
Diffstat (limited to 'include')
-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.
*/