summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-12-08 04:13:36 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-12-08 04:13:36 +0000
commit06ebddace6ffe6c21bb3ee11121d7bfd507e540d (patch)
tree43d3fe756fd8656b5571c1f0fb9dfc591c7d0b5a /api/api.go
parentc6b20cda93f2dd4da64d4c4a08468d5f3f419b1c (diff)
Reland 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 Change-Id: Ib4ab68d7f116ace168bf994c0fd5c0c08c4496a6 Test: atest TrustedPresentationCallbackTest
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions