Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: a6106792d52a53b68c8c2206e112f2edf6f659ac https://github.com/WebKit/WebKit/commit/a6106792d52a53b68c8c2206e112f2edf6f659ac Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths: M Source/WebCore/platform/graphics/PlatformDisplay.cpp Log Message: ----------- [GTK] Fallback to first render node returned by DRM when failing to get using EGLDevice https://bugs.webkit.org/show_bug.cgi?id=259647 Reviewed by Alejandro G. Castro. There might be drivers that don't implement EGL_EXT_device_query or EGL_EXT_device_drm. In those cases just fallback to get the first render node returned by libdrm. * Source/WebCore/platform/graphics/PlatformDisplay.cpp: (WebCore::drmForeachDevice): (WebCore::drmFirstRenderNode): (WebCore::drmRenderNodeFromPrimaryDeviceFile): (WebCore::PlatformDisplay::drmRenderNodeFile): Canonical link: https://commits.webkit.org/266997@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes