Skip to content

server: Allow flipping width and height for faulty hwcomposer HALs

Alfred Neumayer requested to merge personal/fredldotme/allowflipwidthheight into main

The JingPad is a weird one. The Android hwcomposer HAL has width & height in portrait mode, whereas the JingOS hwcomposer HAL has them in landscape. This meant shipping the Android version as part of the device overlay.

Since I would prefer not having to overlay this HAL it needs a quirk property. Introduce such a quirk property as a typical libdeviceinfo property setting.

Property: "MirAndroidPlatformServerFlipWidthAndHeight" Type: boolean

This allows rendering contents on the screen using the default JingOS HAL.

Additionally make the tablet screen be detected as such for other components in the stack to reliably determine the devices properties.

Edited by Alfred Neumayer

Merge request reports