summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-11-29 05:51:06 +0000
committer Vishnu Nair <vishnun@google.com> 2023-12-01 19:03:41 +0000
commitae3a53650fe557f3c7d89dd231aecbde6de4062a (patch)
tree43d3fe756fd8656b5571c1f0fb9dfc591c7d0b5a /libs/input/PointerController.cpp
parent9a964b914a43375ea010575ee9dded15ca59c761 (diff)
Use WindowInfosListener for TPL
Move TPL logic from surfaceflinger to system server. When a TPL is registered, start listening to window info updates and start checking for whether thresholds will be crossed. This allows us to move the logic away from the composition hot path and optimize to handle multiple listeners. This change also consolidates all the TPL logic into its own thread. Bug: 290795410 Test: atest TrustedPresentationCallbackTest Change-Id: Ib649f157ddbb6b5a952cedeb235f6ace6f5e43ae
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions