Skip to content
  • Martin Flöser's avatar
    Add virtual Scene::xrenderBufferPicture method · c1892e6c
    Martin Flöser authored
    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.
    
    Reviewers: #kwin, #plasma
    
    Subscribers: plasma-devel, kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D7207
    c1892e6c