- From: Rik Cabanier <cabanier@gmail.com>
- Date: Sat, 29 Sep 2012 10:47:49 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: www-style@w3.org
Received on Saturday, 29 September 2012 17:48:17 UTC
On Sat, Sep 29, 2012 at 10:31 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 9/29/12 1:09 PM, Rik Cabanier wrote: > >> Yes, and that's a problem.If 2 animations run in a page with >> requestanimationframe, they will each run a 30fps. >> > > Why, exactly? That's certainly not the case in Gecko, as long as the sum > of the times for those two callbacks is less than 16ms. ah, so gecko actually measures the time? I wonder how it could do that though since it can't predict how long a callback is going to take. I was told that webkit does a render pass after every event to keep the page responsive. > > > In Flash, if you have a callback that is for each frame and the movie >> starts falling behind and skip frames, the callback will still be called >> as if the frame rate is uninterrupted. >> > > I'm not sure I follow your distinction between "the movie" and "the > callback" here. Can you please explain? > > Render passes are being skipped but not actionscript code.
Received on Saturday, 29 September 2012 17:48:17 UTC