Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dc1afde2e8b9fa65d96067c2ecf285d279c16c2c
https://github.com/WebKit/WebKit/commit/dc1afde2e8b9fa65d96067c2ecf285d279c16c2c
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-04-20 (Mon, 20 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/WebKitWebViewBackend.cpp
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.h
Log Message:
-----------
REGRESSION(306842@main): [WPE] Build with ENABLE_WPE_PLATFORM=OFF fails
https://bugs.webkit.org/show_bug.cgi?id=312769
Reviewed by Carlos Garcia Campos.
Avoid using the HardwareAccelerationEnabled preference when WPEPlatform
is disabled, and make the AcceleratedSurface::usesGL() helper return a
fixed value when ENABLE(WPE_PLATFORM) is disabled, because in that case
accelerated compositing is always used.
* Source/WebKit/UIProcess/API/wpe/WebKitWebViewBackend.cpp: Change order
of includes to ensure that the USE() macro is defined before using it.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp:
(WebKit::AcceleratedSurface::AcceleratedSurface):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.h:
Canonical link: https://commits.webkit.org/311656@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications