Searched refs:present_mode (Results 1 – 7 of 7) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common_x11.c | 685 VkPresentModeKHR present_mode); 690 const VkSurfacePresentModeEXT *present_mode, in x11_surface_get_capabilities() argument 724 if (present_mode) { in x11_surface_get_capabilities() 725 …eCount = x11_get_min_image_count_for_present_mode(wsi_device, wsi_conn, present_mode->presentMode); in x11_surface_get_capabilities() 759 …const VkSurfacePresentModeEXT *present_mode = vk_find_struct_const(info_next, SURFACE_PRESENT_MODE… in x11_surface_get_capabilities2() local 762 x11_surface_get_capabilities(icd_surface, wsi_device, present_mode, in x11_surface_get_capabilities2() 793 assert(present_mode); in x11_surface_get_capabilities2() 794 compat->pPresentModes[0] = present_mode->presentMode; in x11_surface_get_capabilities2() 798 if (!present_mode) in x11_surface_get_capabilities2() 1607 if (chain->base.present_mode == VK_PRESENT_MODE_IMMEDIATE_KHR || in x11_present_to_x11_dri3() [all …]
|
D | wsi_common_wayland.c | 176 VkPresentModeKHR present_mode; member 1020 wsi_wl_surface_get_min_image_count(const VkSurfacePresentModeEXT *present_mode) in wsi_wl_surface_get_min_image_count() argument 1022 if (present_mode && (present_mode->presentMode == VK_PRESENT_MODE_FIFO_KHR || in wsi_wl_surface_get_min_image_count() 1023 present_mode->presentMode == VK_PRESENT_MODE_FIFO_RELAXED_KHR)) { in wsi_wl_surface_get_min_image_count() 1065 const VkSurfacePresentModeEXT *present_mode, in wsi_wl_surface_get_capabilities() argument 1068 caps->minImageCount = wsi_wl_surface_get_min_image_count(present_mode); in wsi_wl_surface_get_capabilities() 1110 …const VkSurfacePresentModeEXT *present_mode = vk_find_struct_const(info_next, SURFACE_PRESENT_MODE… in wsi_wl_surface_get_capabilities2() local 1113 wsi_wl_surface_get_capabilities(surface, wsi_device, present_mode, in wsi_wl_surface_get_capabilities2() 1139 assert(present_mode); in wsi_wl_surface_get_capabilities2() 1143 *mode = present_mode->presentMode; in wsi_wl_surface_get_capabilities2() [all …]
|
D | wsi_common_win32.cpp | 235 const VkSurfacePresentModeEXT *present_mode = in wsi_win32_surface_get_capabilities2() local 268 assert(present_mode); in wsi_win32_surface_get_capabilities2() 269 compat->pPresentModes[0] = present_mode->presentMode; in wsi_win32_surface_get_capabilities2() 273 if (!present_mode) in wsi_win32_surface_get_capabilities2() 690 UINT sync_interval = chain->base.present_mode == VK_PRESENT_MODE_FIFO_KHR ? 1 : 0; in wsi_win32_queue_present_dxgi() 691 UINT present_flags = chain->base.present_mode == VK_PRESENT_MODE_IMMEDIATE_KHR ? in wsi_win32_queue_present_dxgi() 769 chain->base.present_mode == VK_PRESENT_MODE_IMMEDIATE_KHR ? in wsi_win32_surface_create_swapchain_dxgi() 857 chain->base.present_mode = wsi_swapchain_get_present_mode(wsi_device, create_info); in wsi_win32_surface_create_swapchain()
|
D | wsi_common_headless.c | 265 VkPresentModeKHR present_mode; member 480 chain->base.present_mode = wsi_swapchain_get_present_mode(wsi_device, pCreateInfo); in wsi_headless_surface_create_swapchain()
|
D | wsi_common.c | 70 const char *present_mode; in wsi_device_init() local 216 present_mode = getenv("MESA_VK_WSI_PRESENT_MODE"); in wsi_device_init() 217 if (present_mode) { in wsi_device_init() 218 if (!strcmp(present_mode, "fifo")) { in wsi_device_init() 220 } else if (!strcmp(present_mode, "relaxed")) { in wsi_device_init() 222 } else if (!strcmp(present_mode, "mailbox")) { in wsi_device_init() 224 } else if (!strcmp(present_mode, "immediate")) { in wsi_device_init()
|
D | wsi_common_private.h | 153 VkPresentModeKHR present_mode; member
|
D | wsi_common_display.c | 947 const VkSurfacePresentModeEXT *present_mode = in wsi_display_surface_get_capabilities2() local 978 assert(present_mode); in wsi_display_surface_get_capabilities2() 979 compat->pPresentModes[0] = present_mode->presentMode; in wsi_display_surface_get_capabilities2() 2138 chain->base.present_mode = wsi_swapchain_get_present_mode(wsi_device, create_info); in wsi_display_surface_create_swapchain()
|