Chromium Code Reviews
DescriptionWeb Animations: Extract an API for servicing animations
This is mostly a code shuffle making animation servicing less intrusive on
the rest of the system.
Also:
* If necessary, waits for a compositing update before starting animations
on the compositor (otherwise the appropriate composited layers might not
have been created).
* Forces a layout (and compositing update) after servicing frame callbacks
when running against the test proxy.
* Addresses concerns raised in r161892 about adding too much logic to Document.
* Avoids checking whether there is an animation that could benefit from
compositing in the CSSAnimationUpdate as we know that the update will have
been applied by the time the compositor update takes place.
Note: These changes are guarded by the WebAnimationsCSS runtime flag.
BUG=298211, 321460
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162401
Patch Set 1 : #Patch Set 2 : Avoid timing out in layout tests waiting for compositing update. #Patch Set 3 : --no-find-copies #Patch Set 4 : Switch to references for non-null params. #
Total comments: 12
Patch Set 5 : Address comments. Move after-composite callback to PageWidgetDelegate. #Patch Set 6 : Remove unnecessary frame request. #
Total comments: 6
Patch Set 7 : Address comments and update expectations. #Patch Set 8 : Fix nit. #Patch Set 9 : Fix build. #Patch Set 10 : Rebase and avoid killing inspector/layer-compositing-reasons. #Patch Set 11 : Rebase. #Messages
Total messages: 13 (0 generated)
|