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 use_pipeline(const PipelineState *);
21 void clear(const ClearValue *);
22 void draw(const Batch &);
23 void draw_instanced(const Batch &, unsigned);
24 void resolve_multisample(Framebuffer &);
26 void begin_query(const QueryPool &, unsigned);
27 void end_query(const QueryPool &, unsigned);
30 using CommandsBackend = OpenGLCommands;