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 // Query11.h: Defines the rx::Query11 class which implements rx::QueryImpl.
9 #ifndef LIBGLESV2_RENDERER_QUERY11_H_
10 #define LIBGLESV2_RENDERER_QUERY11_H_
12 #include "libGLESv2/renderer/QueryImpl.h"
18 class Query11 : public QueryImpl
21 Query11(rx::Renderer11 *renderer, GLenum type);
24 virtual gl::Error begin();
25 virtual gl::Error end();
26 virtual gl::Error getResult(GLuint *params);
27 virtual gl::Error isResultAvailable(GLuint *available);
30 DISALLOW_COPY_AND_ASSIGN(Query11);
32 gl::Error testQuery();
38 rx::Renderer11 *mRenderer;
44 #endif // LIBGLESV2_RENDERER_QUERY11_H_