gfx/angle/src/libANGLE/renderer/gl/QueryGL.h
author Jeff Muizelaar <jmuizelaar@mozilla.com>
Tue, 29 Sep 2015 19:04:17 -0400
changeset 265100 56db457aef33a889004f51a6211f174aa12cca2d
child 267934 e261ab579dfb744fa1a9cd72eb36054d364907c4
permissions -rw-r--r--
Bug 1179280. Update ANGLE from chromium/2214 to chromium/2466.

//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// QueryGL.h: Defines the class interface for QueryGL.

#ifndef LIBANGLE_RENDERER_GL_QUERYGL_H_
#define LIBANGLE_RENDERER_GL_QUERYGL_H_

#include "libANGLE/renderer/QueryImpl.h"

namespace rx
{

class QueryGL : public QueryImpl
{
  public:
    QueryGL(GLenum type);
    ~QueryGL() override;

    gl::Error begin() override;
    gl::Error end() override;
    gl::Error getResult(GLuint *params) override;
    gl::Error isResultAvailable(GLuint *available) override;
};

}

#endif // LIBANGLE_RENDERER_GL_QUERYGL_H_