• 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 #include "common/entry_points_enum_autogen.h"
16 
17 namespace gl
18 {
19 class Context;
20 
21 // GL 2.0
22 bool ValidateGetVertexAttribdv(const Context *context,
23                                angle::EntryPoint entryPoint,
24                                GLuint index,
25                                GLenum pname,
26                                const GLdouble *params);
27 bool ValidateVertexAttrib1d(const Context *context,
28                             angle::EntryPoint entryPoint,
29                             GLuint index,
30                             GLdouble x);
31 bool ValidateVertexAttrib1dv(const Context *context,
32                              angle::EntryPoint entryPoint,
33                              GLuint index,
34                              const GLdouble *v);
35 bool ValidateVertexAttrib1s(const Context *context,
36                             angle::EntryPoint entryPoint,
37                             GLuint index,
38                             GLshort x);
39 bool ValidateVertexAttrib1sv(const Context *context,
40                              angle::EntryPoint entryPoint,
41                              GLuint index,
42                              const GLshort *v);
43 bool ValidateVertexAttrib2d(const Context *context,
44                             angle::EntryPoint entryPoint,
45                             GLuint index,
46                             GLdouble x,
47                             GLdouble y);
48 bool ValidateVertexAttrib2dv(const Context *context,
49                              angle::EntryPoint entryPoint,
50                              GLuint index,
51                              const GLdouble *v);
52 bool ValidateVertexAttrib2s(const Context *context,
53                             angle::EntryPoint entryPoint,
54                             GLuint index,
55                             GLshort x,
56                             GLshort y);
57 bool ValidateVertexAttrib2sv(const Context *context,
58                              angle::EntryPoint entryPoint,
59                              GLuint index,
60                              const GLshort *v);
61 bool ValidateVertexAttrib3d(const Context *context,
62                             angle::EntryPoint entryPoint,
63                             GLuint index,
64                             GLdouble x,
65                             GLdouble y,
66                             GLdouble z);
67 bool ValidateVertexAttrib3dv(const Context *context,
68                              angle::EntryPoint entryPoint,
69                              GLuint index,
70                              const GLdouble *v);
71 bool ValidateVertexAttrib3s(const Context *context,
72                             angle::EntryPoint entryPoint,
73                             GLuint index,
74                             GLshort x,
75                             GLshort y,
76                             GLshort z);
77 bool ValidateVertexAttrib3sv(const Context *context,
78                              angle::EntryPoint entryPoint,
79                              GLuint index,
80                              const GLshort *v);
81 bool ValidateVertexAttrib4Nbv(const Context *context,
82                               angle::EntryPoint entryPoint,
83                               GLuint index,
84                               const GLbyte *v);
85 bool ValidateVertexAttrib4Niv(const Context *context,
86                               angle::EntryPoint entryPoint,
87                               GLuint index,
88                               const GLint *v);
89 bool ValidateVertexAttrib4Nsv(const Context *context,
90                               angle::EntryPoint entryPoint,
91                               GLuint index,
92                               const GLshort *v);
93 bool ValidateVertexAttrib4Nub(const Context *context,
94                               angle::EntryPoint entryPoint,
95                               GLuint index,
96                               GLubyte x,
97                               GLubyte y,
98                               GLubyte z,
99                               GLubyte w);
100 bool ValidateVertexAttrib4Nubv(const Context *context,
101                                angle::EntryPoint entryPoint,
102                                GLuint index,
103                                const GLubyte *v);
104 bool ValidateVertexAttrib4Nuiv(const Context *context,
105                                angle::EntryPoint entryPoint,
106                                GLuint index,
107                                const GLuint *v);
108 bool ValidateVertexAttrib4Nusv(const Context *context,
109                                angle::EntryPoint entryPoint,
110                                GLuint index,
111                                const GLushort *v);
112 bool ValidateVertexAttrib4bv(const Context *context,
113                              angle::EntryPoint entryPoint,
114                              GLuint index,
115                              const GLbyte *v);
116 bool ValidateVertexAttrib4d(const Context *context,
117                             angle::EntryPoint entryPoint,
118                             GLuint index,
119                             GLdouble x,
120                             GLdouble y,
121                             GLdouble z,
122                             GLdouble w);
123 bool ValidateVertexAttrib4dv(const Context *context,
124                              angle::EntryPoint entryPoint,
125                              GLuint index,
126                              const GLdouble *v);
127 bool ValidateVertexAttrib4iv(const Context *context,
128                              angle::EntryPoint entryPoint,
129                              GLuint index,
130                              const GLint *v);
131 bool ValidateVertexAttrib4s(const Context *context,
132                             angle::EntryPoint entryPoint,
133                             GLuint index,
134                             GLshort x,
135                             GLshort y,
136                             GLshort z,
137                             GLshort w);
138 bool ValidateVertexAttrib4sv(const Context *context,
139                              angle::EntryPoint entryPoint,
140                              GLuint index,
141                              const GLshort *v);
142 bool ValidateVertexAttrib4ubv(const Context *context,
143                               angle::EntryPoint entryPoint,
144                               GLuint index,
145                               const GLubyte *v);
146 bool ValidateVertexAttrib4uiv(const Context *context,
147                               angle::EntryPoint entryPoint,
148                               GLuint index,
149                               const GLuint *v);
150 bool ValidateVertexAttrib4usv(const Context *context,
151                               angle::EntryPoint entryPoint,
152                               GLuint index,
153                               const GLushort *v);
154 
155 // GL 2.1
156 }  // namespace gl
157 
158 #endif  // LIBANGLE_VALIDATION_GL2_AUTOGEN_H_
159