summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2018-06-07 15:29:34 +0200
committerAdrian Roos <roosa@google.com>2018-06-15 23:35:03 +0000
commit0e7b70a3d54844487281913a6061ad198f0a29dc (patch)
tree4aca1a7462a52001c99396441f3c2ac38d11c2bc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9d4a5b5b18108ccb7b5bcffd0fb4889d20a69866 (diff)
WM: Fix seamless rotation
With the introduction of the surface hierarchy, the seamless rotation behavior in WSA is no longer correct: it also applies the WindowState's offset, which leads to that being applied twice. Instead of doing that, we simply rotate the WSA surface within the place that WindowState dictates now. Finally, the location of the WindowState itself also needs to be transformed into the new orientation. Fixes: 109927566 Test: atest CoordinateTransformsTest Test: atest 'WindowStateTests#testSeamlesslyRotateWindow' Change-Id: I9fb27a0a8a2bddc6ec88a4fcce6d6ea00929fb91 (cherry picked from commit 41f7e9d10306603c7a4410938e77418f13f6e939)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions