diff options
Diffstat (limited to 'src/core/SkImageFilter.cpp')
-rw-r--r-- | src/core/SkImageFilter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp index d51d9c8cd9..d4eaf65c5f 100644 --- a/src/core/SkImageFilter.cpp +++ b/src/core/SkImageFilter.cpp @@ -24,7 +24,11 @@ #include "SkGr.h" #endif -enum { kDefaultCacheSize = 128 * 1024 * 1024 }; +#ifdef SK_BUILD_FOR_IOS + enum { kDefaultCacheSize = 2 * 1024 * 1024 }; +#else + enum { kDefaultCacheSize = 128 * 1024 * 1024 }; +#endif static int32_t next_image_filter_unique_id() { static int32_t gImageFilterUniqueID; |