qml: use QSGTextureView (TextureProviderItem) in PartialEffect instead of layering
We already have the source texture (dynamic texture), because the source is layered. Currently we are using layering again for applying effect in the area denoted by effect rect, however we don't need to do that. With QSGTextureView, we can simply use the area denoted by effect rect, without layering (thus additional frame buffer object).
Showing
- modules/gui/qt/maininterface/qml/MainDisplay.qml 10 additions, 8 deletionsmodules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/widgets/qml/FrostedGlassEffect.qml 9 additions, 1 deletionmodules/gui/qt/widgets/qml/FrostedGlassEffect.qml
- modules/gui/qt/widgets/qml/PartialEffect.qml 72 additions, 29 deletionsmodules/gui/qt/widgets/qml/PartialEffect.qml
Loading
Please register or sign in to comment