|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
explicit |
Construct a Surface from a SurfaceConfig.
Surface takes shared ownership of all three components. The caller is responsible for ensuring the Layer and Context were constructed against config.window. Wires the built-in close handling (Bridge::stop_sync plus a deferred window release) per config.should_detach_on_close(), then runs config.on_close if set. See SurfaceConfig's own doc for the composition rule between the two.
Definition at line 9 of file Surface.cpp.
References layer(), m_ctx, m_layer, m_window_ownership, MayaFlux::Portal::Forma::SurfaceConfig::on_close, and MayaFlux::Portal::Forma::SurfaceConfig::should_detach_on_close().
Here is the call graph for this function: