[whatwg] Canvas in workers

Robert O'Callahan robert at ocallahan.org
Tue Oct 15 15:12:22 PDT 2013


On Wed, Oct 16, 2013 at 10:19 AM, Justin Novosad <junov at 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.

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  *
*



More information about the whatwg mailing list