Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ef4353eb authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 82516899
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment