commit | 5a9a38128f727ac425f1147c0a663328896e5238 | [log] [tgz] |
---|---|---|
author | Tiger Huang <tigerhuang@google.com> | Fri Jan 29 17:44:34 2021 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Thu Mar 11 17:11:48 2021 +0800 |
tree | 22a70fa1530e0038bf7a283b9d41b8422a640a25 | |
parent | 932814a00eb19d51481f7d0fc34b1eba2967f241 [diff] |
Make window stable while resizing When the frame size and the frame position of the window are changed at the same time, setPosition to the surface will be applied first, and the client will draw on the new-size buffer later, which makes the window flicker. This CL uses applyWithNextDraw to make the new surface position can be applied while the new frame is drawn. Bug: 176874720 Test: steps in the bug Change-Id: If599488d2ced78fb51a0e0c32b21738172bfe16e