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(); |
} |