wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE
[mesa.git] / src / vulkan / wsi / wsi_common_private.h
index a6f49fc31246f83c7d9932dd6c7118d8a3d942a9..6d8f4b7a0e4d90728d1da011cfccfe2125143364 100644 (file)
@@ -79,6 +79,10 @@ wsi_swapchain_init(const struct wsi_device *wsi,
                    const VkSwapchainCreateInfoKHR *pCreateInfo,
                    const VkAllocationCallbacks *pAllocator);
 
+enum VkPresentModeKHR
+wsi_swapchain_get_present_mode(struct wsi_device *wsi,
+                               const VkSwapchainCreateInfoKHR *pCreateInfo);
+
 void wsi_swapchain_finish(struct wsi_swapchain *chain);
 
 VkResult