[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
Branch
effects-mousemark-properly-use-line-smooth
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1647
Build 1665: arc lint + arc unit
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.