D9608: [KScreen Effect] Fade opacity only for transparent windows
Martin Flöser
noreply at phabricator.kde.org
Tue Jan 2 16:41:52 UTC 2018
graesslin added a comment.
Restricted Application edited projects, added Plasma; removed KWin.
In https://phabricator.kde.org/D9608#184901, @broulik wrote:
> > As of the effect, maybe this should rather fade in a black layer than fade out everything else?
>
> I suppose. Do you have a pointer to anywhere in KWin where I could look how that's done? (That'll also probably mean it won't make it to 5.12 LTS :/)
There's the paintBackground functionality in Scene. It's responsible for rendering the lowest layer. Maybe it would be possible to expose this from the effects to call it at random places. Otherwise we have layer rendering in the showPaint effect. The disadvantage there is that you need to write drawing code for each Scene. AFAIK we don't have a generic "render color" feature.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D9608
To: broulik, #plasma, graesslin
Cc: luebking, plasma-devel, kwin, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180102/e4202c58/attachment.html>
More information about the Plasma-devel
mailing list