summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Ana Krulec <akrulec@google.com> 2020-06-11 13:16:15 -0700
committer Ana Krulec <akrulec@google.com> 2020-06-18 16:31:04 -0700
commitb9afd79e014b1adc987f5bad7608a52077707bc8 (patch)
treef0db181a5e9c39c34270a5a428e986fc64142533 /opengl/libagl/array.cpp
parent72b3fa467da003ac78248b6868ed51d2401e0b47 (diff)
Move toggling of kernel idle timer to SF
Idle timer is toggled from the SF code using the following logic: - If the device policy refresh rate min = max, we turn off the timer. - If the device policy refresh rate min > the device min, we turn off the timer. - Do not toggle the timer if deviceMin == policyMin. - Timer is on in all other cases. Bug: 140204874 Bug: 158012424 Bug: 145561154 Test: atest SurfaceFlinger_test Test: atest libsurfaceflinger_unittest Test: Select force 90hz through Developer Settings. Toggles timer off. Test: Low brightness zone. Toggles timer off. Change-Id: I9858765861a3b13e11c3930be8f77d85dae6c0c0
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions