d443ba4534b88fe6dfd3bd8f1dd1dc8451ed6734
The ViewRoot is responsible for calculating the current view's surface's transparent region and reporting this to the window server, which in turn notifies Surface Flinger. To minimize cross-process traffic, ViewRoot keeps track of the most recent transparent region that it has reported to the window server, and only sends updates when the region shape changes. ViewRoot is effectively shadowing the internal state of the window server, and usually this works fine, because ViewRoot is usually the only thing that changes this value. But when the surface is recreated, the window server resets the transparent region to empty. So in order to properly update the window server we need to reset our copy of its state to empty too. Fixes issue #2133090: GL Gears runs at half speed in some cases
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%