summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-04-27 18:30:45 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-05-08 02:25:14 +0200
commitc6cf2320d2a464594e759289c34796538d31f02b (patch)
tree2f00c66eada2d30ed58d45836b1a75dc4a5f257d /officecfg
parentecf50fe71596c3edba8ce437481ab80ae1cd8935 (diff)
config entries for the new graphic manager, deprecate old entries
Add 2 new GraphicManager config entries GraphicMemoryLimit and GraphicAllowedIdleTime. At the same time, deprecate the existing config entries used in GraphicObject's GraphicManager, which are not relevant anymore. Change-Id: Idb775e5e1a623f6c23d0c67fea5334a6c713c6c2 Reviewed-on: https://gerrit.libreoffice.org/53561 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs21
1 files changed, 21 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 390b54595e40..88b6f3b07f1b 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -1491,6 +1491,7 @@
</info>
<prop oor:name="TotalCacheSize" oor:type="xs:int" oor:nillable="false">
<info>
+ <deprecated>Not used anymore</deprecated>
<desc>Specifies the maximum cache size for all graphical display
objects.</desc>
<label>Total Image Cache Size</label>
@@ -1499,6 +1500,7 @@
</prop>
<prop oor:name="ObjectCacheSize" oor:type="xs:int" oor:nillable="false">
<info>
+ <deprecated>Not used anymore</deprecated>
<desc>Specifies the maximum cache size for a single graphic display
object.</desc>
<label>Image Object Cache Size</label>
@@ -1507,12 +1509,31 @@
</prop>
<prop oor:name="ObjectReleaseTime" oor:type="xs:int" oor:nillable="false">
<info>
+ <deprecated>Not used anymore</deprecated>
<desc>Specifies the time in seconds after which a cached object is
freed from the cache.</desc>
<label>Image Object Release Timeout</label>
</info>
<value>600</value>
</prop>
+ <prop oor:name="GraphicMemoryLimit" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the allowed cumulated memory that the
+ graphic objects can occupy before they start to get swapped
+ to the disk to save memory.</desc>
+ <label>Graphic Memory Limit Size</label>
+ </info>
+ <value>300000000</value>
+ </prop>
+ <prop oor:name="GraphicAllowedIdleTime" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the time in seconds when the graphic object
+ can be idle (time since it was last used) before it is
+ considered to be swapped to the disk to save memory.</desc>
+ <label>Graphic Allowed Idle Time</label>
+ </info>
+ <value>10</value>
+ </prop>
</group>
</group>
<group oor:name="Path">