-#ifndef COMMANDS_H_
-#define COMMANDS_H_
+#ifndef MSP_GL_COMMANDS_H_
+#define MSP_GL_COMMANDS_H_
#include "framebuffer.h"
class Batch;
class PipelineState;
+class QueryPool;
class Commands
{
public:
Commands();
- void use_pipeline(const PipelineState &);
- void clear(BufferBits);
+ void use_pipeline(const PipelineState *);
+ void clear(const ClearValue *);
void draw(const Batch &);
void draw_instanced(const Batch &, unsigned);
- void resolve_multisample(Framebuffer &, BufferBits);
+ void resolve_multisample(Framebuffer &);
+
+ void begin_query(const QueryPool &, unsigned);
+ void end_query(const QueryPool &, unsigned);
};
} // namespace GL