Bug 299732
| Summary: | [WPE][WebDriver] Support taking the screenshots from the UIProcess | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WPE WebKit | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lauro Moura
Currently, WPE relies on a `RenderLayer->paint()` call on the WebProcess to generate the screenshot, but this approach might not be 100% precise, possibly missing some details that would be handled by the compositing process, especially when acceleration is involved.
Ideally, we'd get the screenshot from the already composited buffer that the UIProcess receives, so it matches what would be sent to the system/compositor.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/51535
EWS
Committed 301948@main (50c1d97fdef7): <https://commits.webkit.org/301948@main>
Reviewed commits have been landed. Closing PR #51535 and removing active labels.
Diego Pino
Re-opening for pull request https://github.com/WebKit/WebKit/pull/52859
EWS
Committed 302007@main (6489bbdd1d5e): <https://commits.webkit.org/302007@main>
Reviewed commits have been landed. Closing PR #52859 and removing active labels.