commit | 2db205d8d24d381a5d52e0407312daa4fc7caf15 | [log] [tgz] |
---|---|---|
author | Rachel Lee <rnlee@google.com> | Mon May 08 11:08:59 2023 -0700 |
committer | Rachel Lee <rnlee@google.com> | Tue May 23 09:51:18 2023 -0700 |
tree | 2c71b8ea85dd56350fe81d91dffe4dcfb243f186 | |
parent | abf2cc0f1b50998e79dafde81c98cc48e029b8fd [diff] |
Don't clear timestamps when enabling HW vsync. It should clear after the first HW Vsync timestamp comes in, and when VSyncReactor period confirmed. Therefore, a prediction when HW vsync is enabled but not yet confirmed is consistent with a prediction when coming out of idle. Bug: 272802278 Test: Flash, perfetto trace Test: atest libsurfaceflinger_unittest Change-Id: I619162d5583f33087de04c0e3b073a589ec4c2f7