Bug 314064
| Summary: | [GTK][WPE] Skia Compositor: use the surface rectangle as destination when painting intermediate surfaces | ||
|---|---|---|---|
| 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
The surface rectangle is the intersection of the contents rectangle and current clip, if it's smaller than the contents rect when using the contents rect as destination of drawImageRect in the parent canvas the contents are scaled. We should use the surface rect as the destination rectangle to make sure the size matches the image size and it's never scaled.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/64253
EWS
Committed 312607@main (5cf17abd2c46): <https://commits.webkit.org/312607@main>
Reviewed commits have been landed. Closing PR #64253 and removing active labels.