WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
306394
Cull canvas text drawing outside of the clip
https://bugs.webkit.org/show_bug.cgi?id=306394
Summary
Cull canvas text drawing outside of the clip
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
Add attachment
proposed patch, testcase, etc.
Gerald Squelart
Comment 1
2026-01-27 20:37:30 PST
Pull request:
https://github.com/WebKit/WebKit/pull/57385
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.
Cameron McCormack (:heycam)
Comment 3
2026-03-11 13:16:58 PDT
This got reverted in
309081@main
.
Cameron McCormack (:heycam)
Comment 4
2026-03-11 13:17:25 PDT
Reopening to track relanding this.
Cameron McCormack (:heycam)
Comment 5
2026-03-11 13:21:11 PDT
rdar://172308695
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug