W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 22 Oct 2013 18:55:38 +0200
Message-ID: <CAOp6jLaTDe1k+uM8s10_VZxSWhSjFRPsV8iQBifpaQDte3JWyQ@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.org>
Cc: whatwg <whatwg@whatwg.org>, Kenneth Russell <kbr@google.com>
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.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:12 UTC