[webkit-changes] [WebKit/WebKit] 5b10b7: [GTK4] Allow non-composited mode in the web process
Carlos Garcia Campos
noreply at github.com
Wed Sep 7 02:40:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5b10b791568f0659729002423138068a70767f1e
https://github.com/WebKit/WebKit/commit/5b10b791568f0659729002423138068a70767f1e
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
M Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
M Source/WebKit/UIProcess/gtk/HardwareAccelerationManager.cpp
Log Message:
-----------
[GTK4] Allow non-composited mode in the web process
https://bugs.webkit.org/show_bug.cgi?id=244835
Reviewed by Michael Catanzaro.
GTK4 requires GL in the UI process, but it's still useful to allow
disabling compositing mode in the web process to reduce memory usage and
debugging purposes.
* Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseSnapshot): Use gtk_snapshot_append_cairo() for non
accelerated content.
* Source/WebKit/UIProcess/gtk/HardwareAccelerationManager.cpp:
(WebKit::HardwareAccelerationManager::HardwareAccelerationManager):
Always compositing is now the default, so we don't need to force it here
for GTK4.
Canonical link: https://commits.webkit.org/254221@main
More information about the webkit-changes
mailing list