Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/win32/
DDisplayVkWin32.cpp114 uint32_t surfaceFormatCount; in initialize() local
116 if (vkGetPhysicalDeviceSurfaceFormatsKHR(physDevice, surfaceVk, &surfaceFormatCount, nullptr) != in initialize()
121 mSurfaceFormats.resize(surfaceFormatCount); in initialize()
122 if (vkGetPhysicalDeviceSurfaceFormatsKHR(physDevice, surfaceVk, &surfaceFormatCount, in initialize()
/third_party/skia/tools/sk_app/
DVulkanWindowContext.cpp159 uint32_t surfaceFormatCount; in createSwapchain() local
160 res = fGetPhysicalDeviceSurfaceFormatsKHR(fPhysicalDevice, fSurface, &surfaceFormatCount, in createSwapchain()
166 SkAutoMalloc surfaceFormatAlloc(surfaceFormatCount * sizeof(VkSurfaceFormatKHR)); in createSwapchain()
168 res = fGetPhysicalDeviceSurfaceFormatsKHR(fPhysicalDevice, fSurface, &surfaceFormatCount, in createSwapchain()
239 for (uint32_t i = 0; i < surfaceFormatCount; ++i) { in createSwapchain()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp188 uint32_t surfaceFormatCount = 0; in DoesSurfaceSupportFormatAndColorspace() local
190 &surfaceFormatCount, nullptr)); in DoesSurfaceSupportFormatAndColorspace()
192 std::vector<VkSurfaceFormat2KHR> surfaceFormats2(surfaceFormatCount); in DoesSurfaceSupportFormatAndColorspace()
199 physicalDevice, &surfaceInfo2, &surfaceFormatCount, surfaceFormats2.data())); in DoesSurfaceSupportFormatAndColorspace()
220 uint32_t surfaceFormatCount = 0; in DoesSurfaceSupportFormat() local
222 &surfaceFormatCount, nullptr)); in DoesSurfaceSupportFormat()
224 std::vector<VkSurfaceFormatKHR> surfaceFormats(surfaceFormatCount); in DoesSurfaceSupportFormat()
226 vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &surfaceFormatCount, in DoesSurfaceSupportFormat()
229 if (surfaceFormatCount == 1u && surfaceFormats[0].format == VK_FORMAT_UNDEFINED) in DoesSurfaceSupportFormat()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_funcs.hpp7552 … uint32_t surfaceFormatCount; in getSurfaceFormatsKHR() local
7556 …FormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ); in getSurfaceFormatsKHR()
7557 if ( ( result == VK_SUCCESS ) && surfaceFormatCount ) in getSurfaceFormatsKHR()
7559 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7561 …m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, reinterpret_cast<VkSu… in getSurfaceFormatsKHR()
7565 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
7566 if ( surfaceFormatCount < surfaceFormats.size() ) in getSurfaceFormatsKHR()
7568 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7585 … uint32_t surfaceFormatCount; in getSurfaceFormatsKHR() local
7589 …FormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ); in getSurfaceFormatsKHR()
[all …]
Dvulkan_raii.hpp13958 uint32_t surfaceFormatCount; in getSurfaceFormatsKHR() local
13963 …lDevice>( m_physicalDevice ), static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ); in getSurfaceFormatsKHR()
13964 if ( ( result == VK_SUCCESS ) && surfaceFormatCount ) in getSurfaceFormatsKHR()
13966 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
13969 &surfaceFormatCount, in getSurfaceFormatsKHR()
13974 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
13975 if ( surfaceFormatCount < surfaceFormats.size() ) in getSurfaceFormatsKHR()
13977 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
15911 uint32_t surfaceFormatCount; in getSurfaceFormats2KHR() local
15917 &surfaceFormatCount, in getSurfaceFormats2KHR()
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp7033 uint32_t surfaceFormatCount; in getSurfaceFormatsKHR() local
7038 m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ) ); in getSurfaceFormatsKHR()
7039 if ( ( result == Result::eSuccess ) && surfaceFormatCount ) in getSurfaceFormatsKHR()
7041 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7045 &surfaceFormatCount, in getSurfaceFormatsKHR()
7047 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
7050 if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) in getSurfaceFormatsKHR()
7052 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7070 uint32_t surfaceFormatCount; in getSurfaceFormatsKHR() local
7075 m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ) ); in getSurfaceFormatsKHR()
[all …]
Dvulkan_raii.hpp10964 uint32_t surfaceFormatCount; in getSurfaceFormatsKHR() local
10971 &surfaceFormatCount, in getSurfaceFormatsKHR()
10973 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && surfaceFormatCount ) in getSurfaceFormatsKHR()
10975 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
10979 &surfaceFormatCount, in getSurfaceFormatsKHR()
10981 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
10984 …if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats… in getSurfaceFormatsKHR()
10986 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
13142 uint32_t surfaceFormatCount; in getSurfaceFormats2KHR() local
13149 &surfaceFormatCount, in getSurfaceFormats2KHR()
[all …]