commit | 616b83295e42d8fb700067bb8edf1fea7b071bdf | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Jun 12 13:30:07 2019 -0700 |
committer | Ady Abraham <adyabr@google.com> | Thu Jun 13 00:25:34 2019 +0000 |
tree | 1c5a299d2065a550d5d5d36d91c3ace66ea04798 | |
parent | a9bf4cadf763fe8337c231c44e7d39827c98a0b8 [diff] |
SurfaceFlinger: tune FPS detection logic Keep 200ms of history for layer instead of 100ms to accomodate scenarios of YouTube playing music and renders at ~6Hz. In addition, change the way layers are considered relevant for fps detection to have a time based mechanism as well. Going by frame number only makes slow layers to become relevant too late. Fixes: 135009095 Test: YouTube playing music Change-Id: Id38290e453111c5cfd4a23383b36b6862c2dd386