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 dispatch(unsigned, unsigned, unsigned);
28 void resolve_multisample();
30 void begin_query(const QueryPool &, unsigned);
31 void end_query(const QueryPool &, unsigned);
34 using CommandsBackend = OpenGLCommands;