+16
−18
+0
−4
+10
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This change introduces a new class ProjectionSpace and uses it in OutputCompositionState to describe the layer stack space, the physical display space and the oriented display space. We rename viewport to layerStackSpaceRect, frame to orientedDisplaySpaceRect and destinationClip displaySpaceRect. This aims to provide better readibility of the code and it's also consistent with SurfaceControl.setDisplayProjction where layerStackRect and displayRect are used for viewport and frame. Bug: 161793589 Bug: 160404780 Test: m && flash device Test: atest libsurfaceflinger_unittest libcompositionengine_test Test: adb shell dumpsys SurfaceFlinger Change-Id: Iee20b908157cbef4de4d9addf429f98356ec942d