Skip to main content

probe_vulkan_submission

Function probe_vulkan_submission 

Source
pub fn probe_vulkan_submission(
    lease: &VulkanFrameLease,
) -> Result<(), BridgeError>
Expand description

Checks that a decoded frame can be imported: moves its planes to SHADER_READ_ONLY and back in one submission on its queue, through views like an import’s, and waits for it.

§Errors

Returns an error when image-view creation, synchronization, or submission fails.