mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
cb2b925a50198e3dd04ea636fb4e95df1cb1d4c3
Surface reparenting was happening on every frame since we call applyDepthAndBlur on each frame during animation. Instead we can do it only when base surface is set. mBlurSurface should always be parented to mBaseSurface so no point in calling it again and again. Relative layer changes only when we either draw above or recents. While drawing above recents, mBaseSurface relative layer should be used. mBaseSurfaceOverride otherwise. No point to call this during animation. Added perfetto traces comparison home->all apps, alongwith all other generic overview scenarios which possibly could have caused jank is added here: https://drive.google.com/drive/folders/146K_4WLaOGQcZ1gsuhCFlOCzfZ-mJBw8?resourcekey=0-r1-NnNtYGH88d8DGEvnXZg&usp=sharing Bug: 404647629 Test: Manual. Enter overview from Desktop tile / home. Flag: com.android.launcher3.enable_overview_background_wallpaper_blur Change-Id: I567d6b8615685e5c50ef7b7b15787fa56cb2da79
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%