summaryrefslogtreecommitdiff
path: root/libs/gui/LayerMetadata.cpp
diff options
context:
space:
mode:
author Rashed Abdel-Tawab <rashed@linux.com> 2019-10-29 10:01:56 -0700
committer Lloyd Pique <lpique@google.com> 2019-12-19 14:59:06 -0800
commit6643cd81ed63d04662bfded60df1eeb11dcf248c (patch)
treed8dc497167f9f6ac87929e0379f5b1001880802b /libs/gui/LayerMetadata.cpp
parent8a5092d0bbf7fd46f2a27e36a727ca0e7d5c35aa (diff)
CompositionEngine: fix HWC transform calculation
Use the correct display transform in calculateOutputRelativeBufferTransform(). When SF_PRIMARY_DISPLAY_ORIENTATION is set, DisplayDevice only updates the logical to physical transform; OutputCompositionState.orientation doesn't change. Test: - OutputLayerTest.displayInstallOrientationBufferTransformSetTo90 - Run "dumpsys SurfaceFlinger" on a device with SF_PRIMARY_DISPLAY_ORIENTATION set to 90 and verify that the HWC transform is 0 (identity) - screencap Change-Id: I079b5ea22de8d47a7fb7233d01decfbd4b578be8
Diffstat (limited to 'libs/gui/LayerMetadata.cpp')
0 files changed, 0 insertions, 0 deletions