Bug 773460 - Change the default canvas over to Azure; r=nrc

This commit is contained in:
Anthony Jones 2012-09-05 12:05:40 +12:00
parent a93bdcb064
commit 783a17b0c1

View File

@ -235,22 +235,19 @@ pref("gfx.font_rendering.directwrite.enabled", false);
pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
#endif
#ifdef XP_WIN
pref("gfx.canvas.azure.enabled", true);
#ifdef XP_WIN
// 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