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 16 namespace gl 17 { 18 class Context; 19 20 // GL 1.0 21 bool ValidateAccum(const Context *context, GLenum op, GLfloat value); 22 bool ValidateBegin(const Context *context, GLenum mode); 23 bool ValidateBitmap(const Context *context, 24 GLsizei width, 25 GLsizei height, 26 GLfloat xorig, 27 GLfloat yorig, 28 GLfloat xmove, 29 GLfloat ymove, 30 const GLubyte *bitmap); 31 bool ValidateCallList(const Context *context, GLuint list); 32 bool ValidateCallLists(const Context *context, GLsizei n, GLenum type, const void *lists); 33 bool ValidateClearAccum(const Context *context, 34 GLfloat red, 35 GLfloat green, 36 GLfloat blue, 37 GLfloat alpha); 38 bool ValidateClearDepth(const Context *context, GLdouble depth); 39 bool ValidateClearIndex(const Context *context, GLfloat c); 40 bool ValidateClipPlane(const Context *context, GLenum plane, const GLdouble *equation); 41 bool ValidateColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue); 42 bool ValidateColor3bv(const Context *context, const GLbyte *v); 43 bool ValidateColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue); 44 bool ValidateColor3dv(const Context *context, const GLdouble *v); 45 bool ValidateColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue); 46 bool ValidateColor3fv(const Context *context, const GLfloat *v); 47 bool ValidateColor3i(const Context *context, GLint red, GLint green, GLint blue); 48 bool ValidateColor3iv(const Context *context, const GLint *v); 49 bool ValidateColor3s(const Context *context, GLshort red, GLshort green, GLshort blue); 50 bool ValidateColor3sv(const Context *context, const GLshort *v); 51 bool ValidateColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue); 52 bool ValidateColor3ubv(const Context *context, const GLubyte *v); 53 bool ValidateColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue); 54 bool ValidateColor3uiv(const Context *context, const GLuint *v); 55 bool ValidateColor3us(const Context *context, GLushort red, GLushort green, GLushort blue); 56 bool ValidateColor3usv(const Context *context, const GLushort *v); 57 bool ValidateColor4b(const Context *context, GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); 58 bool ValidateColor4bv(const Context *context, const GLbyte *v); 59 bool ValidateColor4d(const Context *context, 60 GLdouble red, 61 GLdouble green, 62 GLdouble blue, 63 GLdouble alpha); 64 bool ValidateColor4dv(const Context *context, const GLdouble *v); 65 bool ValidateColor4fv(const Context *context, const GLfloat *v); 66 bool ValidateColor4i(const Context *context, GLint red, GLint green, GLint blue, GLint alpha); 67 bool ValidateColor4iv(const Context *context, const GLint *v); 68 bool ValidateColor4s(const Context *context, 69 GLshort red, 70 GLshort green, 71 GLshort blue, 72 GLshort alpha); 73 bool ValidateColor4sv(const Context *context, const GLshort *v); 74 bool ValidateColor4ubv(const Context *context, const GLubyte *v); 75 bool ValidateColor4ui(const Context *context, GLuint red, GLuint green, GLuint blue, GLuint alpha); 76 bool ValidateColor4uiv(const Context *context, const GLuint *v); 77 bool ValidateColor4us(const Context *context, 78 GLushort red, 79 GLushort green, 80 GLushort blue, 81 GLushort alpha); 82 bool ValidateColor4usv(const Context *context, const GLushort *v); 83 bool ValidateColorMaterial(const Context *context, GLenum face, GLenum mode); 84 bool ValidateCopyPixels(const Context *context, 85 GLint x, 86 GLint y, 87 GLsizei width, 88 GLsizei height, 89 GLenum type); 90 bool ValidateDeleteLists(const Context *context, GLuint list, GLsizei range); 91 bool ValidateDepthRange(const Context *context, GLdouble n, GLdouble f); 92 bool ValidateDrawBuffer(const Context *context, GLenum buf); 93 bool ValidateDrawPixels(const Context *context, 94 GLsizei width, 95 GLsizei height, 96 GLenum format, 97 GLenum type, 98 const void *pixels); 99 bool ValidateEdgeFlag(const Context *context, GLboolean flag); 100 bool ValidateEdgeFlagv(const Context *context, const GLboolean *flag); 101 bool ValidateEnd(const Context *context); 102 bool ValidateEndList(const Context *context); 103 bool ValidateEvalCoord1d(const Context *context, GLdouble u); 104 bool ValidateEvalCoord1dv(const Context *context, const GLdouble *u); 105 bool ValidateEvalCoord1f(const Context *context, GLfloat u); 106 bool ValidateEvalCoord1fv(const Context *context, const GLfloat *u); 107 bool ValidateEvalCoord2d(const Context *context, GLdouble u, GLdouble v); 108 bool ValidateEvalCoord2dv(const Context *context, const GLdouble *u); 109 bool ValidateEvalCoord2f(const Context *context, GLfloat u, GLfloat v); 110 bool ValidateEvalCoord2fv(const Context *context, const GLfloat *u); 111 bool ValidateEvalMesh1(const Context *context, GLenum mode, GLint i1, GLint i2); 112 bool ValidateEvalMesh2(const Context *context, GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); 113 bool ValidateEvalPoint1(const Context *context, GLint i); 114 bool ValidateEvalPoint2(const Context *context, GLint i, GLint j); 115 bool ValidateFeedbackBuffer(const Context *context, 116 GLsizei size, 117 GLenum type, 118 const GLfloat *buffer); 119 bool ValidateFogi(const Context *context, GLenum pname, GLint param); 120 bool ValidateFogiv(const Context *context, GLenum pname, const GLint *params); 121 bool ValidateFrustum(const Context *context, 122 GLdouble left, 123 GLdouble right, 124 GLdouble bottom, 125 GLdouble top, 126 GLdouble zNear, 127 GLdouble zFar); 128 bool ValidateGenLists(const Context *context, GLsizei range); 129 bool ValidateGetClipPlane(const Context *context, GLenum plane, const GLdouble *equation); 130 bool ValidateGetDoublev(const Context *context, GLenum pname, const GLdouble *data); 131 bool ValidateGetLightiv(const Context *context, GLenum light, GLenum pname, const GLint *params); 132 bool ValidateGetMapdv(const Context *context, GLenum target, GLenum query, const GLdouble *v); 133 bool ValidateGetMapfv(const Context *context, GLenum target, GLenum query, const GLfloat *v); 134 bool ValidateGetMapiv(const Context *context, GLenum target, GLenum query, const GLint *v); 135 bool ValidateGetMaterialiv(const Context *context, GLenum face, GLenum pname, const GLint *params); 136 bool ValidateGetPixelMapfv(const Context *context, GLenum map, const GLfloat *values); 137 bool ValidateGetPixelMapuiv(const Context *context, GLenum map, const GLuint *values); 138 bool ValidateGetPixelMapusv(const Context *context, GLenum map, const GLushort *values); 139 bool ValidateGetPolygonStipple(const Context *context, const GLubyte *mask); 140 bool ValidateGetTexGendv(const Context *context, 141 GLenum coord, 142 GLenum pname, 143 const GLdouble *params); 144 bool ValidateGetTexGenfv(const Context *context, GLenum coord, GLenum pname, const GLfloat *params); 145 bool ValidateGetTexGeniv(const Context *context, GLenum coord, GLenum pname, const GLint *params); 146 bool ValidateGetTexImage(const Context *context, 147 TextureTarget targetPacked, 148 GLint level, 149 GLenum format, 150 GLenum type, 151 const void *pixels); 152 bool ValidateIndexMask(const Context *context, GLuint mask); 153 bool ValidateIndexd(const Context *context, GLdouble c); 154 bool ValidateIndexdv(const Context *context, const GLdouble *c); 155 bool ValidateIndexf(const Context *context, GLfloat c); 156 bool ValidateIndexfv(const Context *context, const GLfloat *c); 157 bool ValidateIndexi(const Context *context, GLint c); 158 bool ValidateIndexiv(const Context *context, const GLint *c); 159 bool ValidateIndexs(const Context *context, GLshort c); 160 bool ValidateIndexsv(const Context *context, const GLshort *c); 161 bool ValidateInitNames(const Context *context); 162 bool ValidateIsList(const Context *context, GLuint list); 163 bool ValidateLightModeli(const Context *context, GLenum pname, GLint param); 164 bool ValidateLightModeliv(const Context *context, GLenum pname, const GLint *params); 165 bool ValidateLighti(const Context *context, GLenum light, GLenum pname, GLint param); 166 bool ValidateLightiv(const Context *context, GLenum light, GLenum pname, const GLint *params); 167 bool ValidateLineStipple(const Context *context, GLint factor, GLushort pattern); 168 bool ValidateListBase(const Context *context, GLuint base); 169 bool ValidateLoadMatrixd(const Context *context, const GLdouble *m); 170 bool ValidateLoadName(const Context *context, GLuint name); 171 bool ValidateMap1d(const Context *context, 172 GLenum target, 173 GLdouble u1, 174 GLdouble u2, 175 GLint stride, 176 GLint order, 177 const GLdouble *points); 178 bool ValidateMap1f(const Context *context, 179 GLenum target, 180 GLfloat u1, 181 GLfloat u2, 182 GLint stride, 183 GLint order, 184 const GLfloat *points); 185 bool ValidateMap2d(const Context *context, 186 GLenum target, 187 GLdouble u1, 188 GLdouble u2, 189 GLint ustride, 190 GLint uorder, 191 GLdouble v1, 192 GLdouble v2, 193 GLint vstride, 194 GLint vorder, 195 const GLdouble *points); 196 bool ValidateMap2f(const Context *context, 197 GLenum target, 198 GLfloat u1, 199 GLfloat u2, 200 GLint ustride, 201 GLint uorder, 202 GLfloat v1, 203 GLfloat v2, 204 GLint vstride, 205 GLint vorder, 206 const GLfloat *points); 207 bool ValidateMapGrid1d(const Context *context, GLint un, GLdouble u1, GLdouble u2); 208 bool ValidateMapGrid1f(const Context *context, GLint un, GLfloat u1, GLfloat u2); 209 bool ValidateMapGrid2d(const Context *context, 210 GLint un, 211 GLdouble u1, 212 GLdouble u2, 213 GLint vn, 214 GLdouble v1, 215 GLdouble v2); 216 bool ValidateMapGrid2f(const Context *context, 217 GLint un, 218 GLfloat u1, 219 GLfloat u2, 220 GLint vn, 221 GLfloat v1, 222 GLfloat v2); 223 bool ValidateMateriali(const Context *context, GLenum face, GLenum pname, GLint param); 224 bool ValidateMaterialiv(const Context *context, GLenum face, GLenum pname, const GLint *params); 225 bool ValidateMultMatrixd(const Context *context, const GLdouble *m); 226 bool ValidateNewList(const Context *context, GLuint list, GLenum mode); 227 bool ValidateNormal3b(const Context *context, GLbyte nx, GLbyte ny, GLbyte nz); 228 bool ValidateNormal3bv(const Context *context, const GLbyte *v); 229 bool ValidateNormal3d(const Context *context, GLdouble nx, GLdouble ny, GLdouble nz); 230 bool ValidateNormal3dv(const Context *context, const GLdouble *v); 231 bool ValidateNormal3fv(const Context *context, const GLfloat *v); 232 bool ValidateNormal3i(const Context *context, GLint nx, GLint ny, GLint nz); 233 bool ValidateNormal3iv(const Context *context, const GLint *v); 234 bool ValidateNormal3s(const Context *context, GLshort nx, GLshort ny, GLshort nz); 235 bool ValidateNormal3sv(const Context *context, const GLshort *v); 236 bool ValidateOrtho(const Context *context, 237 GLdouble left, 238 GLdouble right, 239 GLdouble bottom, 240 GLdouble top, 241 GLdouble zNear, 242 GLdouble zFar); 243 bool ValidatePassThrough(const Context *context, GLfloat token); 244 bool ValidatePixelMapfv(const Context *context, GLenum map, GLsizei mapsize, const GLfloat *values); 245 bool ValidatePixelMapuiv(const Context *context, GLenum map, GLsizei mapsize, const GLuint *values); 246 bool ValidatePixelMapusv(const Context *context, 247 GLenum map, 248 GLsizei mapsize, 249 const GLushort *values); 250 bool ValidatePixelStoref(const Context *context, GLenum pname, GLfloat param); 251 bool ValidatePixelTransferf(const Context *context, GLenum pname, GLfloat param); 252 bool ValidatePixelTransferi(const Context *context, GLenum pname, GLint param); 253 bool ValidatePixelZoom(const Context *context, GLfloat xfactor, GLfloat yfactor); 254 bool ValidatePolygonMode(const Context *context, GLenum face, GLenum mode); 255 bool ValidatePolygonStipple(const Context *context, const GLubyte *mask); 256 bool ValidatePopAttrib(const Context *context); 257 bool ValidatePopName(const Context *context); 258 bool ValidatePushAttrib(const Context *context, GLbitfield mask); 259 bool ValidatePushName(const Context *context, GLuint name); 260 bool ValidateRasterPos2d(const Context *context, GLdouble x, GLdouble y); 261 bool ValidateRasterPos2dv(const Context *context, const GLdouble *v); 262 bool ValidateRasterPos2f(const Context *context, GLfloat x, GLfloat y); 263 bool ValidateRasterPos2fv(const Context *context, const GLfloat *v); 264 bool ValidateRasterPos2i(const Context *context, GLint x, GLint y); 265 bool ValidateRasterPos2iv(const Context *context, const GLint *v); 266 bool ValidateRasterPos2s(const Context *context, GLshort x, GLshort y); 267 bool ValidateRasterPos2sv(const Context *context, const GLshort *v); 268 bool ValidateRasterPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z); 269 bool ValidateRasterPos3dv(const Context *context, const GLdouble *v); 270 bool ValidateRasterPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z); 271 bool ValidateRasterPos3fv(const Context *context, const GLfloat *v); 272 bool ValidateRasterPos3i(const Context *context, GLint x, GLint y, GLint z); 273 bool ValidateRasterPos3iv(const Context *context, const GLint *v); 274 bool ValidateRasterPos3s(const Context *context, GLshort x, GLshort y, GLshort z); 275 bool ValidateRasterPos3sv(const Context *context, const GLshort *v); 276 bool ValidateRasterPos4d(const Context *context, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 277 bool ValidateRasterPos4dv(const Context *context, const GLdouble *v); 278 bool ValidateRasterPos4f(const Context *context, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 279 bool ValidateRasterPos4fv(const Context *context, const GLfloat *v); 280 bool ValidateRasterPos4i(const Context *context, GLint x, GLint y, GLint z, GLint w); 281 bool ValidateRasterPos4iv(const Context *context, const GLint *v); 282 bool ValidateRasterPos4s(const Context *context, GLshort x, GLshort y, GLshort z, GLshort w); 283 bool ValidateRasterPos4sv(const Context *context, const GLshort *v); 284 bool ValidateRectd(const Context *context, GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); 285 bool ValidateRectdv(const Context *context, const GLdouble *v1, const GLdouble *v2); 286 bool ValidateRectf(const Context *context, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); 287 bool ValidateRectfv(const Context *context, const GLfloat *v1, const GLfloat *v2); 288 bool ValidateRecti(const Context *context, GLint x1, GLint y1, GLint x2, GLint y2); 289 bool ValidateRectiv(const Context *context, const GLint *v1, const GLint *v2); 290 bool ValidateRects(const Context *context, GLshort x1, GLshort y1, GLshort x2, GLshort y2); 291 bool ValidateRectsv(const Context *context, const GLshort *v1, const GLshort *v2); 292 bool ValidateRenderMode(const Context *context, GLenum mode); 293 bool ValidateRotated(const Context *context, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 294 bool ValidateScaled(const Context *context, GLdouble x, GLdouble y, GLdouble z); 295 bool ValidateSelectBuffer(const Context *context, GLsizei size, const GLuint *buffer); 296 bool ValidateTexCoord1d(const Context *context, GLdouble s); 297 bool ValidateTexCoord1dv(const Context *context, const GLdouble *v); 298 bool ValidateTexCoord1f(const Context *context, GLfloat s); 299 bool ValidateTexCoord1fv(const Context *context, const GLfloat *v); 300 bool ValidateTexCoord1i(const Context *context, GLint s); 301 bool ValidateTexCoord1iv(const Context *context, const GLint *v); 302 bool ValidateTexCoord1s(const Context *context, GLshort s); 303 bool ValidateTexCoord1sv(const Context *context, const GLshort *v); 304 bool ValidateTexCoord2d(const Context *context, GLdouble s, GLdouble t); 305 bool ValidateTexCoord2dv(const Context *context, const GLdouble *v); 306 bool ValidateTexCoord2f(const Context *context, GLfloat s, GLfloat t); 307 bool ValidateTexCoord2fv(const Context *context, const GLfloat *v); 308 bool ValidateTexCoord2i(const Context *context, GLint s, GLint t); 309 bool ValidateTexCoord2iv(const Context *context, const GLint *v); 310 bool ValidateTexCoord2s(const Context *context, GLshort s, GLshort t); 311 bool ValidateTexCoord2sv(const Context *context, const GLshort *v); 312 bool ValidateTexCoord3d(const Context *context, GLdouble s, GLdouble t, GLdouble r); 313 bool ValidateTexCoord3dv(const Context *context, const GLdouble *v); 314 bool ValidateTexCoord3f(const Context *context, GLfloat s, GLfloat t, GLfloat r); 315 bool ValidateTexCoord3fv(const Context *context, const GLfloat *v); 316 bool ValidateTexCoord3i(const Context *context, GLint s, GLint t, GLint r); 317 bool ValidateTexCoord3iv(const Context *context, const GLint *v); 318 bool ValidateTexCoord3s(const Context *context, GLshort s, GLshort t, GLshort r); 319 bool ValidateTexCoord3sv(const Context *context, const GLshort *v); 320 bool ValidateTexCoord4d(const Context *context, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 321 bool ValidateTexCoord4dv(const Context *context, const GLdouble *v); 322 bool ValidateTexCoord4f(const Context *context, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 323 bool ValidateTexCoord4fv(const Context *context, const GLfloat *v); 324 bool ValidateTexCoord4i(const Context *context, GLint s, GLint t, GLint r, GLint q); 325 bool ValidateTexCoord4iv(const Context *context, const GLint *v); 326 bool ValidateTexCoord4s(const Context *context, GLshort s, GLshort t, GLshort r, GLshort q); 327 bool ValidateTexCoord4sv(const Context *context, const GLshort *v); 328 bool ValidateTexGend(const Context *context, GLenum coord, GLenum pname, GLdouble param); 329 bool ValidateTexGendv(const Context *context, GLenum coord, GLenum pname, const GLdouble *params); 330 bool ValidateTexGenf(const Context *context, GLenum coord, GLenum pname, GLfloat param); 331 bool ValidateTexGenfv(const Context *context, GLenum coord, GLenum pname, const GLfloat *params); 332 bool ValidateTexGeni(const Context *context, GLenum coord, GLenum pname, GLint param); 333 bool ValidateTexGeniv(const Context *context, GLenum coord, GLenum pname, const GLint *params); 334 bool ValidateTexImage1D(const Context *context, 335 GLenum target, 336 GLint level, 337 GLint internalformat, 338 GLsizei width, 339 GLint border, 340 GLenum format, 341 GLenum type, 342 const void *pixels); 343 bool ValidateTranslated(const Context *context, GLdouble x, GLdouble y, GLdouble z); 344 bool ValidateVertex2d(const Context *context, GLdouble x, GLdouble y); 345 bool ValidateVertex2dv(const Context *context, const GLdouble *v); 346 bool ValidateVertex2f(const Context *context, GLfloat x, GLfloat y); 347 bool ValidateVertex2fv(const Context *context, const GLfloat *v); 348 bool ValidateVertex2i(const Context *context, GLint x, GLint y); 349 bool ValidateVertex2iv(const Context *context, const GLint *v); 350 bool ValidateVertex2s(const Context *context, GLshort x, GLshort y); 351 bool ValidateVertex2sv(const Context *context, const GLshort *v); 352 bool ValidateVertex3d(const Context *context, GLdouble x, GLdouble y, GLdouble z); 353 bool ValidateVertex3dv(const Context *context, const GLdouble *v); 354 bool ValidateVertex3f(const Context *context, GLfloat x, GLfloat y, GLfloat z); 355 bool ValidateVertex3fv(const Context *context, const GLfloat *v); 356 bool ValidateVertex3i(const Context *context, GLint x, GLint y, GLint z); 357 bool ValidateVertex3iv(const Context *context, const GLint *v); 358 bool ValidateVertex3s(const Context *context, GLshort x, GLshort y, GLshort z); 359 bool ValidateVertex3sv(const Context *context, const GLshort *v); 360 bool ValidateVertex4d(const Context *context, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 361 bool ValidateVertex4dv(const Context *context, const GLdouble *v); 362 bool ValidateVertex4f(const Context *context, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 363 bool ValidateVertex4fv(const Context *context, const GLfloat *v); 364 bool ValidateVertex4i(const Context *context, GLint x, GLint y, GLint z, GLint w); 365 bool ValidateVertex4iv(const Context *context, const GLint *v); 366 bool ValidateVertex4s(const Context *context, GLshort x, GLshort y, GLshort z, GLshort w); 367 bool ValidateVertex4sv(const Context *context, const GLshort *v); 368 369 // GL 1.1 370 bool ValidateAreTexturesResident(const Context *context, 371 GLsizei n, 372 const GLuint *textures, 373 const GLboolean *residences); 374 bool ValidateArrayElement(const Context *context, GLint i); 375 bool ValidateCopyTexImage1D(const Context *context, 376 GLenum target, 377 GLint level, 378 GLenum internalformat, 379 GLint x, 380 GLint y, 381 GLsizei width, 382 GLint border); 383 bool ValidateCopyTexSubImage1D(const Context *context, 384 GLenum target, 385 GLint level, 386 GLint xoffset, 387 GLint x, 388 GLint y, 389 GLsizei width); 390 bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer); 391 bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer); 392 bool ValidateIndexub(const Context *context, GLubyte c); 393 bool ValidateIndexubv(const Context *context, const GLubyte *c); 394 bool ValidateInterleavedArrays(const Context *context, 395 GLenum format, 396 GLsizei stride, 397 const void *pointer); 398 bool ValidatePopClientAttrib(const Context *context); 399 bool ValidatePrioritizeTextures(const Context *context, 400 GLsizei n, 401 const GLuint *textures, 402 const GLfloat *priorities); 403 bool ValidatePushClientAttrib(const Context *context, GLbitfield mask); 404 bool ValidateTexSubImage1D(const Context *context, 405 GLenum target, 406 GLint level, 407 GLint xoffset, 408 GLsizei width, 409 GLenum format, 410 GLenum type, 411 const void *pixels); 412 413 // GL 1.2 414 415 // GL 1.3 416 bool ValidateCompressedTexImage1D(const Context *context, 417 GLenum target, 418 GLint level, 419 GLenum internalformat, 420 GLsizei width, 421 GLint border, 422 GLsizei imageSize, 423 const void *data); 424 bool ValidateCompressedTexSubImage1D(const Context *context, 425 GLenum target, 426 GLint level, 427 GLint xoffset, 428 GLsizei width, 429 GLenum format, 430 GLsizei imageSize, 431 const void *data); 432 bool ValidateGetCompressedTexImage(const Context *context, 433 GLenum target, 434 GLint level, 435 const void *img); 436 bool ValidateLoadTransposeMatrixd(const Context *context, const GLdouble *m); 437 bool ValidateLoadTransposeMatrixf(const Context *context, const GLfloat *m); 438 bool ValidateMultTransposeMatrixd(const Context *context, const GLdouble *m); 439 bool ValidateMultTransposeMatrixf(const Context *context, const GLfloat *m); 440 bool ValidateMultiTexCoord1d(const Context *context, GLenum target, GLdouble s); 441 bool ValidateMultiTexCoord1dv(const Context *context, GLenum target, const GLdouble *v); 442 bool ValidateMultiTexCoord1f(const Context *context, GLenum target, GLfloat s); 443 bool ValidateMultiTexCoord1fv(const Context *context, GLenum target, const GLfloat *v); 444 bool ValidateMultiTexCoord1i(const Context *context, GLenum target, GLint s); 445 bool ValidateMultiTexCoord1iv(const Context *context, GLenum target, const GLint *v); 446 bool ValidateMultiTexCoord1s(const Context *context, GLenum target, GLshort s); 447 bool ValidateMultiTexCoord1sv(const Context *context, GLenum target, const GLshort *v); 448 bool ValidateMultiTexCoord2d(const Context *context, GLenum target, GLdouble s, GLdouble t); 449 bool ValidateMultiTexCoord2dv(const Context *context, GLenum target, const GLdouble *v); 450 bool ValidateMultiTexCoord2f(const Context *context, GLenum target, GLfloat s, GLfloat t); 451 bool ValidateMultiTexCoord2fv(const Context *context, GLenum target, const GLfloat *v); 452 bool ValidateMultiTexCoord2i(const Context *context, GLenum target, GLint s, GLint t); 453 bool ValidateMultiTexCoord2iv(const Context *context, GLenum target, const GLint *v); 454 bool ValidateMultiTexCoord2s(const Context *context, GLenum target, GLshort s, GLshort t); 455 bool ValidateMultiTexCoord2sv(const Context *context, GLenum target, const GLshort *v); 456 bool ValidateMultiTexCoord3d(const Context *context, 457 GLenum target, 458 GLdouble s, 459 GLdouble t, 460 GLdouble r); 461 bool ValidateMultiTexCoord3dv(const Context *context, GLenum target, const GLdouble *v); 462 bool ValidateMultiTexCoord3f(const Context *context, 463 GLenum target, 464 GLfloat s, 465 GLfloat t, 466 GLfloat r); 467 bool ValidateMultiTexCoord3fv(const Context *context, GLenum target, const GLfloat *v); 468 bool ValidateMultiTexCoord3i(const Context *context, GLenum target, GLint s, GLint t, GLint r); 469 bool ValidateMultiTexCoord3iv(const Context *context, GLenum target, const GLint *v); 470 bool ValidateMultiTexCoord3s(const Context *context, 471 GLenum target, 472 GLshort s, 473 GLshort t, 474 GLshort r); 475 bool ValidateMultiTexCoord3sv(const Context *context, GLenum target, const GLshort *v); 476 bool ValidateMultiTexCoord4d(const Context *context, 477 GLenum target, 478 GLdouble s, 479 GLdouble t, 480 GLdouble r, 481 GLdouble q); 482 bool ValidateMultiTexCoord4dv(const Context *context, GLenum target, const GLdouble *v); 483 bool ValidateMultiTexCoord4fv(const Context *context, GLenum target, const GLfloat *v); 484 bool ValidateMultiTexCoord4i(const Context *context, 485 GLenum target, 486 GLint s, 487 GLint t, 488 GLint r, 489 GLint q); 490 bool ValidateMultiTexCoord4iv(const Context *context, GLenum target, const GLint *v); 491 bool ValidateMultiTexCoord4s(const Context *context, 492 GLenum target, 493 GLshort s, 494 GLshort t, 495 GLshort r, 496 GLshort q); 497 bool ValidateMultiTexCoord4sv(const Context *context, GLenum target, const GLshort *v); 498 499 // GL 1.4 500 bool ValidateFogCoordPointer(const Context *context, 501 GLenum type, 502 GLsizei stride, 503 const void *pointer); 504 bool ValidateFogCoordd(const Context *context, GLdouble coord); 505 bool ValidateFogCoorddv(const Context *context, const GLdouble *coord); 506 bool ValidateFogCoordf(const Context *context, GLfloat coord); 507 bool ValidateFogCoordfv(const Context *context, const GLfloat *coord); 508 bool ValidateMultiDrawArrays(const Context *context, 509 PrimitiveMode modePacked, 510 const GLint *first, 511 const GLsizei *count, 512 GLsizei drawcount); 513 bool ValidateMultiDrawElements(const Context *context, 514 PrimitiveMode modePacked, 515 const GLsizei *count, 516 DrawElementsType typePacked, 517 const void *const *indices, 518 GLsizei drawcount); 519 bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param); 520 bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params); 521 bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue); 522 bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v); 523 bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue); 524 bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v); 525 bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue); 526 bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v); 527 bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue); 528 bool ValidateSecondaryColor3iv(const Context *context, const GLint *v); 529 bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue); 530 bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v); 531 bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue); 532 bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v); 533 bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue); 534 bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v); 535 bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue); 536 bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v); 537 bool ValidateSecondaryColorPointer(const Context *context, 538 GLint size, 539 GLenum type, 540 GLsizei stride, 541 const void *pointer); 542 bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y); 543 bool ValidateWindowPos2dv(const Context *context, const GLdouble *v); 544 bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y); 545 bool ValidateWindowPos2fv(const Context *context, const GLfloat *v); 546 bool ValidateWindowPos2i(const Context *context, GLint x, GLint y); 547 bool ValidateWindowPos2iv(const Context *context, const GLint *v); 548 bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y); 549 bool ValidateWindowPos2sv(const Context *context, const GLshort *v); 550 bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z); 551 bool ValidateWindowPos3dv(const Context *context, const GLdouble *v); 552 bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z); 553 bool ValidateWindowPos3fv(const Context *context, const GLfloat *v); 554 bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z); 555 bool ValidateWindowPos3iv(const Context *context, const GLint *v); 556 bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z); 557 bool ValidateWindowPos3sv(const Context *context, const GLshort *v); 558 559 // GL 1.5 560 bool ValidateGetBufferSubData(const Context *context, 561 GLenum target, 562 GLintptr offset, 563 GLsizeiptr size, 564 const void *data); 565 bool ValidateGetQueryObjectiv(const Context *context, 566 QueryID idPacked, 567 GLenum pname, 568 const GLint *params); 569 bool ValidateMapBuffer(const Context *context, BufferBinding targetPacked, GLenum access); 570 } // namespace gl 571 572 #endif // LIBANGLE_VALIDATION_GL1_AUTOGEN_H_ 573