• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
3 //
4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // validationGL42_autogen.h:
9 //   Validation functions for the OpenGL 4.2 entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_GL42_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_GL42_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 
16 namespace gl
17 {
18 class Context;
19 
20 bool ValidateDrawArraysInstancedBaseInstance(const Context *context,
21                                              PrimitiveMode modePacked,
22                                              GLint first,
23                                              GLsizei count,
24                                              GLsizei instancecount,
25                                              GLuint baseinstance);
26 bool ValidateDrawElementsInstancedBaseInstance(const Context *context,
27                                                GLenum mode,
28                                                GLsizei count,
29                                                GLenum type,
30                                                const void *indices,
31                                                GLsizei instancecount,
32                                                GLuint baseinstance);
33 bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context,
34                                                          PrimitiveMode modePacked,
35                                                          GLsizei count,
36                                                          DrawElementsType typePacked,
37                                                          const void *indices,
38                                                          GLsizei instancecount,
39                                                          GLint basevertex,
40                                                          GLuint baseinstance);
41 bool ValidateDrawTransformFeedbackInstanced(const Context *context,
42                                             GLenum mode,
43                                             TransformFeedbackID idPacked,
44                                             GLsizei instancecount);
45 bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context,
46                                                   GLenum mode,
47                                                   TransformFeedbackID idPacked,
48                                                   GLuint stream,
49                                                   GLsizei instancecount);
50 bool ValidateGetActiveAtomicCounterBufferiv(const Context *context,
51                                             ShaderProgramID programPacked,
52                                             GLuint bufferIndex,
53                                             GLenum pname,
54                                             const GLint *params);
55 bool ValidateTexStorage1D(const Context *context,
56                           GLenum target,
57                           GLsizei levels,
58                           GLenum internalformat,
59                           GLsizei width);
60 }  // namespace gl
61 
62 #endif  // LIBANGLE_VALIDATION_GL42_AUTOGEN_H_
63