Home
last modified time | relevance | path

Searched refs:presentModeCount (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/sk_app/
DVulkanWindowContext.cpp174 uint32_t presentModeCount; in createSwapchain() local
175 res = fGetPhysicalDeviceSurfacePresentModesKHR(fPhysicalDevice, fSurface, &presentModeCount, in createSwapchain()
181 SkAutoMalloc presentModeAlloc(presentModeCount * sizeof(VkPresentModeKHR)); in createSwapchain()
183 res = fGetPhysicalDeviceSurfacePresentModesKHR(fPhysicalDevice, fSurface, &presentModeCount, in createSwapchain()
272 for (uint32_t i = 0; i < presentModeCount; ++i) { in createSwapchain()
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp173 uint32_t presentModeCount; in createSwapchain() local
174 res = fGetPhysicalDeviceSurfacePresentModesKHR(fPhysicalDevice, fSurface, &presentModeCount, in createSwapchain()
180 SkAutoMalloc presentModeAlloc(presentModeCount * sizeof(VkPresentModeKHR)); in createSwapchain()
182 res = fGetPhysicalDeviceSurfacePresentModesKHR(fPhysicalDevice, fSurface, &presentModeCount, in createSwapchain()
265 for (uint32_t i = 0; i < presentModeCount; ++i) { in createSwapchain()
/external/angle/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp734 uint32_t presentModeCount = 0; in initializeImpl() local
736 &presentModeCount, nullptr)); in initializeImpl()
737 ASSERT(presentModeCount > 0); in initializeImpl()
739 mPresentModes.resize(presentModeCount); in initializeImpl()
741 physicalDevice, mSurface, &presentModeCount, mPresentModes.data())); in initializeImpl()
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp809 uint32_t presentModeCount; in init_swap_chain() local
810 res = vkGetPhysicalDeviceSurfacePresentModesKHR(info.gpus[0], info.surface, &presentModeCount, in init_swap_chain()
814 (VkPresentModeKHR *)malloc(presentModeCount * sizeof(VkPresentModeKHR)); in init_swap_chain()
816 res = vkGetPhysicalDeviceSurfacePresentModesKHR(info.gpus[0], info.surface, &presentModeCount, in init_swap_chain()
856 for (uint32_t presentModeIndex = 0; presentModeIndex < presentModeCount; ++presentModeIndex) in init_swap_chain()