kwin/effects/backgroundcontrast
David Edmundson 55d219429a Don't reload background contrast effect on screen resize
Summary:
Similar to the Blur patch. Arguably rven less reason as this doesn't
have a texture the size of the workspace.

We don't need to delete and recreate the entire effect every time the
screen changes; This deletes the wayland global which causes quite a bit
of extra work for the clients.

Test Plan:
Changed resolution under X, and scale under wayland
Panel looked the same and nothing exploded

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

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

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7937
2017-09-29 13:30:42 +01:00
..
.directory
backgroundcontrast.kdev4
CMakeLists.txt
contrast.cpp Don't reload background contrast effect on screen resize 2017-09-29 13:30:42 +01:00
contrast.h store contrast matrix per-window 2017-03-15 12:02:30 +01:00
contrastshader.cpp [effects] Support GLES 3 in Blur and BackgroundContrast 2015-11-09 16:22:32 +01:00
contrastshader.h [effects/backgroundcontrast] Remove ContrastShader::pixelSizeLocation 2017-07-31 18:00:17 +02:00