summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Chris Forbes <chrisforbes@google.com> 2017-03-17 11:28:32 +1300
committer Chris Forbes <chrisforbes@google.com> 2017-03-31 17:47:51 +1300
commit2c8fc75cca5e42b4f07b589cef6e78f3dff49ae0 (patch)
treea1022c69eaf427a7a1a85e339a0ebd19ff95ed24 /libs/gui/ConsumerBase.cpp
parent34ca5f2ab8cc891957567915def5bc32a36e6d82 (diff)
vulkan: Always request at least 2 images for swapchain
For shared mode, we really only care about 1 image, but there are other changes further down the stack that need to be made for that to really work. For now, just tell the bufferqueue that we want 2. After that, we still only dequeue one buffer (as in fact required by BQ in shared mode) and construct one VkImage over it for giving back to the vulkan app. [in V1 we were just smashing the buffer count to 2, which is messier and observable by the app] Change-Id: Idc0d3c232d56a5c0127f9472611d151f3605939c Test: build
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions