[webkit-changes] [WebKit/WebKit] 53dd1f: [GTK] Try to reuse the GTK EGL display instead of ...
Carlos Garcia Campos
noreply at github.com
Mon Apr 24 03:38:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53dd1f1cd48dffd5b1f67470714e7c389a1795bb
https://github.com/WebKit/WebKit/commit/53dd1f1cd48dffd5b1f67470714e7c389a1795bb
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M Source/WebCore/platform/graphics/PlatformDisplay.cpp
M Source/WebCore/platform/graphics/PlatformDisplay.h
M Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp
M Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h
M Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
M Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h
M Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp
Log Message:
-----------
[GTK] Try to reuse the GTK EGL display instead of always creating a new one
https://bugs.webkit.org/show_bug.cgi?id=255721
Reviewed by Adrian Perez de Castro.
* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::terminateEGLDisplay):
* Source/WebCore/platform/graphics/PlatformDisplay.h:
(WebCore::PlatformDisplay::gtkEGLDisplay):
* Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp:
(WebCore::PlatformDisplayWayland::initialize):
(WebCore::PlatformDisplayWayland::gtkEGLDisplay):
(WebCore::PlatformDisplayWayland::initializeEGLDisplay):
* Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h:
* Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:
(WebCore::PlatformDisplayX11::gtkEGLDisplay):
(WebCore::PlatformDisplayX11::initializeEGLDisplay):
* Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h:
* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::createSource):
(WebKit::AcceleratedBackingStoreDMABuf::makeContextCurrent):
(WebKit::gtkGLContextIsEGL): Deleted.
Canonical link: https://commits.webkit.org/263306@main
More information about the webkit-changes
mailing list