зеркало из https://github.com/mozilla/gecko-dev.git
Bug 980770 - Fully enable (for RELEASE_BUILD) off-main-thread animations on all platforms with off-main-thread compositing. r=birtles
--HG-- extra : rebase_source : d479ac2083b9f324b7086bb00f8d29c6c3b855b1
This commit is contained in:
Родитель
5bd2e2078d
Коммит
8c0c4f8c73
|
@ -297,7 +297,6 @@ pref("ui.dragThresholdY", 25);
|
||||||
// Layers Acceleration. We can only have nice things on gonk, because
|
// Layers Acceleration. We can only have nice things on gonk, because
|
||||||
// they're not maintained anywhere else.
|
// they're not maintained anywhere else.
|
||||||
pref("layers.offmainthreadcomposition.enabled", true);
|
pref("layers.offmainthreadcomposition.enabled", true);
|
||||||
pref("layers.offmainthreadcomposition.async-animations", true);
|
|
||||||
#ifndef MOZ_WIDGET_GONK
|
#ifndef MOZ_WIDGET_GONK
|
||||||
pref("dom.ipc.tabs.disabled", true);
|
pref("dom.ipc.tabs.disabled", true);
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -4227,11 +4227,7 @@ pref("layers.offmainthreadcomposition.testing.enabled", false);
|
||||||
pref("layers.offmainthreadcomposition.force-basic", false);
|
pref("layers.offmainthreadcomposition.force-basic", false);
|
||||||
|
|
||||||
// Whether to animate simple opacity and transforms on the compositor
|
// Whether to animate simple opacity and transforms on the compositor
|
||||||
#ifdef RELEASE_BUILD
|
|
||||||
pref("layers.offmainthreadcomposition.async-animations", false);
|
|
||||||
#else
|
|
||||||
pref("layers.offmainthreadcomposition.async-animations", true);
|
pref("layers.offmainthreadcomposition.async-animations", true);
|
||||||
#endif
|
|
||||||
|
|
||||||
// Whether to log information about off main thread animations to stderr
|
// Whether to log information about off main thread animations to stderr
|
||||||
pref("layers.offmainthreadcomposition.log-animations", false);
|
pref("layers.offmainthreadcomposition.log-animations", false);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче