toplevelexport: support dmabuf + various fixes

This commit is contained in:
vaxerski
2023-07-20 12:42:25 +02:00
parent 3a1496b4eb
commit b65adf8d4a
6 changed files with 55 additions and 21 deletions

View File

@@ -199,6 +199,10 @@ void CHyprOpenGLImpl::end() {
m_RenderData.mouseZoomUseMouse = true;
}
void CHyprOpenGLImpl::bindWlrOutputFb() {
glBindFramebuffer(GL_FRAMEBUFFER, m_iWLROutputFb);
}
void CHyprOpenGLImpl::initShaders() {
GLuint prog = createProgram(QUADVERTSRC, QUADFRAGSRC);
m_RenderData.pCurrentMonData->m_shQUAD.program = prog;