|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
protected |
Submit a recorded command buffer honoring the submission mode.
| cmd_id | Command buffer to submit. |
| buffer | Buffer being processed. Retained until resolution when deferred, so on_dispatch_complete receives the same instance. |
Synchronous submission calls submit_and_wait and returns. Deferred submission calls submit_async and stores the fence; a failed submission falls back to leaving nothing pending.
Definition at line 509 of file ShaderProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Portal::Graphics::INVALID_FENCE, m_deferred_submission, m_pending_buffer, m_pending_fence, and MF_ERROR.
Referenced by MayaFlux::Buffers::ComputeProcessor::execute_shader().
Here is the call graph for this function:
Here is the caller graph for this function: