1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by generate_entry_points.py using data from gl.xml and wgl.xml. 3 // 4 // Copyright 2019 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(Context *context, GLuint index, GLenum pname, GLdouble *params); 21 bool ValidateVertexAttrib1d(Context *context, GLuint index, GLdouble x); 22 bool ValidateVertexAttrib1dv(Context *context, GLuint index, const GLdouble *v); 23 bool ValidateVertexAttrib1s(Context *context, GLuint index, GLshort x); 24 bool ValidateVertexAttrib1sv(Context *context, GLuint index, const GLshort *v); 25 bool ValidateVertexAttrib2d(Context *context, GLuint index, GLdouble x, GLdouble y); 26 bool ValidateVertexAttrib2dv(Context *context, GLuint index, const GLdouble *v); 27 bool ValidateVertexAttrib2s(Context *context, GLuint index, GLshort x, GLshort y); 28 bool ValidateVertexAttrib2sv(Context *context, GLuint index, const GLshort *v); 29 bool ValidateVertexAttrib3d(Context *context, GLuint index, GLdouble x, GLdouble y, GLdouble z); 30 bool ValidateVertexAttrib3dv(Context *context, GLuint index, const GLdouble *v); 31 bool ValidateVertexAttrib3s(Context *context, GLuint index, GLshort x, GLshort y, GLshort z); 32 bool ValidateVertexAttrib3sv(Context *context, GLuint index, const GLshort *v); 33 bool ValidateVertexAttrib4Nbv(Context *context, GLuint index, const GLbyte *v); 34 bool ValidateVertexAttrib4Niv(Context *context, GLuint index, const GLint *v); 35 bool ValidateVertexAttrib4Nsv(Context *context, GLuint index, const GLshort *v); 36 bool ValidateVertexAttrib4Nub(Context *context, 37 GLuint index, 38 GLubyte x, 39 GLubyte y, 40 GLubyte z, 41 GLubyte w); 42 bool ValidateVertexAttrib4Nubv(Context *context, GLuint index, const GLubyte *v); 43 bool ValidateVertexAttrib4Nuiv(Context *context, GLuint index, const GLuint *v); 44 bool ValidateVertexAttrib4Nusv(Context *context, GLuint index, const GLushort *v); 45 bool ValidateVertexAttrib4bv(Context *context, GLuint index, const GLbyte *v); 46 bool ValidateVertexAttrib4d(Context *context, 47 GLuint index, 48 GLdouble x, 49 GLdouble y, 50 GLdouble z, 51 GLdouble w); 52 bool ValidateVertexAttrib4dv(Context *context, GLuint index, const GLdouble *v); 53 bool ValidateVertexAttrib4iv(Context *context, GLuint index, const GLint *v); 54 bool ValidateVertexAttrib4s(Context *context, 55 GLuint index, 56 GLshort x, 57 GLshort y, 58 GLshort z, 59 GLshort w); 60 bool ValidateVertexAttrib4sv(Context *context, GLuint index, const GLshort *v); 61 bool ValidateVertexAttrib4ubv(Context *context, GLuint index, const GLubyte *v); 62 bool ValidateVertexAttrib4uiv(Context *context, GLuint index, const GLuint *v); 63 bool ValidateVertexAttrib4usv(Context *context, GLuint index, const GLushort *v); 64 } // namespace gl 65 66 #endif // LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ 67