Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index c7e343393879798172444314c04534b29394bed1..c480a1f718dac47a5704979c47f8efd4bae8d050 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -220,6 +220,10 @@ size_t GrContext::getGpuTextureCacheBytes() const { |
return fTextureCache->getCachedResourceBytes(); |
} |
+int GrContext::getGpuTextureCacheResourceCount() const { |
+ return fTextureCache->getCachedResourceCount(); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
GrTexture* GrContext::findAndRefTexture(const GrTextureDesc& desc, |