• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 // validationGL2_autogen.h:
9 //   Validation functions for the OpenGL Desktop GL 2.x 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 // GL 2.0
21 bool ValidateGetVertexAttribdv(const Context *context,
22                                GLuint index,
23                                GLenum pname,
24                                const GLdouble *params);
25 bool ValidateVertexAttrib1d(const Context *context, GLuint index, GLdouble x);
26 bool ValidateVertexAttrib1dv(const Context *context, GLuint index, const GLdouble *v);
27 bool ValidateVertexAttrib1s(const Context *context, GLuint index, GLshort x);
28 bool ValidateVertexAttrib1sv(const Context *context, GLuint index, const GLshort *v);
29 bool ValidateVertexAttrib2d(const Context *context, GLuint index, GLdouble x, GLdouble y);
30 bool ValidateVertexAttrib2dv(const Context *context, GLuint index, const GLdouble *v);
31 bool ValidateVertexAttrib2s(const Context *context, GLuint index, GLshort x, GLshort y);
32 bool ValidateVertexAttrib2sv(const Context *context, GLuint index, const GLshort *v);
33 bool ValidateVertexAttrib3d(const Context *context,
34                             GLuint index,
35                             GLdouble x,
36                             GLdouble y,
37                             GLdouble z);
38 bool ValidateVertexAttrib3dv(const Context *context, GLuint index, const GLdouble *v);
39 bool ValidateVertexAttrib3s(const Context *context, GLuint index, GLshort x, GLshort y, GLshort z);
40 bool ValidateVertexAttrib3sv(const Context *context, GLuint index, const GLshort *v);
41 bool ValidateVertexAttrib4Nbv(const Context *context, GLuint index, const GLbyte *v);
42 bool ValidateVertexAttrib4Niv(const Context *context, GLuint index, const GLint *v);
43 bool ValidateVertexAttrib4Nsv(const Context *context, GLuint index, const GLshort *v);
44 bool ValidateVertexAttrib4Nub(const Context *context,
45                               GLuint index,
46                               GLubyte x,
47                               GLubyte y,
48                               GLubyte z,
49                               GLubyte w);
50 bool ValidateVertexAttrib4Nubv(const Context *context, GLuint index, const GLubyte *v);
51 bool ValidateVertexAttrib4Nuiv(const Context *context, GLuint index, const GLuint *v);
52 bool ValidateVertexAttrib4Nusv(const Context *context, GLuint index, const GLushort *v);
53 bool ValidateVertexAttrib4bv(const Context *context, GLuint index, const GLbyte *v);
54 bool ValidateVertexAttrib4d(const Context *context,
55                             GLuint index,
56                             GLdouble x,
57                             GLdouble y,
58                             GLdouble z,
59                             GLdouble w);
60 bool ValidateVertexAttrib4dv(const Context *context, GLuint index, const GLdouble *v);
61 bool ValidateVertexAttrib4iv(const Context *context, GLuint index, const GLint *v);
62 bool ValidateVertexAttrib4s(const Context *context,
63                             GLuint index,
64                             GLshort x,
65                             GLshort y,
66                             GLshort z,
67                             GLshort w);
68 bool ValidateVertexAttrib4sv(const Context *context, GLuint index, const GLshort *v);
69 bool ValidateVertexAttrib4ubv(const Context *context, GLuint index, const GLubyte *v);
70 bool ValidateVertexAttrib4uiv(const Context *context, GLuint index, const GLuint *v);
71 bool ValidateVertexAttrib4usv(const Context *context, GLuint index, const GLushort *v);
72 
73 // GL 2.1
74 }  // namespace gl
75 
76 #endif  // LIBANGLE_VALIDATION_GL2_AUTOGEN_H_
77