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

◆ recreate_swapchain_for_context()

void MayaFlux::Core::BackendWindowHandler::recreate_swapchain_for_context ( WindowRenderContext context)
private

Recreate the swapchain and related resources for a window.

Parameters
contextWindow render context

Definition at line 657 of file BackendWindowHandler.cpp.

658{
660
661 if (recreate_swapchain_internal(context)) {
662 context.needs_recreation = false;
664 "Recreated swapchain for window '{}' ({}x{})",
665 context.window->get_create_info().title,
666 context.window->get_state().current_width,
667 context.window->get_state().current_height);
668 }
669}
#define MF_RT_TRACE(comp, ctx,...)
bool recreate_swapchain_internal(WindowRenderContext &context)
Internal logic to recreate swapchain and related resources.
void wait_idle() const
Wait for device idle.
Definition VKContext.hpp:97
@ GraphicsCallback
Graphics/visual rendering callback - frame-rate real-time.
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsCallback, MF_RT_TRACE, MayaFlux::Core::WindowRenderContext::needs_recreation, and MayaFlux::Core::WindowRenderContext::window.