[webkit-changes] [WebKit/WebKit] 32eb06: [GTK][WPE] Remove PlatformDisplay::gbmDevice

Carlos Garcia Campos noreply at github.com
Wed Aug 14 01:54:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 32eb0649ba22466de0d37cb4ebe2bc83e2cab6bb
      https://github.com/WebKit/WebKit/commit/32eb0649ba22466de0d37cb4ebe2bc83e2cab6bb
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/gbm/PlatformDisplayGBM.h
    M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
    M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
    M Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp

  Log Message:
  -----------
  [GTK][WPE] Remove PlatformDisplay::gbmDevice
https://bugs.webkit.org/show_bug.cgi?id=278018

Reviewed by Michael Catanzaro.

It's only used in the UI process where we could use DRMDeviceManager directly.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::gbmDevice): Deleted.
* Source/WebCore/platform/graphics/PlatformDisplay.h:
* Source/WebCore/platform/graphics/gbm/PlatformDisplayGBM.h:
* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU):
* Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::platformInitializeWebProcess):
* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::BufferGBM::create):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list