summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-24 13:29:29 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 10:03:50 +0100
commit001fa09964e9121a62bd6150eccf917bd9466091 (patch)
tree66e587490ddf75684fa3657486e99b56a8db8626 /gfx
parent3ed6e5d1137074d49e19b5f3385425eb3c7d8fe9 (diff)
downloaduxp-001fa09964e9121a62bd6150eccf917bd9466091.tar.gz
Implement WebP image decoder.
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 e0eb70de3a..71485ff22a 100644
--- a/gfx/thebes/gfxPrefs.h
+++ b/gfx/thebes/gfxPrefs.h
@@ -444,6 +444,7 @@ private:
DECL_GFX_PREF(Once, "image.mem.surfacecache.size_factor", ImageMemSurfaceCacheSizeFactor, uint32_t, 64);
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(Once, "layers.acceleration.disabled", LayersAccelerationDisabledDoNotUseDirectly, bool, false);
DECL_GFX_PREF(Live, "layers.acceleration.draw-fps", LayersDrawFPS, bool, false);