]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/commands.h
Always require EXT_texture3D and ARB_shadow for samplers
[libs/gl.git] / source / core / commands.h
index ec3281a09ae656d9cb610a80c121e72545ab90cc..d290e34ecdfe8a5a4f4f14d4ec7fb51136c85402 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef COMMANDS_H_
-#define COMMANDS_H_
+#ifndef MSP_GL_COMMANDS_H_
+#define MSP_GL_COMMANDS_H_
 
 #include "framebuffer.h"
 
@@ -8,6 +8,7 @@ namespace GL {
 
 class Batch;
 class PipelineState;
+class QueryPool;
 
 class Commands
 {
@@ -17,11 +18,14 @@ private:
 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