[webkit-changes] [WebKit/WebKit] 288d89: [GTK] Split hardware acceleration information in w...

Carlos Garcia Campos noreply at github.com
Thu May 4 01:00:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 288d895da13b0de1885f518d3be47acd726fdffc
      https://github.com/WebKit/WebKit/commit/288d895da13b0de1885f518d3be47acd726fdffc
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

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

  Log Message:
  -----------
  [GTK] Split hardware acceleration information in webkit://gpu
https://bugs.webkit.org/show_bug.cgi?id=256035

Reviewed by Žan Doberšek.

When using DMA-BUF for rendering we use a different EGL platform in the
UI and Web processes, which might have different extensions and
properties, but we are always using only the one used in the UI process.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::~PlatformDisplay): Handle the case of
destructor being called before the exit handlers.
* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::uiProcessContextIsEGL):
(WebKit::WebKitProtocolHandler::handleGPU):

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




More information about the webkit-changes mailing list