2 // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 // Query9.h: Defines the rx::Query9 class which implements rx::QueryImpl.
9 #ifndef LIBGLESV2_RENDERER_QUERY9_H_
10 #define LIBGLESV2_RENDERER_QUERY9_H_
12 #include "libGLESv2/renderer/QueryImpl.h"
18 class Query9 : public QueryImpl
21 Query9(rx::Renderer9 *renderer, GLenum type);
26 virtual GLuint getResult();
27 virtual GLboolean isResultAvailable();
28 virtual bool isStarted() const;
31 DISALLOW_COPY_AND_ASSIGN(Query9);
33 GLboolean testQuery();
35 rx::Renderer9 *mRenderer;
36 IDirect3DQuery9 *mQuery;
41 #endif // LIBGLESV2_RENDERER_QUERY9_H_