Bug 946200 - Use the new texture client/host and async-video if OMTC is activated on Linux. r=nrc
authorNicolas Silva <nical@mozilla.com>
Thu, 30 Jan 2014 16:05:47 +0100
changeset 181987 615eb1c448df0a30ac8e56bfecf2fe6e1ec9b023
parent 181986 6f31b9790f1bec900297097a3de600c0edaa009d
child 181988 926eec8d0540b342d88a3abfa2ed8530f22ca28b
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnrc
bugs946200
milestone29.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 946200 - Use the new texture client/host and async-video if OMTC is activated on Linux. r=nrc
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -4094,16 +4094,22 @@ pref("layers.offmainthreadcomposition.fr
 pref("layers.use-deprecated-textures", true);
 #ifndef XP_WIN
 // Asynchonous video compositing using the ImageBridge IPDL protocol.
 // requires off-main-thread compositing.
 // Never works on Windows, so no point pref'ing it on.
 pref("layers.async-video.enabled",false);
 #endif
 
+#ifdef MOZ_X11
+// OMTC off by default on Linux, but if activated, use new textures and async-video.
+pref("layers.use-deprecated-textures", false);
+pref("layers.async-video.enabled", true);
+#endif
+
 #ifdef XP_MACOSX
 pref("layers.offmainthreadcomposition.enabled", true);
 pref("layers.use-deprecated-textures", false);
 pref("layers.async-video.enabled",true);
 #endif
 
 // ANDROID covers android and b2g
 #ifdef ANDROID