|
Krita Source Code Documentation
|
#include <kis_tile_data_swapper.h>
Inheritance diagram for KisTileDataSwapper:Public Member Functions | |
| void | checkFreeMemory () |
| void | kick () |
| KisTileDataSwapper (KisTileDataStore *store) | |
| void | terminateSwapper () |
| void | testingRereadConfig () |
| ~KisTileDataSwapper () override | |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Public Attributes | |
| QMutex | cycleLock |
| KisStoreLimits | limits |
| QSemaphore | semaphore |
| QAtomicInt | shouldExitFlag |
| KisTileDataStore * | store |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Private Member Functions | |
| void | doJob () |
| template<class strategy > | |
| qint64 | pass (qint64 needToFreeMetric) |
| void | run () override |
| void | waitForWork () |
Private Attributes | |
| Private *const | m_d |
Static Private Attributes | |
| static const qint32 | DELAY = 0.7 * SEC |
| static const qint32 | TIMEOUT = -1 |
Definition at line 36 of file kis_tile_data_swapper.cpp.
| KisTileDataSwapper::KisTileDataSwapper | ( | KisTileDataStore * | store | ) |
Definition at line 46 of file kis_tile_data_swapper.cpp.
|
override |
| void KisTileDataSwapper::checkFreeMemory | ( | ) |
Definition at line 92 of file kis_tile_data_swapper.cpp.
|
private |
In emergency case usual threads have access to this function as well
Definition at line 99 of file kis_tile_data_swapper.cpp.
References DEBUG_ACTION, DEBUG_VALUE, and m_d.
| void KisTileDataSwapper::kick | ( | ) |
Definition at line 59 of file kis_tile_data_swapper.cpp.
References m_d.
|
private |
Definition at line 185 of file kis_tile_data_swapper.cpp.
References m_d, KisTileData::markOld(), and KisTileData::pixelSize().
|
overrideprivate |
Definition at line 78 of file kis_tile_data_swapper.cpp.
References DELAY, doJob(), m_d, and waitForWork().
| void KisTileDataSwapper::terminateSwapper | ( | ) |
Definition at line 64 of file kis_tile_data_swapper.cpp.
| void KisTileDataSwapper::testingRereadConfig | ( | ) |
Definition at line 227 of file kis_tile_data_swapper.cpp.
References m_d.
|
private |
Definition at line 73 of file kis_tile_data_swapper.cpp.
| QMutex KisTileDataSwapper::cycleLock |
Definition at line 43 of file kis_tile_data_swapper.cpp.
|
staticprivate |
Definition at line 42 of file kis_tile_data_swapper.h.
| KisStoreLimits KisTileDataSwapper::limits |
Definition at line 42 of file kis_tile_data_swapper.cpp.
|
private |
Definition at line 46 of file kis_tile_data_swapper.h.
| QSemaphore KisTileDataSwapper::semaphore |
Definition at line 39 of file kis_tile_data_swapper.cpp.
| QAtomicInt KisTileDataSwapper::shouldExitFlag |
Definition at line 40 of file kis_tile_data_swapper.cpp.
| KisTileDataStore* KisTileDataSwapper::store |
Definition at line 41 of file kis_tile_data_swapper.cpp.
|
staticprivate |
Definition at line 41 of file kis_tile_data_swapper.h.