From b56343133d21622a6187bb1ef8906023ecbc09ef Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 11 Apr 2022 16:39:48 +0200 Subject: fixed blur rendering, stencil and gles3 --- src/render/OpenGL.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index f18e48af..c2dded11 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -29,6 +29,13 @@ struct SCurrentRenderData { float projection[9]; }; +struct SMonitorRenderData { + CFramebuffer primaryFB; + CFramebuffer mirrorFB; + + CTexture stencilTex; +}; + class CHyprOpenGLImpl { public: @@ -56,7 +63,7 @@ public: GLint m_iWLROutputFb = 0; std::unordered_map m_mWindowFramebuffers; - std::unordered_map m_mMonitorFramebuffers; + std::unordered_map m_mMonitorRenderResources; std::unordered_map m_mMonitorBGTextures; private: -- cgit v1.2.3