[effects/screenedge] Use correct blend function
ClosedPublic

Authored by zzag on Feb 7 2019, 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.Feb 7 2019, 12:05 AM
Restricted Application added a project: KWin. · View Herald TranscriptFeb 7 2019, 12:05 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Feb 7 2019, 12:05 AM
davidedmundson accepted this revision.Feb 7 2019, 12:09 AM
This revision is now accepted and ready to land.Feb 7 2019, 12:09 AM
This revision was automatically updated to reflect the committed changes.