summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-02-03 16:23:16 -0800
committer Vishnu Nair <vishnun@google.com> 2021-02-04 00:32:42 +0000
commit12f62a02141c1fe38315d730486cc1eac75437ad (patch)
treedb883a894cb003178cdde98d26fdeefacd663f90 /libs/gui/LayerState.cpp
parent4b1a37bbd205ef397b79f24c0c42500778e507bf (diff)
Check transaction queues when dropping or queuing buffers
When checking if a transaction is ready to be presented, we need to consider the buffers in the current transaction queue. The current state is only updated after the transactionIsReadyToBeApplied check. Without this fix, we were incorrectly dropping buffers that did not have presentation timestamps. Test: atest SurfaceViewBufferTests Test: go/wm-smoke Bug: b/178148035 Change-Id: Idb108063ea2694f4a5ab5bbc9fc039f26579a16b
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions