Bug 907745 - enable new gralloc textures.

This commit is contained in:
Nicolas Silva 2013-08-28 17:33:21 +02:00
Родитель 3b571e9cc9
Коммит a885568619
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -4087,14 +4087,19 @@ pref("layers.frame-counter", false);
// Max number of layers per container. See Overwrite in mobile prefs. // Max number of layers per container. See Overwrite in mobile prefs.
pref("layers.max-active", -1); pref("layers.max-active", -1);
// Whether to use the deprecated texture architecture rather than the new one.
#ifdef XP_MACOSX #ifdef XP_MACOSX
pref("layers.offmainthreadcomposition.enabled", true); pref("layers.offmainthreadcomposition.enabled", true);
// Whether to use the deprecated texture architecture rather than the new one. pref("layers.use-deprecated-textures", false);
#else
#ifdef MOZ_WIDGET_GONK
pref("layers.use-deprecated-textures", false); pref("layers.use-deprecated-textures", false);
#else #else
pref("layers.offmainthreadcomposition.enabled", false); pref("layers.offmainthreadcomposition.enabled", false);
pref("layers.use-deprecated-textures", true); pref("layers.use-deprecated-textures", true);
#endif #endif
#endif
// same effect as layers.offmainthreadcomposition.enabled, but specifically for // same effect as layers.offmainthreadcomposition.enabled, but specifically for
// use with tests. // use with tests.
pref("layers.offmainthreadcomposition.testing.enabled", false); pref("layers.offmainthreadcomposition.testing.enabled", false);