1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6
7 // validationGL14.cpp: Validation functions for OpenGL 1.4 entry point parameters
8
9 #include "libANGLE/validationGL14_autogen.h"
10
11 namespace gl
12 {
13
ValidateFogCoordPointer(const Context * context,GLenum type,GLsizei stride,const void * pointer)14 bool ValidateFogCoordPointer(const Context *context,
15 GLenum type,
16 GLsizei stride,
17 const void *pointer)
18 {
19 return true;
20 }
21
ValidateFogCoordd(const Context * context,GLdouble coord)22 bool ValidateFogCoordd(const Context *context, GLdouble coord)
23 {
24 return true;
25 }
26
ValidateFogCoorddv(const Context * context,const GLdouble * coord)27 bool ValidateFogCoorddv(const Context *context, const GLdouble *coord)
28 {
29 return true;
30 }
31
ValidateFogCoordf(const Context * context,GLfloat coord)32 bool ValidateFogCoordf(const Context *context, GLfloat coord)
33 {
34 return true;
35 }
36
ValidateFogCoordfv(const Context * context,const GLfloat * coord)37 bool ValidateFogCoordfv(const Context *context, const GLfloat *coord)
38 {
39 return true;
40 }
41
ValidateMultiDrawArrays(const Context * context,PrimitiveMode modePacked,const GLint * first,const GLsizei * count,GLsizei drawcount)42 bool ValidateMultiDrawArrays(const Context *context,
43 PrimitiveMode modePacked,
44 const GLint *first,
45 const GLsizei *count,
46 GLsizei drawcount)
47 {
48 return true;
49 }
50
ValidateMultiDrawElements(const Context * context,PrimitiveMode modePacked,const GLsizei * count,DrawElementsType typePacked,const void * const * indices,GLsizei drawcount)51 bool ValidateMultiDrawElements(const Context *context,
52 PrimitiveMode modePacked,
53 const GLsizei *count,
54 DrawElementsType typePacked,
55 const void *const *indices,
56 GLsizei drawcount)
57 {
58 return true;
59 }
60
ValidatePointParameteri(const Context * context,GLenum pname,GLint param)61 bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param)
62 {
63 return true;
64 }
65
ValidatePointParameteriv(const Context * context,GLenum pname,const GLint * params)66 bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params)
67 {
68 return true;
69 }
70
ValidateSecondaryColor3b(const Context * context,GLbyte red,GLbyte green,GLbyte blue)71 bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue)
72 {
73 return true;
74 }
75
ValidateSecondaryColor3bv(const Context * context,const GLbyte * v)76 bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v)
77 {
78 return true;
79 }
80
ValidateSecondaryColor3d(const Context * context,GLdouble red,GLdouble green,GLdouble blue)81 bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue)
82 {
83 return true;
84 }
85
ValidateSecondaryColor3dv(const Context * context,const GLdouble * v)86 bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v)
87 {
88 return true;
89 }
90
ValidateSecondaryColor3f(const Context * context,GLfloat red,GLfloat green,GLfloat blue)91 bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue)
92 {
93 return true;
94 }
95
ValidateSecondaryColor3fv(const Context * context,const GLfloat * v)96 bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v)
97 {
98 return true;
99 }
100
ValidateSecondaryColor3i(const Context * context,GLint red,GLint green,GLint blue)101 bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue)
102 {
103 return true;
104 }
105
ValidateSecondaryColor3iv(const Context * context,const GLint * v)106 bool ValidateSecondaryColor3iv(const Context *context, const GLint *v)
107 {
108 return true;
109 }
110
ValidateSecondaryColor3s(const Context * context,GLshort red,GLshort green,GLshort blue)111 bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue)
112 {
113 return true;
114 }
115
ValidateSecondaryColor3sv(const Context * context,const GLshort * v)116 bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v)
117 {
118 return true;
119 }
120
ValidateSecondaryColor3ub(const Context * context,GLubyte red,GLubyte green,GLubyte blue)121 bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue)
122 {
123 return true;
124 }
125
ValidateSecondaryColor3ubv(const Context * context,const GLubyte * v)126 bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v)
127 {
128 return true;
129 }
130
ValidateSecondaryColor3ui(const Context * context,GLuint red,GLuint green,GLuint blue)131 bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue)
132 {
133 return true;
134 }
135
ValidateSecondaryColor3uiv(const Context * context,const GLuint * v)136 bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v)
137 {
138 return true;
139 }
140
ValidateSecondaryColor3us(const Context * context,GLushort red,GLushort green,GLushort blue)141 bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue)
142 {
143 return true;
144 }
145
ValidateSecondaryColor3usv(const Context * context,const GLushort * v)146 bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v)
147 {
148 return true;
149 }
150
ValidateSecondaryColorPointer(const Context * context,GLint size,GLenum type,GLsizei stride,const void * pointer)151 bool ValidateSecondaryColorPointer(const Context *context,
152 GLint size,
153 GLenum type,
154 GLsizei stride,
155 const void *pointer)
156 {
157 return true;
158 }
159
ValidateWindowPos2d(const Context * context,GLdouble x,GLdouble y)160 bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y)
161 {
162 return true;
163 }
164
ValidateWindowPos2dv(const Context * context,const GLdouble * v)165 bool ValidateWindowPos2dv(const Context *context, const GLdouble *v)
166 {
167 return true;
168 }
169
ValidateWindowPos2f(const Context * context,GLfloat x,GLfloat y)170 bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y)
171 {
172 return true;
173 }
174
ValidateWindowPos2fv(const Context * context,const GLfloat * v)175 bool ValidateWindowPos2fv(const Context *context, const GLfloat *v)
176 {
177 return true;
178 }
179
ValidateWindowPos2i(const Context * context,GLint x,GLint y)180 bool ValidateWindowPos2i(const Context *context, GLint x, GLint y)
181 {
182 return true;
183 }
184
ValidateWindowPos2iv(const Context * context,const GLint * v)185 bool ValidateWindowPos2iv(const Context *context, const GLint *v)
186 {
187 return true;
188 }
189
ValidateWindowPos2s(const Context * context,GLshort x,GLshort y)190 bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y)
191 {
192 return true;
193 }
194
ValidateWindowPos2sv(const Context * context,const GLshort * v)195 bool ValidateWindowPos2sv(const Context *context, const GLshort *v)
196 {
197 return true;
198 }
199
ValidateWindowPos3d(const Context * context,GLdouble x,GLdouble y,GLdouble z)200 bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z)
201 {
202 return true;
203 }
204
ValidateWindowPos3dv(const Context * context,const GLdouble * v)205 bool ValidateWindowPos3dv(const Context *context, const GLdouble *v)
206 {
207 return true;
208 }
209
ValidateWindowPos3f(const Context * context,GLfloat x,GLfloat y,GLfloat z)210 bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z)
211 {
212 return true;
213 }
214
ValidateWindowPos3fv(const Context * context,const GLfloat * v)215 bool ValidateWindowPos3fv(const Context *context, const GLfloat *v)
216 {
217 return true;
218 }
219
ValidateWindowPos3i(const Context * context,GLint x,GLint y,GLint z)220 bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z)
221 {
222 return true;
223 }
224
ValidateWindowPos3iv(const Context * context,const GLint * v)225 bool ValidateWindowPos3iv(const Context *context, const GLint *v)
226 {
227 return true;
228 }
229
ValidateWindowPos3s(const Context * context,GLshort x,GLshort y,GLshort z)230 bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z)
231 {
232 return true;
233 }
234
ValidateWindowPos3sv(const Context * context,const GLshort * v)235 bool ValidateWindowPos3sv(const Context *context, const GLshort *v)
236 {
237 return true;
238 }
239
240 } // namespace gl
241