summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2022-12-30 23:47:18 +0100
committerMartok <martok@martoks-place.de>2023-01-03 02:01:10 +0100
commite7fd4ba61bec3736df2f50eb0e7b215a805dde06 (patch)
treea5cdc7d54a56b8055a2b07de3795eda42910467e /modules
parent608ecc95492e1a4acd3abeefa7f06f5bf360b182 (diff)
downloaduxp-e7fd4ba61bec3736df2f50eb0e7b215a805dde06.tar.gz
Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed)
Includes squashed changes of: - m-c 1317907: Refactor FrameAnimator::GetCompositedFrame to be a bit simpler - m-c 1351434: bugfix - m-c 686905: Enable the pref image.mem.animated.discardable to allow discarding of animated images
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 1fb227be5f..8639963f47 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4179,6 +4179,10 @@ pref("image.layerize.always", false);
// compressed data.
pref("image.mem.discardable", true);
+// Discards inactive image frames of _animated_ images and re-decodes them on
+// demand from compressed data. Has no effect if image.mem.discardable is false.
+pref("image.mem.animated.discardable", true);
+
// Allows image locking of decoded image data in content processes.
pref("image.mem.allow_locking_in_content_processes", true);