summaryrefslogtreecommitdiff
path: root/libs/permission/AppOpsManager.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-04-03 22:34:17 +0000
committer Vishnu Nair <vishnun@google.com> 2023-04-04 00:07:45 +0000
commitf01a6f1491ec94dca77d80d3c76c473e806226da (patch)
tree5c1793a4a0248f468851f6acc2a74aea3d84d793 /libs/permission/AppOpsManager.cpp
parentf9c1b98e54aa996d2a4412916a09e6fe504be560 (diff)
[sf] Fix latch unsignaled issues
With LatchUnsignaledConfig::AutoSingleLayer flag, we should only apply a transaction with an unsignaled fence if its the only transaction. If we pass an unsignaled fence to HWC, HWC might miss presenting the frame if the fence does not fire in time. If we apply another transaction we may penalize the other transaction unfairly. With LatchUnsignaledConfig::Always flag, respect backpressure flag and take the opportunity to simplify the logic by treating the flag as a signal to ignore the fence when applying transactions. Test: surfaceflinger unit tests Bug: 276229937 Change-Id: Ib5cd8205d62fdf8912b7f5c2cad312a01cae4300
Diffstat (limited to 'libs/permission/AppOpsManager.cpp')
0 files changed, 0 insertions, 0 deletions