summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-05-27 14:29:09 -0700
committer Ady Abraham <adyabr@google.com> 2020-05-28 18:48:29 +0000
commita6b676e33aefa3ce43f86ebffaa5cdb9bc35832e (patch)
treec7b185969000f5340244e88f9f377247b8e36d3e /libs/gui/SurfaceControl.cpp
parentdfb63ba78b72c214592ae1cc70fc059558e35927 (diff)
SurfaceFlinger: clear LayerHistory on first touch
- Restructure the code in RefreshRateConfigs to be able to clear LayerHistory frames on the first touch event. Without this change we clear the history on every frame as long as the touch timer hasn't expired. - Add log prints for debugging Test: Play 24fps video in YouTube PIP mode and rotate the device - no jank Test: Chrome playing video - no refresh rate switching Test: Hide/Show keyboard when inputting text Test: Running Hay Day and observing refresh rate Bug: 157096772 Change-Id: I7cabecd6ea27ec335e773aa22bb111fa8ec89195
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions