Implement WebP image decoder.

This commit is contained in:
wolfbeast 2017-07-24 13:29:29 +02:00 committed by Roy Tam
commit 9121db73a2
10 changed files with 579 additions and 2 deletions

View file

@ -4445,6 +4445,9 @@ pref("image.mem.surfacecache.discard_factor", 1);
// automatically determined based on the system's number of cores.
pref("image.multithreaded_decoding.limit", -1);
// Whether we attempt to decode WebP images or not.
pref("image.webp.enabled", true);
// Limit for the canvas image cache. 0 means we don't limit the size of the
// cache.
pref("canvas.image.cache.limit", 0);