mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
3cc3ae622c
We currently have a series of methods that clobber various bits of animation state to force animations on layers to be updated. This aligns closely with the restyle code introduced in this patch series. By re-using RequestRestyle when updating animations on layers, not only should we be able to simplify the code somewhat but, in future, we should also be able to have Animation objects use the same mechanism to update layers during a regular tick. For example, currently we have a bug where when an animation starts after a delay with the same value as the backwards fill then we don't send the animation to the compositor right away (see https://dxr.mozilla.org/mozilla-central/rev/d6ea652c579992daa9041cc9718bb7c6abefbc91/layout/style/test/test_animations_omta.html#287). By adding this Restyle::Layer value we should be able to fix that in future. |
||
---|---|---|
.. | ||
test | ||
Animation.cpp | ||
Animation.h | ||
AnimationComparator.h | ||
AnimationEffectReadOnly.cpp | ||
AnimationEffectReadOnly.h | ||
AnimationTimeline.cpp | ||
AnimationTimeline.h | ||
AnimationUtils.h | ||
DocumentTimeline.cpp | ||
DocumentTimeline.h | ||
KeyframeEffect.cpp | ||
KeyframeEffect.h | ||
moz.build | ||
PendingAnimationTracker.cpp | ||
PendingAnimationTracker.h |