romangg created this revision. romangg added reviewers: KWin, Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. romangg requested review of this revision.
REVISION SUMMARY This provides means to set replicas and queries them on X11 by transforming crtcs with the XRender extension. There is a heuristic at play to detect possible replications and currently the aspect ratio is not perserved but the image stretched. Using different values for the transformation matrix also the former should be possible. TEST PLAN Manually together with patch to KScreen. REPOSITORY R110 KScreen Library BRANCH cloneX11 REVISION DETAIL https://phabricator.kde.org/D23663 AFFECTED FILES backends/xrandr/xrandrconfig.cpp backends/xrandr/xrandrcrtc.h backends/xrandr/xrandroutput.cpp backends/xrandr/xrandroutput.h src/configserializer.cpp To: romangg, #kwin, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart