[webkit-changes] [WebKit/WebKit] a61067: [GTK] Fallback to first render node returned by DR...

Carlos Garcia Campos noreply at github.com
Thu Aug 17 07:20:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a6106792d52a53b68c8c2206e112f2edf6f659ac
      https://github.com/WebKit/WebKit/commit/a6106792d52a53b68c8c2206e112f2edf6f659ac
  Author: Carlos Garcia Campos <cgarcia at 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




More information about the webkit-changes mailing list