[vlc-commits] [Git][videolan/vlc][master] qml: add todo regarding deciding the direction in `VoronoiSnow.qml`

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Feb 5 11:59:45 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
66ca5712 by Fatih Uzunoglu at 2026-02-05T11:45:19+00:00
qml: add todo regarding deciding the direction in `VoronoiSnow.qml`

We could do this at the moment, possibly even with Qt 6.2, but it
is not worth the maintenance. Rhi headers are available in gui-private,
and for Qt versions older than 6.6 we also need quick-private.

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/qt/widgets/qml/VoronoiSnow.qml
=====================================
@@ -37,6 +37,7 @@ ShaderEffect {
 
     property real speed: 1.2 // speed factor
 
+    // TODO: Qt 6.6: use `QRhi::isYUpInNDC()` instead of manually probing the matrix and graphics api to decide the direction:
     readonly property int yFlip: ((GraphicsInfo.api === GraphicsInfo.Direct3D11) || (GraphicsInfo.api === GraphicsInfo.Direct3D12)) ? -1 : 1
 
     UniformAnimator on time {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/66ca57126232458bbff67f2dc9ea3ced5c364cff

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/66ca57126232458bbff67f2dc9ea3ced5c364cff
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