commit | ce4adf1b97be29a65f5b36c345f36651bff1e619 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Tue Dec 15 18:45:12 2020 -0800 |
committer | Ady Abraham <adyabr@google.com> | Wed Dec 23 22:44:57 2020 +0000 |
tree | 845518f3e4e278a6cc43307fdd8b3901bfe778c6 | |
parent | f0c5649f2ed8ca5fba07389908b2491007d50b08 [diff] |
SurfaceFlinger: fix early latching of buffers Use the FrameTimeline::SurfaceFrame predicted present time to avoid latching a buffer too early (i.e. before the time SurfaceFlinger planned to latch this buffer when the app requested a vsync callback). Bug: 169901895 Test: expand notification shade and observe systrace Change-Id: I823546992c89f88c0c29b839ce21c79ff1ffcfbd