diff options
| author | 2020-01-30 14:22:54 -0800 | |
|---|---|---|
| committer | 2020-01-31 00:03:54 +0000 | |
| commit | f6b77071f8a19026373c06870b88c742da260414 (patch) | |
| tree | 43ba5118dff2ff70420c1fd9dbac15f30e31f13c /libs/gui/BufferQueueThreadState.cpp | |
| parent | 466691bed8140fba59e581600e71cdcb6c64e8bd (diff) | |
SurfaceFlinger: fix calculation issues with refresh rate selection
- Initialize BufferQueueCore::mFrameRate
- Load BufferQueueLayer::mLatchedFrameRate value before using it
- Fix a bug with LayerInfoV2 where a frequent layer needs to post at least
FREQUENT_LAYER_WINDOW_SIZE buffers.
- Fix casting issues in RefreshRateConfigs
Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest
Bug: 147516364
Change-Id: Ie6e93ef2f4dd3a030bfd0dbbf8018d96680d8bb3
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions