|
void * | Jobs2::JobAlloc (SizeT bytes) |
| Allocate memory.
|
|
void | Jobs2::JobSystemInit (const JobSystemInitInfo &info) |
| Create a new job port.
|
|
void | Jobs2::JobSystemUninit () |
| Destroy job port.
|
|
template<typename T > |
T * | Jobs2::JobAlloc (SizeT count) |
| Allocate memory and progress memory iterator.
|
|
void | Jobs2::JobNewFrame () |
| Progress to new buffer.
|
|
void | Jobs2::JobBeginSequence (const Util::FixedArray< const Threading::AtomicCounter *, true > &waitCounters=nullptr, Threading::AtomicCounter *doneCounter=nullptr, Threading::Event *signalEvent=nullptr) |
| Begin a sequence of jobs.
|
|
template<typename CTX > |
void | Jobs2::JobAppendSequence (const JobFunc &func, const SizeT numInvocations, const SizeT groupSize, const CTX &context) |
| Append job to sequence with an automatic dependency on the previous job.
|
|
template<typename CTX > |
void | Jobs2::JobAppendSequence (const JobFunc &func, const SizeT numInvocations, const CTX &context) |
| Append job to sequence with an automatic dependency on the previous job, to run on a single thread.
|
|
void | Jobs2::JobEndSequence (Threading::Event *signalEvent=nullptr) |
| Flush queued jobs.
|
|
template<typename LAMBDA > |
void | Jobs2::JobDispatch (LAMBDA &&func, const SizeT numInvocations, const SizeT groupSize, const Util::FixedArray< const Threading::AtomicCounter *, true > &waitCounters=nullptr, Threading::AtomicCounter *doneCounter=nullptr, Threading::Event *signalEvent=nullptr) |
|
template<typename LAMBDA > |
void | Jobs2::JobDispatch (LAMBDA &&func, const SizeT numInvocations, const Util::FixedArray< const Threading::AtomicCounter *, true > &waitCounters=nullptr, Threading::AtomicCounter *doneCounter=nullptr, Threading::Event *signalEvent=nullptr) |
|
template<typename CTX > |
void | Jobs2::JobDispatch (const JobFunc &func, const SizeT numInvocations, const SizeT groupSize, const CTX &context, const Util::FixedArray< const Threading::AtomicCounter *, true > &waitCounters=nullptr, Threading::AtomicCounter *doneCounter=nullptr, Threading::Event *signalEvent=nullptr) |
|
template<typename CTX > |
void | Jobs2::JobDispatch (const JobFunc &func, const SizeT numInvocations, const CTX &context, const Util::FixedArray< const Threading::AtomicCounter *, true > &waitCounters=nullptr, Threading::AtomicCounter *doneCounter=nullptr, Threading::Event *signalEvent=nullptr) |
|