Home
last modified time | relevance | path

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

/external/mesa3d/src/vulkan/wsi/
Dwsi_common.c228 VkPresentModeKHR *present_modes; in wsi_swapchain_is_present_mode_supported() local
237 present_modes = malloc(present_mode_count * sizeof(*present_modes)); in wsi_swapchain_is_present_mode_supported()
238 if (!present_modes) in wsi_swapchain_is_present_mode_supported()
242 present_modes); in wsi_swapchain_is_present_mode_supported()
247 if (present_modes[i] == mode) { in wsi_swapchain_is_present_mode_supported()
254 free(present_modes); in wsi_swapchain_is_present_mode_supported()
Dwsi_common_wayland.c534 static const VkPresentModeKHR present_modes[] = { variable
673 *pPresentModeCount = ARRAY_SIZE(present_modes); in wsi_wl_surface_get_present_modes()
677 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in wsi_wl_surface_get_present_modes()
678 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in wsi_wl_surface_get_present_modes()
680 if (*pPresentModeCount < ARRAY_SIZE(present_modes)) in wsi_wl_surface_get_present_modes()
Dwsi_common_x11.c269 static const VkPresentModeKHR present_modes[] = { variable
646 *pPresentModeCount = ARRAY_SIZE(present_modes); in x11_surface_get_present_modes()
650 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in x11_surface_get_present_modes()
651 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in x11_surface_get_present_modes()
653 return *pPresentModeCount < ARRAY_SIZE(present_modes) ? in x11_surface_get_present_modes()
Dwsi_common_display.c964 VkPresentModeKHR *present_modes) in wsi_display_surface_get_present_modes() argument
966 VK_OUTARRAY_MAKE(conn, present_modes, present_mode_count); in wsi_display_surface_get_present_modes()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp573 std::vector<VkPresentModeKHR> present_modes; in InitSwapchain() local
575 present_modes.resize(present_mode_count); in InitSwapchain()
576 …rfacePresentModesKHR(m_device->phy().handle(), surface, &present_mode_count, present_modes.data()); in InitSwapchain()
596 swapchain_create_info.presentMode = present_modes[0]; in InitSwapchain()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp12800 … foundMatch = std::find(physical_device_state->present_modes.begin(), physical_device_state->prese… in ValidateCreateSwapchain()
12801 … pCreateInfo->presentMode) != physical_device_state->present_modes.end(); in ValidateCreateSwapchain()
13660 if (*pPresentModeCount > physical_device_state->present_modes.size()) in PostCallRecordGetPhysicalDeviceSurfacePresentModesKHR()
13661 physical_device_state->present_modes.resize(*pPresentModeCount); in PostCallRecordGetPhysicalDeviceSurfacePresentModesKHR()
13666 physical_device_state->present_modes[i] = pPresentModes[i]; in PostCallRecordGetPhysicalDeviceSurfacePresentModesKHR()
Dcore_validation.h109 std::vector<VkPresentModeKHR> present_modes; member