• 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 2019 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 // validationGL32_autogen.h:
9 //   Validation functions for the OpenGL 3.2 entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_GL32_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_GL32_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 
16 namespace gl
17 {
18 class Context;
19 
20 bool ValidateDrawElementsBaseVertex(Context *context,
21                                     GLenum mode,
22                                     GLsizei count,
23                                     GLenum type,
24                                     const void *indices,
25                                     GLint basevertex);
26 bool ValidateDrawElementsInstancedBaseVertex(Context *context,
27                                              GLenum mode,
28                                              GLsizei count,
29                                              GLenum type,
30                                              const void *indices,
31                                              GLsizei instancecount,
32                                              GLint basevertex);
33 bool ValidateDrawRangeElementsBaseVertex(Context *context,
34                                          GLenum mode,
35                                          GLuint start,
36                                          GLuint end,
37                                          GLsizei count,
38                                          GLenum type,
39                                          const void *indices,
40                                          GLint basevertex);
41 bool ValidateFramebufferTexture(Context *context,
42                                 GLenum target,
43                                 GLenum attachment,
44                                 TextureID texturePacked,
45                                 GLint level);
46 bool ValidateMultiDrawElementsBaseVertex(Context *context,
47                                          GLenum mode,
48                                          const GLsizei *count,
49                                          GLenum type,
50                                          const void *const *indices,
51                                          GLsizei drawcount,
52                                          const GLint *basevertex);
53 bool ValidateProvokingVertex(Context *context, ProvokingVertexConvention modePacked);
54 bool ValidateTexImage2DMultisample(Context *context,
55                                    GLenum target,
56                                    GLsizei samples,
57                                    GLenum internalformat,
58                                    GLsizei width,
59                                    GLsizei height,
60                                    GLboolean fixedsamplelocations);
61 bool ValidateTexImage3DMultisample(Context *context,
62                                    GLenum target,
63                                    GLsizei samples,
64                                    GLenum internalformat,
65                                    GLsizei width,
66                                    GLsizei height,
67                                    GLsizei depth,
68                                    GLboolean fixedsamplelocations);
69 }  // namespace gl
70 
71 #endif  // LIBANGLE_VALIDATION_GL32_AUTOGEN_H_
72