summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2020-05-05 12:36:44 -0700
committer Lloyd Pique <lpique@google.com> 2020-05-05 15:19:59 -0700
commite9eff9744a5db04b573b85bf2c23d6237428a884 (patch)
tree93272112b6f522c69c1a76ccc4c1b0690f2aa19f /libs/gui/LayerState.cpp
parent547bea0331cd9d24e3931fefe4ea4fdfd6ddbbcf (diff)
CE: Must dequeue a buffer if flipClientTarget requested
To match the logic that always queues a buffer if the HWC has a flipClientTarget request for the current frame, we must also always dequeue a buffer, even if no client composition is being performed. This is an port of an (as yet uncommitted) AOSP change with a ChangeId of I933cbae2f09f81eef6555b1bb1e5991d2c450930, due to the underlying code having been refactored. This version also adds and updates unit tests which were added as part of the refactoring. Bug: 151698217 Test: libcompositionengine_test Test: libsurfaceflinger_test Change-Id: Ia8a1470affb2596b27986cc4153417f48cf4ed1c
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions