]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/query.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / query.h
index 5bcae284e6cf28a067cd6d9555ca284251add92e..8f9b17e8e398176032a0691d9566a5f94d802e51 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef MSP_GL_QUERY_H_
 #define MSP_GL_QUERY_H_
 
-#include <msp/core/noncopyable.h>
 #include "query_backend.h"
 
 namespace Msp {
@@ -11,10 +10,16 @@ class Renderer;
 
 enum QueryType
 {
+       /** Query result indicates if any fragments passed the depth and stencil
+       tests. */
        OCCLUSION_QUERY
 };
 
-class QueryPool: public QueryPoolBackend, public Msp::NonCopyable
+/**
+A collection of query objects, which can be used to gather feedback from the
+GPU.  Semantics of the queries depend on the query type.
+*/
+class QueryPool: public QueryPoolBackend
 {
        friend QueryPoolBackend;