Revert "qml: use QSGTextureView (TextureProviderItem) in PartialEffect instead of layering"
This reverts commit 60e95ad5. Unfortunately there is not much to do here until `MultiEffect` starts supporting sub- textures (textures that are independent/not in atlas, but report position different than (0.0, 0.0) or size different than (1.0, 1.0)). Although this is only relevant for `MultiEffect` (because other type of effects can set `supportsAtlasTextures` or use `qt_SubRect_x`), I still reverted it to not impair maintenance. I also do not want to bring back manually setting `supportsAtlasTextures` to `true`. We should still keep the texture view and provider, because they are useful when sub- texturing is not used (such as player view), and when the consumer supports sub-textures.
Showing
- modules/gui/qt/maininterface/qml/MainDisplay.qml 8 additions, 10 deletionsmodules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/widgets/qml/FrostedGlassEffect.qml 1 addition, 9 deletionsmodules/gui/qt/widgets/qml/FrostedGlassEffect.qml
- modules/gui/qt/widgets/qml/PartialEffect.qml 29 additions, 72 deletionsmodules/gui/qt/widgets/qml/PartialEffect.qml
Loading
Please register or sign in to comment