1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by generate_entry_points.py using data from gl.xml and wgl.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 // validationGL11_autogen.h: 9 // Validation functions for the OpenGL 1.1 entry points. 10 11 #ifndef LIBANGLE_VALIDATION_GL11_AUTOGEN_H_ 12 #define LIBANGLE_VALIDATION_GL11_AUTOGEN_H_ 13 14 #include "common/PackedEnums.h" 15 16 namespace gl 17 { 18 class Context; 19 20 bool ValidateAreTexturesResident(const Context *context, 21 GLsizei n, 22 const GLuint *textures, 23 const GLboolean *residences); 24 bool ValidateArrayElement(const Context *context, GLint i); 25 bool ValidateCopyTexImage1D(const Context *context, 26 GLenum target, 27 GLint level, 28 GLenum internalformat, 29 GLint x, 30 GLint y, 31 GLsizei width, 32 GLint border); 33 bool ValidateCopyTexSubImage1D(const Context *context, 34 GLenum target, 35 GLint level, 36 GLint xoffset, 37 GLint x, 38 GLint y, 39 GLsizei width); 40 bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer); 41 bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer); 42 bool ValidateIndexub(const Context *context, GLubyte c); 43 bool ValidateIndexubv(const Context *context, const GLubyte *c); 44 bool ValidateInterleavedArrays(const Context *context, 45 GLenum format, 46 GLsizei stride, 47 const void *pointer); 48 bool ValidatePopClientAttrib(const Context *context); 49 bool ValidatePrioritizeTextures(const Context *context, 50 GLsizei n, 51 const GLuint *textures, 52 const GLfloat *priorities); 53 bool ValidatePushClientAttrib(const Context *context, GLbitfield mask); 54 bool ValidateTexSubImage1D(const Context *context, 55 GLenum target, 56 GLint level, 57 GLint xoffset, 58 GLsizei width, 59 GLenum format, 60 GLenum type, 61 const void *pixels); 62 } // namespace gl 63 64 #endif // LIBANGLE_VALIDATION_GL11_AUTOGEN_H_ 65