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