summaryrefslogtreecommitdiff
path: root/libs/renderengine/RenderEngine.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-08-16 12:01:57 -0700
committer Prabir Pradhan <prabirmsp@google.com> 2021-08-19 11:51:13 +0000
commit9afe784f828a77e6dd55fd8ff4ffe93a8d09184d (patch)
tree1815c281fad31b54fd815d782517b1eccf36901a /libs/renderengine/RenderEngine.cpp
parent214040a792c4f9793421b017019d0dc53d2de6ca (diff)
Undo rotation by physical orientation in WindowInfo transforms
Some devices have a their display panels installed in a different orientation than the expected default orientation. This can be configured through the build prop ro.surface_flinger.primary_display_orientation, or through other means. Input, framework, and other services are not concerned with the display panel orientation. In this CL, we rotate the transforms sent in WindowInfo by the inverse of the physical orientation, making the window transforms relative to WM's ROTATION_0 instead of the display panel orientation. Bug: 179274888 Bug: 195617582 Bug: 195586068 Test: manual with device that has a non-standard display panel installation Test: atest com.android.launcher3.ui.TaplTestsLauncher3 Merged-In: I727b22c004014355f337da2b753b61c5946667d0 Change-Id: I727b22c004014355f337da2b753b61c5946667d0
Diffstat (limited to 'libs/renderengine/RenderEngine.cpp')
0 files changed, 0 insertions, 0 deletions