Add pref to control CanOptimizeToImageLayer for large downscale factors.

This resolves #626
This commit is contained in:
wolfbeast 2018-07-14 07:45:06 +02:00 committed by Roy Tam
commit ca5c2ba100
3 changed files with 12 additions and 0 deletions

View file

@ -4354,6 +4354,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
//