[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: [krita/krita/3.2] libs/image: Disable tile data pool
From: Boudewijn Rempt <null () kde ! org>
Date: 2017-07-11 11:33:04
Message-ID: E1dUtPc-0003BF-JX () code ! kde ! org
[Download RAW message or body]
Git commit fb358753fa7dc6b536e51ad0c491562d67c79727 by Boudewijn Rempt, on =
behalf of Dmitry Kazakov.
Committed on 11/07/2017 at 11:27.
Pushed by rempt into branch 'krita/3.2'.
Disable tile data pool
It looks like at least in some circumstances it can make rendering of
the image 5-30% slower. I will disable it by default until further
details are investigated.
If you modified your performance settings, this auto-disabling will
not work. You should disable it manually by setting its size to 0%
in Preferences->Performace tab.
The testing, where the slowdown was registered, was done on 4k
image using KisProjectionBenchmark.
CC:kimageshop@kde.org
M +1 -1 libs/image/kis_image_config.cpp
https://commits.kde.org/krita/fb358753fa7dc6b536e51ad0c491562d67c79727
diff --git a/libs/image/kis_image_config.cpp b/libs/image/kis_image_config.=
cpp
index ac70dbbc0ec..26bde92f6c4 100644
--- a/libs/image/kis_image_config.cpp
+++ b/libs/image/kis_image_config.cpp
@@ -211,7 +211,7 @@ void KisImageConfig::setMemorySoftLimitPercent(qreal va=
lue)
qreal KisImageConfig::memoryPoolLimitPercent(bool requestDefault) const
{
return !requestDefault ?
- m_config.readEntry("memoryPoolLimitPercent", 2.) : 2.;
+ m_config.readEntry("memoryPoolLimitPercent", 0.0) : 0.0;
}
=
void KisImageConfig::setMemoryPoolLimitPercent(qreal value)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic