Bug 258947

Summary: Use composited masking for clip-path which uses an SVG path reference
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CompositingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW ---    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2023-07-06 14:34:48 PDT
For clip-path which references SVG (e.g. `clip-path: url(#foo);`) we currently paint the mask into a masking compositing layer, which is inefficient when we repaint that mask on every frame, as we do on stackoverflow.com.
Comment 1 Radar WebKit Bug Importer 2023-07-06 14:35:06 PDT
<rdar://problem/111870932>
Comment 2 Simon Fraser (smfr) 2023-07-06 14:44:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15612