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