Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: src/gpu/GrContext.cpp

Issue 117583002: Update bench pictures to time image decode & upload costs (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: More clean up Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrContext.cpp
===================================================================
--- src/gpu/GrContext.cpp (revision 12709)
+++ src/gpu/GrContext.cpp (working copy)
@@ -216,6 +216,11 @@
SkSafeSetNull(fSoftwarePathRenderer);
}
+void GrContext::purgeAllUnlocked() {
bsalomon 2013/12/18 14:51:36 How about purgeAllUnlockedResources ? Should we
robertphillips 2013/12/18 15:59:13 Done.
+ fTextureCache->purgeAllUnlocked();
+}
+
+
size_t GrContext::getGpuTextureCacheBytes() const {
return fTextureCache->getCachedResourceBytes();
}

Powered by Google App Engine
This is Rietveld 408576698