|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Buffers::ShaderProcessor::resolve_pending_dispatch | ( | bool | block | ) |
Resolve an outstanding asynchronous submission.
| block | True to wait for the fence, false to return immediately when it is not yet signaled. |
On resolution invokes on_dispatch_complete, then release_fence, which also frees the associated command buffer. Invoked with block=false at the top of processing_function and with block=true from cleanup.
Definition at line 483 of file ShaderProcessor.cpp.
References fence, MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Portal::Graphics::INVALID_FENCE, is_dispatch_pending(), m_pending_buffer, m_pending_fence, and on_dispatch_complete().
Referenced by cleanup(), processing_function(), and set_deferred_submission().
Here is the call graph for this function:
Here is the caller graph for this function: