diff options
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r-- | src/render/OpenGL.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index efccaad4..01e05af1 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -120,7 +120,7 @@ class CHyprOpenGLImpl { void end(); void renderRect(CBox*, const CColor&, int round = 0); - void renderRectWithBlur(CBox*, const CColor&, int round = 0, float blurA = 1.f); + void renderRectWithBlur(CBox*, const CColor&, int round = 0, float blurA = 1.f, bool xray = false); void renderRectWithDamage(CBox*, const CColor&, CRegion* damage, int round = 0); void renderTexture(wlr_texture*, CBox*, float a, int round = 0, bool allowCustomUV = false); void renderTexture(const CTexture&, CBox*, float a, int round = 0, bool discardActive = false, bool allowCustomUV = false); @@ -142,6 +142,7 @@ class CHyprOpenGLImpl { void makeLayerSnapshot(SLayerSurface*); void renderSnapshot(CWindow**); void renderSnapshot(SLayerSurface**); + bool shouldUseNewBlurOptimizations(SLayerSurface* pLayer, CWindow* pWindow); void clear(const CColor&); void clearWithTex(); @@ -223,8 +224,6 @@ class CHyprOpenGLImpl { void preBlurForCurrentMonitor(); - bool shouldUseNewBlurOptimizations(SLayerSurface* pLayer, CWindow* pWindow); - bool passRequiresIntrospection(CMonitor* pMonitor); friend class CHyprRenderer; |