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

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

Update renderer surface if rotation is changed

There may have several buffers, especially on a high refresh rate
device. Because the render may only update partial region of the
buffer after the first rotated frame, then the content in previous
rotation may show at the no change regions.

This restores the concept of b2e37802, but still preserves the
optimization of commit 5deb763e. Because the condition doesn't
associate with force-layout request.

Bug: 229366100
Test: No afterimages flicker after rotating 180 degrees
      with an activity uses seamless rotation.
Change-Id: If20d30f849e07c7ccbe3a96a5c82bd106df84312
parent e06bd586
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