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

◆ handle_surface_resize()

void MayaFlux::Kakshya::WindowContainer::handle_surface_resize ( )

Reallocate m_data and m_processed_data to match the current window dimensions.

Called by WindowAccessProcessor when a surface resize is detected. Acquires m_data_mutex exclusively.

Definition at line 466 of file WindowContainer.cpp.

467{
468 Memory::SeqlockWriteGuard g(m_data_lock);
469 m_write_head.store(0, std::memory_order_release);
470 m_frames_written.store(0, std::memory_order_release);
472}
std::atomic< uint64_t > m_frames_written

References m_data_lock, m_frames_written, m_write_head, and setup_dimensions().

+ Here is the call graph for this function: