diff options
author | 2020-12-15 18:45:12 -0800 | |
---|---|---|
committer | 2020-12-23 22:44:57 +0000 | |
commit | ce4adf1b97be29a65f5b36c345f36651bff1e619 (patch) | |
tree | 845518f3e4e278a6cc43307fdd8b3901bfe778c6 /services/surfaceflinger/RegionSamplingThread.cpp | |
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
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions