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

Re: [whatwg] Canvas in workers

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 16 Oct 2013 11:12:22 +1300
Message-ID: <CAOp6jLZBBNX6sDxUkhUCyv2znvbUDBMHLKcKvCXM764Dmrf0OA@mail.gmail.com>
To: Justin Novosad <junov@google.com>
Cc: WHATWG <whatwg@whatwg.org>, Kyle Huey <me@kylehuey.com>, David Bruant <bruant.d@gmail.com>
On Wed, Oct 16, 2013 at 10:19 AM, Justin Novosad <junov@google.com> wrote:

> rAF doesn't work in a worker, but that is easy to work around. You can
> have a rAF handler on the main thread that propagates the signal to your
> workers by posting a "rAF" message to them.

That isn't a good solution since it forces the app to drop frames if the
main thread is blocked.

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, 15 October 2013 22:12:48 UTC

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