[chromium-dev] Re: Jank: performance and animation frame rates

2009-10-02 Thread Peter Kasting
On Fri, Oct 2, 2009 at 11:57 AM, Evan Stade est...@chromium.org wrote: It would be nice to have some mechanism for telling the animation we are done with the last update, ready for another. AFAIK this is already what effectively happens. We try to fire the timer rapidly, but if we get bogged

[chromium-dev] Re: Jank: performance and animation frame rates

2009-10-02 Thread Evan Stade
We try to fire the timer rapidly, but if we get bogged down, it just won't fire until later; when it actually does fire, we update our state based on how much time has really passed instead of how many times the timer has triggered. In this case, something is not working as expected (at

[chromium-dev] Re: Jank: performance and animation frame rates

2009-10-02 Thread Peter Kasting
On Fri, Oct 2, 2009 at 12:54 PM, Evan Stade est...@chromium.org wrote: In this case, something is not working as expected (at least on Linux), because when I test on the download shelf slide animation, the number of AnimationProgressed calls is exactly what one would calculate based on the

[chromium-dev] Re: Jank: performance and animation frame rates

2009-10-02 Thread John Abd-El-Malek
On Fri, Oct 2, 2009 at 12:54 PM, Evan Stade est...@chromium.org wrote: We try to fire the timer rapidly, but if we get bogged down, it just won't fire until later; when it actually does fire, we update our state based on how much time has really passed instead of how many times the timer

[chromium-dev] Re: Jank: performance and animation frame rates

2009-10-02 Thread Antoine Labour
On Fri, Oct 2, 2009 at 2:02 PM, John Abd-El-Malek j...@chromium.org wrote: On Fri, Oct 2, 2009 at 12:54 PM, Evan Stade est...@chromium.org wrote: We try to fire the timer rapidly, but if we get bogged down, it just won't fire until later; when it actually does fire, we update our state

[chromium-dev] Re: Jank: performance and animation frame rates

2009-10-02 Thread Evan Stade
On Fri, Oct 2, 2009 at 2:07 PM, Antoine Labour pi...@google.com wrote: On Fri, Oct 2, 2009 at 2:02 PM, John Abd-El-Malek j...@chromium.org wrote: On Fri, Oct 2, 2009 at 12:54 PM, Evan Stade est...@chromium.org wrote: We try to fire the timer rapidly, but if we get bogged down, it just