1 #ifndef MSP_GL_WINDOWVIEW_BACKEND_H_
2 #define MSP_GL_WINDOWVIEW_BACKEND_H_
4 #include "systemframebuffer.h"
10 class OpenGLWindowView: public View
13 OpenGLSystemFramebuffer sys_framebuf;
15 OpenGLWindowView() = default;
17 virtual void render(Renderer &);
18 virtual const Framebuffer &get_target() const { return sys_framebuf; }
20 void resize_framebuffer(unsigned, unsigned);
23 using WindowViewBackend = OpenGLWindowView;