Searched refs:present_modes (Results 1 – 5 of 5) sorted by relevance
66 static const VkPresentModeKHR present_modes[] = { variable220 *pPresentModeCount = ARRAY_SIZE(present_modes); in wsi_headless_surface_get_present_modes()224 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in wsi_headless_surface_get_present_modes()225 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in wsi_headless_surface_get_present_modes()227 if (*pPresentModeCount < ARRAY_SIZE(present_modes)) in wsi_headless_surface_get_present_modes()
472 VkPresentModeKHR *present_modes; in wsi_swapchain_is_present_mode_supported() local481 present_modes = malloc(present_mode_count * sizeof(*present_modes)); in wsi_swapchain_is_present_mode_supported()482 if (!present_modes) in wsi_swapchain_is_present_mode_supported()486 present_modes); in wsi_swapchain_is_present_mode_supported()491 if (present_modes[i] == mode) { in wsi_swapchain_is_present_mode_supported()498 free(present_modes); in wsi_swapchain_is_present_mode_supported()
1281 VkPresentModeKHR present_modes[3]; in wsi_wl_surface_get_present_modes() local1285 present_modes[present_modes_count++] = VK_PRESENT_MODE_MAILBOX_KHR; in wsi_wl_surface_get_present_modes()1286 present_modes[present_modes_count++] = VK_PRESENT_MODE_FIFO_KHR; in wsi_wl_surface_get_present_modes()1289 present_modes[present_modes_count++] = VK_PRESENT_MODE_IMMEDIATE_KHR; in wsi_wl_surface_get_present_modes()1291 assert(present_modes_count <= ARRAY_SIZE(present_modes)); in wsi_wl_surface_get_present_modes()1300 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in wsi_wl_surface_get_present_modes()
447 static const VkPresentModeKHR present_modes[] = { variable928 *pPresentModeCount = ARRAY_SIZE(present_modes); in x11_surface_get_present_modes()932 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in x11_surface_get_present_modes()933 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in x11_surface_get_present_modes()935 return *pPresentModeCount < ARRAY_SIZE(present_modes) ? in x11_surface_get_present_modes()
1086 VkPresentModeKHR *present_modes) in wsi_display_surface_get_present_modes() argument1089 present_modes, present_mode_count); in wsi_display_surface_get_present_modes()