[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: introduce property `ready` in `DualKawaseBlur`

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Apr 2 11:32:45 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9303842f by Fatih Uzunoglu at 2026-04-02T10:24:22+00:00
qml: introduce property `ready` in `DualKawaseBlur`

- - - - -
ae660a1c by Fatih Uzunoglu at 2026-04-02T10:24:22+00:00
qml: apply background coloring in main display frosted glass effect

This fixes bare window getting exposed during transitions, since
2630a5cd started using source visual rect unconditionally to
reduce video memory consumption. This is especially obvious on
Windows.

Thanks to 6385ce8e, simply having background coloring is expected
to fix this issue.

Note that we should not unconditionally apply background
coloring here because the source (hence the blurred result)
is not guaranteed to be opaque since `stackViewParent.color`
can be translucent (although it is not the case currently
with our theme colors).

- - - - -


2 changed files:

- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/widgets/qml/DualKawaseBlur.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -318,6 +318,7 @@ FocusScope {
                             colorSet: ColorContext.Window
                         }
 
+                        backgroundColor: (ready ? "transparent" : stackViewParent.color)
                         tint: frostedTheme.bg.secondary
 
                         // Prevent overdraw (the extension margin should not be painted):


=====================================
modules/gui/qt/widgets/qml/DualKawaseBlur.qml
=====================================
@@ -36,6 +36,8 @@ Item {
 
     readonly property bool available: (GraphicsInfo.shaderType === GraphicsInfo.RhiShader)
 
+    readonly property bool ready: us2.visible
+
     enum Mode {
         FourPass, // 2 downsample + 2 upsamples (3 layers/buffers)
         TwoPass // 1 downsample + 1 upsample (1 layer/buffer)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/126e36436f6fec0f35bae4cbfd33042c348e8a7a...ae660a1cea4de6242832ed214deeab4cceee243c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/126e36436f6fec0f35bae4cbfd33042c348e8a7a...ae660a1cea4de6242832ed214deeab4cceee243c
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list