|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Drive the async dispatch lifecycle.
If dirty and no dispatch is pending: arms a new dispatch via dispatch_core_async, clears dirty, clears ready. If a dispatch is pending: polls the fence. On signal, collects the result, fires on_complete callbacks, sets ready. If continuous, arms the next dispatch immediately.
Implements MayaFlux::Nodes::GpuSync::GpuSync.
Definition at line 26 of file GpuComputeNode.cpp.
References MayaFlux::Portal::Graphics::get_shader_foundry(), input, MayaFlux::Portal::Graphics::INVALID_FENCE, m_continuous, m_dirty, m_executor, m_last_result, m_pending_fence, m_ready, MF_ERROR, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, and notify_tick().
Here is the call graph for this function: