[effects/mousemark] Properly use GL_LINE_SMOOTH
ClosedPublic

Authored by zzag on Aug 9 2018, 6:33 PM.

Details

Summary

We need to enable GL_BLEND for line smoothing to work.

CCBUG: 337044

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.Aug 9 2018, 6:33 PM
Restricted Application added a project: KWin. · View Herald TranscriptAug 9 2018, 6:33 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Aug 9 2018, 6:33 PM
zzag edited the test plan for this revision. (Show Details)Aug 9 2018, 6:34 PM

With antialiasing, the lines still look like crap. :(

zzag updated this revision to Diff 39365.Aug 9 2018, 6:38 PM

Add whitespace after comma

davidedmundson accepted this revision.Aug 9 2018, 6:40 PM
davidedmundson added a subscriber: davidedmundson.

screenshots look the same to me, but method documentation says it should .

This revision is now accepted and ready to land.Aug 9 2018, 6:40 PM
This revision was automatically updated to reflect the committed changes.