Diffusion KWin 3dc22d7d8882

[platforms/hwcomposer] Add scaling support

Authored by davidedmundson on Feb 22 2019, 12:44 AM.

Description

[platforms/hwcomposer] Add scaling support

Summary:
Despite plasma frameworks doing it's own scaling with fonts, it's been
requested to use kwin/wayland scaling.

Like DRM, when kscreen is not used, scale value is loaded from a config
file.

Config format is
[HWComposerOutputs][0]
Scale=N

The 0 is to map similarly to DRM and support multi-screen, but with a
screen index
rather than a UUID based on EDID.

Because we don't support multi screen this is always 0 for now.

Test Plan: Ran with the config value unset and with the config value at
Scale=3.

Reviewers: KWin, romangg

Reviewed By: KWin, romangg

Subscribers: bshah, romangg, nicolasfella, zzag, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D18810

Details

Committed
davidedmundsonFeb 22 2019, 12:47 AM
Reviewer
KWin
Differential Revision
D18810: [platforms/hwcomposer] Add scaling support
Parents
R108:d6f98d1ecc3a: Reload Shm texture when buffer size changes
Branches
Unknown
Tags
Unknown