summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Tony Huang <tonyychuang@google.com> 2023-08-24 09:01:44 +0000
committer Tony Huang <tonyychuang@google.com> 2023-08-30 10:10:38 +0000
commit9ac5e6e6b2a9700268165c6556d30afe24fc204c (patch)
tree22b089bd1776083b28d26d29886daffebe460490 /vulkan/libvulkan/api.cpp
parentc70bee298f8faaccf4d158048f0bdd49a819f4a5 (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 framewokr, we will check the 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 Test: atest SmallAreaDetectionMappingsTest Test: atest LayerHistoryTest Change-Id: Iaf6c0090f9db499fc5ed097b2d3c6d9d871d4812
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions