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 static FrameFormat get_system_format();
23 static void get_system_size(unsigned &, unsigned &);
24 static bool is_format_supported(const FrameFormat &);
25 static void require_layered();
27 void update(unsigned) const;
28 void require_complete() const;
30 void set_debug_name(const std::string &);
33 using FramebufferBackend = OpenGLFramebuffer;