1 #ifndef MSP_GL_FRAMEBUFFER_BACKEND_H_
2 #define MSP_GL_FRAMEBUFFER_BACKEND_H_
5 #include "frameformat.h"
10 class OpenGLFramebuffer
12 friend class OpenGLCommands;
13 friend class OpenGLPipelineState;
17 mutable unsigned status;
19 OpenGLFramebuffer(bool);
22 void set_system_format(const FrameFormat &);
23 static bool is_format_supported(const FrameFormat &);
24 static void require_layered();
26 void resize_system(unsigned, unsigned);
27 void update(unsigned) const;
28 void require_complete() const;
30 void set_debug_name(const std::string &);
33 using FramebufferBackend = OpenGLFramebuffer;