summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-05-08 14:59:44 -0700
committer Ady Abraham <adyabr@google.com> 2020-05-08 22:15:05 +0000
commit49e65e422d6d464dfebd47d710bf0a8472834ade (patch)
tree5d6a3090deefd1d1a627295a7339c363c97d4ff4 /opengl/libagl/TextureObjectManager.cpp
parentca4cf8ad870a59f6930804fb79f10efc08e438e0 (diff)
SurfaceFlinger: use queueTime as well when calculating refresh rate
When calculating refresh rate, we want to make sure that the refresh rate of a layer is "stable", meaning that the average we calculated is correct for all the samples we have. If the app stops frame production and then resumes we don't want to calculate the refresh rate average across a different group of frames. This change enhances the detection of when the app stops to produce a frame by looking at the queue time of a frame if this frame doesn't have a timestamp. Bug: 155710271 Test: Start an animation not driven by touch Change-Id: Icef63a1ba86c1ad063592717115addd700e22cad
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions