You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
4 years ago
..
decoratedclient.cpp
decoratedclient.h
decorationbridge.cpp
decorationbridge.h
decorationpalette.cpp
decorationpalette.h
decorationrenderer.cpp [decorations] Fix rendering for depth 30 (10bpc) 4 years ago
decorationrenderer.h
decorations_logging.cpp
decorations_logging.h
settings.cpp
settings.h