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
Loading
Please register or sign in to comment