diff options
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
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<CWindow*, CFramebuffer> m_mWindowFramebuffers; - std::unordered_map<SMonitor*, CFramebuffer> m_mMonitorFramebuffers; + std::unordered_map<SMonitor*, SMonitorRenderData> m_mMonitorRenderResources; std::unordered_map<SMonitor*, CTexture> m_mMonitorBGTextures; private: |
