Title: [196467] trunk/Source/WebKit2
Revision
196467
Author
clo...@igalia.com
Date
2016-02-12 03:37:31 -0800 (Fri, 12 Feb 2016)

Log Message

[GTK] Allow applications to disable Accelerated Compositing mode.
https://bugs.webkit.org/show_bug.cgi?id=154147

Reviewed by Carlos Garcia Campos.

* UIProcess/gtk/WebPreferencesGtk.cpp:
(WebKit::WebPreferences::platformInitializeStore): if the environment
variable  WEBKIT_DISABLE_COMPOSITING_MODE is defined, then disable AC.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196466 => 196467)


--- trunk/Source/WebKit2/ChangeLog	2016-02-12 07:28:32 UTC (rev 196466)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-12 11:37:31 UTC (rev 196467)
@@ -1,3 +1,14 @@
+2016-02-12  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        [GTK] Allow applications to disable Accelerated Compositing mode.
+        https://bugs.webkit.org/show_bug.cgi?id=154147
+
+        Reviewed by Carlos Garcia Campos.
+
+        * UIProcess/gtk/WebPreferencesGtk.cpp:
+        (WebKit::WebPreferences::platformInitializeStore): if the environment
+        variable  WEBKIT_DISABLE_COMPOSITING_MODE is defined, then disable AC.
+
 2016-02-11  Commit Queue  <commit-qu...@webkit.org>
 
         Unreviewed, rolling out r196453.

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp (196466 => 196467)


--- trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp	2016-02-12 07:28:32 UTC (rev 196466)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp	2016-02-12 11:37:31 UTC (rev 196467)
@@ -46,6 +46,8 @@
 #else
     if (getenv("WEBKIT_FORCE_COMPOSITING_MODE"))
         setForceCompositingMode(true);
+    if (getenv("WEBKIT_DISABLE_COMPOSITING_MODE"))
+        setAcceleratedCompositingEnabled(false);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to