diff options
author | 2024-01-17 20:19:49 +0800 | |
---|---|---|
committer | 2024-01-17 13:01:22 +0000 | |
commit | debb9afef690ca14ed4555cc3d6e1bf3ea7f6b98 (patch) | |
tree | 69a963422a8b2fa13597152fede18c13867aae73 /libs/input/SpriteController.cpp | |
parent | edd641cb0a3d25d256cbaf7c124fad0e2117c774 (diff) |
Skip performance hint for the end of scene transition
Currently, the transition from convertFromTranslucent is like to
commit visibility from client side. As it is usually called for
ending the scene transition, there won't have any animation effect.
e.g. A starts B
> B convertsToTranslucent (B->translucent)
> Play scene transition ~ animation finish
> B convertFromTranslucent (B->opaque so A becomes invisible)
The last step only needs to go through the standard procedure of
shell transition for visibility change. Otherwise the early-wakeup
sf hint could add a dropped frame that causes the following frames
to be classified as scheduling jank.
Bug: 314261955
Test: UiBenchActivityTransitionsAnimationMicrobenchmark
Change-Id: I1eafd69ccb95816e4f4b7d5f62c4999d9f04d20d
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions