Index: include/gpu/GrUserConfig.h |
=================================================================== |
--- include/gpu/GrUserConfig.h (revision 12015) |
+++ include/gpu/GrUserConfig.h (working copy) |
@@ -23,6 +23,12 @@ |
* This gives a threshold in megabytes for the maximum size of the texture cache |
* in vram. The value is only a default and can be overridden at runtime. |
*/ |
-//#define GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT 96 |
+//#define GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT 96 |
+/** |
+ * This specifies the maximum number of textures the texture cache can hold |
+ * in vram. The value is only a default and can be overridden at runtime. |
+ */ |
+//#define GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT 2048 |
+ |
#endif |