diff options
author | vaxerski <[email protected]> | 2023-08-25 17:43:23 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-08-25 17:44:17 +0200 |
commit | 23e17700a73324e7e0a5bccb96e426bbb99efe7b (patch) | |
tree | 9279d52afa540a905e5d69a1f8c6bd0537deef15 /src/render/OpenGL.hpp | |
parent | f0da0b0be4c70eeb94e44847eed9632f01f49807 (diff) | |
download | Hyprland-23e17700a73324e7e0a5bccb96e426bbb99efe7b.tar.gz Hyprland-23e17700a73324e7e0a5bccb96e426bbb99efe7b.zip |
renderer: add decoration:blur:special
will blur behind the special ws
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r-- | src/render/OpenGL.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |