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