W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: exposing CANVAS or something like it to Web Workers

From: Charles Pritchard <chuck@jumis.com>
Date: Fri, 16 Nov 2012 15:34:15 -0800
Message-Id: <4A22FDA5-BD02-4C81-BCAA-63ED8C490641@jumis.com>
Cc: Web Applications Working Group WG <public-webapps@w3.org>
To: Ian Hickson <ian@hixie.ch>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:56 GMT