Bug 277070
| Summary: | [WPE] Do not connect to the default EGL display in the UI process | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WPE WebKit | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 277079 | ||
Carlos Garcia Campos
When using the old API, a PlatformDisplayLibWPE is created in the UI process to query the drm render node to pass to the web process. The display is not initialized with a backend, so the default PlatformDisplay::initializeEGL is called and the default native display is used to create the EGL display. The default display doesn't need to be the right one, so we should try to use the current EGL display and only connect to the default if there's no current display.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/31215
EWS
Committed 281389@main (33127761563f): <https://commits.webkit.org/281389@main>
Reviewed commits have been landed. Closing PR #31215 and removing active labels.