Diffusion KWin ad4a3107d548

Add virtual Scene::scenePainter method

Authored by graesslin on Aug 9 2017, 4:56 AM.

Description

Add virtual Scene::scenePainter method

Summary:
So far EffectsHandlerImpl directly accessed SceneQPainter::painter
through a dynamic cast. If in future the QPainter based compositor should
be moved into a plugin we cannot access it through a dynamic cast.

To solve this problem the painter method is moved into Scene as
a virtual method returning a sane default value.

Reviewers: KWin, Plasma

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D7214

Details

Committed
graesslinAug 9 2017, 5:08 AM
Differential Revision
D7214: Add virtual Scene::scenePainter method
Parents
R108:c1892e6c0fd4: Add virtual Scene::xrenderBufferPicture method
Branches
Unknown
Tags
Unknown