diff options
| author | 2020-07-31 16:01:53 -0700 | |
|---|---|---|
| committer | 2021-01-27 23:01:07 +0000 | |
| commit | f467f898f42eccda1207a90d54e0b7d18b762a1b (patch) | |
| tree | 098c819e371b3c5b0c54693f7a1c7d2cb7b62ba8 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 814bc2250c245ddc03f505e8d0424aae66b3567f (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
Merged-In: I3c55d393af72e19cd7b4f107d8cc0b2e85289d96
(cherry picked from commit 20dcde8e35b003a82e4c14d39c76f93a16ec6e9d)
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions