W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css3-transitions] Frame Rate

From: Rik Cabanier <cabanier@gmail.com>
Date: Sat, 29 Sep 2012 10:47:49 -0700
Message-ID: <CAGN7qDBPUu3azbYebqzXxC+4pKcR1VPvTeePT8DoYgMck1qrgQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT