Home
last modified time | relevance | path

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

/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp358 const uint32_t kNumFormats = sizeof(kFormats) / sizeof(kFormats[0]); in GetPhysicalDeviceSurfaceFormatsKHR() local
362 if (*count < kNumFormats) in GetPhysicalDeviceSurfaceFormatsKHR()
364 std::copy(kFormats, kFormats + std::min(*count, kNumFormats), formats); in GetPhysicalDeviceSurfaceFormatsKHR()
366 *count = kNumFormats; in GetPhysicalDeviceSurfaceFormatsKHR()