[effects] Use more effectData() in BuiltInEffects
ClosedPublic

Authored by zzag on Jun 18 2018, 12:41 PM.

Details

Summary

While BuiltInEffects has effectData() function, many functions repeat
s_effectData.at(index(effect)), which is what effectData() is doing.

By using effectData(), we'll get rid of those repetitions and maybe make
easier transition to other underlying data structure that stores metadata
for builtin effects.

Test Plan

Compiles, all enabled builtin effects are loaded and working.

Diff Detail

Repository
R108 KWin
Branch
effects-effectsdata
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 86
Build 86: arc lint + arc unit
zzag created this revision.Jun 18 2018, 12:41 PM
Restricted Application added a project: KWin. · View Herald TranscriptJun 18 2018, 12:41 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Jun 18 2018, 12:41 PM
davidedmundson accepted this revision.Jun 18 2018, 12:46 PM
This revision is now accepted and ready to land.Jun 18 2018, 12:46 PM
This revision was automatically updated to reflect the committed changes.