[vlc-commits] [Git][videolan/vlc][master] qml: display the visual when its source texture is ready in `DualKawaseBlur`

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Oct 25 10:10:44 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9a8e6a55 by Fatih Uzunoglu at 2025-10-25T09:56:16+00:00
qml: display the visual when its source texture is ready in `DualKawaseBlur`

Akin to 75c368c2, if the source texture is not available, a black/transparent
texture is generated and used instead. Not only this is a waste, but also it
can behave like `ViewBlockingRectangle` if blending is disabled, which can
cause glitches.

We can simply make the painter delegate visible when its source is ready,
thanks to aa2b1ec6.

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/qt/widgets/qml/DualKawaseBlur.qml
=====================================
@@ -443,6 +443,8 @@ Item {
         width: (root.viewportRect.width > 0) ? root.viewportRect.width : parent.width
         height: (root.viewportRect.height > 0) ? root.viewportRect.height : parent.height
 
+        visible: us2SourceObserver.isValid
+
         readonly property Item source: (root.configuration === DualKawaseBlur.Configuration.TwoPass) ? ds1layer : us1layer
         property rect normalRect // not necessary here, added because of the warning
         readonly property int radius: root.radius



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9a8e6a553263a0625c76e8108886a471e7ce81fb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9a8e6a553263a0625c76e8108886a471e7ce81fb
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list