diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-04-24 21:03:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 19:03:14 +0000 |
commit | cbc363bedd5f48e08b4311b00421256d38bf488e (patch) | |
tree | 5c8ac6c1ac5193357b5f28da8c8fc6da1d1e62a8 /tests/wpt/meta/css/css-ui/appearance-revert-001.tentative.html.ini | |
parent | 3793936f05ca83f04687d769ba29d84f271c67f2 (diff) | |
download | servo-main.tar.gz servo-main.zip |
Previously, when processing animations, the compositor would sent a tick
message to each pipeline. This is an issue because now the
`ScriptThread` always processes rendering updates for all `Document`s in
order to ensure properly ordering. This change makes it so that tick
messages are sent for an entire WebView. This means that each
`ScriptThread` will always receive a single tick for every time that
animations are processed, no matter how many frames are animating. This
is the first step toward a refresh driver.
In addition, we discard the idea of ticking animation only for
animations and or only for request animation frame callbacks. The
`ScriptThread` can no longer make this distinction due to the
specification and the compositor shouldn't either.
This should not really change observable behavior, but should make Servo
more efficient when more than a single frame in a `ScriptThread` is
animting at once.
Testing: This is covered by existing WPT tests as it mainly just improve
animation efficiency in a particular case.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'tests/wpt/meta/css/css-ui/appearance-revert-001.tentative.html.ini')
0 files changed, 0 insertions, 0 deletions