1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by generate_entry_points.py using data from gl.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 // validationGL33_autogen.h: 9 // Validation functions for the OpenGL 3.3 entry points. 10 11 #ifndef LIBANGLE_VALIDATION_GL33_AUTOGEN_H_ 12 #define LIBANGLE_VALIDATION_GL33_AUTOGEN_H_ 13 14 #include "common/PackedEnums.h" 15 16 namespace gl 17 { 18 class Context; 19 20 bool ValidateBindFragDataLocationIndexed(const Context *context, 21 ShaderProgramID programPacked, 22 GLuint colorNumber, 23 GLuint index, 24 const GLchar *name); 25 bool ValidateColorP3ui(const Context *context, GLenum type, GLuint color); 26 bool ValidateColorP3uiv(const Context *context, GLenum type, const GLuint *color); 27 bool ValidateColorP4ui(const Context *context, GLenum type, GLuint color); 28 bool ValidateColorP4uiv(const Context *context, GLenum type, const GLuint *color); 29 bool ValidateGetFragDataIndex(const Context *context, 30 ShaderProgramID programPacked, 31 const GLchar *name); 32 bool ValidateGetQueryObjecti64v(const Context *context, 33 QueryID idPacked, 34 GLenum pname, 35 const GLint64 *params); 36 bool ValidateGetQueryObjectui64v(const Context *context, 37 QueryID idPacked, 38 GLenum pname, 39 const GLuint64 *params); 40 bool ValidateMultiTexCoordP1ui(const Context *context, GLenum texture, GLenum type, GLuint coords); 41 bool ValidateMultiTexCoordP1uiv(const Context *context, 42 GLenum texture, 43 GLenum type, 44 const GLuint *coords); 45 bool ValidateMultiTexCoordP2ui(const Context *context, GLenum texture, GLenum type, GLuint coords); 46 bool ValidateMultiTexCoordP2uiv(const Context *context, 47 GLenum texture, 48 GLenum type, 49 const GLuint *coords); 50 bool ValidateMultiTexCoordP3ui(const Context *context, GLenum texture, GLenum type, GLuint coords); 51 bool ValidateMultiTexCoordP3uiv(const Context *context, 52 GLenum texture, 53 GLenum type, 54 const GLuint *coords); 55 bool ValidateMultiTexCoordP4ui(const Context *context, GLenum texture, GLenum type, GLuint coords); 56 bool ValidateMultiTexCoordP4uiv(const Context *context, 57 GLenum texture, 58 GLenum type, 59 const GLuint *coords); 60 bool ValidateNormalP3ui(const Context *context, GLenum type, GLuint coords); 61 bool ValidateNormalP3uiv(const Context *context, GLenum type, const GLuint *coords); 62 bool ValidateQueryCounter(const Context *context, QueryID idPacked, QueryType targetPacked); 63 bool ValidateSecondaryColorP3ui(const Context *context, GLenum type, GLuint color); 64 bool ValidateSecondaryColorP3uiv(const Context *context, GLenum type, const GLuint *color); 65 bool ValidateTexCoordP1ui(const Context *context, GLenum type, GLuint coords); 66 bool ValidateTexCoordP1uiv(const Context *context, GLenum type, const GLuint *coords); 67 bool ValidateTexCoordP2ui(const Context *context, GLenum type, GLuint coords); 68 bool ValidateTexCoordP2uiv(const Context *context, GLenum type, const GLuint *coords); 69 bool ValidateTexCoordP3ui(const Context *context, GLenum type, GLuint coords); 70 bool ValidateTexCoordP3uiv(const Context *context, GLenum type, const GLuint *coords); 71 bool ValidateTexCoordP4ui(const Context *context, GLenum type, GLuint coords); 72 bool ValidateTexCoordP4uiv(const Context *context, GLenum type, const GLuint *coords); 73 bool ValidateVertexAttribP1ui(const Context *context, 74 GLuint index, 75 GLenum type, 76 GLboolean normalized, 77 GLuint value); 78 bool ValidateVertexAttribP1uiv(const Context *context, 79 GLuint index, 80 GLenum type, 81 GLboolean normalized, 82 const GLuint *value); 83 bool ValidateVertexAttribP2ui(const Context *context, 84 GLuint index, 85 GLenum type, 86 GLboolean normalized, 87 GLuint value); 88 bool ValidateVertexAttribP2uiv(const Context *context, 89 GLuint index, 90 GLenum type, 91 GLboolean normalized, 92 const GLuint *value); 93 bool ValidateVertexAttribP3ui(const Context *context, 94 GLuint index, 95 GLenum type, 96 GLboolean normalized, 97 GLuint value); 98 bool ValidateVertexAttribP3uiv(const Context *context, 99 GLuint index, 100 GLenum type, 101 GLboolean normalized, 102 const GLuint *value); 103 bool ValidateVertexAttribP4ui(const Context *context, 104 GLuint index, 105 GLenum type, 106 GLboolean normalized, 107 GLuint value); 108 bool ValidateVertexAttribP4uiv(const Context *context, 109 GLuint index, 110 GLenum type, 111 GLboolean normalized, 112 const GLuint *value); 113 bool ValidateVertexP2ui(const Context *context, GLenum type, GLuint value); 114 bool ValidateVertexP2uiv(const Context *context, GLenum type, const GLuint *value); 115 bool ValidateVertexP3ui(const Context *context, GLenum type, GLuint value); 116 bool ValidateVertexP3uiv(const Context *context, GLenum type, const GLuint *value); 117 bool ValidateVertexP4ui(const Context *context, GLenum type, GLuint value); 118 bool ValidateVertexP4uiv(const Context *context, GLenum type, const GLuint *value); 119 } // namespace gl 120 121 #endif // LIBANGLE_VALIDATION_GL33_AUTOGEN_H_ 122