diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-12-09 12:39:16 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-12-10 19:36:14 +0100 |
commit | fae487b70adb95cdac5f2ae108d5c25580112147 (patch) | |
tree | bac45f04f9ef0ed96fa554554ffe1082b5ec75cb /officecfg/registry | |
parent | 4f1a5c4622d983d40faceedabbd46d55d9f28286 (diff) |
make Skia image cache size configurable
As asked for in tdf#136244 comment #11. The default fits 4x 2000px
32bpp images, which is 64MiB, which is not that little, but then
4x 2000px is not that much either. So, yes, configurable ...
A good further improvement would be to make the cache grow more
if the memory is available and reduce the size on memory pressure
(https://lists.freedesktop.org/archives/libreoffice/2020-December/086404.html).
Change-Id: Ifa05025ab34630e456465ac8a96950463fd18b60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107468
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'officecfg/registry')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index 2f961f0532a2..de96a9477b37 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -1589,6 +1589,20 @@ <value>10</value> </prop> </group> + <group oor:name="Skia"> + <info> + <desc>Specifies a group of cache options related to Skia-based drawing.</desc> + </info> + <prop oor:name="ImageCacheSize" oor:type="xs:long" oor:nillable="false"> + <info> + <desc>Specifies the maximum cache size in bytes for all images used by Skia-based + drawing code. Larger size may improve drawing performance when using + many large images in software rendering mode.</desc> + <label>Image Cache Size</label> + </info> + <value>64000000</value> + </prop> + </group> </group> <group oor:name="Path"> <!--OldLocation: soffice.ini --> |