Re: exposing CANVAS or something like it to Web Workers

On Nov 16, 2012, at 1:50 PM, Ian Hickson <ian@hixie.ch> wrote:

> On Mon, 14 May 2012, Gregg Tavares (�~K�) wrote:
>> 
>> I'd like to work on exposing something like CANVAS to web workers.
>> 
>> Ideally how over it works I'd like to be able to
>> 
>> *) get a 2d context in a web worker
>> *) get a WebGL context in a web worker
>> *) download images in a web worker and the images with both 2d contexts and
>> WebGL contexts
> 
> I've now specced something like this; for details, see:
> 
>   http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Nov/0199.html

Seems like we might use requestAnimationFrame in the main thread to postMessage to the worker as an alternative to using setInterval in workers for repaints.

-Charles

Received on Friday, 16 November 2012 23:34:45 UTC