Bug 271340

Summary: Backdrop-filter forces compositing on the root element and uses extra memory
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matt Woodrow
Reported 2024-03-20 14:53:53 PDT
<rdar://123831236> Backdrop-filter makes the nearest suitable ancestor a backdrop-root, which forces compositing. Most commonly, this is the document element, and we add an extra full-screen compositing layer. This is done to ensure that the compositing layer that the backdrop is read from doesn't contain the background colour the view behind the document. If the document element has an opaque background, then it will occlude the view's background color, and we can skip creating a compositing layer.
Attachments
Matt Woodrow
Comment 1 2024-03-20 14:55:39 PDT
EWS
Comment 2 2024-03-27 13:35:28 PDT
Committed 276749@main (7ffc7f9fd02a): <https://commits.webkit.org/276749@main> Reviewed commits have been landed. Closing PR #26211 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.