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

Skip to content
Commit 4e1d9ecd authored by Jorge Gil's avatar Jorge Gil
Browse files

Optimize resize veil relayouts

To avoid redrawing the veil's background color and app icon drawables on
every size change of a drag-resize gesture, which is causing jank and
missed frames, this change draws the background color on a separate
color SurfaceControl and moves the icon to its own SurfaceControl that
is only drawn once and thus only needs to be repositioned when the task
resizes.

Bug: 330626246
Test: manual - drag resize and see veil as usual; check perfetto trace
does not skip frames on every ACTION_MOVE anymore

Change-Id: I97821d5a70f1eca7ec77cb868869dbe2187a6af3
parent e6cd1bb1
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