kwin/decorations
Bernie Innocenti 0c67eb983c [decorations] Fix rendering for depth 30 (10bpc)
When the display is set to 30-bit depth (10-bit per color component),
decorations of some clients appear garbled when compositing is disabled.
This is because the pixel format of the QImage in which the decorations
were rendered differed from the the X pixmap into which the pixels were
being copied by means of xcb_put_image().

For lack of a more robust way, this change guesses A2RGB30 for depth=30,
and keeps using ARGB32 as before for any other depth. I don't expect
anything other to 32bpp to be supported by KWin anyway.

Tested on amdgpu with KWIN_OPENGL_INTERFACE=egl.

BUG: 406302
FIXED-IN: 5.19.4
2020-07-10 13:08:53 +00:00
..
decoratedclient.cpp Update cached client size when the client geometry has changed 2020-06-18 07:40:58 +00:00
decoratedclient.h [decoration] Implement the size property 2020-01-28 18:42:17 +02:00
decorationbridge.cpp Port KWin to KWaylandServer 2020-04-30 12:56:08 +02:00
decorationbridge.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
decorationpalette.cpp Merge branch 'Plasma/5.16' 2019-07-10 11:05:50 +02:00
decorationpalette.h Adapt to KDecoration API changes 2015-03-31 15:26:55 +02:00
decorationrenderer.cpp [decorations] Fix rendering for depth 30 (10bpc) 2020-07-10 13:08:53 +00:00
decorationrenderer.h [scene] Fix decoration texture bleeding 2020-01-09 15:13:07 +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 Fix compiler warnings 2020-03-17 15:07:52 +01:00
settings.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00