davidedmundson created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: KWin, kwin, plasma-devel.
REVISION SUMMARY GLRenderTarget already stores the translation from global compositor space to the render target co-ordinates, we also need a scale factor for the exact same reasons. TEST PLAN Used in various effects after this patch and it works there. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D4948 AFFECTED FILES libkwineffects/kwinglutils.cpp libkwineffects/kwinglutils.h scene_opengl.cpp To: davidedmundson, #plasma Cc: plasma-devel, kwin, #kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol