summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Kevin DuBois <kevindubois@google.com> 2019-02-25 08:46:47 -0800
committer Kevin DuBois <kevindubois@google.com> 2019-03-07 09:06:04 -0800
commit413287fa00fc9bbeb7246b88336c3f1a28cf922a (patch)
tree8cf17df513357f41d10595b869d7f3cd26a64783 /libs/gui/BufferQueueThreadState.cpp
parentd8a1c29353b89684aef1a15ea4aab1b509ea9293 (diff)
SF: rate-limit luma sampling
Instead of sampling the luma regions every frame, introduce a rate limiting system to reduce load. Introduces a few tunables to control the rate, which is defaulted to 10Hz, when there is content being watched for luma. Test: manual systrace inspection, using SamplingDemo Test: libgui_test --gtest_filter="RegionSampling*" Test: atest CompositionSamplingListenerTest Fixes: 126747045 Change-Id: I7cae3e90fb405ba72dc2f276a88be48f1533a219
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions