Skip to content
Snippets Groups Projects
Commit b9d4730a authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu
Browse files

qt: don't use RGB format in FadingEdgeListView

Support for this seems to be lacking with Direct3D,
and ANGLE seems to not take this into consideration.

Starting from Qt 6, it also seems to be not supported
altogether.
parent fd552813
No related branches found
No related tags found
1 merge request!2951qt: don't use RGB format in FadingEdgeListView
Pipeline #295021 passed with stage
in 17 minutes
......@@ -182,14 +182,6 @@ ListView {
smooth: false
// If background rectangle is fully opaque,
// the texture does not need an alpha
// channel: (optimization)
format: (contentItemCoverRect.visible
&& Helpers.compareFloat(1.0, contentItemCoverRect.color.a)
&& (displayMarginBeginning <= 0 && displayMarginEnd <= 0)) ? ShaderEffectSource.RGB
: ShaderEffectSource.RGBA
layer.enabled: true
layer.effect: ShaderEffect {
// It makes sense to use the effect for only in the fading part.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment