X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fcommands.h;h=d290e34ecdfe8a5a4f4f14d4ec7fb51136c85402;hb=052b85720688900bc36f8844a94269cb1c0cdd52;hp=ca10f7845b78a54dd588f60c37c0fc3d7c958f55;hpb=acaefb4c669f01855252818ef0a2958cbdababc3;p=libs%2Fgl.git diff --git a/source/core/commands.h b/source/core/commands.h index ca10f784..d290e34e 100644 --- a/source/core/commands.h +++ b/source/core/commands.h @@ -8,6 +8,7 @@ namespace GL { class Batch; class PipelineState; +class QueryPool; class Commands { @@ -22,6 +23,9 @@ public: void draw(const Batch &); void draw_instanced(const Batch &, unsigned); void resolve_multisample(Framebuffer &); + + void begin_query(const QueryPool &, unsigned); + void end_query(const QueryPool &, unsigned); }; } // namespace GL