MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ resolve_pending()

void MayaFlux::Portal::Graphics::PrimitiveMill::resolve_pending ( )
private

Wait on and reclaim every outstanding dispatch.

For teardown, where the pipeline and shader are about to be destroyed.

Definition at line 651 of file PrimitiveMill.cpp.

652{
653 auto& foundry = get_shader_foundry();
654
655 for (const FenceID fence : m_in_flight) {
656 foundry.wait_for_fence(fence);
657 foundry.release_fence(fence);
658 }
659 m_in_flight.clear();
660}
std::vector< FenceID > m_in_flight
Dispatches submitted and not yet observed complete, oldest first.
MAYAFLUX_API ShaderFoundry & get_shader_foundry()
Get the global shader compiler instance.

References MayaFlux::Portal::Graphics::get_shader_foundry(), and m_in_flight.

Referenced by release().

Here is the call graph for this function:
Here is the caller graph for this function: