summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Wei Wang <wvw@google.com> 2019-07-02 14:29:18 -0700
committer Wei Wang <wvw@google.com> 2019-07-03 05:29:34 +0000
commit09be73f64603ef71074d9fbf553fec5c7652d283 (patch)
treebad619d3dc87ee8caa4cc9cca3605a84662d7e8c /services/surfaceflinger/RegionSamplingThread.cpp
parentc8801bd5ab76239a011345b5f5a064f820d563fc (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