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 // validationGL14_autogen.h: 9 // Validation functions for the OpenGL 1.4 entry points. 10 11 #ifndef LIBANGLE_VALIDATION_GL14_AUTOGEN_H_ 12 #define LIBANGLE_VALIDATION_GL14_AUTOGEN_H_ 13 14 #include "common/PackedEnums.h" 15 16 namespace gl 17 { 18 class Context; 19 20 bool ValidateFogCoordPointer(const Context *context, 21 GLenum type, 22 GLsizei stride, 23 const void *pointer); 24 bool ValidateFogCoordd(const Context *context, GLdouble coord); 25 bool ValidateFogCoorddv(const Context *context, const GLdouble *coord); 26 bool ValidateFogCoordf(const Context *context, GLfloat coord); 27 bool ValidateFogCoordfv(const Context *context, const GLfloat *coord); 28 bool ValidateMultiDrawArrays(const Context *context, 29 PrimitiveMode modePacked, 30 const GLint *first, 31 const GLsizei *count, 32 GLsizei drawcount); 33 bool ValidateMultiDrawElements(const Context *context, 34 PrimitiveMode modePacked, 35 const GLsizei *count, 36 DrawElementsType typePacked, 37 const void *const *indices, 38 GLsizei drawcount); 39 bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param); 40 bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params); 41 bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue); 42 bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v); 43 bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue); 44 bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v); 45 bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue); 46 bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v); 47 bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue); 48 bool ValidateSecondaryColor3iv(const Context *context, const GLint *v); 49 bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue); 50 bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v); 51 bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue); 52 bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v); 53 bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue); 54 bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v); 55 bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue); 56 bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v); 57 bool ValidateSecondaryColorPointer(const Context *context, 58 GLint size, 59 GLenum type, 60 GLsizei stride, 61 const void *pointer); 62 bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y); 63 bool ValidateWindowPos2dv(const Context *context, const GLdouble *v); 64 bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y); 65 bool ValidateWindowPos2fv(const Context *context, const GLfloat *v); 66 bool ValidateWindowPos2i(const Context *context, GLint x, GLint y); 67 bool ValidateWindowPos2iv(const Context *context, const GLint *v); 68 bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y); 69 bool ValidateWindowPos2sv(const Context *context, const GLshort *v); 70 bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z); 71 bool ValidateWindowPos3dv(const Context *context, const GLdouble *v); 72 bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z); 73 bool ValidateWindowPos3fv(const Context *context, const GLfloat *v); 74 bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z); 75 bool ValidateWindowPos3iv(const Context *context, const GLint *v); 76 bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z); 77 bool ValidateWindowPos3sv(const Context *context, const GLshort *v); 78 } // namespace gl 79 80 #endif // LIBANGLE_VALIDATION_GL14_AUTOGEN_H_ 81