on xenial help sign in
Cache the blur results and tone down the radius

Since the source of the blur will very rarely change, it can be cached for faster rendering at the expense of RAM. https://doc.qt.io/qt-5.9/qml-qtgraphicaleffects-fastblur.html#cached-prop states that "Visual quality of the blur is reduced when radius exceeds value 64." For that reason, I've turned down the absolute blur value.

commit929e41efac42f8cc6a2e20dd1b06bc6ce60e3b63 authorDalton Durst <dalton@ubports.com> dateWed 18 Sep 2019, 12:12 (7 years ago) parentab73559
1 file changed+2−1
qml/Launcher/Drawer.qml+2−1
qml/Launcher/Drawer.qml+2−1
@@ -157,7 +157,8 @@ FocusScope {
157157 FastBlur {
158158 anchors.fill: background
159159 source: background
160− radius: 128
160+ radius: 64
161+ cached: true
161162 }
162163
163164 // Images with fastblur can't use opacity, so we'll put this on top