Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 57275538bf3a6955f013756c34f58f43ff56d22c
https://github.com/WebKit/WebKit/commit/57275538bf3a6955f013756c34f58f43ff56d22c
Author: Christian Meissl <[email protected]>
Date: 2025-06-17 (Tue, 17 Jun 2025)
Changed paths:
M Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/FunctionsEGL.cpp
Log Message:
-----------
[ANGLE][WPE] Failed to get system egl display
https://bugs.webkit.org/show_bug.cgi?id=288600
Reviewed by Kimmo Kinnunen.
When initializing WPE using gbm, which is the default path for
the WPE Platform, the egl display is initialized using `eglGetPlatformDisplay`.
This also sets the angle platform for webgl to EGL_PLATFORM_GBM_KHR and the
native display to the same drm device.
0d1736acdd5b498cb5b6b10d603943a4a998f227 added support for initializing the
ANGLE egl display from the passed platform and native display allowing to use
the same display.
68fbc85934efb878a9f70d88db0ba500e8b66209 limited the accepted platform types
to the surfaceless platform. The fallback to `eglGetDisplay` might fail on
some platforms and not all devices support `EGL_EXT_device_base`.
In a multi GPU setup the fallback to `getNativeDisplay` using
`EGL_EXT_device_base`
might also result in a different egl display.
In addition to the surfaceless platform allow to initialize the egl display from
the matching gbm device as defined by the gbm platform display.
* Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/FunctionsEGL.cpp:
(rx::FunctionsEGL::getPlatformDisplay):
Canonical link: https://commits.webkit.org/296309@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes