Home
last modified time | relevance | path

Searched refs:presentModeCount (Results 1 – 9 of 9) 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()
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp673 uint32_t presentModeCount = 0; in CreateSwapchain() local
674 …tPhysicalDeviceSurfacePresentModesKHR(g_hPhysicalDevice, g_hSurface, &presentModeCount, nullptr) ); in CreateSwapchain()
675 g_PresentModes.resize(presentModeCount); in CreateSwapchain()
676 …hysicalDeviceSurfacePresentModesKHR(g_hPhysicalDevice, g_hSurface, &presentModeCount, g_PresentMod… in CreateSwapchain()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_funcs.hpp6652 uint32_t presentModeCount; in getSurfacePresentModesKHR() local
6657 m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &presentModeCount, nullptr ) ); in getSurfacePresentModesKHR()
6658 if ( ( result == Result::eSuccess ) && presentModeCount ) in getSurfacePresentModesKHR()
6660 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
6664 &presentModeCount, in getSurfacePresentModesKHR()
6666 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
6669 if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) in getSurfacePresentModesKHR()
6671 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
6688 uint32_t presentModeCount; in getSurfacePresentModesKHR() local
6693 m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &presentModeCount, nullptr ) ); in getSurfacePresentModesKHR()
[all …]
Dvulkan_raii.hpp10894 uint32_t presentModeCount; in getSurfacePresentModesKHR() local
10901 &presentModeCount, in getSurfacePresentModesKHR()
10903 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && presentModeCount ) in getSurfacePresentModesKHR()
10905 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
10910 &presentModeCount, in getSurfacePresentModesKHR()
10912 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModesKHR()
10915 …if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && ( presentModeCount < presentModes.siz… in getSurfacePresentModesKHR()
10917 presentModes.resize( presentModeCount ); in getSurfacePresentModesKHR()
14855 uint32_t presentModeCount; in getSurfacePresentModes2EXT() local
14862 &presentModeCount, in getSurfacePresentModes2EXT()
[all …]
/external/swiftshader/include/vulkan/
Dvulkan.hpp91320 uint32_t presentModeCount; in getSurfacePresentModes2EXT() local
91324 …pret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), &presentModeCount, nullptr ) ); in getSurfacePresentModes2EXT()
91325 if ( ( result == Result::eSuccess ) && presentModeCount ) in getSurfacePresentModes2EXT()
91327 presentModes.resize( presentModeCount ); in getSurfacePresentModes2EXT()
91328 …ret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), &presentModeCount, reinterpret_… in getSurfacePresentModes2EXT()
91329 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModes2EXT()
91332 if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) in getSurfacePresentModes2EXT()
91334 presentModes.resize( presentModeCount ); in getSurfacePresentModes2EXT()
91343 uint32_t presentModeCount; in getSurfacePresentModes2EXT() local
91347 …pret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), &presentModeCount, nullptr ) ); in getSurfacePresentModes2EXT()
[all …]
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp90666 uint32_t presentModeCount; in getSurfacePresentModes2EXT() local
90670 …rpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &presentModeCount, nullptr ) ); in getSurfacePresentModes2EXT()
90671 if ( ( result == Result::eSuccess ) && presentModeCount ) in getSurfacePresentModes2EXT()
90673 presentModes.resize( presentModeCount ); in getSurfacePresentModes2EXT()
90674 …pret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &presentModeCount, reinterpret_… in getSurfacePresentModes2EXT()
90679 VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); in getSurfacePresentModes2EXT()
90680 presentModes.resize( presentModeCount ); in getSurfacePresentModes2EXT()
90688 uint32_t presentModeCount; in getSurfacePresentModes2EXT() local
90692 …rpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &presentModeCount, nullptr ) ); in getSurfacePresentModes2EXT()
90693 if ( ( result == Result::eSuccess ) && presentModeCount ) in getSurfacePresentModes2EXT()
[all …]