Skip to content
Snippets Groups Projects
Commit 681ad715 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Steve Lhomme
Browse files

qml: hide source item in DynamicShadow only if it is actually visible

MultiEffect based DynamicShadow hides the source item because it
renders the source item itself again anyway. However, it does not
set itself invisible when it can not be used (software renderer).

The binding that makes the source item invisible checks if the effect
is visible. Here, we can simply bind the visibility to shader type
where the graphics backend needs to support RHI shader for the effect
to work. This is currently OpenGL, Vulkan, Metal, DirectX; so no
support for Software or OpenVG scene graph adaptations which are
not targeted by Qt RHI for obvious reasons.
parent d9f406b4
No related branches found
No related tags found
1 merge request!6514qt: fix cover art is not visible in player view with Qt >= 6.5 and software renderer
Pipeline #545317 passed with stage
in 24 minutes and 5 seconds
Loading
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