1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-15 07:35:20 -04:00

refactor(framemode): unify connected surface chrome via SDF pipeline

- Shadow system rewrite with SDF quads
- Replace ConnectedShape/layer FBOs w/frame & chrome SDF shaders
- Improve frame blur performance
- Plugin performance gate
This commit is contained in:
purian23
2026-06-12 11:03:39 -04:00
parent 08fd6e26d8
commit d53809cf2b
52 changed files with 2588 additions and 2804 deletions
@@ -23,6 +23,7 @@ Item {
property bool conditionVisible: true
property bool _visibilityOverride: false
property bool _visibilityOverrideValue: true
readonly property bool _barRevealed: blurBarWindow?.barRevealed ?? true
readonly property bool effectiveVisible: {
if (_visibilityOverride)
@@ -122,6 +123,11 @@ Item {
conditionVisible = true;
}
on_BarRevealedChanged: {
if (_barRevealed && visibilityCommand && !_visibilityOverride)
checkVisibility();
}
onVisibilityIntervalChanged: {
if (visibilityInterval > 0 && visibilityCommand) {
visibilityTimer.restart();
@@ -134,7 +140,7 @@ Item {
id: visibilityTimer
interval: root.visibilityInterval * 1000
repeat: true
running: root.visibilityInterval > 0 && root.visibilityCommand !== ""
running: root.visibilityInterval > 0 && root.visibilityCommand !== "" && root._barRevealed && !root._visibilityOverride
onTriggered: root.checkVisibility()
}