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 // validationGL2_autogen.h: 9 // Validation functions for the OpenGL 2.0 entry points. 10 11 #ifndef LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ 12 #define LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ 13 14 #include "common/PackedEnums.h" 15 16 namespace gl 17 { 18 class Context; 19 20 bool ValidateGetVertexAttribdv(const Context *context, 21 GLuint index, 22 GLenum pname, 23 const GLdouble *params); 24 bool ValidateVertexAttrib1d(const Context *context, GLuint index, GLdouble x); 25 bool ValidateVertexAttrib1dv(const Context *context, GLuint index, const GLdouble *v); 26 bool ValidateVertexAttrib1s(const Context *context, GLuint index, GLshort x); 27 bool ValidateVertexAttrib1sv(const Context *context, GLuint index, const GLshort *v); 28 bool ValidateVertexAttrib2d(const Context *context, GLuint index, GLdouble x, GLdouble y); 29 bool ValidateVertexAttrib2dv(const Context *context, GLuint index, const GLdouble *v); 30 bool ValidateVertexAttrib2s(const Context *context, GLuint index, GLshort x, GLshort y); 31 bool ValidateVertexAttrib2sv(const Context *context, GLuint index, const GLshort *v); 32 bool ValidateVertexAttrib3d(const Context *context, 33 GLuint index, 34 GLdouble x, 35 GLdouble y, 36 GLdouble z); 37 bool ValidateVertexAttrib3dv(const Context *context, GLuint index, const GLdouble *v); 38 bool ValidateVertexAttrib3s(const Context *context, GLuint index, GLshort x, GLshort y, GLshort z); 39 bool ValidateVertexAttrib3sv(const Context *context, GLuint index, const GLshort *v); 40 bool ValidateVertexAttrib4Nbv(const Context *context, GLuint index, const GLbyte *v); 41 bool ValidateVertexAttrib4Niv(const Context *context, GLuint index, const GLint *v); 42 bool ValidateVertexAttrib4Nsv(const Context *context, GLuint index, const GLshort *v); 43 bool ValidateVertexAttrib4Nub(const Context *context, 44 GLuint index, 45 GLubyte x, 46 GLubyte y, 47 GLubyte z, 48 GLubyte w); 49 bool ValidateVertexAttrib4Nubv(const Context *context, GLuint index, const GLubyte *v); 50 bool ValidateVertexAttrib4Nuiv(const Context *context, GLuint index, const GLuint *v); 51 bool ValidateVertexAttrib4Nusv(const Context *context, GLuint index, const GLushort *v); 52 bool ValidateVertexAttrib4bv(const Context *context, GLuint index, const GLbyte *v); 53 bool ValidateVertexAttrib4d(const Context *context, 54 GLuint index, 55 GLdouble x, 56 GLdouble y, 57 GLdouble z, 58 GLdouble w); 59 bool ValidateVertexAttrib4dv(const Context *context, GLuint index, const GLdouble *v); 60 bool ValidateVertexAttrib4iv(const Context *context, GLuint index, const GLint *v); 61 bool ValidateVertexAttrib4s(const Context *context, 62 GLuint index, 63 GLshort x, 64 GLshort y, 65 GLshort z, 66 GLshort w); 67 bool ValidateVertexAttrib4sv(const Context *context, GLuint index, const GLshort *v); 68 bool ValidateVertexAttrib4ubv(const Context *context, GLuint index, const GLubyte *v); 69 bool ValidateVertexAttrib4uiv(const Context *context, GLuint index, const GLuint *v); 70 bool ValidateVertexAttrib4usv(const Context *context, GLuint index, const GLushort *v); 71 } // namespace gl 72 73 #endif // LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ 74