Bug 1363876 - Enable Flash async drawing for 64-bit release builds, starting with 54. r=bsmedberg, a=gchang
authorJim Mathies <jmathies@mozilla.com>
Thu, 11 May 2017 09:33:42 -0500
changeset 396306 57782b6323abae342864c4a29bb802decb7914fe
parent 396305 adb9ebd81ba2a74931d9e932bfcc1d1f6aca9e17
child 396307 1a5b19210b16026513ada54a4e0db4f038876bb4
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg, gchang
bugs1363876
milestone54.0
Bug 1363876 - Enable Flash async drawing for 64-bit release builds, starting with 54. r=bsmedberg, a=gchang
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2898,21 +2898,28 @@ pref("dom.ipc.plugins.reportCrashURL", t
 // How long we wait before unloading an idle plugin process.
 // Defaults to 30 seconds.
 pref("dom.ipc.plugins.unloadTimeoutSecs", 30);
 
 // Asynchronous plugin initialization is on hold.
 pref("dom.ipc.plugins.asyncInit.enabled", false);
 
 #ifdef RELEASE_OR_BETA
-pref("dom.ipc.plugins.asyncdrawing.enabled", false);
+#ifdef _AMD64_
+// Allow Flash async drawing mode in 64-bit release builds
+pref("dom.ipc.plugins.asyncdrawing.enabled", true);
+// Force the accelerated direct path for a subset of Flash wmode values
+pref("dom.ipc.plugins.forcedirect.enabled", true);
 #else
-// Allow the AsyncDrawing mode to be used for plugins in dev channels.
+// 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);
-// Force the accelerated path for a subset of Flash wmode values
 pref("dom.ipc.plugins.forcedirect.enabled", true);
 #endif
 
 #ifdef RELEASE_OR_BETA
 pref("dom.ipc.processCount", 1);
 #else
 pref("dom.ipc.processCount", 4);
 #endif