1 #ifndef MSP_GL_COMMANDS_BACKEND_H_
2 #define MSP_GL_COMMANDS_BACKEND_H_
16 const PipelineState *pipeline_state = 0;
18 OpenGLCommands() = default;
20 void begin_frame(unsigned) { }
23 void use_pipeline(const PipelineState *);
24 void clear(const ClearValue *);
25 void draw(const Batch &);
26 void draw_instanced(const Batch &, unsigned);
27 void resolve_multisample(Framebuffer &);
29 void begin_query(const QueryPool &, unsigned);
30 void end_query(const QueryPool &, unsigned);
33 using CommandsBackend = OpenGLCommands;