Bug 980770 - Enable off-main-thread animations on all platforms other than Linux (and other X11 based platforms) with off-main-thread compositing, for nightly/aurora. r=birtles

This commit is contained in:
L. David Baron 2015-04-06 11:23:28 -07:00
parent bd1ac6f060
commit ea4b4950e9

View File

@ -4051,7 +4051,15 @@ pref("layers.offmainthreadcomposition.testing.enabled", false);
pref("layers.offmainthreadcomposition.force-basic", false);
// Whether to animate simple opacity and transforms on the compositor
#ifdef RELEASE_BUILD
pref("layers.offmainthreadcomposition.async-animations", false);
#else
#if defined(MOZ_X11)
pref("layers.offmainthreadcomposition.async-animations", false);
#else
pref("layers.offmainthreadcomposition.async-animations", true);
#endif
#endif
// Whether to log information about off main thread animations to stderr
pref("layers.offmainthreadcomposition.log-animations", false);