kwin/effects/blur
Alex Nemeth 16a0e24115 Fix blur noise effect using incorrect scaling value
Summary:
`QGuiApplication::primaryScreen()->logicalDotsPerInch()` sometimes reports incorrect scale value, for example 95.951 (or even lower) instead of 96.0 at 1x scale and this caused to simply darken blurred areas instead of noising them.
This patch sets a minimum 1x scale for the noise texture, because realistically we will never be below that.

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: davidedmundson, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D12519
2018-04-30 18:02:29 +02:00
..
blur.cpp Fix blur noise effect using incorrect scaling value 2018-04-30 18:02:29 +02:00
blur.h Fix unused param warnings 2018-04-20 21:07:27 +03:00
blur.kcfg Added noise blur effect 2018-02-14 00:13:08 +01:00
blur_config.cpp Reverted accidental file permission changes 2018-01-26 03:32:33 +09:00
blur_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-03-31 05:20:59 +02:00
blur_config.h Reverted accidental file permission changes 2018-01-26 03:32:33 +09:00
blur_config.ui Added noise blur effect 2018-02-14 00:13:08 +01:00
blurconfig.kcfgc Reverted accidental file permission changes 2018-01-26 03:32:33 +09:00
blurshader.cpp Added noise blur effect 2018-02-14 00:13:08 +01:00
blurshader.h Added noise blur effect 2018-02-14 00:13:08 +01:00
CMakeLists.txt Reverted accidental file permission changes 2018-01-26 03:32:33 +09:00