[webkit-changes] [WebKit/WebKit] 331277: [WPE] Do not connect ot the default EGL display in...
Carlos Garcia Campos
noreply at github.com
Fri Jul 26 00:11:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 33127761563faf88ac93847845cafa35f49c9008
https://github.com/WebKit/WebKit/commit/33127761563faf88ac93847845cafa35f49c9008
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M Source/WebCore/platform/graphics/libwpe/PlatformDisplayLibWPE.cpp
M Source/WebCore/platform/graphics/libwpe/PlatformDisplayLibWPE.h
Log Message:
-----------
[WPE] Do not connect ot the default EGL display in the UI process
https://bugs.webkit.org/show_bug.cgi?id=277070
Reviewed by Michael Catanzaro.
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.
* Source/WebCore/platform/graphics/libwpe/PlatformDisplayLibWPE.cpp:
(WebCore::PlatformDisplayLibWPE::initializeEGLDisplay):
(WebCore::PlatformDisplayLibWPE::PlatformDisplayLibWPE): Deleted.
* Source/WebCore/platform/graphics/libwpe/PlatformDisplayLibWPE.h:
Canonical link: https://commits.webkit.org/281389@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list