From 969bebbd06d3f9ac20910b70bb3310ec91931e74 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 9 Apr 2022 16:51:08 +0200 Subject: =?UTF-8?q?Added=20blurring=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/render/OpenGL.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 7792a1fc..bc2c6d88 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -40,6 +40,7 @@ public: void renderRect(wlr_box*, const CColor&); void renderTexture(wlr_texture*, float matrix[9], float a, int round = 0); void renderTexture(const CTexture&, float matrix[9], float a, int round = 0); + void renderTextureWithBlur(const CTexture&, float matrix[9], float a, int round = 0); void renderBorder(wlr_box*, const CColor&, int thick = 1, int round = 0); void makeWindowSnapshot(CWindow*); @@ -68,6 +69,8 @@ private: CShader m_shRGBA; CShader m_shRGBX; CShader m_shEXT; + CShader m_shBLUR1; + CShader m_shBLUR2; // GLuint createProgram(const std::string&, const std::string&); -- cgit v1.2.3