commit | 12f62a02141c1fe38315d730486cc1eac75437ad | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Wed Feb 03 16:23:16 2021 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Thu Feb 04 00:32:42 2021 +0000 |
tree | db883a894cb003178cdde98d26fdeefacd663f90 | |
parent | 4b1a37bbd205ef397b79f24c0c42500778e507bf [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