summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2020-09-10 17:58:12 +0200
committer Marin Shalamanov <shalamanov@google.com> 2020-09-21 12:29:40 +0200
commit68933fb83aeffbbc0cb2d0a082feed26cb2e57a4 (patch)
tree6783845e6fb0b5cc2cefc07d5222036b913e07f5 /libs/gui/QueueBufferInputOutput.cpp
parent9c5aaf7229a499e25c80a834de1bad693ab24b56 (diff)
[CE] Extract transform computation logic to ProjectionSpace
The logic that computes the transformation matrix that maps from one projection space to another currently lives in DisplayDevice::setProjection although it's not specific to the DisplayDevice. In this CL we move this to ProjectionSpace so it can be reused and add appropriate testing. Additionally we move most of the remaining logic from DisplayDevice::setProjection to Output::setProjection. Bug: 161793589 Bug: 165184567 Test: atest ProjectionSpaceTest Test: atest libcompositionengine_test libsurfaceflinger_unittest Test: on phone emualutor test that rotation works propertly Change-Id: Ic65a3ba18eda597edb7d2c8635cccfa7cb58a107
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions