commit | fe95fd7e9da41a53b63d26e8fb95776a867ad721 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Dec 17 17:58:51 2018 -0800 |
committer | Ady Abraham <adyabr@google.com> | Mon Feb 04 17:36:50 2019 -0800 |
tree | 3c5e471e31e084875f5dbfcd038c03a96bcd0b24 | |
parent | 5ef8f96efceb28869dbe56b2583128fedada1b56 [diff] |
SurfaceFlinger: check fence when acquiring buffer with PTS This is a fix for a condition where SurfaceFlinger may pass a buffer to HWC before the fence was signaled. This can happen when presentation timestamp is set and the buffer behind the front of the queue has current timestamp. Test: run a scenario that simulate the scenario (PTS is always set to the past) Bug: 123780024 Change-Id: Ib47bc5ebc50136c54b29bd301ad8d059f3dea947