summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-06-10 10:11:17 -0700
committer Ady Abraham <adyabr@google.com> 2020-06-11 11:17:09 -0700
commit0ccd79b10b37de17c78f9ad91ed06a29502d7c6d (patch)
tree28b52024cb3e31dd830fa25d23fefdfa1852d727 /opengl/libagl/TextureObjectManager.cpp
parentb1b9d41c73cfb388a81a2bc45b0c6708e2e627f7 (diff)
SurfaceFlinger: stabilize heuristic refresh rate calculation
When calculating layer's refresh rate heuristically, also store a history of the last refresh rate calculated. We use this list to determine how consistent is the refresh rate. If the refresh rate is not consistent, then we keep reporting the last consistent refresh rate and wait for the refresh rate to stabilize again. Test: Play at 60fps video in XPlayer Bug: 157540021 Change-Id: If3b525820d298cc5835dddf73f327501c8a18964
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions