Bug 773460 - Change the default canvas over to Azure; r=nrc
authorAnthony Jones <ajones@mozilla.com>
Mon, 27 Aug 2012 18:19:07 +1200
changeset 105572 caffdfa95b07527ab8c091ba7a533aac81e96964
parent 105571 14f5c776d20ff71ceb6f00390f5a7b69294e0f0c
child 105573 a684417d8536290f830eb71ddeb3f217c00df2c8
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersnrc
bugs773460
milestone17.0a1
Bug 773460 - Change the default canvas over to Azure; r=nrc
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -226,32 +226,29 @@ pref("gfx.font_rendering.harfbuzz.script
 #endif
 #endif
 
 #ifdef XP_WIN
 pref("gfx.font_rendering.directwrite.enabled", false);
 pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
 #endif
 
+pref("gfx.canvas.azure.enabled", true);
 #ifdef XP_WIN
-pref("gfx.canvas.azure.enabled", true);
 // comma separated list of backends to use in order of preference
 // e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
 pref("gfx.canvas.azure.backends", "direct2d,cairo");
 pref("gfx.content.azure.enabled", true);
 #else
 #ifdef XP_MACOSX
-pref("gfx.canvas.azure.enabled", true);
 pref("gfx.canvas.azure.backends", "cg");
 #else
 #ifdef ANDROID
-pref("gfx.canvas.azure.enabled", true);
 pref("gfx.canvas.azure.backends", "cairo");
 #else
-pref("gfx.canvas.azure.enabled", false);
 pref("gfx.canvas.azure.backends", "cairo");
 #endif
 #endif
 #endif
 
 #ifdef ANDROID
 pref("gfx.textures.poweroftwo.force-enabled", false);
 #endif