summaryrefslogtreecommitdiffstats
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
commit3e0351aa49be56434df121d9b4d9f283c422a670 (patch)
tree66e587490ddf75684fa3657486e99b56a8db8626 /gfx
parentb094b135956829a293dd409eefa39f2912434fd9 (diff)
downloadUXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar.gz
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar.lz
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.tar.xz
UXP-3e0351aa49be56434df121d9b4d9f283c422a670.zip
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 e0eb70de3..71485ff22 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);