Enable compositor animation when using scroll-timeline
Categories
(Core :: CSS Transitions and Animations, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
References
(Blocks 3 open bugs)
Details
Attachments
(4 files, 2 obsolete files)
Bug 1676791 disables compositor animations when we use scroll-timeline. We should enable it and let compositor animations use scroll information.
Assignee | ||
Comment 1•3 years ago
|
||
Copied from Matrix (from Hiro):
Since bug 1571758, scroll-linked animations on the compositor will be complicated because now on the sampler thread APZ hasn't yet determined scroll positions, it defers to the web render rendering thread. So suppose scroll linked animations need to be calculated there.
Assignee | ||
Comment 2•3 years ago
|
||
Debug version.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
We use the struct, ScrollTimelineOptions, and two fields to represent the
information which will be sent to the compositor thread.
Assignee | ||
Comment 4•3 years ago
|
||
And extract this information on the compositor thread. We will use it
in the following patches.
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
And update the related tests as well.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
We don't have to lock APZCTreeManager::mMapLock if there is no scroll animation.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 9•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e114245b4cec
https://hg.mozilla.org/mozilla-central/rev/3f30c9187a6d
https://hg.mozilla.org/mozilla-central/rev/93cb779a267c
https://hg.mozilla.org/mozilla-central/rev/424f9d2ca137
Description
•