kwin/decorations
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
..
decoratedclient.cpp Move the X11 Decoration Renderer into the X11 standalone platform 2017-09-01 17:49:32 +02:00
decoratedclient.h Restore global menu support 2017-01-11 10:21:03 +01:00
decorationbridge.cpp Add an explicit dependency to Breeze to find decoration plugin 2016-04-12 08:54:50 +02:00
decorationbridge.h DecorationBridge creates Decoration for AbstractClient 2015-12-18 16:41:49 +01:00
decorationpalette.cpp [decorations] Introduce logging category for decorations 2015-07-31 13:13:46 +02:00
decorationpalette.h Adapt to KDecoration API changes 2015-03-31 15:26:55 +02:00
decorationrenderer.cpp Scaled decorations in QPainter mode 2017-10-30 13:27:48 +00:00
decorationrenderer.h Move the X11 Decoration Renderer into the X11 standalone platform 2017-09-01 17:49:32 +02:00
decorations_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
decorations_logging.h [decorations] Introduce logging category for decorations 2015-07-31 13:13:46 +02:00
settings.cpp Restore global menu support 2017-01-11 10:21:03 +01:00
settings.h Bring back configuration options for Decorations 2014-12-04 16:28:06 +01:00