-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK][WPE][Skia] Add a setting to enable or disable 2D canvas acceler…
…ation https://bugs.webkit.org/show_bug.cgi?id=274306 Reviewed by Alejandro G. Castro. Add a new setting enable-2d-canvas-acceleration because reusing the existing deprecated one would confuse introspection and documentation generation. * Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp: (WebKit::canvasAccelerationEnabled): (WebKit::WebKitProtocolHandler::handleGPU): * Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp: (webKitSettingsSetProperty): (webKitSettingsGetProperty): (webkit_settings_class_init): (webkit_settings_get_enable_2d_canvas_acceleration): (webkit_settings_set_enable_2d_canvas_acceleration): * Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in: * Source/WebKit/UIProcess/gtk/WebPreferencesGtk.cpp: (WebKit::WebPreferences::platformInitializeStore): * Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp: (testWebKitSettings): Canonical link: https://commits.webkit.org/278989@main
- Loading branch information
1 parent
7c2b66c
commit 3cfaf38
Showing
5 changed files
with
100 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters