[vlc-commits] [Git][videolan/vlc][master] qml: use six pass dual kawase backdrop blur in `ModalDialog`
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Thu Jul 23 14:52:59 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
3da62091 by Fatih Uzunoglu at 2026-07-23T16:14:31+02:00
qml: use six pass dual kawase backdrop blur in `ModalDialog`
We can do this now, thanks to 33260dbb.
Even though the blur is live here, and we do not release
intermediate layers, a dialog is meant to be transient, so
we do not care about resource consumption here (unlike mini
player).
This is important to do, because bare four pass blur is not
enough for source that has sharp edges as it produces visible
artifacts. In mini player case, this is less of a problem
since we use postprocessing there (to simulate "frosted glass"
effect) that covers the artifacts of the blur to most extent.
Since six pass blur inherently increases the blurring, I also
reduce the blur radius.
- - - - -
1 changed file:
- modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
Changes:
=====================================
modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
=====================================
@@ -71,13 +71,15 @@ Dialog {
visible: MainCtx.backdropBlurRequested() && blur.available
+ mode: Widgets.DualKawaseBlur.Mode.SixPass
+
source: ShaderEffectSource {
sourceItem: blur.visible ? control.rootWindow : null
live: true
hideSource: true
}
- radius: 3
+ radius: 2
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3da620912f2bb053089990f2d0c39f8ccffa2d3b
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3da620912f2bb053089990f2d0c39f8ccffa2d3b
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list