summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2020-10-20 15:18:44 -0700
committer Vishnu Nair <vishnun@google.com> 2020-10-20 15:18:50 -0700
commit9ff8bcc46a0306e66e9bd8e5aba234c2c0fdc379 (patch)
tree0b6a76d9cae2eef2e381a88f93267bb6c574405d /libs/gui/QueueBufferInputOutput.cpp
parentf06dc6d791b8e2c05e506603e2ecfcbfa430805c (diff)
Don't increment layer state sequence id when setting setFrameTimelineVsyncForTransaction
Layer state sequence id should only change when the visible region can change. The id is used to set the mVisibleRegionDirty flag which triggers geom calculations and updates to InputDispatcher. setFrameTimelineVsyncForTransaction is called for every layer transaction and this is worse for Blast since buffers come via transactions as well. Test: adb shell dumpsys SurfaceFlinger --frametimeline and check prediction state is valid Change-Id: Ib8ba61a706d122e3e2d77730dcabf29c7480529b
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions