diff options
| author | 2019-07-02 14:29:18 -0700 | |
|---|---|---|
| committer | 2019-07-03 05:29:34 +0000 | |
| commit | 09be73f64603ef71074d9fbf553fec5c7652d283 (patch) | |
| tree | bad619d3dc87ee8caa4cc9cca3605a84662d7e8c /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | c8801bd5ab76239a011345b5f5a064f820d563fc (diff) | |
Surfaceflinger: adjust content detection fps selection
Select the FPS with minimal error in the first pass and then adjust
based on ratio/margin.
The CL changes content driven FPS selection logic,
before the change, the code switch to 90hz configs
when mContentRefreshRate > 64 and with the CL it will
switch to 90hz when mContentRefreshRate > 75. The second
pass to select 90hz when mContentRefreshRate is 45fps
is kept as is. It also simplified and removed 5% margin
in the first pass.
Test: boot and take SF trace
Bug: 136472613
Change-Id: I4445386a301b7fcdd22d71bd49f45540cc414174
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions