commit | da2e609eb07b5afb00e72655c5b3d24c313027e4 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Wed Jul 29 15:00:07 2020 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Jul 30 11:02:40 2020 -0700 |
tree | 810253fd31564621ad8fbfc647ebeb78f5284426 | |
parent | b96ea771e0c1916eeaee6b979a5f9d7848c0ed59 [diff] |
Surface: do not evict outstanding buffer in onBuffersDiscarded Due to the nature of async callback, onBufferDiscarded may arrive after a discarded slot has been occupied by a new buffer. Fix that issue by skipping currently dequeued slots. Test: Stress test script in the bug Bug: 161787265 Change-Id: Ia8fdd5f28c4b535bc5a7010b6ee0b16e375ec257