kwin/plugins/platforms
David Edmundson 3dc22d7d88 [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
2019-02-22 00:47:08 +00:00
..
drm Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
fbdev Build platform plugins in correct sub directory of build dir 2018-12-13 19:36:28 +01:00
hwcomposer [platforms/hwcomposer] Add scaling support 2019-02-22 00:47:08 +00:00
virtual [platform/virtual] Swap buffers in EGL GBM backend 2019-02-21 23:30:11 +01:00
wayland Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
x11 Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
CMakeLists.txt