summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-08-09 10:44:59 -0700
committer Ana Krulec <akrulec@google.com> 2019-09-04 14:06:34 -0700
commit4344553ce300584d5c27b29f2345d248e488aa57 (patch)
treed1612fae02909b93379d34d6ad21c38f40d52fa5 /libs/gui/BufferQueueThreadState.cpp
parentac1aeaffec4ae787a500575da9f224b88b0bb699 (diff)
SurfaceFlinger: clamp frame refresh duration to min refresh duration
Some applications may send doubles frames which are scheduled to be presented very close to each other. In this case to avoid calculating a very high fps for the layer, clamp the refresh duration to the minimal value allowed for the layer. Test: YouTube play "YouTube 60fps Tester" video. Bug: 139209733 Change-Id: I4bcdfad65b57782ec6e346e8d884bfb6e2abac4d (cherry picked from commit cdd0f9d88e8dec40629f60726212e26397a76475) Merged-In: I4bcdfad65b57782ec6e346e8d884bfb6e2abac4d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions