[effects/screenedge] Use correct blend function
ClosedPublic

Authored by zzag on Thu, Feb 7, 12:05 AM.

Details

Summary

Glow textures already have the red, green, and blue channels
premultiplied by the alpha component (because of QImage), thus we can't
use GL_SRC_ALPHA for sfactor in glBlendFunc.

BUG: 403570

Test Plan

Before:

After:

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Thu, Feb 7, 12:05 AM
Restricted Application added a project: KWin. · View Herald TranscriptThu, Feb 7, 12:05 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Thu, Feb 7, 12:05 AM
davidedmundson accepted this revision.Thu, Feb 7, 12:09 AM
This revision is now accepted and ready to land.Thu, Feb 7, 12:09 AM
This revision was automatically updated to reflect the committed changes.