kwin/effects/slidingpopups
Vlad Zagorodniy 4a38f15d90 [effects/slidingpopups] Don't filter window quads
Summary:
Slided popups are clipped twice:
* first, when filtering window quads in prePaintWindow;
* then, when doing scissor test (the opengl scene plugin does scissor
test for transformed windows).

Because of that, we don't need to filter window quads. Filtering window
quads only adds overhead.

This change simplifies code and "fixes" incorrect clipping when a slided
popup has shadows.

Test Plan:
* Put Plasma panel on the left screen edge;
* Open and close the Application Launcher.

(repeat for top/right/bottom screen edge)

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, graesslin, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D14450
2018-08-13 19:11:07 +03:00
..
CMakeLists.txt [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
slidingpopups.cpp [effects/slidingpopups] Don't filter window quads 2018-08-13 19:11:07 +03:00
slidingpopups.h [effects/slidingpopups] Use single QHash to store animations 2018-07-23 16:34:29 +03:00
slidingpopups.kcfg [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
slidingpopupsconfig.kcfgc [effects] Introduce kcfg for SlidingPopups 2016-11-16 13:05:02 +01:00