Skip to content
Commit debe7673 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

libkwineffects/kwinglutils: handle alpha better with colormanagement

Alpha from clients is encoded in electrical values, and some of our code also relies
on compositing results being encoded in electrical values. To take care of this, we
need to undo the premultiplication of rgb values, convert to or from linear, and then
re-do the premultiplication. This doesn't result in exactly the same blending behavior
with linear blending, but it's close enough
parent c112bb5c
Pipeline #417239 passed with stage
in 10 minutes and 15 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment