Backport Night Color feature to X11
ClosedPublic

Authored by zzag on May 22 2019, 5:58 PM.

Details

Summary

The color correction manager doesn't make any specific assumptions about
underlying platform, e.g. whether it's x11, etc. The platform just
has to be capable of setting gamma ramps. Given that, there are no any
significant technical blockers for making this feature work on x.

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.May 22 2019, 5:58 PM
Restricted Application added a project: KWin. · View Herald TranscriptMay 22 2019, 5:58 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.May 22 2019, 5:58 PM
davidedmundson accepted this revision.EditedMay 28 2019, 3:46 PM
davidedmundson added a subscriber: davidedmundson.

This was the original plan when redshift was started.
May as well get the extra testing on the code that is there.

This revision is now accepted and ready to land.May 28 2019, 3:46 PM

Can this land now? The dependent patch has been accepted.

filipf added a subscriber: filipf.Jun 14 2019, 3:32 PM
GB_2 added a subscriber: GB_2.Jun 15 2019, 9:59 AM

Ping, would be very nice to have this on X11.

zzag added a comment.Jun 15 2019, 10:40 AM

If you need this patch in master right now, feel free to land it for me. I got sick with the flu so it might take some time before I do this.

Though I advise you to wait until p-w and p-d patches are accepted.

In D21345#480141, @zzag wrote:

If you need this patch in master right now, feel free to land it for me. I got sick with the flu so it might take some time before I do this.

Though I advise you to wait until p-w and p-d patches are accepted.

Oh no, feel better soon! We can wait a bit, no rush. I'm just eager to announce it. :)

Which other patches should we wait for? I don't see them mentioned in the Description section or listed as dependencies.

GB_2 added a comment.Jun 16 2019, 8:54 AM

Which other patches should we wait for? I don't see them mentioned in the Description section or listed as dependencies.

D21347 and D21346.

romangg accepted this revision.Jun 16 2019, 10:46 AM
romangg added a subscriber: romangg.

Next time just add the diffs from p-w / p-d as dependent ones or better create an overview task linking the relevant diffs, so there are none to be missed by reviewers.

I don't like the GammaRamp class being in the AbstractOutput file, but it's not that crucial.

zzag added a comment.EditedJun 17 2019, 7:04 AM

Depends on how you look at it. Gamma ramp is a property of an output, so I see nothing wrong with keeping both together. Am I missing something?

This revision was automatically updated to reflect the committed changes.