diff options
| author | 2023-10-04 10:21:27 -0700 | |
|---|---|---|
| committer | 2023-10-12 16:52:54 -0700 | |
| commit | 5cce9993634dc14b8b7416605783ab2f4e163bd3 (patch) | |
| tree | 95b5a754028aaaf237c34bcbb367f6221f729182 /libs/androidfw/FileStream.cpp | |
| parent | 5b361c07f928fd8c02a347b074a50b977e044f97 (diff) | |
API: add smooth switch in setFrameRateCategory
This allows the platform to have a different behavior depending on
whether a device is MRR or dVRR. When the bool is `true`, MRR devices
(those with DisplayModes that do not have vrr config) will not change
frame rates if it would cause jank. The expected usage is to mark the
bool true when an animation is running.
Bug: 300491171
Test: atest libsurfaceflinger_unittest
Change-Id: I4b28e5b100b7deecda27d4c9134e734bc9c51b47
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions