[webkit-changes] [WebKit/WebKit] b8ffa1: [GTK][WPE] Add USE_LIBDRM in addition to USE_GBM

Carlos Garcia Campos noreply at github.com
Fri Aug 18 07:33:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8ffa14eaad872df3a0de481297ee5c760539217
      https://github.com/WebKit/WebKit/commit/b8ffa14eaad872df3a0de481297ee5c760539217
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake

  Log Message:
  -----------
  [GTK][WPE] Add USE_LIBDRM in addition to USE_GBM
https://bugs.webkit.org/show_bug.cgi?id=260384

Reviewed by Michael Catanzaro.

Right now we have USE_GBM to enable both GBM and DRM, because we only
need to use DRM for GBM in most of the cases. It would be possible to
get the device and render node files without GBM and we plan to add more
code that requires DRM but not GBM.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
* Source/WebCore/platform/graphics/PlatformDisplay.h:
* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU):
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

Canonical link: https://commits.webkit.org/267039@main




More information about the webkit-changes mailing list