diff options
| author | 2023-03-02 03:22:35 +0000 | |
|---|---|---|
| committer | 2023-03-02 03:26:48 +0000 | |
| commit | c09c023a9bfc3c34be38cf95d1691fd712af2d68 (patch) | |
| tree | 0b5eb3a5e2f67ca35a8a580b1807b999cc46ef2d /libs/gui/DisplayLuts.cpp | |
| parent | a0cff0958d6ab1b3c83a6ec39642680c1afd7942 (diff) | |
[sf] only update the last latch time if the layer has a buffer
If we apply a transaction that does not latch a buffer, we
incorrectly updated the last latch time. In the next vsync,
if we presented a buffer late, we would misclassify the
jank as buffer stuffing.
Fix this by only updating the latch time if the layer has
a buffer.
Test: verify in perfetto traces
Fixes: 270041584
Change-Id: I423a28803a2660ada80ef554469f3977c389fbfa
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions