[webkit-changes] [WebKit/WebKit] 32015b: REGRESSION(282416 at main): [GTK][WPE] GPU process cr...

Carlos Garcia Campos noreply at github.com
Wed Aug 21 01:55:56 PDT 2024


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

  Changed paths:
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.h

  Log Message:
  -----------
  REGRESSION(282416 at main): [GTK][WPE] GPU process crashes in PlatformDisplay::shared()
https://bugs.webkit.org/show_bug.cgi?id=278451

Reviewed by Miguel Gomez.

Since 282416 at main the PlatformDisplay needs to be explicitly
initialized and the GPU process isn't supposed to use PlatformDisplay
(yet) so it doesn't initialize it (yet). But GraphicsContextGLGBM
creates a fence in prepareForDisplay() and GLFence uses PlatformDisplay.
For now we can remove the fence when GPU process is enabled since it's unused.

* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp:
(WebCore::GraphicsContextGLGBM::prepareForDisplay):
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.h:

Canonical link: https://commits.webkit.org/282552@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