|
Krita Source Code Documentation
|
#include <kis_updater_context.h>
Inheritance diagram for KisTestableUpdaterContext:Public Member Functions | |
| KisTestableUpdaterContext (qint32 threadCount) | |
Public Member Functions inherited from KisUpdaterContext | |
| void | addMergeJob (KisBaseRectsWalkerSP walker) |
| void | addSpontaneousJob (KisSpontaneousJob *spontaneousJob) |
| void | addStrokeJob (KisStrokeJob *strokeJob) |
| void | continueUpdate (const QRect &rc) |
| int | currentLevelOfDetail () const |
| void | doSomeUsefulWork () |
| KisUpdaterContextSnapshotEx | getContextSnapshotEx () const |
| void | getJobsSnapshot (qint32 &numMergeJobs, qint32 &numStrokeJobs) |
| bool | hasSpareThread () |
| bool | isJobAllowed (KisBaseRectsWalkerSP walker) |
| void | jobFinished () |
| void | jobThreadExited () |
| KisUpdaterContext (qint32 threadCount=useIdealThreadCountTag, KisUpdateScheduler *parent=0) | |
| void | lock () |
| void | setTestingMode (bool value) |
| void | setThreadsLimit (int value) |
| int | threadsLimit () const |
| void | unlock () |
| void | waitForDone () |
| ~KisUpdaterContext () | |
Additional Inherited Members | |
Static Public Attributes inherited from KisUpdaterContext | |
| static const int | useIdealThreadCountTag = -1 |
Protected Member Functions inherited from KisUpdaterContext | |
| qint32 | findSpareThread () |
Static Protected Member Functions inherited from KisUpdaterContext | |
| static bool | walkerIntersectsJob (KisBaseRectsWalkerSP walker, const KisUpdateJobItem *job) |
Protected Attributes inherited from KisUpdaterContext | |
| QReadWriteLock | m_exclusiveJobLock |
| QVector< KisUpdateJobItem * > | m_jobs |
| QMutex | m_lock |
| KisLockFreeLodCounter | m_lodCounter |
| int | m_numRunningThreads = 0 |
| QMutex | m_runningThreadsMutex |
| KisUpdateScheduler * | m_scheduler |
| bool | m_testingMode = false |
| QThreadPool | m_threadPool |
| QWaitCondition | m_waitForDoneCondition |
Definition at line 176 of file kis_updater_context.h.
| KisTestableUpdaterContext::KisTestableUpdaterContext | ( | qint32 | threadCount | ) |
Creates an explicit number of threads
Definition at line 322 of file kis_updater_context.cpp.
References KisUpdaterContext::setTestingMode().