commit | 413287fa00fc9bbeb7246b88336c3f1a28cf922a | [log] [tgz] |
---|---|---|
author | Kevin DuBois <kevindubois@google.com> | Mon Feb 25 08:46:47 2019 -0800 |
committer | Kevin DuBois <kevindubois@google.com> | Thu Mar 07 09:06:04 2019 -0800 |
tree | 8cf17df513357f41d10595b869d7f3cd26a64783 | |
parent | d8a1c29353b89684aef1a15ea4aab1b509ea9293 [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