summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2018-04-12 13:19:46 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2018-04-12 13:19:46 -0700
commit8e951d52c90edc4765221471dd7e49db981fb96c (patch)
tree972446a189f7eab09244d23b862b779fe6c1e6ab /libs/gui/BufferQueueConsumer.cpp
parent0c7c5d6c512c3e80da549ef1fd9567f5bd235868 (diff)
swapchain: add a case for minImageCount in capabilities
When creating a swapchain around a single-buffered SurfaceTexture, the VkSurfaceCapabilitiesKHR structure obtained was giving a minImageCount of 2 and a maxImageCount of 1, which should both be 1 in this case. Test: create a swapchain around a single-buffered SurfaceTexture should give back 1 as minImageCount from VkSurfaceCapabilitiesKHR Bug: b/77825831 Change-Id: Ic42c29a93c6e9c818dbf735be5ce10b58cdb44d9
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions