summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Baldev Sahu <bsahu@codeaurora.org> 2018-09-27 15:02:33 +0530
committer Dan Stoza <stoza@google.com> 2020-05-11 12:06:06 -0700
commit0560e0e8ea151004138e6fc39f35fa8985814770 (patch)
tree05c222a0f7c58159be8379719103dea022d8a204 /opengl/libagl/array.cpp
parent8729d923ad2b453b0645415bd843f5687d88fff9 (diff)
sf: Fix issue with dequeueBuffer when multiple display present
swapBuffers is called even for device composition when a flip client target request is present. dequeueBuffer call is skipped as there is no client composition. This is fine for single display but if multiple display i.e. vds is present, this will be an issue as current surface will not be switched and swapBuffers will fail When flip client target request is present, make sure buffer is dequeued before swapBuffers. Bug: 151698217 Test: atest libsurfaceflinger_unittest Change-Id: I933cbae2f09f81eef6555b1bb1e5991d2c450930 Merged-In: Ia8a1470affb2596b27986cc4153417f48cf4ed1c
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions