New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compositing: Send entire scene's scroll offsets when sending WebRender display lists #31892
Conversation
🔨 Triggering try run (#8450928277) for Linux WPT, MacOS, Windows, Android |
Test results for linux-wpt-layout-2020 from try job (#8450928277): Flaky unexpected result (29)
Stable unexpected results that are known to be intermittent (17)
|
Test results for linux-wpt-layout-2013 from try job (#8450928277): Flaky unexpected result (27)
Stable unexpected results that are known to be intermittent (11)
|
✨ Try run (#8450928277) succeeded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The impl looks good, but can we have an automated test for this?
…r display lists WebRender does not preserve spatial tree offsets when updating the spatial tree. Updating the spatial tree of a pipeline can also update the spatial tree of child pipelines. This change ensures that WebRender always gets the scroll offsets of the entire scene when modifying display lists in a way that may rebuild the spatial tree. Fixes servo#31807.
cd7d32f
to
dba60f1
Compare
At first I didn't think so, but after a bit of pondering it turns out that there is a way to test this. I've added that test to the latest version of the branch. |
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#45425) with upstreamable changes. |
WebRender does not preserve spatial tree offsets when updating the
spatial tree. Updating the spatial tree of a pipeline can also
update the spatial tree of child pipelines. This change ensures that
WebRender always gets the scroll offsets of the entire scene when
modifying display lists in a way that may rebuild the spatial tree.
Fixes #31807.
./mach build -d
does not report any errors./mach test-tidy
does not report any errors