diff options
| author | 2019-07-02 14:29:18 -0700 | |
|---|---|---|
| committer | 2019-09-03 19:30:29 -0700 | |
| commit | 4b494ee9adff8b4ed5cd25c1c1e3881fb550d449 (patch) | |
| tree | 9dadf5e84e8799208a7dc2933d4643e2a795ebdb /vulkan/libvulkan/api.cpp | |
| parent | 9f10eb9cb8300c6cd5965078c5a767dd077e0707 (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
(cherry picked from commit 09be73f64603ef71074d9fbf553fec5c7652d283)
Merged-In: I4445386a301b7fcdd22d71bd49f45540cc414174
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions