• 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 // validationGL44_autogen.h:
9 //   Validation functions for the OpenGL 4.4 entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_GL44_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_GL44_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 
16 namespace gl
17 {
18 class Context;
19 
20 bool ValidateBindBuffersBase(const Context *context,
21                              GLenum target,
22                              GLuint first,
23                              GLsizei count,
24                              const BufferID *buffersPacked);
25 bool ValidateBindBuffersRange(const Context *context,
26                               GLenum target,
27                               GLuint first,
28                               GLsizei count,
29                               const BufferID *buffersPacked,
30                               const GLintptr *offsets,
31                               const GLsizeiptr *sizes);
32 bool ValidateBindImageTextures(const Context *context,
33                                GLuint first,
34                                GLsizei count,
35                                const GLuint *textures);
36 bool ValidateBindSamplers(const Context *context,
37                           GLuint first,
38                           GLsizei count,
39                           const GLuint *samplers);
40 bool ValidateBindTextures(const Context *context,
41                           GLuint first,
42                           GLsizei count,
43                           const GLuint *textures);
44 bool ValidateBindVertexBuffers(const Context *context,
45                                GLuint first,
46                                GLsizei count,
47                                const BufferID *buffersPacked,
48                                const GLintptr *offsets,
49                                const GLsizei *strides);
50 bool ValidateBufferStorage(const Context *context,
51                            GLenum target,
52                            GLsizeiptr size,
53                            const void *data,
54                            GLbitfield flags);
55 bool ValidateClearTexImage(const Context *context,
56                            TextureID texturePacked,
57                            GLint level,
58                            GLenum format,
59                            GLenum type,
60                            const void *data);
61 bool ValidateClearTexSubImage(const Context *context,
62                               TextureID texturePacked,
63                               GLint level,
64                               GLint xoffset,
65                               GLint yoffset,
66                               GLint zoffset,
67                               GLsizei width,
68                               GLsizei height,
69                               GLsizei depth,
70                               GLenum format,
71                               GLenum type,
72                               const void *data);
73 }  // namespace gl
74 
75 #endif  // LIBANGLE_VALIDATION_GL44_AUTOGEN_H_
76