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