Title: [209391] trunk/Source/WebKit2
- Revision
- 209391
- Author
- [email protected]
- Date
- 2016-12-06 04:16:06 -0800 (Tue, 06 Dec 2016)
Log Message
[GTK] Process accelerated compositing env variables only if they are really enabled
https://bugs.webkit.org/show_bug.cgi?id=165300
Don't process the WEBKIT_FORCE_COMPOSITING_MODE and
WEBKIT_DISABLE_COMPOSITING_MODE env variables if they are disabled
(eg. WEBKIT_DISABLE_COMPOSITING_MODE=0).
Reviewed by Michael Catanzaro.
* UIProcess/gtk/WebPreferencesGtk.cpp:
(WebKit::WebPreferences::platformInitializeStore):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (209390 => 209391)
--- trunk/Source/WebKit2/ChangeLog 2016-12-06 07:59:02 UTC (rev 209390)
+++ trunk/Source/WebKit2/ChangeLog 2016-12-06 12:16:06 UTC (rev 209391)
@@ -1,3 +1,17 @@
+2016-12-06 Tomas Popela <[email protected]>
+
+ [GTK] Process accelerated compositing env variables only if they are really enabled
+ https://bugs.webkit.org/show_bug.cgi?id=165300
+
+ Don't process the WEBKIT_FORCE_COMPOSITING_MODE and
+ WEBKIT_DISABLE_COMPOSITING_MODE env variables if they are disabled
+ (eg. WEBKIT_DISABLE_COMPOSITING_MODE=0).
+
+ Reviewed by Michael Catanzaro.
+
+ * UIProcess/gtk/WebPreferencesGtk.cpp:
+ (WebKit::WebPreferences::platformInitializeStore):
+
2016-12-06 Sam Weinig <[email protected]>
[WebIDL] Add support for converting dictionaries to JS
Modified: trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp (209390 => 209391)
--- trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp 2016-12-06 07:59:02 UTC (rev 209390)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp 2016-12-06 12:16:06 UTC (rev 209391)
@@ -47,11 +47,11 @@
#if USE(COORDINATED_GRAPHICS_THREADED)
setForceCompositingMode(true);
#else
- if (getenv("WEBKIT_FORCE_COMPOSITING_MODE"))
+ if (g_strcmp0(getenv("WEBKIT_FORCE_COMPOSITING_MODE"), "0"))
setForceCompositingMode(true);
#endif
- if (getenv("WEBKIT_DISABLE_COMPOSITING_MODE")) {
+ if (g_strcmp0(getenv("WEBKIT_DISABLE_COMPOSITING_MODE"), "0")) {
setAcceleratedCompositingEnabled(false);
return;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes