• 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 gl_angle_ext.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 // validationES32_autogen.h:
9 //   Validation functions for the OpenGL ES 3.2 entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_ES32_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_ES32_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 #include "common/entry_points_enum_autogen.h"
16 
17 namespace gl
18 {
19 class Context;
20 
21 bool ValidateBlendBarrier(const Context *context, angle::EntryPoint entryPoint);
22 bool ValidateBlendEquationSeparatei(const Context *context,
23                                     angle::EntryPoint entryPoint,
24                                     GLuint buf,
25                                     GLenum modeRGB,
26                                     GLenum modeAlpha);
27 bool ValidateBlendEquationi(const Context *context,
28                             angle::EntryPoint entryPoint,
29                             GLuint buf,
30                             GLenum mode);
31 bool ValidateBlendFuncSeparatei(const Context *context,
32                                 angle::EntryPoint entryPoint,
33                                 GLuint buf,
34                                 GLenum srcRGB,
35                                 GLenum dstRGB,
36                                 GLenum srcAlpha,
37                                 GLenum dstAlpha);
38 bool ValidateBlendFunci(const Context *context,
39                         angle::EntryPoint entryPoint,
40                         GLuint buf,
41                         GLenum src,
42                         GLenum dst);
43 bool ValidateColorMaski(const Context *context,
44                         angle::EntryPoint entryPoint,
45                         GLuint index,
46                         GLboolean r,
47                         GLboolean g,
48                         GLboolean b,
49                         GLboolean a);
50 bool ValidateCopyImageSubData(const Context *context,
51                               angle::EntryPoint entryPoint,
52                               GLuint srcName,
53                               GLenum srcTarget,
54                               GLint srcLevel,
55                               GLint srcX,
56                               GLint srcY,
57                               GLint srcZ,
58                               GLuint dstName,
59                               GLenum dstTarget,
60                               GLint dstLevel,
61                               GLint dstX,
62                               GLint dstY,
63                               GLint dstZ,
64                               GLsizei srcWidth,
65                               GLsizei srcHeight,
66                               GLsizei srcDepth);
67 bool ValidateDebugMessageCallback(const Context *context,
68                                   angle::EntryPoint entryPoint,
69                                   GLDEBUGPROC callback,
70                                   const void *userParam);
71 bool ValidateDebugMessageControl(const Context *context,
72                                  angle::EntryPoint entryPoint,
73                                  GLenum source,
74                                  GLenum type,
75                                  GLenum severity,
76                                  GLsizei count,
77                                  const GLuint *ids,
78                                  GLboolean enabled);
79 bool ValidateDebugMessageInsert(const Context *context,
80                                 angle::EntryPoint entryPoint,
81                                 GLenum source,
82                                 GLenum type,
83                                 GLuint id,
84                                 GLenum severity,
85                                 GLsizei length,
86                                 const GLchar *buf);
87 bool ValidateDisablei(const Context *context,
88                       angle::EntryPoint entryPoint,
89                       GLenum target,
90                       GLuint index);
91 bool ValidateDrawElementsBaseVertex(const Context *context,
92                                     angle::EntryPoint entryPoint,
93                                     PrimitiveMode modePacked,
94                                     GLsizei count,
95                                     DrawElementsType typePacked,
96                                     const void *indices,
97                                     GLint basevertex);
98 bool ValidateDrawElementsInstancedBaseVertex(const Context *context,
99                                              angle::EntryPoint entryPoint,
100                                              PrimitiveMode modePacked,
101                                              GLsizei count,
102                                              DrawElementsType typePacked,
103                                              const void *indices,
104                                              GLsizei instancecount,
105                                              GLint basevertex);
106 bool ValidateDrawRangeElementsBaseVertex(const Context *context,
107                                          angle::EntryPoint entryPoint,
108                                          PrimitiveMode modePacked,
109                                          GLuint start,
110                                          GLuint end,
111                                          GLsizei count,
112                                          DrawElementsType typePacked,
113                                          const void *indices,
114                                          GLint basevertex);
115 bool ValidateEnablei(const Context *context,
116                      angle::EntryPoint entryPoint,
117                      GLenum target,
118                      GLuint index);
119 bool ValidateFramebufferTexture(const Context *context,
120                                 angle::EntryPoint entryPoint,
121                                 GLenum target,
122                                 GLenum attachment,
123                                 TextureID texturePacked,
124                                 GLint level);
125 bool ValidateGetDebugMessageLog(const Context *context,
126                                 angle::EntryPoint entryPoint,
127                                 GLuint count,
128                                 GLsizei bufSize,
129                                 const GLenum *sources,
130                                 const GLenum *types,
131                                 const GLuint *ids,
132                                 const GLenum *severities,
133                                 const GLsizei *lengths,
134                                 const GLchar *messageLog);
135 bool ValidateGetGraphicsResetStatus(const Context *context, angle::EntryPoint entryPoint);
136 bool ValidateGetObjectLabel(const Context *context,
137                             angle::EntryPoint entryPoint,
138                             GLenum identifier,
139                             GLuint name,
140                             GLsizei bufSize,
141                             const GLsizei *length,
142                             const GLchar *label);
143 bool ValidateGetObjectPtrLabel(const Context *context,
144                                angle::EntryPoint entryPoint,
145                                const void *ptr,
146                                GLsizei bufSize,
147                                const GLsizei *length,
148                                const GLchar *label);
149 bool ValidateGetPointerv(const Context *context,
150                          angle::EntryPoint entryPoint,
151                          GLenum pname,
152                          void *const *params);
153 bool ValidateGetSamplerParameterIiv(const Context *context,
154                                     angle::EntryPoint entryPoint,
155                                     SamplerID samplerPacked,
156                                     GLenum pname,
157                                     const GLint *params);
158 bool ValidateGetSamplerParameterIuiv(const Context *context,
159                                      angle::EntryPoint entryPoint,
160                                      SamplerID samplerPacked,
161                                      GLenum pname,
162                                      const GLuint *params);
163 bool ValidateGetTexParameterIiv(const Context *context,
164                                 angle::EntryPoint entryPoint,
165                                 TextureType targetPacked,
166                                 GLenum pname,
167                                 const GLint *params);
168 bool ValidateGetTexParameterIuiv(const Context *context,
169                                  angle::EntryPoint entryPoint,
170                                  TextureType targetPacked,
171                                  GLenum pname,
172                                  const GLuint *params);
173 bool ValidateGetnUniformfv(const Context *context,
174                            angle::EntryPoint entryPoint,
175                            ShaderProgramID programPacked,
176                            UniformLocation locationPacked,
177                            GLsizei bufSize,
178                            const GLfloat *params);
179 bool ValidateGetnUniformiv(const Context *context,
180                            angle::EntryPoint entryPoint,
181                            ShaderProgramID programPacked,
182                            UniformLocation locationPacked,
183                            GLsizei bufSize,
184                            const GLint *params);
185 bool ValidateGetnUniformuiv(const Context *context,
186                             angle::EntryPoint entryPoint,
187                             ShaderProgramID programPacked,
188                             UniformLocation locationPacked,
189                             GLsizei bufSize,
190                             const GLuint *params);
191 bool ValidateIsEnabledi(const Context *context,
192                         angle::EntryPoint entryPoint,
193                         GLenum target,
194                         GLuint index);
195 bool ValidateMinSampleShading(const Context *context, angle::EntryPoint entryPoint, GLfloat value);
196 bool ValidateObjectLabel(const Context *context,
197                          angle::EntryPoint entryPoint,
198                          GLenum identifier,
199                          GLuint name,
200                          GLsizei length,
201                          const GLchar *label);
202 bool ValidateObjectPtrLabel(const Context *context,
203                             angle::EntryPoint entryPoint,
204                             const void *ptr,
205                             GLsizei length,
206                             const GLchar *label);
207 bool ValidatePatchParameteri(const Context *context,
208                              angle::EntryPoint entryPoint,
209                              GLenum pname,
210                              GLint value);
211 bool ValidatePopDebugGroup(const Context *context, angle::EntryPoint entryPoint);
212 bool ValidatePrimitiveBoundingBox(const Context *context,
213                                   angle::EntryPoint entryPoint,
214                                   GLfloat minX,
215                                   GLfloat minY,
216                                   GLfloat minZ,
217                                   GLfloat minW,
218                                   GLfloat maxX,
219                                   GLfloat maxY,
220                                   GLfloat maxZ,
221                                   GLfloat maxW);
222 bool ValidatePushDebugGroup(const Context *context,
223                             angle::EntryPoint entryPoint,
224                             GLenum source,
225                             GLuint id,
226                             GLsizei length,
227                             const GLchar *message);
228 bool ValidateReadnPixels(const Context *context,
229                          angle::EntryPoint entryPoint,
230                          GLint x,
231                          GLint y,
232                          GLsizei width,
233                          GLsizei height,
234                          GLenum format,
235                          GLenum type,
236                          GLsizei bufSize,
237                          const void *data);
238 bool ValidateSamplerParameterIiv(const Context *context,
239                                  angle::EntryPoint entryPoint,
240                                  SamplerID samplerPacked,
241                                  GLenum pname,
242                                  const GLint *param);
243 bool ValidateSamplerParameterIuiv(const Context *context,
244                                   angle::EntryPoint entryPoint,
245                                   SamplerID samplerPacked,
246                                   GLenum pname,
247                                   const GLuint *param);
248 bool ValidateTexBuffer(const Context *context,
249                        angle::EntryPoint entryPoint,
250                        TextureType targetPacked,
251                        GLenum internalformat,
252                        BufferID bufferPacked);
253 bool ValidateTexBufferRange(const Context *context,
254                             angle::EntryPoint entryPoint,
255                             TextureType targetPacked,
256                             GLenum internalformat,
257                             BufferID bufferPacked,
258                             GLintptr offset,
259                             GLsizeiptr size);
260 bool ValidateTexParameterIiv(const Context *context,
261                              angle::EntryPoint entryPoint,
262                              TextureType targetPacked,
263                              GLenum pname,
264                              const GLint *params);
265 bool ValidateTexParameterIuiv(const Context *context,
266                               angle::EntryPoint entryPoint,
267                               TextureType targetPacked,
268                               GLenum pname,
269                               const GLuint *params);
270 bool ValidateTexStorage3DMultisample(const Context *context,
271                                      angle::EntryPoint entryPoint,
272                                      TextureType targetPacked,
273                                      GLsizei samples,
274                                      GLenum internalformat,
275                                      GLsizei width,
276                                      GLsizei height,
277                                      GLsizei depth,
278                                      GLboolean fixedsamplelocations);
279 }  // namespace gl
280 
281 #endif  // LIBANGLE_VALIDATION_ES32_AUTOGEN_H_
282