Introduce output replication API
ClosedPublic

Authored by romangg on Sep 3 2019, 4:41 PM.

Details

Reviewers
None
Group Reviewers
KWin
Commits
R110:c8ef5444ee02: Introduce output replication API
Summary

The API allows an output to be replica of another output by setting a
replication source on the former.

Supporting backends are supposed to handle this by moving and resizing the
replica to match the source geometry.

Test Plan

Compiles.

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Sep 3 2019, 4:41 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 3 2019, 4:41 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg requested review of this revision.Sep 3 2019, 4:41 PM

At some point Generator::cloneOutput probably needs changing.

src/output.h
203–211

Is this effectively deprecated with your changes?

The KCM rewrite drops use of it.

romangg added inline comments.Sep 4 2019, 1:58 AM
src/output.h
203–211

No, from my understanding of the backend code and the KCM code it was just handled incorrectly in the past. So before using it in some way again I need to find put how it should work correctly in detail.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 5 2019, 4:02 PM
This revision was automatically updated to reflect the committed changes.