Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index 1834586578281fc6fcea3a02e7f4909bfb0f69c5..52a25b452796b87740eedcb094e1517189af5bad 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -111,6 +111,11 @@ public: |
*/ |
size_t getGpuTextureCacheBytes() const; |
+ /** |
+ * Returns the number of resources hosted by the texture cache. |
+ */ |
+ int getGpuTextureCacheResourceCount() const; |
+ |
/////////////////////////////////////////////////////////////////////////// |
// Textures |