diff options
| author | 2023-10-19 21:54:08 -0700 | |
|---|---|---|
| committer | 2023-10-20 04:59:15 +0000 | |
| commit | 30515cb768dad2e39c484d65183e123888332c78 (patch) | |
| tree | a7f6de70d7aa82700602d5c6628c86b2e9f6697a /libs/gui/SurfaceComposerClient.cpp | |
| parent | a387c08f70fb33897a521876149af67fb76ca2e8 (diff) | |
Propagate frame rate correctly to child layers
If a child layer has a valid frame rate, and its parent does not
have a valid frame rate, we need to override the parent's frame
rate to no vote.
If the parent has a valid vote, including no vote, children would
inherit this vote if it has no valid vote.
When we were updating the hierarchy, we incorrectly propagated
novote due to a child having a novote to all its siblings in the tree.
Fix this by tracking inherited frame rate separately.
Bug: 304208511
Test: presubmit
Change-Id: I873e75d678fba8c8217a1887f48726d1e4828049
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions