Bug 292808
| Summary: | Cache gradients with the destination colorspace | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| 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 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=305066 | ||
Simon Fraser (smfr)
Drawing gradients can involve expensive conversions between sRGB and the destination colorspace (usually the display colorspace). Since gradients are long-lived, and usually painted many times, it's more efficient to have them cache colors in the destination colorspace.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/151043882>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/45198
EWS
Committed 294844@main (47195378027d): <https://commits.webkit.org/294844@main>
Reviewed commits have been landed. Closing PR #45198 and removing active labels.