Index: src/gpu/GrResourceCache.h |
diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h |
index 67aa4e941a88e81539bb78c0a66be1467e19f6ec..2171420a43f696fcde1c7dce1c9a7a6be157fbd8 100644 |
--- a/src/gpu/GrResourceCache.h |
+++ b/src/gpu/GrResourceCache.h |
@@ -57,8 +57,9 @@ |
static const size_t kDefaultMaxSize = 96 * (1 << 20); |
// Default number of flushes a budgeted resources can go unused in the cache before it is |
// purged. Large values disable the feature (as the ring buffer of flush timestamps would be |
- // large). |
- static const int kDefaultMaxUnusedFlushes = 64; |
+ // large). This is currently the default until we decide to enable this feature |
+ // of the cache by default. |
+ static const int kDefaultMaxUnusedFlushes = 1024; |
/** Used to access functionality needed by GrGpuResource for lifetime management. */ |
class ResourceAccess; |