[Webkit-unassigned] [Bug 27561] ImageDecoder enhancements for WINCE port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 22 15:26:39 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27561





--- Comment #11 from Peter Kasting <pkasting at google.com>  2009-07-22 15:26:39 PDT ---
(In reply to comment #10)
> If ImageFrameSink and "segmented" SharedBuffer are accepted for all platforms,
> then the code can be easier to simplify. I hate those #if ..., too.
> 
> Without "segmented" SharedBuffer, a 4MB image file must be stored in a 4MB flat
> memory block as encoded image data. Also, the buffer will be resized many times
> when ResourceHandle keeps adding new data.

While those two items probably don't affect desktop users too much (I would be
surprised if the actual overhead for the buffer resizes is noticeable on the
desktop, since we should do few of them), it would definitely be nice for both
mobile and desktop use to find a way of trimming the image decoder memory
footprint.

See for example bug 27308, where I propose re-encoding "large" decoded formats
as smaller ones internally, in hopes of reducing memory cost.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list