|
Krita Source Code Documentation
|
#include <KisFakeRunnableStrokeJobsExecutor.h>
Inheritance diagram for KisFakeRunnableStrokeJobsExecutor:Public Types | |
| enum | Flag { None = 0x0 , AllowBarrierJobs = 0x1 } |
Public Member Functions | |
| void | addRunnableJobs (const QVector< KisRunnableStrokeJobDataBase * > &list) override |
| KisFakeRunnableStrokeJobsExecutor () | |
| KisFakeRunnableStrokeJobsExecutor (Flags flags) | |
Public Member Functions inherited from KisRunnableStrokeJobsInterface | |
| void | addRunnableJob (KisRunnableStrokeJobDataBase *data) |
| template<typename T > | |
| void | addRunnableJobs (const QVector< T * > &list) |
| virtual | ~KisRunnableStrokeJobsInterface () |
Private Attributes | |
| Flags | m_flags |
Definition at line 13 of file KisFakeRunnableStrokeJobsExecutor.h.
Normally, barrier jobs are not allowed in the fake jobs executor, because we cannot guarantee that all the update jobs are finished on the scheduler, so their guarantee is kind of "broken". Passing AllowBarrierJobs flag explicitly disables this check, which passes responsibility for the broken guarantees to the caller.
| Enumerator | |
|---|---|
| None | |
| AllowBarrierJobs | |
Definition at line 24 of file KisFakeRunnableStrokeJobsExecutor.h.
| KisFakeRunnableStrokeJobsExecutor::KisFakeRunnableStrokeJobsExecutor | ( | ) |
Definition at line 14 of file KisFakeRunnableStrokeJobsExecutor.cpp.
| KisFakeRunnableStrokeJobsExecutor::KisFakeRunnableStrokeJobsExecutor | ( | Flags | flags | ) |
Definition at line 19 of file KisFakeRunnableStrokeJobsExecutor.cpp.
|
overridevirtual |
Implements KisRunnableStrokeJobsInterface.
Definition at line 24 of file KisFakeRunnableStrokeJobsExecutor.cpp.
References AllowBarrierJobs, KisStrokeJobData::BARRIER, KisStrokeJobData::EXCLUSIVE, KisStrokeJobData::exclusivity(), KIS_SAFE_ASSERT_RECOVER_NOOP, m_flags, KisRunnable::run(), and KisStrokeJobData::sequentiality().
|
private |
Definition at line 37 of file KisFakeRunnableStrokeJobsExecutor.h.