Home
last modified time | relevance | path

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

/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp671 int max_buffer_count; in GetPhysicalDeviceSurfaceCapabilitiesKHR() local
672 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &max_buffer_count); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
678 capabilities->minImageCount = max_buffer_count == 1 ? 1 : 2; in GetPhysicalDeviceSurfaceCapabilitiesKHR()
679 capabilities->maxImageCount = static_cast<uint32_t>(max_buffer_count); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
889 uint32_t max_buffer_count = static_cast<uint32_t>(query_value); in GetPhysicalDeviceSurfacePresentModesKHR() local
892 if (min_buffer_count < max_buffer_count) in GetPhysicalDeviceSurfacePresentModesKHR()