blob: 2ca4d66d4b2ba8ff2fa931e6956232951426fdfc [file] [log] [blame]
Geoff Langff5b2d52016-09-07 11:32:23 -04001//
2// Copyright (c) 2016 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.
5//
6
7// queryutils.h: Utilities for querying values from GL objects
8
9#ifndef LIBANGLE_QUERYUTILS_H_
10#define LIBANGLE_QUERYUTILS_H_
11
12#include "angle_gl.h"
13#include "common/angleutils.h"
14
15namespace gl
16{
17class Buffer;
18class Framebuffer;
19class Program;
20
21void QueryFramebufferAttachmentParameteriv(const Framebuffer *framebuffer,
22 GLenum attachment,
23 GLenum pname,
24 GLint *params);
25void QueryBufferParameteriv(const Buffer *buffer, GLenum pname, GLint *params);
26void QueryProgramiv(const Program *program, GLenum pname, GLint *params);
27}
28
29#endif // LIBANGLE_QUERYUTILS_H_