summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/validationGL15_autogen.h
blob: c7d899ebf21f4d34820e454ba85ea50b1b10680b (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
// 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.
//
// validationGL15_autogen.h:
//   Validation functions for the OpenGL 1.5 entry points.

#ifndef LIBANGLE_VALIDATION_GL15_AUTOGEN_H_
#define LIBANGLE_VALIDATION_GL15_AUTOGEN_H_

#include "common/PackedEnums.h"

namespace gl
{
class Context;

bool ValidateGetBufferSubData(Context *context,
                              GLenum target,
                              GLintptr offset,
                              GLsizeiptr size,
                              void *data);
bool ValidateGetQueryObjectiv(Context *context, GLuint id, GLenum pname, GLint *params);
bool ValidateMapBuffer(Context *context, BufferBinding targetPacked, GLenum access);
}  // namespace gl

#endif  // LIBANGLE_VALIDATION_GL15_AUTOGEN_H_