diff options
author | Cary Clark <cary@android.com> | 2011-03-11 11:34:35 -0500 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2011-03-11 11:49:26 -0500 |
commit | d17e8139637faa490628e75a3a5647a96786afce (patch) | |
tree | f29c6d989e49a9af8178f5fd71a9381cb352294b /WebCore/platform/graphics/android/ImageSourceAndroid.cpp | |
parent | a1c8c0030ee40ef422e2d7229fed1737d1b270ac (diff) | |
download | external_webkit-d17e8139637faa490628e75a3a5647a96786afce.zip external_webkit-d17e8139637faa490628e75a3a5647a96786afce.tar.gz external_webkit-d17e8139637faa490628e75a3a5647a96786afce.tar.bz2 |
increase the memory cap for bitmaps
Increasing this size from 8 megs to 32 megs
allows more RAM to be used before
the image is sampled down.
bug:3421165
Change-Id: I73047009522d6e80d1adc95cd12d763307ab1980
Diffstat (limited to 'WebCore/platform/graphics/android/ImageSourceAndroid.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/ImageSourceAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/ImageSourceAndroid.cpp b/WebCore/platform/graphics/android/ImageSourceAndroid.cpp index 728ea35..f7fc80c 100644 --- a/WebCore/platform/graphics/android/ImageSourceAndroid.cpp +++ b/WebCore/platform/graphics/android/ImageSourceAndroid.cpp @@ -59,7 +59,7 @@ SkPixelRef* SkCreateRLEPixelRef(const SkBitmap& src); #define MIN_RLE_ALLOC_SIZE (8*1024*1024) // see dox for computeMaxBitmapSizeForCache() - #define MAX_SIZE_BEFORE_SUBSAMPLE (8*1024*1024) + #define MAX_SIZE_BEFORE_SUBSAMPLE (32*1024*1024) // preserve quality for 24/32bit src static const SkBitmap::Config gPrefConfigTable[6] = { |