summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.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> 2020-05-21 22:02:05 +0000
commit9135ddd59acaaaa445de83b59e61e60a872247a1 (patch)
tree091970e86aea1758059507b32462d9e23e595198 /opengl/libagl/TextureObjectManager.cpp
parentf5e2c5d0f8f390e22bcec9d42fde501bccfaa8fb (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 Merged-In: I079b5ea22de8d47a7fb7233d01decfbd4b578be8
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions