summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/validationGL31_autogen.h
blob: e1233805c6be7406a03b422bcc28e3e1019afec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
//
// Copyright 2019 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.
//
// validationGL31_autogen.h:
//   Validation functions for the OpenGL 3.1 entry points.

#ifndef LIBANGLE_VALIDATION_GL31_AUTOGEN_H_
#define LIBANGLE_VALIDATION_GL31_AUTOGEN_H_

#include "common/PackedEnums.h"

namespace gl
{
class Context;

bool ValidateGetActiveUniformName(Context *context,
                                  GLuint program,
                                  GLuint uniformIndex,
                                  GLsizei bufSize,
                                  GLsizei *length,
                                  GLchar *uniformName);
bool ValidatePrimitiveRestartIndex(Context *context, GLuint index);
bool ValidateTexBuffer(Context *context, GLenum target, GLenum internalformat, GLuint buffer);
}  // namespace gl

#endif  // LIBANGLE_VALIDATION_GL31_AUTOGEN_H_