kwin/plugins
David Edmundson 7e6721ece0 Scaled decorations in QPainter mode
Summary:
Under wayland we support high DPI putting by putting a separation
between the logical co-ordinate system and the resolution of rendered
assets.

I didn't include window decorations in the previous wayland scaling
patchset. They were drawn them at a standard resolution, which is
implicitly scaled up.

This uses the Qt scaling, meaning oxygen and breeze (and others) get
perfect high DPI support with zero client changes.

Like the window scaling this handles any combination of a 2x scaled
decoration being rendered on a 1x screen or vice versa.

CCBUG: 384765

Test Plan:
export KWIN_COMPOSE=Q
Had two screens of different scales
It was the right size on both (as before)
Was super-sharp on the fancy screen

Reviewers: #plasma, hetzenecker, graesslin

Reviewed By: #plasma, graesslin

Subscribers: ngraham, graesslin, plasma-devel, kwin, #kwin

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8504
2017-10-30 13:27:48 +00:00
..
idletime [wayland] Fix heap-use-after-free in idle time plugin 2016-02-02 12:00:12 +01:00
kdecorations SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-28 04:30:46 +02:00
kglobalaccel [globalaccel] Ensure we don't call into deleted InputRedirection on shutdown 2015-10-05 14:47:15 +02:00
platforms Merge branch 'Plasma/5.11' 2017-10-26 01:07:49 +01:00
qpa [QPA] Implement Screen on top of internal Screens API 2017-10-19 18:03:10 +02:00
scenes Scaled decorations in QPainter mode 2017-10-30 13:27:48 +00:00
CMakeLists.txt Move SceneXRender into a plugin 2017-09-01 17:42:28 +02:00