summaryrefslogtreecommitdiff
path: root/src/render/pass
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-05-25 18:48:32 +0200
committerVaxry <vaxry@vaxry.net>2025-05-25 18:48:32 +0200
commit2347050285920925db8bc844e3232bc932eef21e (patch)
tree104d5bd070d65564ba604054048d3218b0df7391 /src/render/pass
parenta58ab20e8bc27a50d55e924b13047db6bbf9dc4a (diff)
pass/surface: make sure popup blurs are marked for require live blur
fixes #10535
Diffstat (limited to 'src/render/pass')
-rw-r--r--src/render/pass/SurfacePassElement.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/pass/SurfacePassElement.cpp b/src/render/pass/SurfacePassElement.cpp
index d161f909..2163566a 100644
--- a/src/render/pass/SurfacePassElement.cpp
+++ b/src/render/pass/SurfacePassElement.cpp
@@ -195,6 +195,9 @@ bool CSurfacePassElement::needsLiveBlur() {
if (!m_data.pLS && !m_data.pWindow)
return BLUR;
+ if (m_data.popup)
+ return BLUR;
+
const bool NEWOPTIM = g_pHyprOpenGL->shouldUseNewBlurOptimizations(m_data.pLS, m_data.pWindow);
return BLUR && !NEWOPTIM;
@@ -209,6 +212,9 @@ bool CSurfacePassElement::needsPrecomputeBlur() {
if (!m_data.pLS && !m_data.pWindow)
return BLUR;
+ if (m_data.popup)
+ return false;
+
const bool NEWOPTIM = g_pHyprOpenGL->shouldUseNewBlurOptimizations(m_data.pLS, m_data.pWindow);
return BLUR && NEWOPTIM;