diff options
author | Tiger Huang <tigerhuang@google.com> | 2021-01-29 17:44:34 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2021-03-11 17:11:48 +0800 |
commit | 5a9a38128f727ac425f1147c0a663328896e5238 (patch) | |
tree | 22a70fa1530e0038bf7a283b9d41b8422a640a25 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions