Merge "swapchain: add condition to report mailbox mode"