diff options
author | bsalomon <bsalomon@google.com> | 2014-11-14 12:10:14 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-14 12:10:15 -0800 |
commit | 71cb0c241e439b6ed746b90294d0b6916644a644 (patch) | |
tree | ef62e86321ed64c6976ead548e9208393c3bce86 /include/gpu/GrConfig.h | |
parent | ae760d579c6ad74989a998d30bb20a55d81e634e (diff) |
Replace GrResourceCache with GrResourceCache2.
BUG=skia:2889
Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6
Committed: https://skia.googlesource.com/skia/+/407aa584d183c1bf314f5defd1cf0202e8a96c89
Review URL: https://codereview.chromium.org/716143004
Diffstat (limited to 'include/gpu/GrConfig.h')
-rw-r--r-- | include/gpu/GrConfig.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h index e70c978fc0..d48ccd5dc6 100644 --- a/include/gpu/GrConfig.h +++ b/include/gpu/GrConfig.h @@ -213,24 +213,6 @@ typedef unsigned __int64 uint64_t; #endif /** - * GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT 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. - */ -#if !defined(GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT) - #define GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT 96 -#endif - -/** - * GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT 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. - */ -#if !defined(GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT) - #define GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT 2048 -#endif - -/** * GR_STROKE_PATH_RENDERING controls whether or not the GrStrokePathRenderer can be selected * as a path renderer. GrStrokePathRenderer is currently an experimental path renderer. */ |