From 23e17700a73324e7e0a5bccb96e426bbb99efe7b Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:43:23 +0200 Subject: renderer: add decoration:blur:special will blur behind the special ws --- src/render/OpenGL.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 23b78d6a..c04e8c65 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -103,6 +103,7 @@ class CHyprOpenGLImpl { void bindWlrOutputFb(); void renderRect(wlr_box*, const CColor&, int round = 0); + void renderRectWithBlur(wlr_box*, const CColor&, int round = 0, float blurA = 1.f); void renderRectWithDamage(wlr_box*, const CColor&, CRegion* damage, int round = 0); void renderTexture(wlr_texture*, wlr_box*, float a, int round = 0, bool allowCustomUV = false); void renderTexture(const CTexture&, wlr_box*, float a, int round = 0, bool discardActive = false, bool allowCustomUV = false); @@ -177,7 +178,7 @@ class CHyprOpenGLImpl { void initShaders(); // returns the out FB, can be either Mirror or MirrorSwap - CFramebuffer* blurMainFramebufferWithDamage(float a, wlr_box* pBox, CRegion* damage); + CFramebuffer* blurMainFramebufferWithDamage(float a, CRegion* damage); void renderTextureInternalWithDamage(const CTexture&, wlr_box* pBox, float a, CRegion* damage, int round = 0, bool discardOpaque = false, bool noAA = false, bool allowCustomUV = false, bool allowDim = false); -- cgit v1.2.3