[wpt-sync] Sync PR 27172 - [Not for formal review] Update cull rect before paint (behind runtime flag)
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27172 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27172
Details from upstream follow.
b'Xianzhu Wang <wangxianzhu@chromium.org>' wrote:
[Not for formal review] Update cull rect before paint (behind runtime flag)
This is mainly for CompositeAfterPaint to fix the issue of always
repainting on scroll. By updating cull rect before paint, we know which
layer will change cull rect and needs repaint.This will also simplify interest rect and cull rect calculation and
repaint on their change in pre-CompositeAfterPaint. It will unify
composited layer interest rect calculation and LayoutObject cull rect
calculation, and avoid whole subtree repaint on clip change.Bug: 1046544
Change-Id: I7f830016293af6ce93f0bcd14ac309efeb9f7068Reviewed-on: https://chromium-review.googlesource.com/2615578
WPT-Export-Revision: 54762edd77ef53499864cdace9b0256260fe07e9
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•2 years ago
|
Description
•