Home
last modified time | relevance | path

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

/external/angle/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()
/external/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()
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp158 uint32_t surfaceFormatCount; in createSwapchain() local
159 res = fGetPhysicalDeviceSurfaceFormatsKHR(fPhysicalDevice, fSurface, &surfaceFormatCount, in createSwapchain()
165 SkAutoMalloc surfaceFormatAlloc(surfaceFormatCount * sizeof(VkSurfaceFormatKHR)); in createSwapchain()
167 res = fGetPhysicalDeviceSurfaceFormatsKHR(fPhysicalDevice, fSurface, &surfaceFormatCount, in createSwapchain()
232 for (uint32_t i = 0; i < surfaceFormatCount; ++i) { in createSwapchain()
/external/angle/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp747 uint32_t surfaceFormatCount = 0; in initializeImpl() local
749 &surfaceFormatCount, nullptr)); in initializeImpl()
751 std::vector<VkSurfaceFormatKHR> surfaceFormats(surfaceFormatCount); in initializeImpl()
753 vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, mSurface, &surfaceFormatCount, in initializeImpl()
759 if (surfaceFormatCount == 1u && surfaceFormats[0].format == VK_FORMAT_UNDEFINED) in initializeImpl()