[webkit-changes] [WebKit/WebKit] d4b48c: [GStreamer] Do not activate and fill the gst GL co...

Carlos Garcia Campos noreply at github.com
Fri Jun 2 01:50:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4b48c26573684c9cb7b5612f92b7c4f4b9fc784
      https://github.com/WebKit/WebKit/commit/d4b48c26573684c9cb7b5612f92b7c4f4b9fc784
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp

  Log Message:
  -----------
  [GStreamer] Do not activate and fill the gst GL context
https://bugs.webkit.org/show_bug.cgi?id=257599

Reviewed by Miguel Gomez.

It's only used as a sharing context, so it doesn't need to be activated
and filled. This way we avoid making the sharing context the current
one in the main thread forever.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::clearSharingGLContext):
(WebCore::PlatformDisplay::terminateEGLDisplay):
* Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:
(WebCore::PlatformDisplay::gstGLDisplay const):
(WebCore::PlatformDisplay::gstGLContext const):
(createGstGLDisplay): Deleted.
(PlatformDisplay::tryEnsureGstGLContext const): Deleted.
(PlatformDisplay::gstGLDisplay const): Deleted.
(PlatformDisplay::gstGLContext const): Deleted.

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




More information about the webkit-changes mailing list