summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-14 07:45:06 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-14 07:45:06 +0200
commitdc9d933d81646b53edab245eb8f96b1e82ba752f (patch)
tree1ed71efd273183764ac549992dc3fc965a4c025f /modules
parent6bb3a908d34728fec0a3520eac03ad9b69dd4a9b (diff)
downloadUXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar
UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar.gz
UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar.lz
UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar.xz
UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.zip
Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index beab06aff..1b2793ed3 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4346,6 +4346,12 @@ pref("image.http.accept", "image/webp,image/png,image/*;q=0.8,*/*;q=0.5");
// disable.
pref("image.infer-src-animation.threshold-ms", 2000);
+// Whether to always optimize to image layers. Setting this to true will increase
+// performance of downscaled large images at the expense of visual quality,
+// because we can't use HQ downscaling in image layers.
+// Aliasing may occur past downscaling beyond 34% in that case.
+pref("image.layerize.always", false);
+
//
// Image memory management prefs
//