diff options
| author | 2023-07-18 20:05:29 +0000 | |
|---|---|---|
| committer | 2023-07-18 20:05:29 +0000 | |
| commit | 42b918ef9d67d655d3f1c04f72354fc5eec34d95 (patch) | |
| tree | 32094ecc62c82ef96ebecb96cbeeb8d2dbe939c5 /libs/gui/SurfaceComposerClient.cpp | |
| parent | d2bfbb3276003e6a5d8eb4dddab633eff4d4e346 (diff) | |
[sf] Update framerate correctly with new frontend
In order to optimize snapshot updates, we only
update the snapshot if the requested state has changed.
If the hierarchy changes, we force update the children's
snapshot but this is not sufficient because a parent's
framerate might be affect by the child's framerate.
To fix this explicitly update the framerate when the
hierarchy changes.
Test: presubmit
Test: atest android.graphics.cts.FrameRateOverrideTest
Bug: 238781169
Change-Id: Ia633e7800cf3169c944313b4220b889bec0c3c5f
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions