summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-12-03 21:18:04 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-12-03 21:27:17 +0800
commit836c889e257e9f6cbfaa2327bfc16730d1fbac81 (patch)
treed360e5f7ca100463c66e075b8ca0b0d10eaddc13 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent386bec73e4184820b421f03ce56929a3322cd8fc (diff)
Update last surface position before unrotating
Because the surface position will be set to the unrotated position according to the last surface position, that also means the current position is applied. Otherwise the reference position for seamless rotator may be zero. This also fixes testSeamlesslyRotateWindow didn't verify the exact rotated position because WindowState#updateSurfacePosition was changed to check isGoneForLayout. Fixes: 174666072 Test: WindowStateTests#testSeamlesslyRotateWindow Change-Id: I99105fcda9b2252a3a9fb50c10b9cba1a4f732f1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions