Re: [whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

On Tue, Oct 22, 2013 at 4:37 PM, Glenn Maynard <glenn@zewt.org> wrote:

> On Tue, Oct 22, 2013 at 2:48 AM, Robert O'Callahan <robert@ocallahan.org
> >wrote:
>
> > This code actually does something potentially useful which can't easily
> be
> > done with attachToCanvas: generating a series of images as fast as
> possible
> > which will be processed on another thread in some way other than just
> > rendering them on the screen. (E.g., be encoded into an animated image or
> > video file.)
> >
>
> (This is a proposal for attachToCanvas--now setContext--not against
> transferToImageBitmap, if there are use cases that transferToImageBitmap
> solves best in its own right.  It seems like toBlob already handles this,
> though.)
>

It doesn't, because toBlob encodes to an image format.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Tuesday, 22 October 2013 16:56:04 UTC