Give position: sticky items their own picture cache slice
Categories
(Core :: Graphics: WebRender, task)
Tracking
()
People
(Reporter: jnicol, Assigned: jnicol)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When a position: sticky
element is "stuck" and its sibling content is scrolling underneath it, this causes unnecessary amounts of invalidation leading to slow render times. We should give the sticky items their own picture cache slice.
https://blog.mozilla.org/en/category/products/firefox/ is a good example. The header bar is position: sticky
and if you enable gfx.webrender.debug.picture-caching
you can see the top row of tiles are constantly invalidating whilst scrolling.
Assignee | ||
Comment 1•3 months ago
|
||
position: sticky items scroll independently of their containing
content, resulting in large amounts of picture cache invalidation when
scrolling, causing poor performance. This patch attempts to give them
their own picture cache slice in order to avoid that invalidation.
Updated•3 months ago
|
Updated•3 months ago
|
Pushed by jnicol@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5a2008c802b Give position: sticky items their own picture cache slice r=gfx-reviewers,gw
Assignee | ||
Comment 4•3 months ago
|
||
Whoops, need to fuzz a few tests on android
Pushed by jnicol@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/50f38f0452e3 Give position: sticky items their own picture cache slice r=gfx-reviewers,gw
Comment 6•3 months ago
|
||
bugherder |
Comment 7•2 months ago
|
||
Backed out of release for causing Bug 1895585
Backout Link: https://hg.mozilla.org/releases/mozilla-release/rev/9628359c3a69dea9f91219ad58a95a0ffb8e7359
Description
•