diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-09 16:51:08 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-09 16:51:08 +0200 |
| commit | 969bebbd06d3f9ac20910b70bb3310ec91931e74 (patch) | |
| tree | 4890e37f12c85fcc43c679d23567a29af7eabec8 /src/render/OpenGL.hpp | |
| parent | b7094200f6f4b24026cd1e0458ed0d75a34d50ef (diff) | |
Added blurring 🎉
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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&); |
