summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Tony Huang <tonyychuang@google.com> 2023-08-23 08:43:58 +0000
committer Saul Su <saulsu@google.com> 2023-09-04 15:57:05 +0000
commit68ef56859f8d8c83ec18f323bb2ff5e003892973 (patch)
tree07522b0bbd0d2500a75aeb3962028a9364c5d4b6 /libs/input/SpriteController.cpp
parent15e796566517958edb08fec56bcbf3f304cac717 (diff)
VRR: Allowlist for small area detection
Add a allowlist mechanism for suppress frame rate when small area. In this patch, we will keep a array list to record pkg name which want to apply the small area detection for suppressing frame rate and its threshold value of small area ratio. In framework, we will check all pkg uid by pkg name from package manager and call a native function which include uid and threshold. In SF native, it get the threshold of uid and we will save them as a map, and it will used to check should it apply small area detection and what threshold it should use. Bug: 281720315 Bug: 283055450 Test: atest SmallAreaDetectionMappingsTest Test: atest LayerHistoryTest Change-Id: Iacb4ad25f3476d047b08b9f0c1f46e85597c6c68
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions