Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 288d895da13b0de1885f518d3be47acd726fdffc
      
https://github.com/WebKit/WebKit/commit/288d895da13b0de1885f518d3be47acd726fdffc
  Author: Carlos Garcia Campos <cgar...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to