Bug 1285271 - Disable_copy_on_write_canvas_on_windows_r_jnicol: Disable copy-on-write canvas on Windows. r=jnicol, a=ritu
authorNicolas Silva <nsilva@mozilla.com>
Fri, 05 Aug 2016 17:20:33 +0200
changeset 332707 d4204af2ee53255b577907f4a1d9bf4ecb0f9476
parent 332706 523a2b258f62925a61e740bf08ea7890cc272c93
child 332708 e6d0063c10d6ffcf56e2d1ae7ffb16116c845819
push id9906
push userryanvm@gmail.com
push dateTue, 16 Aug 2016 14:19:02 +0000
treeherdermozilla-aurora@8b47af8a1ad2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjnicol, ritu
bugs1285271
milestone50.0a2
Bug 1285271 - Disable_copy_on_write_canvas_on_windows_r_jnicol: Disable copy-on-write canvas on Windows. r=jnicol, a=ritu
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4585,17 +4585,21 @@ pref("layers.prefer-opengl", false);
 pref("layers.prefer-d3d9", false);
 pref("layers.allow-d3d9-fallback", true);
 pref("layers.d3d11.force-warp", false);
 pref("layers.d3d11.disable-warp", true);
 
 #endif
 
 // Copy-on-write canvas
+#ifdef XP_WIN
+pref("layers.shared-buffer-provider.enabled", false);
+#else
 pref("layers.shared-buffer-provider.enabled", true);
+#endif
 
 // Force all possible layers to be always active layers
 pref("layers.force-active", false);
 
 // Never use gralloc surfaces, even when they're available on this
 // platform and are the optimal surface type.
 pref("layers.gralloc.disable", false);