diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-30 17:04:16 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-30 17:04:16 +0000 |
commit | 4e5559af8947ae7dc3df531b6d7a73323db20c3f (patch) | |
tree | 484802043dabe202ed462b7b159beb3f1587b674 /include/gpu/GrUserConfig.h | |
parent | 35fe7372b1b897a77578a220c334e1fb36d144e9 (diff) |
Allow specifying the max texture count on the bots
https://codereview.chromium.org/50413011/
git-svn-id: http://skia.googlecode.com/svn/trunk@12020 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrUserConfig.h')
-rw-r--r-- | include/gpu/GrUserConfig.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/gpu/GrUserConfig.h b/include/gpu/GrUserConfig.h index 6bae564539..e0ef8605e4 100644 --- a/include/gpu/GrUserConfig.h +++ b/include/gpu/GrUserConfig.h @@ -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 |