W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] Offscreen canvas (or canvas for web workers).

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 24 Feb 2010 16:53:45 +0100
Message-ID: <op.u8m2fv1064w2qv@annevk-t60>
On Wed, 24 Feb 2010 16:45:44 +0100, Andrew Grieve <agrieve at google.com>  
wrote:
> How would you do #2 efficiently? If you used toDataUr*l*(), then you  
> have to
> encode a png on one side and then decode the png on the main thread. I  
> think
> we might want to add some sort of API for blitting directly from an
> offscreen canvas to an onscreen one. Perhaps via a canvas ID.

postMessage() supports ImageData so you could use that.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 24 February 2010 07:53:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC