[webkit-changes] [WebKit/WebKit] 50f415: [GTK] PlatformDisplayWayland is no longer used for...

Carlos Garcia Campos noreply at github.com
Fri Apr 21 05:40:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 50f4156bfc49b5dd29108de5d69bfc79a5a585aa
      https://github.com/WebKit/WebKit/commit/50f4156bfc49b5dd29108de5d69bfc79a5a585aa
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M Source/WebCore/SourcesGTK.txt
    M Source/WebCore/platform/graphics/egl/GLContext.cpp
    R Source/WebCore/platform/graphics/egl/GLContextWayland.cpp
    M Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp
    M Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h

  Log Message:
  -----------
  [GTK] PlatformDisplayWayland is no longer used for compositing
https://bugs.webkit.org/show_bug.cgi?id=255726

Reviewed by Adrian Perez de Castro.

We use either WPE renderer or DMABuf (GBM or Surfaceless) so we can
remove all the code used for compositing with PlatformDisplayWayland.

* Source/WebCore/SourcesGTK.txt:
* Source/WebCore/platform/graphics/egl/GLContext.cpp:
(WebCore::GLContext::createWindowContext):
(WebCore::GLContext::create):
(WebCore::GLContext::createOffscreen):
(WebCore::GLContext::createSharing):
(WebCore::GLContext::~GLContext):
* Source/WebCore/platform/graphics/egl/GLContextWayland.cpp: Removed.
* Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp:
(WebCore::PlatformDisplayWayland::create):
(WebCore::PlatformDisplayWayland::~PlatformDisplayWayland):
(WebCore::PlatformDisplayWayland::initializeEGLDisplay):
(WebCore::PlatformDisplayWayland::initialize): Deleted.
(WebCore::PlatformDisplayWayland::registryGlobal): Deleted.
(WebCore::PlatformDisplayWayland::createSurface const): Deleted.
* Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h:

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




More information about the webkit-changes mailing list