summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author ramindani <ramindani@google.com> 2022-04-19 20:11:10 +0000
committer Ram Indani <ramindani@google.com> 2022-04-21 16:11:12 +0000
commit2c043bedc96c31b6c01060e073b8c1aaf8cd02e6 (patch)
tree31891a133cc70cc20cb766d8672e1773aa4c55a9 /libs/gui/BufferQueueThreadState.cpp
parent1527529f4eccca13d2e1f897abd881c6ffd94dfe (diff)
Use the primaryDisplayRotationFlags for the source crop calculation
Source frame and bufferCrop calculations use the primaryDisplayRotationFlags using the projection space orientation just for the source crop calculation causes the unwanted source crop in a situation where bufferCrop and source frame are in different coordinate system. Using the same primaryDisplayRotationFlags in Source crop calculation will make all these calculations in line. Test: verified manually with provided test apk in the #comment1 on foldable, tablet and a phone and verified go/wm-smoke atest libsurfaceflinger_unittest atest libcompositionengine_test atest CompositionTest atest OutputLayerTest BUG: 204187592 Change-Id: I23c6dcfb39979fd67eb5e1d21c011476c630058b
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions