Re: Image decoding off the main thread

Looks like WebKit, and I assume Blink, already put image decoding of
background images off the main thread. [1]

As a developer I would love to see this as an attribute on <img>, would
this include <picture> as well?

[1] https://bugs.webkit.org/show_bug.cgi?id=99790

On Wed, Feb 11, 2015 at 8:09 PM, Dean Jackson <dino@apple.com> wrote:

> Three days late, but I finally thought of something I wish I'd proposed at
> the meeting: image decoding on a background thread.
>
> For this I guess we'd need some attribute on IMG/Image/HTMLImageElement
> that would indicate that the main thread doesn't have to decode this image.
> I'm not sure if we need a new "ready" event, or just assume that "load"
> means loaded and decoded.
>
> Dean
>
>
>

Received on Wednesday, 11 February 2015 09:43:21 UTC