summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-07-31 16:01:53 -0700
committer Ady Abraham <adyabr@google.com> 2021-01-25 15:54:29 -0800
commit20dcde8e35b003a82e4c14d39c76f93a16ec6e9d (patch)
tree371e5b1435e6181972d1106fd81fac1fd23cd031 /libs/gui/SurfaceComposerClient.cpp
parent97a4f38dd4a2c73fa83d51f51dfbc0eda8c6f233 (diff)
SF: use parent layer frame rate
If an ancestor of a layer set a frame rate, and that layer doesn't have a frame rate configured, use the one of the ancestor. The reason for this is to support the high refresh rate deny list where WM will set the frame rate on a container layer which is not visible. With this change we will treat all child layers of that container as if they voted themselves. Test: test app that sets preferredDisplayModeId Bug: 163079696 Change-Id: I3c55d393af72e19cd7b4f107d8cc0b2e85289d96
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions