D7207: Add virtual Scene::bufferPicture method

Martin Flöser noreply at phabricator.kde.org
Tue Aug 8 17:40:47 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170808/38a4204e/attachment.html>


More information about the Plasma-devel mailing list