diff options
| author | 2023-10-18 16:51:12 +0800 | |
|---|---|---|
| committer | 2023-10-30 07:43:21 +0000 | |
| commit | ef4353ebe2f2ae339e3f5f3391ec3eb50e102472 (patch) | |
| tree | 2024ca3c325e5ff21e636811ff857ea8898e3f3f /libs/input/PointerController.cpp | |
| parent | 82516899d89a26e7a45696592b5fb37f387e0b83 (diff) | |
Apply perf session for regular window animation
This keeps the same behavior:
- App transition/rotation/recents
-> Set sf early wake
-> Pause snapshot persist queue
-> Use high refresh rate
- Window container with running SurfaceAnimator
-> Use high refresh rate
Also
- Centralize perf sessions to display (fix leaked sessions).
- Add support to reuse session for flexibility of management.
- Fix non-paired session of transition. Because the transition
can be aborted without playing.
- Fix non-paired trace of SystemPerformanceHinter. Because the
begin/end of name may not match if there are multiple sessions.
- Use asyncTraceForTrack, which reduces extra rows in perfetto.
Bug: 305987082
Test: TransitionTests#testTransitionsTriggerPerformanceHints
WindowContainerTests#testRemoveImmediatelyClearsLeash
Change-Id: If5cf41b9a0586f5a0a76d4a9044a5489900502df
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions