Bug 1547775: Enable double buffering on D3D11 compositors. r=mstange
authorBas Schouten <bschouten@mozilla.com>
Mon, 29 Apr 2019 18:38:15 +0000
changeset 530663 e8d2d9aff5026ef1f1777b781b47fdcbdb9d8f20
parent 530556 e8aebe488b2f2e567940577de25013d00e818f7c
child 530664 49514be011cabfc71a4f65f3c0a87c8b413c469f
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1547775
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1547775: Enable double buffering on D3D11 compositors. r=mstange Differential Revision: https://phabricator.services.mozilla.com/D29243
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5165,16 +5165,20 @@ pref("gfx.direct2d.force-enabled", false
 
 // Whether to defer destruction of Direct2D DrawTargets to the paint thread
 // 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.
+pref("gfx.direct3d11.use-double-buffering", true);
+
 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
 pref("layers.force-active", false);