commit | cdd0f9d88e8dec40629f60726212e26397a76475 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Fri Aug 09 10:44:59 2019 -0700 |
committer | Ady Abraham <adyabr@google.com> | Fri Aug 09 23:42:31 2019 +0000 |
tree | 28e1909736dc6c759cbd0eab7d9934acaf82009a | |
parent | 2a7a3bfec713dac55a482c60e977333b63cb7de5 [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