From c76d510e9b327ab7ea08bd48d5ab1143c5aac470 Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Tue, 1 Oct 2013 01:22:26 +0200 Subject: [PATCH] Bug 922007 - Enable new textures on fennec. r=mattwoodrow --- modules/libpref/src/init/all.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js index 23cdf49aac2b..14745cb68a95 100644 --- a/modules/libpref/src/init/all.js +++ b/modules/libpref/src/init/all.js @@ -4139,17 +4139,19 @@ pref("layers.frame-counter", false); // Max number of layers per container. See Overwrite in mobile prefs. pref("layers.max-active", -1); -// Whether to use the deprecated texture architecture rather than the new one. #ifdef XP_MACOSX pref("layers.offmainthreadcomposition.enabled", true); -pref("layers.use-deprecated-textures", false); -#else -#ifdef MOZ_WIDGET_GONK -pref("layers.use-deprecated-textures", false); -#else -pref("layers.offmainthreadcomposition.enabled", false); -pref("layers.use-deprecated-textures", true); #endif + +#ifdef MOZ_WIDGET_GONK +pref("layers.offmainthreadcomposition.enabled", true); +#endif + +// Whether to use the deprecated texture architecture rather than the new one. +#ifdef XP_WIN +pref("layers.use-deprecated-textures", true); +#else +pref("layers.use-deprecated-textures", false); #endif // same effect as layers.offmainthreadcomposition.enabled, but specifically for