diff options
| author | 2019-06-12 13:30:07 -0700 | |
|---|---|---|
| committer | 2019-06-13 00:25:34 +0000 | |
| commit | 616b83295e42d8fb700067bb8edf1fea7b071bdf (patch) | |
| tree | 1c5a299d2065a550d5d5d36d91c3ace66ea04798 /opengl/libagl/array.cpp | |
| 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
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions