зеркало из https://github.com/mozilla/gecko-dev.git
Bug 773460 - Change the default canvas over to Azure; r=nrc
--HG-- extra : rebase_source : cf5c1a05345fe4096d856f432cf26175c4401762
This commit is contained in:
Родитель
35faed527a
Коммит
2e257173d3
|
@ -231,22 +231,19 @@ pref("gfx.font_rendering.directwrite.enabled", false);
|
||||||
pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
|
pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XP_WIN
|
|
||||||
pref("gfx.canvas.azure.enabled", true);
|
pref("gfx.canvas.azure.enabled", true);
|
||||||
|
#ifdef XP_WIN
|
||||||
// comma separated list of backends to use in order of preference
|
// comma separated list of backends to use in order of preference
|
||||||
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
|
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
|
||||||
pref("gfx.canvas.azure.backends", "direct2d,cairo");
|
pref("gfx.canvas.azure.backends", "direct2d,cairo");
|
||||||
pref("gfx.content.azure.enabled", true);
|
pref("gfx.content.azure.enabled", true);
|
||||||
#else
|
#else
|
||||||
#ifdef XP_MACOSX
|
#ifdef XP_MACOSX
|
||||||
pref("gfx.canvas.azure.enabled", true);
|
|
||||||
pref("gfx.canvas.azure.backends", "cg");
|
pref("gfx.canvas.azure.backends", "cg");
|
||||||
#else
|
#else
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
pref("gfx.canvas.azure.enabled", true);
|
|
||||||
pref("gfx.canvas.azure.backends", "cairo");
|
pref("gfx.canvas.azure.backends", "cairo");
|
||||||
#else
|
#else
|
||||||
pref("gfx.canvas.azure.enabled", false);
|
|
||||||
pref("gfx.canvas.azure.backends", "cairo");
|
pref("gfx.canvas.azure.backends", "cairo");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче