kwin/plugins/platforms/hwcomposer
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
..
CMakeLists.txt Build platform plugins in correct sub directory of build dir 2018-12-13 19:36:28 +01:00
egl_hwcomposer_backend.cpp [platforms/hwcomposer] Add scaling support 2019-02-22 00:47:08 +00:00
egl_hwcomposer_backend.h Move SceneOpenGL into a dedicated plugin 2017-09-30 13:12:10 +02:00
hwcomposer.json SVN_SILENT made messages (.desktop file) - always resolve ours 2018-10-24 06:05:03 +02:00
hwcomposer_backend.cpp [platforms/hwcomposer] Add scaling support 2019-02-22 00:47:08 +00:00
hwcomposer_backend.h [platforms/hwcomposer] Add scaling support 2019-02-22 00:47:08 +00:00
logging.cpp
logging.h
screens_hwcomposer.cpp [platforms/hwcomposer] Port to AbstractOutput 2019-02-20 13:20:02 +00:00
screens_hwcomposer.h [platforms/hwcomposer] Port to AbstractOutput 2019-02-20 13:20:02 +00:00