summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-27 11:49:31 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-27 11:49:31 +0100
commit71416f9b79e10559f412d8b03eb65446693d8ae1 (patch)
tree1126c76cefbf8c3fbfdfd153c3650fe457e6825a /modules/libpref
parentd56573bb9c88295d9bd6d86658c4124c0c4b3e2d (diff)
parent90773547e74b5c03a5bb60b9c156f987c73b3dcc (diff)
downloadUXP-71416f9b79e10559f412d8b03eb65446693d8ae1.tar
UXP-71416f9b79e10559f412d8b03eb65446693d8ae1.tar.gz
UXP-71416f9b79e10559f412d8b03eb65446693d8ae1.tar.lz
UXP-71416f9b79e10559f412d8b03eb65446693d8ae1.tar.xz
UXP-71416f9b79e10559f412d8b03eb65446693d8ae1.zip
Merge branch '1360'
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js23
1 files changed, 10 insertions, 13 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index dacfe6e49..2a47a8ad9 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4497,7 +4497,16 @@ pref("network.tcp.keepalive.probe_count", 4);
#endif
// Whether to disable acceleration for all widgets.
-pref("layers.acceleration.disabled", false);
+#if defined(XP_UNIX) && !defined(XP_MACOSX)
+// On Linux this is disabled by default for known issues with "free" drivers
+pref("layers.acceleration.enabled", false);
+#else
+pref("layers.acceleration.enabled", true);
+#endif
+// Whether to force acceleration on, ignoring blacklists.
+// This requires layers.acceleration.enabled to be set to true
+pref("layers.acceleration.force", false);
+
// Preference that when switched at runtime will run a series of benchmarks
// and output the result to stderr.
pref("layers.bench.enabled", false);
@@ -4506,18 +4515,6 @@ pref("layers.bench.enabled", false);
pref("layers.gpu-process.dev.enabled", true);
#endif
-// Whether to force acceleration on, ignoring blacklists.
-#ifdef ANDROID
-// bug 838603 -- on Android, accidentally blacklisting OpenGL layers
-// means a startup crash for everyone.
-// Temporarily force-enable GL compositing. This is default-disabled
-// deep within the bowels of the widgetry system. Remove me when GL
-// compositing isn't default disabled in widget/android.
-pref("layers.acceleration.force-enabled", true);
-#else
-pref("layers.acceleration.force-enabled", false);
-#endif
-
pref("layers.acceleration.draw-fps", false);
// Enable DEAA antialiasing for transformed layers in the compositor