summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-06-18 12:32:33 -0700
committer Ady Abraham <adyabr@google.com> 2021-06-21 20:49:47 -0700
commit148bad076ef46297e516b650007852937a506c8b (patch)
tree1231ff8c052fb124fbfb81e67e73f9fdc35dc9a9 /libs/gui/DisplayLuts.cpp
parenta785b9a9c362954c3d136cba1f30ff4bd9edf49c (diff)
swapchain: increase the minimal buffer count to 3
On Android, the compositor will latch buffers only if they are completed (i.e. the gpu fence is signaled), which means 2 buffers would be acquired from the buffer queue. If the client wants mailbox or swap_interval=0 behavior, an additional buffer is needed for the app to never block on dequeueBuffer. Test: run Vk cube and observe buffer count Test: CtsDeqpTestCases: dEQP-VK.wsi.* Bug: 182887411 Change-Id: I4c6bcb85200c6646dd8c504b2d40471c7d6eeed6
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions