summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2020-06-22 12:16:39 -0700
committerchaviw <chaviw@google.com>2020-06-23 09:43:37 -0700
commit161eaff04c8f82c453b28b4439c1d865c9498a57 (patch)
tree33d54ad958416f87768617d054689830c71b6a5b /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent85cac3bc25e57e1da0c8c16bc02b368317fd1b9f (diff)
Remove duplicate coordinate rotation code for screenshots.
The assist screenshot code path request the screenshot from DisplayContent. DC.screenshotDisplayLocked was rotating the coordinates to compenstate for the screenshot always taken in default orientation. However, SurfaceControl.screenshot already takes care of that so we ended up rotating the frame twice and flipping 180 and 90 twice. This caused the screenshot to get taken with a crop for portrait and the orientation flipped. Test: Assist screenshot is correct now Fixes: 159229894 Change-Id: Ie24eca4dd62225d106dbeafd96afba15de9fd623
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions