[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
Branch
screenedge-correct-blend-func
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 7967
Build 7985: arc lint + arc unit
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.