kwin/effects
David Edmundson b3020d6f5a Don't recreate kwayland blurmanager on screen size changes
Summary:
Instead of calling reconfigure() on screen size changes, which deletes
and recreates the effect, we can just update the one texture that's mapped to
the screen size.

---

From the wayland commit.

>What surprises me is that BlurManager recreates for Output changes.
>That sounds like a bug in KWin (or an area which could be improved).

I had thought the same and wrote this (though wanted to have kwayland fixed first)

Test Plan:
Logged in and out (my screen resizes on startup due to scaling)
Tested on my X machine by turning a screen off. Nothing broke, plasma
panels looked the same.

Note: Eike tried this patch last week and claimed kwin still crashed.
We don't have a backtrace so it could have been something unrelated,
applied wrong or that he was deliberately lying to wind me up.

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: graesslin, plasma-devel, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D7877
2017-09-29 13:30:54 +01:00
..
backgroundcontrast Don't reload background contrast effect on screen resize 2017-09-29 13:30:42 +01:00
blur Don't recreate kwayland blurmanager on screen size changes 2017-09-29 13:30:54 +01:00
colorpicker Scaling support in ColorPicker effect 2017-04-28 10:23:13 +01:00
coverswitch [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
cube [effects] Don't register touch edges which don't exist 2017-08-24 13:38:55 +02:00
desktopgrid [effects] Don't register touch edges which don't exist 2017-08-24 13:38:55 +02:00
dialogparent SVN_SILENT made messages (.desktop file) - always resolve ours 2017-03-25 06:02:34 +01:00
diminactive [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
dimscreen [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
eyeonscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2017-09-20 10:25:04 +02:00
fade SVN_SILENT made messages (.desktop file) - always resolve ours 2017-06-04 05:39:14 +02:00
fadedesktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-07-29 04:45:55 +02:00
fallapart [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
flipswitch [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
frozenapp SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-07 04:53:10 +02:00
glide [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
highlightwindow [effects] Support xcbConnectionChanged for support properties 2017-09-12 18:53:31 +02:00
invert Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
kscreen [effects] Support xcbConnectionChanged for support properties 2017-09-12 18:53:31 +02:00
login SVN_SILENT made messages (.desktop file) - always resolve ours 2016-02-20 09:52:01 +00:00
logout SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-07 04:53:10 +02:00
lookingglass [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
magiclamp [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
magnifier [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
maximize SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-13 04:59:14 +02:00
minimizeanimation [effects] Drop the .desktop files for the BuiltIn Effects 2014-04-28 13:52:43 +02:00
morphingpopups SVN_SILENT made messages (.desktop file) - always resolve ours 2017-05-25 05:40:47 +02:00
mouseclick [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
mousemark [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
presentwindows [effects] Support xcbConnectionChanged for support properties 2017-09-12 18:53:31 +02:00
resize [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
scalein SVN_SILENT made messages (.desktop file) - always resolve ours 2017-04-16 04:05:25 +02:00
screenedge [effects] Use shader traits api in screenedge effect 2016-01-25 14:11:54 +01:00
screenshot Add support for skip close animation to OnScreenMessage 2017-01-25 13:54:34 +01:00
sheet [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
showfps [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
showpaint [effects] Use shader traits in ShowPaint effect 2016-01-25 14:11:54 +01:00
slide Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
slideback [effects/slideback] Ignore windows which are not in visible area 2017-07-06 19:12:06 +02:00
slidingpopups [effects] Support xcbConnectionChanged for support properties 2017-09-12 18:53:31 +02:00
snaphelper [effects] Use shader traits in SnapHelper effect 2016-01-25 14:11:54 +01:00
startupfeedback Add a KSharedConfigPtr for kcminputrc to KWin::Application 2017-04-24 21:01:03 +02:00
thumbnailaside [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
touchpoints Fix unused-parameter warnings as reported by GCC 2017-07-28 21:31:09 +02:00
trackmouse [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
translucency SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-10 04:56:42 +02:00
windowaperture SVN_SILENT made messages (.desktop file) - always resolve ours 2017-03-25 06:02:34 +01:00
windowgeometry [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
wobblywindows [effects/wobblywindows] Move computeVectorBounds into ifdef section 2017-07-31 17:58:57 +02:00
zoom [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
CMakeLists.txt Desaturate non-responsive windows 2017-04-05 11:16:23 +02:00
effect_builtins.cpp [effects] Add a colorpicker effect 2016-11-25 09:30:34 +01:00
effect_builtins.h [effects] Add a colorpicker effect 2016-11-25 09:30:34 +01:00
kwineffect.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-03-25 06:02:34 +01:00
logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
Messages.sh
shaders.qrc [effects] Drop the logout effect 2016-08-24 10:09:22 +02:00