Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88a917ccf55e82e50b4873ff23c62df9a1ee465d
https://github.com/WebKit/WebKit/commit/88a917ccf55e82e50b4873ff23c62df9a1ee465d
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-06-18 (Thu, 18 Jun 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.cpp
M Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.h
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
Log Message:
-----------
[GTK][WPE] Skia compositor: move the decision to enable DDL to
SkiaPaintingEngine
https://bugs.webkit.org/show_bug.cgi?id=317407
Reviewed by Nikolas Zimmermann.
We are deciding in ThreadedCompositor so that we only get a thread safe
gr context if DDL is enabled, but the thread safe gr context could be
used to create promised image independently of DDL. So, move the
decision to SkiaPaintingEngine which is where DDL is actually used and
create the thread safe gr context always when skia compositor is
enabled.
* Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.cpp:
(WebCore::SkiaPaintingEngine::SkiaPaintingEngine):
(WebCore::SkiaPaintingEngine::createBuffer const):
(WebCore::SkiaPaintingEngine::createAtlas):
(WebCore::SkiaPaintingEngine::record):
(WebCore::SkiaPaintingEngine::replay):
(WebCore::SkiaPaintingEngine::isDDLEnabled):
(WebCore::SkiaPaintingEngine::canUseDDL const):
* Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp:
(WebKit::m_renderTimer):
Canonical link: https://commits.webkit.org/315519@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications