diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index a9efe0523f49..0377392b7900 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -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);