1 #ifndef MSP_GL_QUERY_H_
2 #define MSP_GL_QUERY_H_
4 #include <msp/core/noncopyable.h>
5 #include "query_backend.h"
17 class QueryPool: public QueryPoolBackend, public Msp::NonCopyable
19 friend QueryPoolBackend;
26 const QueryPool &pool;
30 Activate(Renderer &, const QueryPool &, unsigned);
39 QueryPool(QueryType type, unsigned);
41 void resize(unsigned);
42 unsigned get_size() const { return size; }
44 using QueryPoolBackend::get_result;