summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2020-12-01 00:24:33 +0100
committer Jorim Jaggi <jjaggi@google.com> 2020-12-01 14:20:00 +0000
commita3fe67b0397113b0325fc1824d127c049f96aaf5 (patch)
tree7f54de1132ad130727c6966941266a98a59e1df8 /libs/gui/QueueBufferInputOutput.cpp
parent6df72d72ea150492616d543ebcc9190e81e36882 (diff)
Fix vsyncId for long frames and double stuffed
Since the vsyncId was applied immediately, and since we are doing client-side queing in case we are double stuffed, there was a scenario when setFrameTimelineVsyncId was applied too early meaning that the previous frame was tagged with the id from the next frame. To fix that, we set the pending vsync id and then apply it together with the buffer. Test: Expand quick settings, ensure no missing jank data for shared timeline jank classification Change-Id: Id54133b84e5305d7f1f21dbfd9f0889ef3e464c9
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions