summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueProducer.cpp
diff options
context:
space:
mode:
author Rachel Lee <rnlee@google.com> 2023-10-23 14:48:44 -0700
committer Rachel Lee <rnlee@google.com> 2023-10-25 17:28:40 -0700
commit414f4080a92c039c0f777b9b43a47fe0a376eb1f (patch)
treecb399508950fc931162487aa078e8dd63a0e16e1 /libs/gui/BufferQueueProducer.cpp
parent52a23d71c641a6e5c5dc83b71d28d4cd82c6b15b (diff)
Non-visible layers are now "inactive"
When setting "explicit_refresh_rate_hints", we saw the perfetto trace is very noisy in LayerHistory/RefreshRateSelector. This change fixes this in a few ways: - Non-visible layers should now be inactive in LayerHistory. This should be safe because non-visible layers were treated as NoVote, and does not affect the refresh rate chosen. - LayerInfo for ExplicitCategory now considers NoVote (from non-visible layer). - RefreshRateSelector::calculateLayerScoreLocked does not have any interesting trace calls itself, so remove its ATRACE_CALL. Bug: 305008279 Test: atest libsurfaceflinger_unittest Test: atest SetFrameRateTest Test: perfetto trace not noisy Change-Id: I40056ea48b8323b7be0936e7717706bf9a0926f9
Diffstat (limited to 'libs/gui/BufferQueueProducer.cpp')
0 files changed, 0 insertions, 0 deletions