Skip to content

scenes/opengl: Paint background with alpha 0

Kai Uwe Broulik requested to merge work/kbrouli/transparent-backdrop into master

In conjunction with a buffer format with alpha channel this allows to have KWin's backdrop transparent to see through to a display layer below.

The background painting isn't blended so the alpha value of zero overrides the current pixels.

Could not observe any rendering artifacts when moving windows about.

It could theoretically be implemented for QPainter backend using CompositionMode_Source.


Kai Uwe Broulik kai_uwe.broulik@mbition.io on behalf of MBition GmbH

https://github.com/mercedes-benz/daimler-foss/blob/master/PROVIDER_INFORMATION.md

Merge request reports