Skip to content

cursor-renderer/native: Unpremultiply for color state transformation

Without doing this, a non-linear color state transformation could result in premultiplied colour values larger than the alpha value, which manifested with artifacts such as parts of the cursor shining brighter than SDR white.

This was reported in the GNOME Shell Matrix room on August 8th 2024, and I later hit it myself.

Merge request reports

Loading