RESOLVED FIXED277070
[WPE] Do not connect to the default EGL display in the UI process
https://bugs.webkit.org/show_bug.cgi?id=277070
Summary [WPE] Do not connect to the default EGL display in the UI process
Carlos Garcia Campos
Reported 2024-07-25 03:17:15 PDT
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
Carlos Garcia Campos
Comment 1 2024-07-25 03:22:02 PDT
EWS
Comment 2 2024-07-26 00:11:41 PDT
Committed 281389@main (33127761563f): <https://commits.webkit.org/281389@main> Reviewed commits have been landed. Closing PR #31215 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.