summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Ian Elliott <ianelliott@google.com> 2021-12-01 12:35:57 -0700
committer Ian Elliott <ianelliott@google.com> 2021-12-01 12:35:57 -0700
commitf5737986ae9cfd65fbee2aa0ca7d55f762b5efa9 (patch)
tree3097556fad755ac6c0f324631ae66073323cedb8 /vulkan/libvulkan/api.cpp
parent38a129962a2c2c93fd5c3b31703ecad1e17ddd4c (diff)
swapchain: Fix MAILBOX and SHARED presentation modes
This change undoes one previous change and fixes the original performance problem reported with b/182887411. By default, Vulkan swapchains should use: - 3 images for FIFO (unless limited or increased from below) - 1 images for SHARED This reverts the following commit: - commit 148bad076ef46297e516b650007852937a506c8b. "swapchain: increase the minimal buffer count to 3" Note: Another version of this change reverts two changes. This version of the change only needs to revert the above commit. Test: Manual testing with additional logging Bug: 204105805 Bug: 182887411 Change-Id: I9902d11aadf946a51c3f74e1462faf620a84a977 Merged-In: I9902d11aadf946a51c3f74e1462faf620a84a977
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions