diff options
| author | Flafy <flafyarazi@gmail.com> | 2022-12-04 22:57:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-04 20:57:41 +0000 |
| commit | ffc580dda98437fa457d389f231de082df327345 (patch) | |
| tree | 2dbeee8b62388b6113b0ff0205fa4369920c5186 /src/render/OpenGL.hpp | |
| parent | 4557d13a323edf7b51fbdd8b8e60aef469469930 (diff) | |
blur xray for layers (#1158)
* feat: apply blur_xray to non window surfaces
* don't blur optimize bottom and background layers
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index fabd3666..1d7e2128 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -82,7 +82,7 @@ public: void renderRectWithDamage(wlr_box*, const CColor&, pixman_region32_t* 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 discardOpaque = false, bool allowCustomUV = false); - void renderTextureWithBlur(const CTexture&, wlr_box*, float a, wlr_surface* pSurface, int round = 0); + void renderTextureWithBlur(const CTexture&, wlr_box*, float a, wlr_surface* pSurface, int round = 0, bool blockBlurOptimization = false); void renderRoundedShadow(wlr_box*, int round, int range, float a = 1.0); void renderBorder(wlr_box*, const CGradientValueData&, int round, float a = 1.0); |
