summaryrefslogtreecommitdiff
path: root/libs/bufferqueueconverter/BufferQueueConverter.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-01-30 18:32:03 -0800
committer Ady Abraham <adyabr@google.com> 2020-01-31 13:45:43 -0800
commita61edcb5190368d9048d9afda1159070a2d26668 (patch)
tree9d8ab565741af2358ae5a4e4aed66f020eb12fcd /libs/bufferqueueconverter/BufferQueueConverter.cpp
parent34189ff16408cdbf62e0d2cff9806c56d8b87fc6 (diff)
SurfaceFlinger: keep LayerInfo history for inactive layers
Instead if clearing the history for past layers, keep a timestamp that will be used to filter out the frames which are outdated. This allows us to distinguish between frequent vs. infrequent layers when we get a buffer after a long time of inactivity. Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Bug: 147516364 Change-Id: Ieb64cf6fc17a306c2db04b734631334af6703e79
Diffstat (limited to 'libs/bufferqueueconverter/BufferQueueConverter.cpp')
0 files changed, 0 insertions, 0 deletions