Bug 306394
| Summary: | Cull canvas text drawing outside of the clip | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gerald Squelart <g_squelart> |
| Component: | Layout and Rendering | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/57385
EWS
Committed 306465@main (a0ea903bb9af): <https://commits.webkit.org/306465@main>
Reviewed commits have been landed. Closing PR #57385 and removing active labels.