graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY So far EffectsHandlerImpl directly accessed SceneXrender::bufferPicture through a dynamic cast. If in future the XRender based compositor should be moved into a plugin we cannot access it through a dynamic cast. To solve this problem the bufferPicture method is moved into Scene as a virtual method returning a sane default value. REPOSITORY R108 KWin BRANCH scene-render-buffer REVISION DETAIL https://phabricator.kde.org/D7207 AFFECTED FILES effects.cpp scene.cpp scene.h scene_xrender.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
