aboutsummaryrefslogtreecommitdiff
path: root/src/libGLESv2/renderer/QueryImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libGLESv2/renderer/QueryImpl.h')
-rw-r--r--src/libGLESv2/renderer/QueryImpl.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/libGLESv2/renderer/QueryImpl.h b/src/libGLESv2/renderer/QueryImpl.h
index a0c54599..1ecfbdb8 100644
--- a/src/libGLESv2/renderer/QueryImpl.h
+++ b/src/libGLESv2/renderer/QueryImpl.h
@@ -19,20 +19,15 @@ namespace rx
class QueryImpl
{
public:
- explicit QueryImpl(GLenum type) : mType(type), mStatus(GL_FALSE), mResult(0) { }
+ explicit QueryImpl(GLenum type) { mType = type; }
virtual ~QueryImpl() { }
- virtual void begin() = 0;
+ virtual bool begin() = 0;
virtual void end() = 0;
virtual GLuint getResult() = 0;
virtual GLboolean isResultAvailable() = 0;
- virtual bool isStarted() const = 0;
- GLenum getType() const { return mType; }
-
- protected:
- GLuint mResult;
- GLboolean mStatus;
+ GLenum getType() const { return mType; }
private:
DISALLOW_COPY_AND_ASSIGN(QueryImpl);