• 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 // validationGL1_autogen.h:
9 //   Validation functions for the OpenGL Desktop GL 1.x entry points.
10 
11 #ifndef LIBANGLE_VALIDATION_GL1_AUTOGEN_H_
12 #define LIBANGLE_VALIDATION_GL1_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 1.0
24 bool ValidateAccum(const Context *context, angle::EntryPoint entryPoint, GLenum op, GLfloat value);
25 bool ValidateBegin(const Context *context, angle::EntryPoint entryPoint, GLenum mode);
26 bool ValidateBitmap(const Context *context,
27                     angle::EntryPoint entryPoint,
28                     GLsizei width,
29                     GLsizei height,
30                     GLfloat xorig,
31                     GLfloat yorig,
32                     GLfloat xmove,
33                     GLfloat ymove,
34                     const GLubyte *bitmap);
35 bool ValidateCallList(const Context *context, angle::EntryPoint entryPoint, GLuint list);
36 bool ValidateCallLists(const Context *context,
37                        angle::EntryPoint entryPoint,
38                        GLsizei n,
39                        GLenum type,
40                        const void *lists);
41 bool ValidateClearAccum(const Context *context,
42                         angle::EntryPoint entryPoint,
43                         GLfloat red,
44                         GLfloat green,
45                         GLfloat blue,
46                         GLfloat alpha);
47 bool ValidateClearDepth(const Context *context, angle::EntryPoint entryPoint, GLdouble depth);
48 bool ValidateClearIndex(const Context *context, angle::EntryPoint entryPoint, GLfloat c);
49 bool ValidateClipPlane(const Context *context,
50                        angle::EntryPoint entryPoint,
51                        GLenum plane,
52                        const GLdouble *equation);
53 bool ValidateColor3b(const Context *context,
54                      angle::EntryPoint entryPoint,
55                      GLbyte red,
56                      GLbyte green,
57                      GLbyte blue);
58 bool ValidateColor3bv(const Context *context, angle::EntryPoint entryPoint, const GLbyte *v);
59 bool ValidateColor3d(const Context *context,
60                      angle::EntryPoint entryPoint,
61                      GLdouble red,
62                      GLdouble green,
63                      GLdouble blue);
64 bool ValidateColor3dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
65 bool ValidateColor3f(const Context *context,
66                      angle::EntryPoint entryPoint,
67                      GLfloat red,
68                      GLfloat green,
69                      GLfloat blue);
70 bool ValidateColor3fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
71 bool ValidateColor3i(const Context *context,
72                      angle::EntryPoint entryPoint,
73                      GLint red,
74                      GLint green,
75                      GLint blue);
76 bool ValidateColor3iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
77 bool ValidateColor3s(const Context *context,
78                      angle::EntryPoint entryPoint,
79                      GLshort red,
80                      GLshort green,
81                      GLshort blue);
82 bool ValidateColor3sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
83 bool ValidateColor3ub(const Context *context,
84                       angle::EntryPoint entryPoint,
85                       GLubyte red,
86                       GLubyte green,
87                       GLubyte blue);
88 bool ValidateColor3ubv(const Context *context, angle::EntryPoint entryPoint, const GLubyte *v);
89 bool ValidateColor3ui(const Context *context,
90                       angle::EntryPoint entryPoint,
91                       GLuint red,
92                       GLuint green,
93                       GLuint blue);
94 bool ValidateColor3uiv(const Context *context, angle::EntryPoint entryPoint, const GLuint *v);
95 bool ValidateColor3us(const Context *context,
96                       angle::EntryPoint entryPoint,
97                       GLushort red,
98                       GLushort green,
99                       GLushort blue);
100 bool ValidateColor3usv(const Context *context, angle::EntryPoint entryPoint, const GLushort *v);
101 bool ValidateColor4b(const Context *context,
102                      angle::EntryPoint entryPoint,
103                      GLbyte red,
104                      GLbyte green,
105                      GLbyte blue,
106                      GLbyte alpha);
107 bool ValidateColor4bv(const Context *context, angle::EntryPoint entryPoint, const GLbyte *v);
108 bool ValidateColor4d(const Context *context,
109                      angle::EntryPoint entryPoint,
110                      GLdouble red,
111                      GLdouble green,
112                      GLdouble blue,
113                      GLdouble alpha);
114 bool ValidateColor4dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
115 bool ValidateColor4fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
116 bool ValidateColor4i(const Context *context,
117                      angle::EntryPoint entryPoint,
118                      GLint red,
119                      GLint green,
120                      GLint blue,
121                      GLint alpha);
122 bool ValidateColor4iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
123 bool ValidateColor4s(const Context *context,
124                      angle::EntryPoint entryPoint,
125                      GLshort red,
126                      GLshort green,
127                      GLshort blue,
128                      GLshort alpha);
129 bool ValidateColor4sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
130 bool ValidateColor4ubv(const Context *context, angle::EntryPoint entryPoint, const GLubyte *v);
131 bool ValidateColor4ui(const Context *context,
132                       angle::EntryPoint entryPoint,
133                       GLuint red,
134                       GLuint green,
135                       GLuint blue,
136                       GLuint alpha);
137 bool ValidateColor4uiv(const Context *context, angle::EntryPoint entryPoint, const GLuint *v);
138 bool ValidateColor4us(const Context *context,
139                       angle::EntryPoint entryPoint,
140                       GLushort red,
141                       GLushort green,
142                       GLushort blue,
143                       GLushort alpha);
144 bool ValidateColor4usv(const Context *context, angle::EntryPoint entryPoint, const GLushort *v);
145 bool ValidateColorMaterial(const Context *context,
146                            angle::EntryPoint entryPoint,
147                            GLenum face,
148                            GLenum mode);
149 bool ValidateCopyPixels(const Context *context,
150                         angle::EntryPoint entryPoint,
151                         GLint x,
152                         GLint y,
153                         GLsizei width,
154                         GLsizei height,
155                         GLenum type);
156 bool ValidateDeleteLists(const Context *context,
157                          angle::EntryPoint entryPoint,
158                          GLuint list,
159                          GLsizei range);
160 bool ValidateDepthRange(const Context *context,
161                         angle::EntryPoint entryPoint,
162                         GLdouble n,
163                         GLdouble f);
164 bool ValidateDrawBuffer(const Context *context, angle::EntryPoint entryPoint, GLenum buf);
165 bool ValidateDrawPixels(const Context *context,
166                         angle::EntryPoint entryPoint,
167                         GLsizei width,
168                         GLsizei height,
169                         GLenum format,
170                         GLenum type,
171                         const void *pixels);
172 bool ValidateEdgeFlag(const Context *context, angle::EntryPoint entryPoint, GLboolean flag);
173 bool ValidateEdgeFlagv(const Context *context, angle::EntryPoint entryPoint, const GLboolean *flag);
174 bool ValidateEnd(const Context *context, angle::EntryPoint entryPoint);
175 bool ValidateEndList(const Context *context, angle::EntryPoint entryPoint);
176 bool ValidateEvalCoord1d(const Context *context, angle::EntryPoint entryPoint, GLdouble u);
177 bool ValidateEvalCoord1dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *u);
178 bool ValidateEvalCoord1f(const Context *context, angle::EntryPoint entryPoint, GLfloat u);
179 bool ValidateEvalCoord1fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *u);
180 bool ValidateEvalCoord2d(const Context *context,
181                          angle::EntryPoint entryPoint,
182                          GLdouble u,
183                          GLdouble v);
184 bool ValidateEvalCoord2dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *u);
185 bool ValidateEvalCoord2f(const Context *context,
186                          angle::EntryPoint entryPoint,
187                          GLfloat u,
188                          GLfloat v);
189 bool ValidateEvalCoord2fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *u);
190 bool ValidateEvalMesh1(const Context *context,
191                        angle::EntryPoint entryPoint,
192                        GLenum mode,
193                        GLint i1,
194                        GLint i2);
195 bool ValidateEvalMesh2(const Context *context,
196                        angle::EntryPoint entryPoint,
197                        GLenum mode,
198                        GLint i1,
199                        GLint i2,
200                        GLint j1,
201                        GLint j2);
202 bool ValidateEvalPoint1(const Context *context, angle::EntryPoint entryPoint, GLint i);
203 bool ValidateEvalPoint2(const Context *context, angle::EntryPoint entryPoint, GLint i, GLint j);
204 bool ValidateFeedbackBuffer(const Context *context,
205                             angle::EntryPoint entryPoint,
206                             GLsizei size,
207                             GLenum type,
208                             const GLfloat *buffer);
209 bool ValidateFogi(const Context *context, angle::EntryPoint entryPoint, GLenum pname, GLint param);
210 bool ValidateFogiv(const Context *context,
211                    angle::EntryPoint entryPoint,
212                    GLenum pname,
213                    const GLint *params);
214 bool ValidateFrustum(const Context *context,
215                      angle::EntryPoint entryPoint,
216                      GLdouble left,
217                      GLdouble right,
218                      GLdouble bottom,
219                      GLdouble top,
220                      GLdouble zNear,
221                      GLdouble zFar);
222 bool ValidateGenLists(const Context *context, angle::EntryPoint entryPoint, GLsizei range);
223 bool ValidateGetClipPlane(const Context *context,
224                           angle::EntryPoint entryPoint,
225                           GLenum plane,
226                           const GLdouble *equation);
227 bool ValidateGetDoublev(const Context *context,
228                         angle::EntryPoint entryPoint,
229                         GLenum pname,
230                         const GLdouble *data);
231 bool ValidateGetLightiv(const Context *context,
232                         angle::EntryPoint entryPoint,
233                         GLenum light,
234                         GLenum pname,
235                         const GLint *params);
236 bool ValidateGetMapdv(const Context *context,
237                       angle::EntryPoint entryPoint,
238                       GLenum target,
239                       GLenum query,
240                       const GLdouble *v);
241 bool ValidateGetMapfv(const Context *context,
242                       angle::EntryPoint entryPoint,
243                       GLenum target,
244                       GLenum query,
245                       const GLfloat *v);
246 bool ValidateGetMapiv(const Context *context,
247                       angle::EntryPoint entryPoint,
248                       GLenum target,
249                       GLenum query,
250                       const GLint *v);
251 bool ValidateGetMaterialiv(const Context *context,
252                            angle::EntryPoint entryPoint,
253                            GLenum face,
254                            GLenum pname,
255                            const GLint *params);
256 bool ValidateGetPixelMapfv(const Context *context,
257                            angle::EntryPoint entryPoint,
258                            GLenum map,
259                            const GLfloat *values);
260 bool ValidateGetPixelMapuiv(const Context *context,
261                             angle::EntryPoint entryPoint,
262                             GLenum map,
263                             const GLuint *values);
264 bool ValidateGetPixelMapusv(const Context *context,
265                             angle::EntryPoint entryPoint,
266                             GLenum map,
267                             const GLushort *values);
268 bool ValidateGetPolygonStipple(const Context *context,
269                                angle::EntryPoint entryPoint,
270                                const GLubyte *mask);
271 bool ValidateGetTexGendv(const Context *context,
272                          angle::EntryPoint entryPoint,
273                          GLenum coord,
274                          GLenum pname,
275                          const GLdouble *params);
276 bool ValidateGetTexGenfv(const Context *context,
277                          angle::EntryPoint entryPoint,
278                          GLenum coord,
279                          GLenum pname,
280                          const GLfloat *params);
281 bool ValidateGetTexGeniv(const Context *context,
282                          angle::EntryPoint entryPoint,
283                          GLenum coord,
284                          GLenum pname,
285                          const GLint *params);
286 bool ValidateGetTexImage(const Context *context,
287                          angle::EntryPoint entryPoint,
288                          TextureTarget targetPacked,
289                          GLint level,
290                          GLenum format,
291                          GLenum type,
292                          const void *pixels);
293 bool ValidateIndexMask(const Context *context, angle::EntryPoint entryPoint, GLuint mask);
294 bool ValidateIndexd(const Context *context, angle::EntryPoint entryPoint, GLdouble c);
295 bool ValidateIndexdv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *c);
296 bool ValidateIndexf(const Context *context, angle::EntryPoint entryPoint, GLfloat c);
297 bool ValidateIndexfv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *c);
298 bool ValidateIndexi(const Context *context, angle::EntryPoint entryPoint, GLint c);
299 bool ValidateIndexiv(const Context *context, angle::EntryPoint entryPoint, const GLint *c);
300 bool ValidateIndexs(const Context *context, angle::EntryPoint entryPoint, GLshort c);
301 bool ValidateIndexsv(const Context *context, angle::EntryPoint entryPoint, const GLshort *c);
302 bool ValidateInitNames(const Context *context, angle::EntryPoint entryPoint);
303 bool ValidateIsList(const Context *context, angle::EntryPoint entryPoint, GLuint list);
304 bool ValidateLightModeli(const Context *context,
305                          angle::EntryPoint entryPoint,
306                          GLenum pname,
307                          GLint param);
308 bool ValidateLightModeliv(const Context *context,
309                           angle::EntryPoint entryPoint,
310                           GLenum pname,
311                           const GLint *params);
312 bool ValidateLighti(const Context *context,
313                     angle::EntryPoint entryPoint,
314                     GLenum light,
315                     GLenum pname,
316                     GLint param);
317 bool ValidateLightiv(const Context *context,
318                      angle::EntryPoint entryPoint,
319                      GLenum light,
320                      GLenum pname,
321                      const GLint *params);
322 bool ValidateLineStipple(const Context *context,
323                          angle::EntryPoint entryPoint,
324                          GLint factor,
325                          GLushort pattern);
326 bool ValidateListBase(const Context *context, angle::EntryPoint entryPoint, GLuint base);
327 bool ValidateLoadMatrixd(const Context *context, angle::EntryPoint entryPoint, const GLdouble *m);
328 bool ValidateLoadName(const Context *context, angle::EntryPoint entryPoint, GLuint name);
329 bool ValidateMap1d(const Context *context,
330                    angle::EntryPoint entryPoint,
331                    GLenum target,
332                    GLdouble u1,
333                    GLdouble u2,
334                    GLint stride,
335                    GLint order,
336                    const GLdouble *points);
337 bool ValidateMap1f(const Context *context,
338                    angle::EntryPoint entryPoint,
339                    GLenum target,
340                    GLfloat u1,
341                    GLfloat u2,
342                    GLint stride,
343                    GLint order,
344                    const GLfloat *points);
345 bool ValidateMap2d(const Context *context,
346                    angle::EntryPoint entryPoint,
347                    GLenum target,
348                    GLdouble u1,
349                    GLdouble u2,
350                    GLint ustride,
351                    GLint uorder,
352                    GLdouble v1,
353                    GLdouble v2,
354                    GLint vstride,
355                    GLint vorder,
356                    const GLdouble *points);
357 bool ValidateMap2f(const Context *context,
358                    angle::EntryPoint entryPoint,
359                    GLenum target,
360                    GLfloat u1,
361                    GLfloat u2,
362                    GLint ustride,
363                    GLint uorder,
364                    GLfloat v1,
365                    GLfloat v2,
366                    GLint vstride,
367                    GLint vorder,
368                    const GLfloat *points);
369 bool ValidateMapGrid1d(const Context *context,
370                        angle::EntryPoint entryPoint,
371                        GLint un,
372                        GLdouble u1,
373                        GLdouble u2);
374 bool ValidateMapGrid1f(const Context *context,
375                        angle::EntryPoint entryPoint,
376                        GLint un,
377                        GLfloat u1,
378                        GLfloat u2);
379 bool ValidateMapGrid2d(const Context *context,
380                        angle::EntryPoint entryPoint,
381                        GLint un,
382                        GLdouble u1,
383                        GLdouble u2,
384                        GLint vn,
385                        GLdouble v1,
386                        GLdouble v2);
387 bool ValidateMapGrid2f(const Context *context,
388                        angle::EntryPoint entryPoint,
389                        GLint un,
390                        GLfloat u1,
391                        GLfloat u2,
392                        GLint vn,
393                        GLfloat v1,
394                        GLfloat v2);
395 bool ValidateMateriali(const Context *context,
396                        angle::EntryPoint entryPoint,
397                        GLenum face,
398                        GLenum pname,
399                        GLint param);
400 bool ValidateMaterialiv(const Context *context,
401                         angle::EntryPoint entryPoint,
402                         GLenum face,
403                         GLenum pname,
404                         const GLint *params);
405 bool ValidateMultMatrixd(const Context *context, angle::EntryPoint entryPoint, const GLdouble *m);
406 bool ValidateNewList(const Context *context,
407                      angle::EntryPoint entryPoint,
408                      GLuint list,
409                      GLenum mode);
410 bool ValidateNormal3b(const Context *context,
411                       angle::EntryPoint entryPoint,
412                       GLbyte nx,
413                       GLbyte ny,
414                       GLbyte nz);
415 bool ValidateNormal3bv(const Context *context, angle::EntryPoint entryPoint, const GLbyte *v);
416 bool ValidateNormal3d(const Context *context,
417                       angle::EntryPoint entryPoint,
418                       GLdouble nx,
419                       GLdouble ny,
420                       GLdouble nz);
421 bool ValidateNormal3dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
422 bool ValidateNormal3fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
423 bool ValidateNormal3i(const Context *context,
424                       angle::EntryPoint entryPoint,
425                       GLint nx,
426                       GLint ny,
427                       GLint nz);
428 bool ValidateNormal3iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
429 bool ValidateNormal3s(const Context *context,
430                       angle::EntryPoint entryPoint,
431                       GLshort nx,
432                       GLshort ny,
433                       GLshort nz);
434 bool ValidateNormal3sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
435 bool ValidateOrtho(const Context *context,
436                    angle::EntryPoint entryPoint,
437                    GLdouble left,
438                    GLdouble right,
439                    GLdouble bottom,
440                    GLdouble top,
441                    GLdouble zNear,
442                    GLdouble zFar);
443 bool ValidatePassThrough(const Context *context, angle::EntryPoint entryPoint, GLfloat token);
444 bool ValidatePixelMapfv(const Context *context,
445                         angle::EntryPoint entryPoint,
446                         GLenum map,
447                         GLsizei mapsize,
448                         const GLfloat *values);
449 bool ValidatePixelMapuiv(const Context *context,
450                          angle::EntryPoint entryPoint,
451                          GLenum map,
452                          GLsizei mapsize,
453                          const GLuint *values);
454 bool ValidatePixelMapusv(const Context *context,
455                          angle::EntryPoint entryPoint,
456                          GLenum map,
457                          GLsizei mapsize,
458                          const GLushort *values);
459 bool ValidatePixelStoref(const Context *context,
460                          angle::EntryPoint entryPoint,
461                          GLenum pname,
462                          GLfloat param);
463 bool ValidatePixelTransferf(const Context *context,
464                             angle::EntryPoint entryPoint,
465                             GLenum pname,
466                             GLfloat param);
467 bool ValidatePixelTransferi(const Context *context,
468                             angle::EntryPoint entryPoint,
469                             GLenum pname,
470                             GLint param);
471 bool ValidatePixelZoom(const Context *context,
472                        angle::EntryPoint entryPoint,
473                        GLfloat xfactor,
474                        GLfloat yfactor);
475 bool ValidatePolygonMode(const PrivateState &state,
476                          ErrorSet *errors,
477                          angle::EntryPoint entryPoint,
478                          GLenum face,
479                          PolygonMode modePacked);
480 bool ValidatePolygonStipple(const Context *context,
481                             angle::EntryPoint entryPoint,
482                             const GLubyte *mask);
483 bool ValidatePopAttrib(const Context *context, angle::EntryPoint entryPoint);
484 bool ValidatePopName(const Context *context, angle::EntryPoint entryPoint);
485 bool ValidatePushAttrib(const Context *context, angle::EntryPoint entryPoint, GLbitfield mask);
486 bool ValidatePushName(const Context *context, angle::EntryPoint entryPoint, GLuint name);
487 bool ValidateRasterPos2d(const Context *context,
488                          angle::EntryPoint entryPoint,
489                          GLdouble x,
490                          GLdouble y);
491 bool ValidateRasterPos2dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
492 bool ValidateRasterPos2f(const Context *context,
493                          angle::EntryPoint entryPoint,
494                          GLfloat x,
495                          GLfloat y);
496 bool ValidateRasterPos2fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
497 bool ValidateRasterPos2i(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y);
498 bool ValidateRasterPos2iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
499 bool ValidateRasterPos2s(const Context *context,
500                          angle::EntryPoint entryPoint,
501                          GLshort x,
502                          GLshort y);
503 bool ValidateRasterPos2sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
504 bool ValidateRasterPos3d(const Context *context,
505                          angle::EntryPoint entryPoint,
506                          GLdouble x,
507                          GLdouble y,
508                          GLdouble z);
509 bool ValidateRasterPos3dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
510 bool ValidateRasterPos3f(const Context *context,
511                          angle::EntryPoint entryPoint,
512                          GLfloat x,
513                          GLfloat y,
514                          GLfloat z);
515 bool ValidateRasterPos3fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
516 bool ValidateRasterPos3i(const Context *context,
517                          angle::EntryPoint entryPoint,
518                          GLint x,
519                          GLint y,
520                          GLint z);
521 bool ValidateRasterPos3iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
522 bool ValidateRasterPos3s(const Context *context,
523                          angle::EntryPoint entryPoint,
524                          GLshort x,
525                          GLshort y,
526                          GLshort z);
527 bool ValidateRasterPos3sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
528 bool ValidateRasterPos4d(const Context *context,
529                          angle::EntryPoint entryPoint,
530                          GLdouble x,
531                          GLdouble y,
532                          GLdouble z,
533                          GLdouble w);
534 bool ValidateRasterPos4dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
535 bool ValidateRasterPos4f(const Context *context,
536                          angle::EntryPoint entryPoint,
537                          GLfloat x,
538                          GLfloat y,
539                          GLfloat z,
540                          GLfloat w);
541 bool ValidateRasterPos4fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
542 bool ValidateRasterPos4i(const Context *context,
543                          angle::EntryPoint entryPoint,
544                          GLint x,
545                          GLint y,
546                          GLint z,
547                          GLint w);
548 bool ValidateRasterPos4iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
549 bool ValidateRasterPos4s(const Context *context,
550                          angle::EntryPoint entryPoint,
551                          GLshort x,
552                          GLshort y,
553                          GLshort z,
554                          GLshort w);
555 bool ValidateRasterPos4sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
556 bool ValidateRectd(const Context *context,
557                    angle::EntryPoint entryPoint,
558                    GLdouble x1,
559                    GLdouble y1,
560                    GLdouble x2,
561                    GLdouble y2);
562 bool ValidateRectdv(const Context *context,
563                     angle::EntryPoint entryPoint,
564                     const GLdouble *v1,
565                     const GLdouble *v2);
566 bool ValidateRectf(const Context *context,
567                    angle::EntryPoint entryPoint,
568                    GLfloat x1,
569                    GLfloat y1,
570                    GLfloat x2,
571                    GLfloat y2);
572 bool ValidateRectfv(const Context *context,
573                     angle::EntryPoint entryPoint,
574                     const GLfloat *v1,
575                     const GLfloat *v2);
576 bool ValidateRecti(const Context *context,
577                    angle::EntryPoint entryPoint,
578                    GLint x1,
579                    GLint y1,
580                    GLint x2,
581                    GLint y2);
582 bool ValidateRectiv(const Context *context,
583                     angle::EntryPoint entryPoint,
584                     const GLint *v1,
585                     const GLint *v2);
586 bool ValidateRects(const Context *context,
587                    angle::EntryPoint entryPoint,
588                    GLshort x1,
589                    GLshort y1,
590                    GLshort x2,
591                    GLshort y2);
592 bool ValidateRectsv(const Context *context,
593                     angle::EntryPoint entryPoint,
594                     const GLshort *v1,
595                     const GLshort *v2);
596 bool ValidateRenderMode(const Context *context, angle::EntryPoint entryPoint, GLenum mode);
597 bool ValidateRotated(const Context *context,
598                      angle::EntryPoint entryPoint,
599                      GLdouble angle,
600                      GLdouble x,
601                      GLdouble y,
602                      GLdouble z);
603 bool ValidateScaled(const Context *context,
604                     angle::EntryPoint entryPoint,
605                     GLdouble x,
606                     GLdouble y,
607                     GLdouble z);
608 bool ValidateSelectBuffer(const Context *context,
609                           angle::EntryPoint entryPoint,
610                           GLsizei size,
611                           const GLuint *buffer);
612 bool ValidateTexCoord1d(const Context *context, angle::EntryPoint entryPoint, GLdouble s);
613 bool ValidateTexCoord1dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
614 bool ValidateTexCoord1f(const Context *context, angle::EntryPoint entryPoint, GLfloat s);
615 bool ValidateTexCoord1fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
616 bool ValidateTexCoord1i(const Context *context, angle::EntryPoint entryPoint, GLint s);
617 bool ValidateTexCoord1iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
618 bool ValidateTexCoord1s(const Context *context, angle::EntryPoint entryPoint, GLshort s);
619 bool ValidateTexCoord1sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
620 bool ValidateTexCoord2d(const Context *context,
621                         angle::EntryPoint entryPoint,
622                         GLdouble s,
623                         GLdouble t);
624 bool ValidateTexCoord2dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
625 bool ValidateTexCoord2f(const Context *context, angle::EntryPoint entryPoint, GLfloat s, GLfloat t);
626 bool ValidateTexCoord2fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
627 bool ValidateTexCoord2i(const Context *context, angle::EntryPoint entryPoint, GLint s, GLint t);
628 bool ValidateTexCoord2iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
629 bool ValidateTexCoord2s(const Context *context, angle::EntryPoint entryPoint, GLshort s, GLshort t);
630 bool ValidateTexCoord2sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
631 bool ValidateTexCoord3d(const Context *context,
632                         angle::EntryPoint entryPoint,
633                         GLdouble s,
634                         GLdouble t,
635                         GLdouble r);
636 bool ValidateTexCoord3dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
637 bool ValidateTexCoord3f(const Context *context,
638                         angle::EntryPoint entryPoint,
639                         GLfloat s,
640                         GLfloat t,
641                         GLfloat r);
642 bool ValidateTexCoord3fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
643 bool ValidateTexCoord3i(const Context *context,
644                         angle::EntryPoint entryPoint,
645                         GLint s,
646                         GLint t,
647                         GLint r);
648 bool ValidateTexCoord3iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
649 bool ValidateTexCoord3s(const Context *context,
650                         angle::EntryPoint entryPoint,
651                         GLshort s,
652                         GLshort t,
653                         GLshort r);
654 bool ValidateTexCoord3sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
655 bool ValidateTexCoord4d(const Context *context,
656                         angle::EntryPoint entryPoint,
657                         GLdouble s,
658                         GLdouble t,
659                         GLdouble r,
660                         GLdouble q);
661 bool ValidateTexCoord4dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
662 bool ValidateTexCoord4f(const Context *context,
663                         angle::EntryPoint entryPoint,
664                         GLfloat s,
665                         GLfloat t,
666                         GLfloat r,
667                         GLfloat q);
668 bool ValidateTexCoord4fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
669 bool ValidateTexCoord4i(const Context *context,
670                         angle::EntryPoint entryPoint,
671                         GLint s,
672                         GLint t,
673                         GLint r,
674                         GLint q);
675 bool ValidateTexCoord4iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
676 bool ValidateTexCoord4s(const Context *context,
677                         angle::EntryPoint entryPoint,
678                         GLshort s,
679                         GLshort t,
680                         GLshort r,
681                         GLshort q);
682 bool ValidateTexCoord4sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
683 bool ValidateTexGend(const Context *context,
684                      angle::EntryPoint entryPoint,
685                      GLenum coord,
686                      GLenum pname,
687                      GLdouble param);
688 bool ValidateTexGendv(const Context *context,
689                       angle::EntryPoint entryPoint,
690                       GLenum coord,
691                       GLenum pname,
692                       const GLdouble *params);
693 bool ValidateTexGenf(const Context *context,
694                      angle::EntryPoint entryPoint,
695                      GLenum coord,
696                      GLenum pname,
697                      GLfloat param);
698 bool ValidateTexGenfv(const Context *context,
699                       angle::EntryPoint entryPoint,
700                       GLenum coord,
701                       GLenum pname,
702                       const GLfloat *params);
703 bool ValidateTexGeni(const Context *context,
704                      angle::EntryPoint entryPoint,
705                      GLenum coord,
706                      GLenum pname,
707                      GLint param);
708 bool ValidateTexGeniv(const Context *context,
709                       angle::EntryPoint entryPoint,
710                       GLenum coord,
711                       GLenum pname,
712                       const GLint *params);
713 bool ValidateTexImage1D(const Context *context,
714                         angle::EntryPoint entryPoint,
715                         GLenum target,
716                         GLint level,
717                         GLint internalformat,
718                         GLsizei width,
719                         GLint border,
720                         GLenum format,
721                         GLenum type,
722                         const void *pixels);
723 bool ValidateTranslated(const Context *context,
724                         angle::EntryPoint entryPoint,
725                         GLdouble x,
726                         GLdouble y,
727                         GLdouble z);
728 bool ValidateVertex2d(const Context *context, angle::EntryPoint entryPoint, GLdouble x, GLdouble y);
729 bool ValidateVertex2dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
730 bool ValidateVertex2f(const Context *context, angle::EntryPoint entryPoint, GLfloat x, GLfloat y);
731 bool ValidateVertex2fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
732 bool ValidateVertex2i(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y);
733 bool ValidateVertex2iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
734 bool ValidateVertex2s(const Context *context, angle::EntryPoint entryPoint, GLshort x, GLshort y);
735 bool ValidateVertex2sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
736 bool ValidateVertex3d(const Context *context,
737                       angle::EntryPoint entryPoint,
738                       GLdouble x,
739                       GLdouble y,
740                       GLdouble z);
741 bool ValidateVertex3dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
742 bool ValidateVertex3f(const Context *context,
743                       angle::EntryPoint entryPoint,
744                       GLfloat x,
745                       GLfloat y,
746                       GLfloat z);
747 bool ValidateVertex3fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
748 bool ValidateVertex3i(const Context *context,
749                       angle::EntryPoint entryPoint,
750                       GLint x,
751                       GLint y,
752                       GLint z);
753 bool ValidateVertex3iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
754 bool ValidateVertex3s(const Context *context,
755                       angle::EntryPoint entryPoint,
756                       GLshort x,
757                       GLshort y,
758                       GLshort z);
759 bool ValidateVertex3sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
760 bool ValidateVertex4d(const Context *context,
761                       angle::EntryPoint entryPoint,
762                       GLdouble x,
763                       GLdouble y,
764                       GLdouble z,
765                       GLdouble w);
766 bool ValidateVertex4dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
767 bool ValidateVertex4f(const Context *context,
768                       angle::EntryPoint entryPoint,
769                       GLfloat x,
770                       GLfloat y,
771                       GLfloat z,
772                       GLfloat w);
773 bool ValidateVertex4fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
774 bool ValidateVertex4i(const Context *context,
775                       angle::EntryPoint entryPoint,
776                       GLint x,
777                       GLint y,
778                       GLint z,
779                       GLint w);
780 bool ValidateVertex4iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
781 bool ValidateVertex4s(const Context *context,
782                       angle::EntryPoint entryPoint,
783                       GLshort x,
784                       GLshort y,
785                       GLshort z,
786                       GLshort w);
787 bool ValidateVertex4sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
788 
789 // GL 1.1
790 bool ValidateAreTexturesResident(const Context *context,
791                                  angle::EntryPoint entryPoint,
792                                  GLsizei n,
793                                  const GLuint *textures,
794                                  const GLboolean *residences);
795 bool ValidateArrayElement(const Context *context, angle::EntryPoint entryPoint, GLint i);
796 bool ValidateCopyTexImage1D(const Context *context,
797                             angle::EntryPoint entryPoint,
798                             GLenum target,
799                             GLint level,
800                             GLenum internalformat,
801                             GLint x,
802                             GLint y,
803                             GLsizei width,
804                             GLint border);
805 bool ValidateCopyTexSubImage1D(const Context *context,
806                                angle::EntryPoint entryPoint,
807                                GLenum target,
808                                GLint level,
809                                GLint xoffset,
810                                GLint x,
811                                GLint y,
812                                GLsizei width);
813 bool ValidateEdgeFlagPointer(const Context *context,
814                              angle::EntryPoint entryPoint,
815                              GLsizei stride,
816                              const void *pointer);
817 bool ValidateIndexPointer(const Context *context,
818                           angle::EntryPoint entryPoint,
819                           GLenum type,
820                           GLsizei stride,
821                           const void *pointer);
822 bool ValidateIndexub(const Context *context, angle::EntryPoint entryPoint, GLubyte c);
823 bool ValidateIndexubv(const Context *context, angle::EntryPoint entryPoint, const GLubyte *c);
824 bool ValidateInterleavedArrays(const Context *context,
825                                angle::EntryPoint entryPoint,
826                                GLenum format,
827                                GLsizei stride,
828                                const void *pointer);
829 bool ValidatePopClientAttrib(const Context *context, angle::EntryPoint entryPoint);
830 bool ValidatePrioritizeTextures(const Context *context,
831                                 angle::EntryPoint entryPoint,
832                                 GLsizei n,
833                                 const GLuint *textures,
834                                 const GLfloat *priorities);
835 bool ValidatePushClientAttrib(const Context *context,
836                               angle::EntryPoint entryPoint,
837                               GLbitfield mask);
838 bool ValidateTexSubImage1D(const Context *context,
839                            angle::EntryPoint entryPoint,
840                            GLenum target,
841                            GLint level,
842                            GLint xoffset,
843                            GLsizei width,
844                            GLenum format,
845                            GLenum type,
846                            const void *pixels);
847 
848 // GL 1.2
849 
850 // GL 1.3
851 bool ValidateCompressedTexImage1D(const Context *context,
852                                   angle::EntryPoint entryPoint,
853                                   GLenum target,
854                                   GLint level,
855                                   GLenum internalformat,
856                                   GLsizei width,
857                                   GLint border,
858                                   GLsizei imageSize,
859                                   const void *data);
860 bool ValidateCompressedTexSubImage1D(const Context *context,
861                                      angle::EntryPoint entryPoint,
862                                      GLenum target,
863                                      GLint level,
864                                      GLint xoffset,
865                                      GLsizei width,
866                                      GLenum format,
867                                      GLsizei imageSize,
868                                      const void *data);
869 bool ValidateGetCompressedTexImage(const Context *context,
870                                    angle::EntryPoint entryPoint,
871                                    TextureTarget targetPacked,
872                                    GLint level,
873                                    const void *img);
874 bool ValidateLoadTransposeMatrixd(const Context *context,
875                                   angle::EntryPoint entryPoint,
876                                   const GLdouble *m);
877 bool ValidateLoadTransposeMatrixf(const Context *context,
878                                   angle::EntryPoint entryPoint,
879                                   const GLfloat *m);
880 bool ValidateMultTransposeMatrixd(const Context *context,
881                                   angle::EntryPoint entryPoint,
882                                   const GLdouble *m);
883 bool ValidateMultTransposeMatrixf(const Context *context,
884                                   angle::EntryPoint entryPoint,
885                                   const GLfloat *m);
886 bool ValidateMultiTexCoord1d(const Context *context,
887                              angle::EntryPoint entryPoint,
888                              GLenum target,
889                              GLdouble s);
890 bool ValidateMultiTexCoord1dv(const Context *context,
891                               angle::EntryPoint entryPoint,
892                               GLenum target,
893                               const GLdouble *v);
894 bool ValidateMultiTexCoord1f(const Context *context,
895                              angle::EntryPoint entryPoint,
896                              GLenum target,
897                              GLfloat s);
898 bool ValidateMultiTexCoord1fv(const Context *context,
899                               angle::EntryPoint entryPoint,
900                               GLenum target,
901                               const GLfloat *v);
902 bool ValidateMultiTexCoord1i(const Context *context,
903                              angle::EntryPoint entryPoint,
904                              GLenum target,
905                              GLint s);
906 bool ValidateMultiTexCoord1iv(const Context *context,
907                               angle::EntryPoint entryPoint,
908                               GLenum target,
909                               const GLint *v);
910 bool ValidateMultiTexCoord1s(const Context *context,
911                              angle::EntryPoint entryPoint,
912                              GLenum target,
913                              GLshort s);
914 bool ValidateMultiTexCoord1sv(const Context *context,
915                               angle::EntryPoint entryPoint,
916                               GLenum target,
917                               const GLshort *v);
918 bool ValidateMultiTexCoord2d(const Context *context,
919                              angle::EntryPoint entryPoint,
920                              GLenum target,
921                              GLdouble s,
922                              GLdouble t);
923 bool ValidateMultiTexCoord2dv(const Context *context,
924                               angle::EntryPoint entryPoint,
925                               GLenum target,
926                               const GLdouble *v);
927 bool ValidateMultiTexCoord2f(const Context *context,
928                              angle::EntryPoint entryPoint,
929                              GLenum target,
930                              GLfloat s,
931                              GLfloat t);
932 bool ValidateMultiTexCoord2fv(const Context *context,
933                               angle::EntryPoint entryPoint,
934                               GLenum target,
935                               const GLfloat *v);
936 bool ValidateMultiTexCoord2i(const Context *context,
937                              angle::EntryPoint entryPoint,
938                              GLenum target,
939                              GLint s,
940                              GLint t);
941 bool ValidateMultiTexCoord2iv(const Context *context,
942                               angle::EntryPoint entryPoint,
943                               GLenum target,
944                               const GLint *v);
945 bool ValidateMultiTexCoord2s(const Context *context,
946                              angle::EntryPoint entryPoint,
947                              GLenum target,
948                              GLshort s,
949                              GLshort t);
950 bool ValidateMultiTexCoord2sv(const Context *context,
951                               angle::EntryPoint entryPoint,
952                               GLenum target,
953                               const GLshort *v);
954 bool ValidateMultiTexCoord3d(const Context *context,
955                              angle::EntryPoint entryPoint,
956                              GLenum target,
957                              GLdouble s,
958                              GLdouble t,
959                              GLdouble r);
960 bool ValidateMultiTexCoord3dv(const Context *context,
961                               angle::EntryPoint entryPoint,
962                               GLenum target,
963                               const GLdouble *v);
964 bool ValidateMultiTexCoord3f(const Context *context,
965                              angle::EntryPoint entryPoint,
966                              GLenum target,
967                              GLfloat s,
968                              GLfloat t,
969                              GLfloat r);
970 bool ValidateMultiTexCoord3fv(const Context *context,
971                               angle::EntryPoint entryPoint,
972                               GLenum target,
973                               const GLfloat *v);
974 bool ValidateMultiTexCoord3i(const Context *context,
975                              angle::EntryPoint entryPoint,
976                              GLenum target,
977                              GLint s,
978                              GLint t,
979                              GLint r);
980 bool ValidateMultiTexCoord3iv(const Context *context,
981                               angle::EntryPoint entryPoint,
982                               GLenum target,
983                               const GLint *v);
984 bool ValidateMultiTexCoord3s(const Context *context,
985                              angle::EntryPoint entryPoint,
986                              GLenum target,
987                              GLshort s,
988                              GLshort t,
989                              GLshort r);
990 bool ValidateMultiTexCoord3sv(const Context *context,
991                               angle::EntryPoint entryPoint,
992                               GLenum target,
993                               const GLshort *v);
994 bool ValidateMultiTexCoord4d(const Context *context,
995                              angle::EntryPoint entryPoint,
996                              GLenum target,
997                              GLdouble s,
998                              GLdouble t,
999                              GLdouble r,
1000                              GLdouble q);
1001 bool ValidateMultiTexCoord4dv(const Context *context,
1002                               angle::EntryPoint entryPoint,
1003                               GLenum target,
1004                               const GLdouble *v);
1005 bool ValidateMultiTexCoord4fv(const Context *context,
1006                               angle::EntryPoint entryPoint,
1007                               GLenum target,
1008                               const GLfloat *v);
1009 bool ValidateMultiTexCoord4i(const Context *context,
1010                              angle::EntryPoint entryPoint,
1011                              GLenum target,
1012                              GLint s,
1013                              GLint t,
1014                              GLint r,
1015                              GLint q);
1016 bool ValidateMultiTexCoord4iv(const Context *context,
1017                               angle::EntryPoint entryPoint,
1018                               GLenum target,
1019                               const GLint *v);
1020 bool ValidateMultiTexCoord4s(const Context *context,
1021                              angle::EntryPoint entryPoint,
1022                              GLenum target,
1023                              GLshort s,
1024                              GLshort t,
1025                              GLshort r,
1026                              GLshort q);
1027 bool ValidateMultiTexCoord4sv(const Context *context,
1028                               angle::EntryPoint entryPoint,
1029                               GLenum target,
1030                               const GLshort *v);
1031 
1032 // GL 1.4
1033 bool ValidateFogCoordPointer(const Context *context,
1034                              angle::EntryPoint entryPoint,
1035                              GLenum type,
1036                              GLsizei stride,
1037                              const void *pointer);
1038 bool ValidateFogCoordd(const Context *context, angle::EntryPoint entryPoint, GLdouble coord);
1039 bool ValidateFogCoorddv(const Context *context,
1040                         angle::EntryPoint entryPoint,
1041                         const GLdouble *coord);
1042 bool ValidateFogCoordf(const Context *context, angle::EntryPoint entryPoint, GLfloat coord);
1043 bool ValidateFogCoordfv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *coord);
1044 bool ValidateMultiDrawArrays(const Context *context,
1045                              angle::EntryPoint entryPoint,
1046                              PrimitiveMode modePacked,
1047                              const GLint *first,
1048                              const GLsizei *count,
1049                              GLsizei drawcount);
1050 bool ValidateMultiDrawElements(const Context *context,
1051                                angle::EntryPoint entryPoint,
1052                                PrimitiveMode modePacked,
1053                                const GLsizei *count,
1054                                DrawElementsType typePacked,
1055                                const void *const *indices,
1056                                GLsizei drawcount);
1057 bool ValidatePointParameteri(const Context *context,
1058                              angle::EntryPoint entryPoint,
1059                              GLenum pname,
1060                              GLint param);
1061 bool ValidatePointParameteriv(const Context *context,
1062                               angle::EntryPoint entryPoint,
1063                               GLenum pname,
1064                               const GLint *params);
1065 bool ValidateSecondaryColor3b(const Context *context,
1066                               angle::EntryPoint entryPoint,
1067                               GLbyte red,
1068                               GLbyte green,
1069                               GLbyte blue);
1070 bool ValidateSecondaryColor3bv(const Context *context,
1071                                angle::EntryPoint entryPoint,
1072                                const GLbyte *v);
1073 bool ValidateSecondaryColor3d(const Context *context,
1074                               angle::EntryPoint entryPoint,
1075                               GLdouble red,
1076                               GLdouble green,
1077                               GLdouble blue);
1078 bool ValidateSecondaryColor3dv(const Context *context,
1079                                angle::EntryPoint entryPoint,
1080                                const GLdouble *v);
1081 bool ValidateSecondaryColor3f(const Context *context,
1082                               angle::EntryPoint entryPoint,
1083                               GLfloat red,
1084                               GLfloat green,
1085                               GLfloat blue);
1086 bool ValidateSecondaryColor3fv(const Context *context,
1087                                angle::EntryPoint entryPoint,
1088                                const GLfloat *v);
1089 bool ValidateSecondaryColor3i(const Context *context,
1090                               angle::EntryPoint entryPoint,
1091                               GLint red,
1092                               GLint green,
1093                               GLint blue);
1094 bool ValidateSecondaryColor3iv(const Context *context,
1095                                angle::EntryPoint entryPoint,
1096                                const GLint *v);
1097 bool ValidateSecondaryColor3s(const Context *context,
1098                               angle::EntryPoint entryPoint,
1099                               GLshort red,
1100                               GLshort green,
1101                               GLshort blue);
1102 bool ValidateSecondaryColor3sv(const Context *context,
1103                                angle::EntryPoint entryPoint,
1104                                const GLshort *v);
1105 bool ValidateSecondaryColor3ub(const Context *context,
1106                                angle::EntryPoint entryPoint,
1107                                GLubyte red,
1108                                GLubyte green,
1109                                GLubyte blue);
1110 bool ValidateSecondaryColor3ubv(const Context *context,
1111                                 angle::EntryPoint entryPoint,
1112                                 const GLubyte *v);
1113 bool ValidateSecondaryColor3ui(const Context *context,
1114                                angle::EntryPoint entryPoint,
1115                                GLuint red,
1116                                GLuint green,
1117                                GLuint blue);
1118 bool ValidateSecondaryColor3uiv(const Context *context,
1119                                 angle::EntryPoint entryPoint,
1120                                 const GLuint *v);
1121 bool ValidateSecondaryColor3us(const Context *context,
1122                                angle::EntryPoint entryPoint,
1123                                GLushort red,
1124                                GLushort green,
1125                                GLushort blue);
1126 bool ValidateSecondaryColor3usv(const Context *context,
1127                                 angle::EntryPoint entryPoint,
1128                                 const GLushort *v);
1129 bool ValidateSecondaryColorPointer(const Context *context,
1130                                    angle::EntryPoint entryPoint,
1131                                    GLint size,
1132                                    GLenum type,
1133                                    GLsizei stride,
1134                                    const void *pointer);
1135 bool ValidateWindowPos2d(const Context *context,
1136                          angle::EntryPoint entryPoint,
1137                          GLdouble x,
1138                          GLdouble y);
1139 bool ValidateWindowPos2dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
1140 bool ValidateWindowPos2f(const Context *context,
1141                          angle::EntryPoint entryPoint,
1142                          GLfloat x,
1143                          GLfloat y);
1144 bool ValidateWindowPos2fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
1145 bool ValidateWindowPos2i(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y);
1146 bool ValidateWindowPos2iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
1147 bool ValidateWindowPos2s(const Context *context,
1148                          angle::EntryPoint entryPoint,
1149                          GLshort x,
1150                          GLshort y);
1151 bool ValidateWindowPos2sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
1152 bool ValidateWindowPos3d(const Context *context,
1153                          angle::EntryPoint entryPoint,
1154                          GLdouble x,
1155                          GLdouble y,
1156                          GLdouble z);
1157 bool ValidateWindowPos3dv(const Context *context, angle::EntryPoint entryPoint, const GLdouble *v);
1158 bool ValidateWindowPos3f(const Context *context,
1159                          angle::EntryPoint entryPoint,
1160                          GLfloat x,
1161                          GLfloat y,
1162                          GLfloat z);
1163 bool ValidateWindowPos3fv(const Context *context, angle::EntryPoint entryPoint, const GLfloat *v);
1164 bool ValidateWindowPos3i(const Context *context,
1165                          angle::EntryPoint entryPoint,
1166                          GLint x,
1167                          GLint y,
1168                          GLint z);
1169 bool ValidateWindowPos3iv(const Context *context, angle::EntryPoint entryPoint, const GLint *v);
1170 bool ValidateWindowPos3s(const Context *context,
1171                          angle::EntryPoint entryPoint,
1172                          GLshort x,
1173                          GLshort y,
1174                          GLshort z);
1175 bool ValidateWindowPos3sv(const Context *context, angle::EntryPoint entryPoint, const GLshort *v);
1176 
1177 // GL 1.5
1178 bool ValidateGetBufferSubData(const Context *context,
1179                               angle::EntryPoint entryPoint,
1180                               GLenum target,
1181                               GLintptr offset,
1182                               GLsizeiptr size,
1183                               const void *data);
1184 bool ValidateGetQueryObjectiv(const Context *context,
1185                               angle::EntryPoint entryPoint,
1186                               QueryID idPacked,
1187                               GLenum pname,
1188                               const GLint *params);
1189 bool ValidateMapBuffer(const Context *context,
1190                        angle::EntryPoint entryPoint,
1191                        BufferBinding targetPacked,
1192                        GLenum access);
1193 }  // namespace gl
1194 
1195 #endif  // LIBANGLE_VALIDATION_GL1_AUTOGEN_H_
1196