summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-17 16:04:21 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-17 16:04:21 -0400
commitf43f1e23647992137e7e86f26494b83e2e19b664 (patch)
tree6935cea4ae263f5f4cd8c639065e188fb0c9135b /WebCore/platform/graphics/android
parent8b6fb26a615e54190d2d9d653ee4a57750f06d5e (diff)
parent7c0925e3959b7d54b49e8b63cd11105de572ea4b (diff)
downloadexternal_webkit-f43f1e23647992137e7e86f26494b83e2e19b664.zip
external_webkit-f43f1e23647992137e7e86f26494b83e2e19b664.tar.gz
external_webkit-f43f1e23647992137e7e86f26494b83e2e19b664.tar.bz2
Merge change 25547 into eclair
* changes: bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
Diffstat (limited to 'WebCore/platform/graphics/android')
-rw-r--r--WebCore/platform/graphics/android/ImageSourceAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/ImageSourceAndroid.cpp b/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
index d33f94f..5c75a15 100644
--- a/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
+++ b/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
@@ -52,7 +52,7 @@ SkPixelRef* SkCreateRLEPixelRef(const SkBitmap& src);
// don't use RLE for images smaller than this, since they incur a drawing cost
// (and don't work as patterns yet) we only want to use RLE when we must
-#define MIN_RLE_ALLOC_SIZE (512*1024)
+#define MIN_RLE_ALLOC_SIZE (2*1024*1024)
/* Images larger than this should be subsampled. Using ashmem, the decoded
pixels will be purged as needed, so this value can be pretty large. Making