X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fcommands.h;h=d290e34ecdfe8a5a4f4f14d4ec7fb51136c85402;hb=052b85720688900bc36f8844a94269cb1c0cdd52;hp=2dc66cfa5232c8ea409162f0d09b829ccb9012a0;hpb=0d5406c66549a2cfc2fca701cc1c4972e7fd493a;p=libs%2Fgl.git diff --git a/source/core/commands.h b/source/core/commands.h index 2dc66cfa..d290e34e 100644 --- a/source/core/commands.h +++ b/source/core/commands.h @@ -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 { @@ -21,7 +22,10 @@ public: 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