W3C home > Mailing lists > Public > public-houdini@w3.org > February 2015

Re: Image decoding off the main thread

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 11 Feb 2015 10:46:35 -0500
Message-ID: <54DB795B.6020303@mit.edu>
To: public-houdini@w3.org
On 2/11/15 4:09 AM, Dean Jackson wrote:
> Three days late, but I finally thought of something I wish I'd proposed at the meeting: image decoding on a background thread.

What is the proposal exactly?  Gecko does this already, for example....

> 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.

Why would the main thread "have" to decode the image, exactly?

> I'm not sure if we need a new "ready" event, or just assume that "load" means loaded and decoded.

In Gecko "load" means loaded and decoded, iirc.  Except possibly for 
cases where we decide to do the decoding lazily to start with...

-Boris
Received on Wednesday, 11 February 2015 15:47:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 15:47:05 UTC