Bug 1363876 - Enable Flash async drawing for 64-bit release builds, starting with 54. r=bsmedberg

MozReview-Commit-ID: HIqeOqKpDKJ
This commit is contained in:
Jim Mathies 2017-05-15 08:57:28 -05:00
Родитель f74b8d5cfb
Коммит d8e762963b
1 изменённых файлов: 13 добавлений и 2 удалений

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

@ -3096,10 +3096,21 @@ pref("dom.ipc.plugins.unloadTimeoutSecs", 30);
// Asynchronous plugin initialization is on hold.
pref("dom.ipc.plugins.asyncInit.enabled", false);
// Use flash async drawing mode
#ifdef RELEASE_OR_BETA
#ifdef _AMD64_
// Allow Flash async drawing mode in 64-bit release builds
pref("dom.ipc.plugins.asyncdrawing.enabled", true);
// Force the accelerated path for a subset of Flash wmode values
// Force the accelerated direct path for a subset of Flash wmode values
pref("dom.ipc.plugins.forcedirect.enabled", true);
#else
// Disable async drawing for 32-bit release builds
pref("dom.ipc.plugins.asyncdrawing.enabled", false);
#endif // _AMD64_
#else
// Enable in dev channels
pref("dom.ipc.plugins.asyncdrawing.enabled", true);
pref("dom.ipc.plugins.forcedirect.enabled", true);
#endif
#ifdef RELEASE_OR_BETA
pref("dom.ipc.processCount", 1);