Bug 312557
| Summary: | [GTK][WPE] Skia Compositor: use SkCanvas::clipShader for image masks instead of intermediate surface | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
Not only we avoid the intermediate surface creation, we can paint the mask image only once with no transforms, and then create a SkShader from the cached image for the current transform.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/62963
EWS
Committed 311674@main (e45d2509032d): <https://commits.webkit.org/311674@main>
Reviewed commits have been landed. Closing PR #62963 and removing active labels.