09a3628a83f7ca305bcf9b78bdd517926f8c900b
Add a new priority PRIORITY_DEVICE_PEAK_REFRESH_RATE, and a new config
setting config_defaultRefreshRate which maps to that priority. This
allows an OEM to easily specify a default frame rate different from the
peak frame rate.
Bug: 148978450
Bug: 154648391
Test: - Added new unit tests to verify DisplayModeDirector handles min,
peak, and default refresh rate settings correctly.
- Modified a POCO F3 to set config_defaultRefreshRate to 120Hz, confirmed
we default to 60, but that an app calling setFrameRate(120) switches us
to 120.
- Confirmed that the "smooth display" and "force 120Hz" options on POCO F3 work correctly.
- While we are at it drop redundant config_defaultMinimumRefreshRate
Signed-off-by: althafvly <althafvly@gmail.com>
Change-Id: I9e5b33ae4d8cb6753b9af70ec5407b3576e75dc3
Description
No description provided
Languages
Python
27.3%
Java
26.6%
Shell
20.1%
C++
19.7%
Makefile
6.3%