[webkit-changes] [WebKit/WebKit] 7e5444: [GTK] Remove on-demand hardware acceleration setting
Michael Catanzaro
noreply at github.com
Wed Feb 1 08:36:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7e5444b964e5e8685a2e6809f9600c2b29855654
https://github.com/WebKit/WebKit/commit/7e5444b964e5e8685a2e6809f9600c2b29855654
Author: Michael Catanzaro <mcatanzaro at redhat.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
M Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
M Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in
M Source/WebKit/gtk/migrating-to-webkitgtk-6.0.md
M Tools/MiniBrowser/gtk/BrowserSettingsDialog.c
M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
Log Message:
-----------
[GTK] Remove on-demand hardware acceleration setting
https://bugs.webkit.org/show_bug.cgi?id=232516
Reviewed by Carlos Garcia Campos.
There are now only two options for hardware acceleration: ALWAYS or
NEVER. The ON_DEMAND option does not work anymore and should be removed
from the API.
This also fixes the precondition check in webkit_settings_get_hardware_acceleration_policy
to correctly return the new default value ALWAYS rather than ON_DEMAND,
which was the original default value.
* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::hardwareAccelerationPolicy):
* Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:
(webkit_settings_class_init):
(webkit_settings_get_hardware_acceleration_policy):
(webkit_settings_set_hardware_acceleration_policy):
* Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in:
* Source/WebKit/gtk/migrating-to-webkitgtk-6.0.md:
* Tools/MiniBrowser/gtk/BrowserSettingsDialog.c:
(hardwareAccelerationPolicyToString):
(stringToHardwareAccelerationPolicy):
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings):
Canonical link: https://commits.webkit.org/259686@main
More information about the webkit-changes
mailing list