Title: [260627] releases/WebKitGTK/webkit-2.28/Source/WebKit
- Revision
- 260627
- Author
- [email protected]
- Date
- 2020-04-24 02:20:31 -0700 (Fri, 24 Apr 2020)
Log Message
Merge r260244 - [GTK] UI process crash when entering compositing mode when WPE_RENDERER is enabled
https://bugs.webkit.org/show_bug.cgi?id=209118
Reviewed by Michael Catanzaro.
Check if EGL_WL_bind_wayland_display extension is available when using WPE_RENDERER, since we don't suport the
SHM interface.
* UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
(WebKit::AcceleratedBackingStoreWayland::checkRequirements): Return false if EGL_WL_bind_wayland_display is not present.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog (260626 => 260627)
--- releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog 2020-04-24 09:20:27 UTC (rev 260626)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog 2020-04-24 09:20:31 UTC (rev 260627)
@@ -1,3 +1,16 @@
+2020-04-17 Carlos Garcia Campos <[email protected]>
+
+ [GTK] UI process crash when entering compositing mode when WPE_RENDERER is enabled
+ https://bugs.webkit.org/show_bug.cgi?id=209118
+
+ Reviewed by Michael Catanzaro.
+
+ Check if EGL_WL_bind_wayland_display extension is available when using WPE_RENDERER, since we don't suport the
+ SHM interface.
+
+ * UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
+ (WebKit::AcceleratedBackingStoreWayland::checkRequirements): Return false if EGL_WL_bind_wayland_display is not present.
+
2020-04-13 Adrian Perez de Castro <[email protected]>
Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.28.1 release
Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp (260626 => 260627)
--- releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 2020-04-24 09:20:27 UTC (rev 260626)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 2020-04-24 09:20:31 UTC (rev 260627)
@@ -92,9 +92,14 @@
{
#if USE(WPE_RENDERER)
if (!glImageTargetTexture2D) {
- if (!wpe_fdo_initialize_for_egl_display(PlatformDisplay::sharedDisplay().eglDisplay()))
+ auto* eglDisplay = PlatformDisplay::sharedDisplay().eglDisplay();
+ const char* extensions = eglQueryString(eglDisplay, EGL_EXTENSIONS);
+ if (!GLContext::isExtensionSupported(extensions, "EGL_WL_bind_wayland_display"))
return false;
+ if (!wpe_fdo_initialize_for_egl_display(eglDisplay))
+ return false;
+
std::unique_ptr<WebCore::GLContext> eglContext = GLContext::createOffscreenContext();
if (!eglContext)
return false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes