fixed blur rendering, stencil and gles3

This commit is contained in:
vaxerski
2022-04-11 16:39:48 +02:00
parent 0f9850fafc
commit b56343133d
6 changed files with 66 additions and 31 deletions

View File

@@ -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: