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 // validationGL43_autogen.h: 9 // Validation functions for the OpenGL 4.3 entry points. 10 11 #ifndef LIBANGLE_VALIDATION_GL43_AUTOGEN_H_ 12 #define LIBANGLE_VALIDATION_GL43_AUTOGEN_H_ 13 14 #include "common/PackedEnums.h" 15 16 namespace gl 17 { 18 class Context; 19 20 bool ValidateClearBufferData(const Context *context, 21 GLenum target, 22 GLenum internalformat, 23 GLenum format, 24 GLenum type, 25 const void *data); 26 bool ValidateClearBufferSubData(const Context *context, 27 GLenum target, 28 GLenum internalformat, 29 GLintptr offset, 30 GLsizeiptr size, 31 GLenum format, 32 GLenum type, 33 const void *data); 34 bool ValidateGetInternalformati64v(const Context *context, 35 GLenum target, 36 GLenum internalformat, 37 GLenum pname, 38 GLsizei bufSize, 39 const GLint64 *params); 40 bool ValidateGetProgramResourceLocationIndex(const Context *context, 41 ShaderProgramID programPacked, 42 GLenum programInterface, 43 const GLchar *name); 44 bool ValidateInvalidateBufferData(const Context *context, BufferID bufferPacked); 45 bool ValidateInvalidateBufferSubData(const Context *context, 46 BufferID bufferPacked, 47 GLintptr offset, 48 GLsizeiptr length); 49 bool ValidateInvalidateTexImage(const Context *context, TextureID texturePacked, GLint level); 50 bool ValidateInvalidateTexSubImage(const Context *context, 51 TextureID texturePacked, 52 GLint level, 53 GLint xoffset, 54 GLint yoffset, 55 GLint zoffset, 56 GLsizei width, 57 GLsizei height, 58 GLsizei depth); 59 bool ValidateMultiDrawArraysIndirect(const Context *context, 60 GLenum mode, 61 const void *indirect, 62 GLsizei drawcount, 63 GLsizei stride); 64 bool ValidateMultiDrawElementsIndirect(const Context *context, 65 GLenum mode, 66 GLenum type, 67 const void *indirect, 68 GLsizei drawcount, 69 GLsizei stride); 70 bool ValidateShaderStorageBlockBinding(const Context *context, 71 ShaderProgramID programPacked, 72 GLuint storageBlockIndex, 73 GLuint storageBlockBinding); 74 bool ValidateTextureView(const Context *context, 75 TextureID texturePacked, 76 GLenum target, 77 GLuint origtexture, 78 GLenum internalformat, 79 GLuint minlevel, 80 GLuint numlevels, 81 GLuint minlayer, 82 GLuint numlayers); 83 bool ValidateVertexAttribLFormat(const Context *context, 84 GLuint attribindex, 85 GLint size, 86 GLenum type, 87 GLuint relativeoffset); 88 } // namespace gl 89 90 #endif // LIBANGLE_VALIDATION_GL43_AUTOGEN_H_ 91