You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 years ago
..
CMakeLists.txt Reverted accidental file permission changes 7 years ago
blur.cpp Fix blur noise effect using incorrect scaling value 6 years ago
blur.h Fix unused param warnings 7 years ago
blur.kcfg Added noise blur effect 7 years ago
blur_config.cpp Reverted accidental file permission changes 7 years ago
blur_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 7 years ago
blur_config.h Reverted accidental file permission changes 7 years ago
blur_config.ui Added noise blur effect 7 years ago
blurconfig.kcfgc Reverted accidental file permission changes 7 years ago
blurshader.cpp Added noise blur effect 7 years ago
blurshader.h Added noise blur effect 7 years ago