diff options
author | Ady Abraham <adyabr@google.com> | 2019-05-13 18:04:59 -0700 |
---|---|---|
committer | Ady Abraham <adyabr@google.com> | 2019-05-17 14:12:09 -0700 |
commit | f3e0531f5af67e5cd0385f0864c9a8ef99f2969d (patch) | |
tree | 49e3b5306dc129b8e074625967270af01d086ab8 /startop/scripts/lib/cmd_utils.py | |
parent | b380516f8154d8c7f1665e86c486d716666454d6 (diff) |
Implement high refresh rate policy in window manager
If an app is blacklisted or using the camera, we should switch
back to the refresh rate that is >= 60hz.
However, if the app is animating, we want it to be running at
90hz so we switch immediately when a window is animating or
about to animate.
Test: HighRefreshRateBlacklistTest
Test: RefreshRatePolicyTest
Test: manually added blacklist entry and checked refresh rate
Test: Verify that animations still run at 90hz
Fixes: 132338514
Fixes: 130744843
Change-Id: If44268b01df8b81ffef183e4942105a9fe077d3d
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions