Bug 1555956 - Disable double buffering on non-Nightly. r=jrmuizel a=jcristau
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 31 May 2019 14:43:55 +0000
changeset 533574 b9e525d8b1aa6659c6cc95956dafae65c28daa62
parent 533573 83245ccc42c043747164a97773095fd61632beae
child 533575 aef4e0bd81ca7a00f0b199497f0e1f0389cc39c3
push id11361
push usermalexandru@mozilla.com
push dateMon, 03 Jun 2019 15:38:07 +0000
treeherdermozilla-beta@b9e525d8b1aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel, jcristau
bugs1555956
milestone68.0
Bug 1555956 - Disable double buffering on non-Nightly. r=jrmuizel a=jcristau Differential Revision: https://phabricator.services.mozilla.com/D33270
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5111,17 +5111,21 @@ pref("gfx.direct2d.force-enabled", false
 // when using OMTP.
 pref("gfx.direct2d.destroy-dt-on-paintthread", true);
 
 pref("gfx.direct3d11.enable-debug-layer", false);
 pref("gfx.direct3d11.break-on-error", false);
 
 // Prefer flipping between two buffers over copying from our back buffer
 // to the OS.
+#ifdef NIGHTLY_BUILD
 pref("gfx.direct3d11.use-double-buffering", true);
+#else
+pref("gfx.direct3d11.use-double-buffering", false);
+#endif
 
 pref("layers.prefer-opengl", false);
 #endif
 
 // Copy-on-write canvas
 pref("layers.shared-buffer-provider.enabled", true);
 
 // Force all possible layers to be always active layers