diff options
| author | 2022-10-10 16:55:54 -0400 | |
|---|---|---|
| committer | 2022-10-24 13:20:19 -0400 | |
| commit | 530d6bdde7c6dd6c18a7f8fd8b8406dc2adf1c86 (patch) | |
| tree | 6dfc95279e25372be2e049719779092d3832095c /libs/jpegrecoverymap/jpegencoder.cpp | |
| parent | a81a627c0ac244586c72170b8825b0735874bf65 (diff) | |
SF: Clean up API for refresh rate selection
Define types for each step: ScoredRefreshRate, RefreshRateRanking,
RankedRefreshRates, DisplayModeChoice, and DisplayModeRequest. The
last will replace DisplayDevice::ActiveModeInfo in a follow-up CL.
Add Scheduler::mLeaderDisplayId (always the primary display for now)
and provisionally use its DisplayModeChoice until Scheduler::Policy
is tracked per display.
Rewrite multi-display tests, which relied on each DisplayMode having
the same PhysicalDisplayId, and did not actually verify mode/display
association (`expectedDisplays` was unused). Test RefreshRateRanking
ordering by descending score.
Bug: 241285191
Test: libsurfaceflinger_unittest
Change-Id: I1d24d6a1fa9285aa7fc4bf2dd6654fa660d27b08
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoder.cpp')
0 files changed, 0 insertions, 0 deletions