summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2018-03-25 11:58:49 +0200
committerPale Moon <git-repo@palemoon.org>2018-03-25 11:58:49 +0200
commit62cee9061a99c332ffdcbab14e7eb34635751fa0 (patch)
tree881f5bc8c84ac203781233c7293f4eb204f7eb90
parentb346bb9f6cc2162ea6195e956b8aa91d945de8c4 (diff)
downloadpalemoon-gre-62cee9061a99c332ffdcbab14e7eb34635751fa0.tar.gz
Enable the use of Skia SW graphics for canvas on *nix and MacOS
-rw-r--r--modules/libpref/init/all.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index bc27315e8..df91f87c7 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -682,12 +682,12 @@ pref("gfx.canvas.azure.backends", "direct2d1.1,direct2d,skia,cairo");
pref("gfx.content.azure.backends", "direct2d1.1,direct2d,cairo");
#else
#ifdef XP_MACOSX
-pref("gfx.content.azure.backends", "cg");
-pref("gfx.canvas.azure.backends", "cg");
+pref("gfx.canvas.azure.backends", "skia,cg");
// Accelerated cg canvas where available (10.7+)
-pref("gfx.canvas.azure.accelerated", false);
+pref("gfx.canvas.azure.accelerated", true);
+pref("gfx.content.azure.backends", "cg");
#else
-pref("gfx.canvas.azure.backends", "cairo");
+pref("gfx.canvas.azure.backends", "skia,cairo");
pref("gfx.content.azure.backends", "cairo");
#endif
#endif