summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2022-06-19 15:40:33 +0800
committerJob Bautista <jobbautista9@protonmail.com>2022-06-29 13:53:09 +0800
commit888c35be894bf163f37bb58bc4049f0f6ff3db60 (patch)
tree3cb3fe7f14545f17ccf3e7bdc3748b4fb63a674b /gfx
parent73e06b6df9e396ef080fefcaa3196265bff723c4 (diff)
downloaduxp-888c35be894bf163f37bb58bc4049f0f6ff3db60.tar.gz
Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing.
Backported from Mozilla bug 1707590 whereever possible.
Diffstat (limited to 'gfx')
-rw-r--r--gfx/thebes/gfxPrefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/thebes/gfxPrefs.h b/gfx/thebes/gfxPrefs.h
index ac5bdd45a2..0ee6c67d30 100644
--- a/gfx/thebes/gfxPrefs.h
+++ b/gfx/thebes/gfxPrefs.h
@@ -444,6 +444,7 @@ private:
DECL_GFX_PREF(Live, "image.mozsamplesize.enabled", ImageMozSampleSizeEnabled, bool, false);
DECL_GFX_PREF(Once, "image.multithreaded_decoding.limit", ImageMTDecodingLimit, int32_t, -1);
DECL_GFX_PREF(Live, "image.webp.enabled", ImageWebPEnabled, bool, true);
+ DECL_GFX_PREF(Live, "image.jxl.enabled", ImageJXLEnabled, bool, true);
DECL_GFX_PREF(Once, "layers.acceleration.enabled", LayersAccelerationEnabledDoNotUseDirectly, bool, true);
DECL_GFX_PREF(Live, "layers.acceleration.draw-fps", LayersDrawFPS, bool, false);