Home
last modified time | relevance | path

Searched refs:present_modes (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_headless.c66 static const VkPresentModeKHR present_modes[] = { variable
220 *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()
Dwsi_common.c472 VkPresentModeKHR *present_modes; in wsi_swapchain_is_present_mode_supported() local
481 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()
Dwsi_common_wayland.c1281 VkPresentModeKHR present_modes[3]; in wsi_wl_surface_get_present_modes() local
1285 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()
Dwsi_common_x11.c447 static const VkPresentModeKHR present_modes[] = { variable
928 *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()
Dwsi_common_display.c1086 VkPresentModeKHR *present_modes) in wsi_display_surface_get_present_modes() argument
1089 present_modes, present_mode_count); in wsi_display_surface_get_present_modes()