|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::SliceSet::flush | ( | const std::shared_ptr< VKBuffer > & | target, |
| std::shared_ptr< VKBuffer > & | staging | ||
| ) |
Upload what changed since the last flush.
| target | Destination buffer, grown here when the mirror outgrew it. |
| staging | Staging buffer for device-local targets, grown as needed. |
Growing discards the target's contents, so a grow uploads the whole mirror.
Definition at line 168 of file SliceSet.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::ensure_gpu_capacity(), m_all_dirty, m_dirty, m_mirror, and MayaFlux::Buffers::upload_intervals().
Referenced by MayaFlux::Buffers::FormaProcessor::processing_function().
Here is the call graph for this function:
Here is the caller graph for this function: