summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-30 07:21:04 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-30 07:21:04 +0200
commitf7b00e782a99c8495d3722f164167d63e701e8fb (patch)
treefb7370f9270363eed67de17b52e07ed197be15e7
parent017cb0351d8a3c8ec2c00395462416583c8b3401 (diff)
downloadUXP-f7b00e782a99c8495d3722f164167d63e701e8fb.tar
UXP-f7b00e782a99c8495d3722f164167d63e701e8fb.tar.gz
UXP-f7b00e782a99c8495d3722f164167d63e701e8fb.tar.lz
UXP-f7b00e782a99c8495d3722f164167d63e701e8fb.tar.xz
UXP-f7b00e782a99c8495d3722f164167d63e701e8fb.zip
Enable d3d9 accelerated layers as a fallback.
If d3d 11 can't be used for whatever reason (limited integrated/mobile chipset, etc.) we should fall back to d3d9. Mozilla blocked this based on experiences with Intel GPUs/drawing artefacts, but those drivers are blacklisted already. No reason to disable this path for everyone.
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 22668594f..73f7e76d7 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4596,8 +4596,8 @@ pref("gfx.direct2d.force-enabled", false);
pref("layers.prefer-opengl", false);
pref("layers.prefer-d3d9", false);
-// Disable for now due to bug 1304360
-pref("layers.allow-d3d9-fallback", false);
+// Enable fallback if d3d11 can't be used. See bug #1262187
+pref("layers.allow-d3d9-fallback", true);
#endif
// Copy-on-write canvas