Bug 306394

Summary: Cull canvas text drawing outside of the clip
Product: WebKit Reporter: Gerald Squelart <g_squelart>
Component: Layout and RenderingAssignee: Gerald Squelart <g_squelart>
Status: RESOLVED FIXED    
Severity: Enhancement CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 306588    

Gerald Squelart
Reported 2026-01-27 19:32:15 PST
Text drawing in canvas can be expensive. If the bounds of the draw are trivially computable to be outside of the canvas bounds, we can reject them early and avoid significant processing cost. rdar://168526176
Attachments
Gerald Squelart
Comment 1 2026-01-27 20:37:30 PST
EWS
Comment 2 2026-01-29 19:07:41 PST
Committed 306465@main (a0ea903bb9af): <https://commits.webkit.org/306465@main> Reviewed commits have been landed. Closing PR #57385 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.