diff options
| author | 2023-11-21 11:41:48 -0800 | |
|---|---|---|
| committer | 2023-11-21 18:22:19 -0800 | |
| commit | 4c8073d8c39b31e85fb78c810c545a5bcdc93796 (patch) | |
| tree | f893c53ec5855a828a8bdc497243402f87c8d4c5 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 4d6f5374dd11175963b7bbc5d60275345092944e (diff) | |
New selection strategy "DoNotPropagate"
Add new FrameRateSelectionStrategy::DoNotPropagate.
The default behavior ("Self") is to propagate parent vote to children
that has no votes, but if a layer has "DoNotPropagate", it will not
propagate its vote to children. This can be used on ViewRootImpl to
avoid incorrectly propagating frame rate category "NoPreference" to
content SurfaceControls.
Bug: 309687765
Test: atest CtsSurfaceControlTestsStaging
Change-Id: Ibc869f2cc7d4c2822ecc757d44ccef01ea9574d4
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions