diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-18 17:25:33 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-18 17:25:33 +0000 |
commit | 94d8f1ed6116780346ffa39ed683f1977786434a (patch) | |
tree | 5f7659d24be080dba118030b0d1c72d93ee26b20 /include | |
parent | d20f9b7358a82b43bf04b049a8cd031331563baf (diff) |
Update bench pictures to time image decode & upload costs
https://codereview.chromium.org/117583002/
git-svn-id: http://skia.googlecode.com/svn/trunk@12742 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 7 |
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. */ |