Changeset 20069 in webkit
- Timestamp:
- Mar 8, 2007, 3:33:43 PM (18 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r20067 r20069 1 2007-03-08 David Hyatt <hyatt@apple.com> 2 3 Fix 2% performance regression on the PLT. Increase the large animated 4 image cutoff from 1MB to 5MB. 5 6 In addition when pruning we will aggressively discard image sources. 7 8 Reviewed by ggaren 9 10 * platform/graphics/BitmapImage.cpp: 11 (WebCore::BitmapImage::destroyDecodedData): 12 1 13 2007-03-08 Timothy Hatcher <timothy@apple.com> 2 14 -
trunk/WebCore/platform/graphics/BitmapImage.cpp
r20056 r20069 38 38 namespace WebCore { 39 39 40 // Animated images > 1MB are considered large enough that we'll only hang on to40 // Animated images >5MB are considered large enough that we'll only hang on to 41 41 // one frame at a time. 42 const unsigned cLargeAnimationCutoff = 1048576;42 const unsigned cLargeAnimationCutoff = 5242880; 43 43 44 44 BitmapImage::BitmapImage(ImageObserver* observer) … … 93 93 } 94 94 95 if (!incremental && frameCount() * frameSize > cLargeAnimationCutoff) {95 if (!incremental) { 96 96 // Reset the image source, since Image I/O has an underlying cache that it uses 97 97 // while animating that it seems to never clear.
Note:
See TracChangeset
for help on using the changeset viewer.