[Webkit-unassigned] [Bug 26467] Cross-platform image system architecture cleanup metabug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 16 22:29:32 PDT 2009


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





------- Comment #4 from pkasting at google.com  2009-06-16 22:29 PDT -------
Thanks for the references.  I have tried to leave comments on both bugs.  The
idea of storing decoded GIF frames as <32bpp is interesting; I am not at all
sure how to make it work.  At some point, of course, we need to render to the
screen, and even more, we need to be able to eventually get some sort of a
platform-specific frame handle to pass around (NativeImagePtr); if the
individual platforms can transparently implement both 32bpp and paletted images
underneath this pointer, we could probably do this on a per-platform basis, but
if we wanted to use a common storage implementation we'd be left with the
question of how this paletted data gets converted to bits for display and who
owns those bits.

If I stuck with just the backend I know well (Skia) and tried to mock something
up I might have a better idea how to do this and what the payoff would be
(since we already discard memory aggressively for large images the benefit is
tough to estimate, though probably nonzero).  I suspect this is orthogonal
enough to the work on this bug to leave in a separate bug but it's definitely
worth a look at some point.


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



More information about the webkit-unassigned mailing list