summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-25 20:28:40 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-25 20:28:40 +0200
commit747ff3369d6377628e3e27e3b108c8d61cbc5733 (patch)
treef4b1e1bbc12c6ff162a18bcf94d96b9c932f1baf /src/render/OpenGL.hpp
parentb46f45befab6e2aa6daba76ec04cec4286eec56b (diff)
added drop shadows
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index 0648e73a..5cae6486 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -61,6 +61,7 @@ public:
void renderTexture(wlr_texture*, wlr_box*, float a, int round = 0);
void renderTexture(const CTexture&, wlr_box*, float a, int round = 0, bool discardOpaque = false, bool border = false, bool allowPrimary = false);
void renderTextureWithBlur(const CTexture&, wlr_box*, float a, wlr_surface* pSurface, int round = 0, bool border = false);
+ void renderRoundedShadow(wlr_box*, int round, int range);
void makeWindowSnapshot(CWindow*);
void makeLayerSnapshot(SLayerSurface*);
@@ -106,6 +107,7 @@ private:
CShader m_shEXT;
CShader m_shBLUR1;
CShader m_shBLUR2;
+ CShader m_shSHADOW;
//
GLuint createProgram(const std::string&, const std::string&);