diff options
| author | outfoxxed <outfoxxed@outfoxxed.me> | 2025-01-01 15:34:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-01 23:34:02 +0000 |
| commit | dde3e082c96cd6987420556bfc430cd5b8e0980c (patch) | |
| tree | eb034fbc2fa747637758f09fc276887477633bfc /src/render/OpenGL.hpp | |
| parent | 9f3c9ac01a9a6ecef74429dc9a1dea250ef43c50 (diff) | |
protocols: add hyprland_surface_v1 implementation (#8877)
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 4fceabc5..95ac41be 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -176,7 +176,8 @@ class CHyprOpenGLImpl { void renderTexture(SP<CTexture>, CBox*, float a, int round = 0, bool discardActive = false, bool allowCustomUV = false); void renderTextureWithDamage(SP<CTexture>, CBox*, const CRegion& damage, float a, int round = 0, bool discardActive = false, bool allowCustomUV = false, SP<CSyncTimeline> waitTimeline = nullptr, uint64_t waitPoint = 0); - void renderTextureWithBlur(SP<CTexture>, CBox*, float a, SP<CWLSurfaceResource> pSurface, int round = 0, bool blockBlurOptimization = false, float blurA = 1.f); + void renderTextureWithBlur(SP<CTexture>, CBox*, float a, SP<CWLSurfaceResource> pSurface, int round = 0, bool blockBlurOptimization = false, float blurA = 1.f, + float overallA = 1.f); void renderRoundedShadow(CBox*, int round, int range, const CHyprColor& color, float a = 1.0); void renderBorder(CBox*, const CGradientValueData&, int round, int borderSize, float a = 1.0, int outerRound = -1 /* use round */); void renderBorder(CBox*, const CGradientValueData&, const CGradientValueData&, float lerp, int round, int borderSize, float a = 1.0, int outerRound = -1 /* use round */); |
