| Index: include/gpu/GrUserConfig.h
|
| diff --git a/include/gpu/GrUserConfig.h b/include/gpu/GrUserConfig.h
|
| index 4ff95f73b5c79c156747dd77b5e0b027c0ae40aa..092ff9d8bcc480fd96b99fb6ac4f49a1698dc34b 100644
|
| --- a/include/gpu/GrUserConfig.h
|
| +++ b/include/gpu/GrUserConfig.h
|
| @@ -19,4 +19,16 @@
|
| */
|
| //#define GR_GEOM_BUFFER_MAP_THRESHOLD (1<<15)
|
|
|
| +/**
|
| + * 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_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
|
|
|