W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2013

Re: [RequestAnimationFrame] WindowAnimationTiming

From: Ben Vanik <benvanik@google.com>
Date: Wed, 13 Feb 2013 16:46:37 -0800
Message-ID: <CAOB_hFRuRzjfPioh9WQxiaeJ3gonwkU71KA_PRKHC2B4E7yxYg@mail.gmail.com>
To: Philippe Le Hegaret <plh@w3.org>
Cc: Ms2ger <ms2ger@gmail.com>, public-web-perf@w3.org
Hmm has anyone thought about the cases of rAF from a web worker? (such as
when WebGL/Canvas2D are available for use in a web worker). My hope was
that WindowAnimationTiming could be used just like the WindowTimers
interface is right now and shared by both Window and WorkerUtils.


On Wed, Feb 13, 2013 at 4:33 PM, Philippe Le Hegaret <plh@w3.org> wrote:

> > It seems unnecessary to have the WindowAnimationTiming interface; the
> > best practice for this pattern would be
> >
> > # partial interface Window {
> > #   long requestAnimationFrame(FrameRequestCallback callback);
> > #   void cancelAnimationFrame(long handle);
> > # };
>
> This one got fixed, see
>
>
> http://w3c-test.org/webperf/specs/RequestAnimationFrame/#Window-interface-extensions
>
> Philippe
>
>
>
>
>
>
Received on Thursday, 14 February 2013 08:28:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 February 2013 08:28:39 GMT