Drive AnimationContainer from compositor instead of base::RepeatingTimer |
||
Issue descriptiongfx::AnimationContainer uses base::RepeatingTimer to drive animations instead of listening for compositor driven frame requests. Being driven by the compositor would enable UI animation frames to be based on scheduler logic that takes into account monitor refresh rates and heavy CPU loads. It would also make testing of UI animations much cleaner as you could jump forwards by arbitrary amounts of time without processing every single 60Hz frame inbetween.
,
Apr 5 2018
I get what the base::RepeatingTimer does. It triggers a callback every time interval as far as i understand. I wanted to give it a try. In this issue , AnimationContainer should implement CompositorAnimationObserver .. Just trying to understand the code. I apologies if my questions are silly.
,
Apr 5 2018
#2: Questions are good, communication is good.
,
Nov 21
|
||
►
Sign in to add a comment |
||
Comment 1 by sunn...@chromium.org
, Mar 23 2018Status: Available (was: Untriaged)