diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-23 19:13:54 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-23 19:13:54 +0000 |
commit | 602a1d70257eb3fcb746d758577f042d8c94f6d9 (patch) | |
tree | 268b7f22d8e8255e125c3b55dba6fe29fb18cc0d /include/config/SkUserConfig.h | |
parent | 7699eeb84762b8fea78333a00826c1e9b0da9541 (diff) |
add scaledimagecache
BUG=
Review URL: https://codereview.chromium.org/20005003
git-svn-id: http://skia.googlecode.com/svn/trunk@10286 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/config/SkUserConfig.h')
-rw-r--r-- | include/config/SkUserConfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h index 63fc90db72..64263e2d83 100644 --- a/include/config/SkUserConfig.h +++ b/include/config/SkUserConfig.h @@ -122,6 +122,13 @@ */ //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024) +/* + * To specify the default size of the image cache, undefine this and set it to + * the desired value (in bytes). SkGraphics.h as a runtime API to set this + * value as well. If this is undefined, a built-in value will be used. + */ +//#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024) + /* If defined, use CoreText instead of ATSUI on OS X. */ //#define SK_USE_MAC_CORE_TEXT |