Home
last modified time | relevance | path

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

/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_win32.c261 static const VkPresentModeKHR present_modes[] = { variable
272 *pPresentModeCount = ARRAY_SIZE(present_modes); in wsi_win32_surface_get_present_modes()
276 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in wsi_win32_surface_get_present_modes()
277 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in wsi_win32_surface_get_present_modes()
279 if (*pPresentModeCount < ARRAY_SIZE(present_modes)) in wsi_win32_surface_get_present_modes()
Dwsi_common_wayland.c693 static const VkPresentModeKHR present_modes[] = { variable
851 *pPresentModeCount = ARRAY_SIZE(present_modes); in wsi_wl_surface_get_present_modes()
855 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in wsi_wl_surface_get_present_modes()
856 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in wsi_wl_surface_get_present_modes()
858 if (*pPresentModeCount < ARRAY_SIZE(present_modes)) in wsi_wl_surface_get_present_modes()
Dwsi_common.c337 VkPresentModeKHR *present_modes; in wsi_swapchain_is_present_mode_supported() local
346 present_modes = malloc(present_mode_count * sizeof(*present_modes)); in wsi_swapchain_is_present_mode_supported()
347 if (!present_modes) in wsi_swapchain_is_present_mode_supported()
351 present_modes); in wsi_swapchain_is_present_mode_supported()
356 if (present_modes[i] == mode) { in wsi_swapchain_is_present_mode_supported()
363 free(present_modes); in wsi_swapchain_is_present_mode_supported()
Dwsi_common_x11.c416 static const VkPresentModeKHR present_modes[] = { variable
823 *pPresentModeCount = ARRAY_SIZE(present_modes); in x11_surface_get_present_modes()
827 *pPresentModeCount = MIN2(*pPresentModeCount, ARRAY_SIZE(present_modes)); in x11_surface_get_present_modes()
828 typed_memcpy(pPresentModes, present_modes, *pPresentModeCount); in x11_surface_get_present_modes()
830 return *pPresentModeCount < ARRAY_SIZE(present_modes) ? in x11_surface_get_present_modes()
Dwsi_common_display.c1034 VkPresentModeKHR *present_modes) in wsi_display_surface_get_present_modes() argument
1037 present_modes, present_mode_count); in wsi_display_surface_get_present_modes()
/third_party/flutter/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp196 …VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_IMMEDIATE_KHR, V… in SetupVulkanWindowData() local
198 VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_FIFO_KHR }; in SetupVulkanWindowData() local
200 …anH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_modes[0], IM_ARRAYSIZE(present_modes in SetupVulkanWindowData()
/third_party/flutter/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp206 …VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_IMMEDIATE_KHR, V… in SetupVulkanWindowData() local
208 VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_FIFO_KHR }; in SetupVulkanWindowData() local
210 …anH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_modes[0], IM_ARRAYSIZE(present_modes in SetupVulkanWindowData()
/third_party/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp230 …VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_IMMEDIATE_KHR, V… in SetupVulkanWindow() local
232 VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_FIFO_KHR }; in SetupVulkanWindow() local
234 …anH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_modes[0], IM_ARRAYSIZE(present_modes in SetupVulkanWindow()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp222 …VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_IMMEDIATE_KHR, V… in SetupVulkanWindow() local
224 VkPresentModeKHR present_modes[] = { VK_PRESENT_MODE_FIFO_KHR }; in SetupVulkanWindow() local
226 …anH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_modes[0], IM_ARRAYSIZE(present_modes in SetupVulkanWindow()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_kopper.h72 uint32_t present_modes; //VkPresentModeKHR bitmask member
Dzink_kopper.c40 if (cdt->present_modes & BITFIELD_BIT(VK_PRESENT_MODE_IMMEDIATE_KHR)) in zink_kopper_set_present_mode_for_interval()
47 assert(cdt->present_modes & BITFIELD_BIT(cdt->present_mode)); in zink_kopper_set_present_mode_for_interval()
124 cdt->present_modes |= BITFIELD_BIT(modes[i]); in kopper_CreateSurface()