Diffusion KWin c1892e6c0fd4

Add virtual Scene::xrenderBufferPicture method

Authored by graesslin on Aug 8 2017, 3:13 PM.

Description

Add virtual Scene::xrenderBufferPicture method

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

Details

Committed
graesslinAug 9 2017, 5:07 AM
Differential Revision
D7207: Add virtual Scene::bufferPicture method
Parents
R108:83790306334a: [autotests] Try to make translucencyTest more robust for CI
Branches
Unknown
Tags
Unknown