commit | 6de88c4747d86983d52fc10edf05561bfa0e741c | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Tue Nov 10 20:16:03 2020 -0800 |
committer | Ady Abraham <adyabr@google.com> | Mon Nov 23 19:11:28 2020 +0000 |
tree | 2354483e9e40d182e03d23e342f4c139a909c58c | |
parent | c12fbffe466aaf4f30edf8b2bb987d3b7a754374 [diff] |
SurfaceFlinger: expectedVsyncTimestamp can be 0 Scheduler::isVsyncValid can be called with expectedVsyncTimestamp as 0 if it is called from Layer::latchAndReleaseBuffer. If we send the vsync timestamp as 0 to VSyncTracker, it may change the phase for the current divider which will cause jank. Test: run bouncyball and observe systraces Change-Id: Ic0b0ea895497891a22badc9c67cea5c23698fc2c