[vlc-commits] [Git][videolan/vlc][master] 16 commits: qt: introduce `BlurEffect`

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Nov 16 15:15:30 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b2ede91e by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: introduce `BlurEffect`

- Provides `BlurEffect.qml` that uses Qt Quick MultiEffect (Qt 6.5).
- Provides `compat/BlurEffect.qml` that uses FastBlur from Qt Graphical Effects (Qt 5 Compat).

- - - - -
8ef63118 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: use `BlurEffect` instead of `FastBlur` in ArtistTopBanner.qml

- - - - -
2be4e6c1 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: use `BlurEffect` instead of `FastBlur` in PlayerBlurredBackground.qml

- - - - -
8d07499a by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: use `BlurEffect` instead of `FastBlur` in ModalDialog.qml

- - - - -
97a8c648 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: use `BlurEffect` instead of `FastBlur` in FrostedGlassEffect.qml

- - - - -
f3fa9152 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: introduce HollowRectangularGlow.frag shader

HollowRectangularGlow shader is similar to the
standard rectangular glow shader, except it
discards the main area.

- - - - -
711fd4a6 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: add RectangularGlow.frag shader

Imported as is from the deprecated Qt Graphical
Effects module under GPLv2.

- - - - -
e9e7f924 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: introduce RectangularGlow.qml that supports hollow mode

- - - - -
18179ed7 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: use custom RectangularGlow in MainInterface.qml

- - - - -
3b631a79 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: remove the unnecessary `Qt5Compat.GraphicalEffects` imports

- - - - -
727a96fd by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: register dummy Qt5Compat.GraphicalEffects if QtQuick.Effects is available

If Qt version is at least 6.5.0, QtQuick.Effects is expected to be available
and no type from Qt5Compat.GraphicalEffects is used.

However, we still need to check for `Qt5Compat.GraphicalEffects`'s existence,
because some types such as `FastBlur` are still used if Qt version is less than
6.5.0.

- - - - -
d1ac3e78 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: do not import QtGraphicalEffectsPlugin when Qt version is at least 6.5.0

... and import QtQuickEffectsPlugin only if Qt version is at least 6.5.0

- - - - -
626ab3ed by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
contrib: qt5compat: get rid of qt5compat

Qt5Compat is not used anymore. Contrib Qt
is expected to be at least 6.5.0, so instead
of the deprecated Qt5Compat.GraphicalEffects,
QtQuick.Effects is used instead.

- - - - -
ca901bd5 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
extras: ci: update the debian image

Configuration for Qt requires presence of
Qt Quick Effects module when Qt version is
at least 6.5.0, this module is provided in
a separate package with Debian hence needs
to be installed separately.

20241112155431, unlike 20240723100046, contains
`qml6-module-qtquick-effects` and does not
contain `qml6-module-qt5compat-graphicaleffects`
anymore.

- - - - -
6cd4fd1a by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qt: conditionally check `Qt5Compat.GraphicalEffects` and `QtQuick.Effects` runtime modules

- - - - -
bfaa7b69 by Fatih Uzunoglu at 2024-11-16T13:50:23+00:00
qml: disable auto padding in MultiEffect-based BlurEffect

FastBlur has `transparentBorder` disabled by default.
Here, we the behaviors should match and padding is
also not wanted here.

- - - - -


30 changed files:

- configure.ac
- − contrib/src/qt5compat/0001-Revert-Auxiliary-commit-to-revert-individual-files-f.patch
- − contrib/src/qt5compat/0002-Do-not-build-core5.patch
- − contrib/src/qt5compat/SHA512SUMS
- − contrib/src/qt5compat/rules.mak
- extras/ci/gitlab-ci.yml
- extras/package/win32/build.sh
- modules/gui/qt/Makefile.am
- modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
- modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
- modules/gui/qt/maininterface/mainui.cpp
- modules/gui/qt/maininterface/qml/BannerSources.qml
- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/maininterface/qml/MainInterface.qml
- modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
- modules/gui/qt/meson.build
- modules/gui/qt/network/qml/NetworkCustomCover.qml
- modules/gui/qt/network/qml/NetworkGridItem.qml
- modules/gui/qt/network/qml/NetworkThumbnailItem.qml
- modules/gui/qt/player/qml/Player.qml
- modules/gui/qt/player/qml/PlayerBlurredBackground.qml
- modules/gui/qt/player/qml/SliderBar.qml
- modules/gui/qt/player/qml/controlbarcontrols/Fallback.qml
- modules/gui/qt/player/qml/controlbarcontrols/VolumeWidget.qml
- modules/gui/qt/plugins.hpp
- modules/gui/qt/qt.cpp
- + modules/gui/qt/shaders/HollowRectangularGlow.frag
- + modules/gui/qt/shaders/RectangularGlow.frag
- modules/gui/qt/shaders/meson.build
- modules/gui/qt/shaders/shaders.qrc


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/22e73a44cf2b707fd0d825ad2eed5e882d003c25...bfaa7b690e9985ecd93dbd160862ea1fb26ba86d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/22e73a44cf2b707fd0d825ad2eed5e882d003c25...bfaa7b690e9985ecd93dbd160862ea1fb26ba86d
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