graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY The glCopyTex(Sub)Image calls are adjusted to take the per output rendering into account. In addition contrast effect sets the model view projection matrix in each call to ensure it's on the correct screen. Blur probably needs more changes for the cached texture to work, but it's a start. TEST PLAN Blur and Background contrast work on multi-screen wayland REPOSITORY rKWIN KWin BRANCH blur-wayland-multi-screen REVISION DETAIL https://phabricator.kde.org/D3101 AFFECTED FILES effects/backgroundcontrast/contrast.cpp effects/backgroundcontrast/contrast.h effects/blur/blur.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas