1 #ifndef MSP_GL_QUERY_BACKEND_H_
2 #define MSP_GL_QUERY_BACKEND_H_
4 #include <msp/core/noncopyable.h>
10 class OpenGLQueryPool: public NonCopyable
12 friend class OpenGLCommands;
16 std::vector<unsigned> queries;
18 OpenGLQueryPool(unsigned);
19 OpenGLQueryPool(OpenGLQueryPool &&);
24 unsigned get_result(unsigned) const;
27 using QueryPoolBackend = OpenGLQueryPool;
29 unsigned get_gl_query_type(unsigned);