commit | 0d73666f60cbf10d0b415d13733a1587962a65c0 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Fri Feb 28 18:22:30 2020 -0800 |
committer | Ady Abraham <adyabr@google.com> | Fri Feb 28 18:28:47 2020 -0800 |
tree | 094f7422a9401910b5b45a9609a95fe764b71c1c | |
parent | de7156e40ab3ed00971df71187ed028587731d2e [diff] |
SurfaceFlinger: fix infrequent frames logic While playing video in YouTube, the UI posts sometimes 2 buffers very close to each other, but overall frame rate is very low (~fps). Fix the infrequent logic to detect this scenario. Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Bug: 147516364 Change-Id: Ie821252f793a18bb8830ac6582b9d99ab8b1c8f6