feat: use custom wayland layer-shell to render wallpaper to reduce vram

This commit is contained in:
2026-10-05 19:31:15 +02:00
parent f90e9bb1a0
commit 9f5e62f9c7
15 changed files with 1824 additions and 93 deletions
+8 -5
View File
@@ -139,12 +139,13 @@ Item {
id: dialogBg
anchors.fill: parent
bottomLeftRadius: Tokens.rounding.largeIncreased
bottomRightRadius: Tokens.rounding.largeIncreased
bottomLeftRadius: root.last ? Tokens.rounding.largeIncreased : Tokens.rounding.extraSmall
bottomRightRadius: root.last ? Tokens.rounding.largeIncreased : Tokens.rounding.extraSmall
deformScale: 0
group: blobGroup
opacity: blobGroup.color.a * (root.enabled ? 1 : 0.5)
radius: Tokens.rounding.extraSmall
topLeftRadius: root.first ? Tokens.rounding.largeIncreased : Tokens.rounding.extraSmall
topRightRadius: root.first ? Tokens.rounding.largeIncreased : Tokens.rounding.extraSmall
}
RowButton {
@@ -153,9 +154,11 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
color: "transparent"
height: Math.min(implicitHeight, parent.height) // Clamp to parent height due to overshoot anim
first: root.first
height: Math.min(implicitHeight, parent.height)
icon: root.icon
last: true
last: root.last
subtext: root.subtext
text: root.label
transform: Matrix4x4 {