summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2020-11-07 02:40:55 +0800
committerTiger Huang <tigerhuang@google.com>2020-11-08 02:08:57 +0800
commiteefe559c722c0c4e1ddc7404665ccf1ae0156250 (patch)
tree9e7a26017a6269353c5bf414e3d63dcc6769b7f9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc6183933df243534cb0bb01b041e29f2d9d69a81 (diff)
Make insets source window stable while resizing
When the size and the position of the insets source window are changed at the same time, setPosition will be applied first, and the client will draw on the new-size surface later, which makes the screen flicker. This CL defers the setPosition transaction until the new frame is drawn, which can make the window stable if the content is drawn at the same location on the display. This CL also fixes WindowState#mGivenInsetsPending. If the given insets will be sent to window manager, the provided insets won't be changed during relayoutWindow until the given insets are sent. Bug: 171965103 Test: steps in the bug Change-Id: I4684c03e8def6fa33980e6c10e444f7377c306f8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions