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 // validationGL15_autogen.h: 9 // Validation functions for the OpenGL 1.5 entry points. 10 11 #ifndef LIBANGLE_VALIDATION_GL15_AUTOGEN_H_ 12 #define LIBANGLE_VALIDATION_GL15_AUTOGEN_H_ 13 14 #include "common/PackedEnums.h" 15 16 namespace gl 17 { 18 class Context; 19 20 bool ValidateGetBufferSubData(const Context *context, 21 GLenum target, 22 GLintptr offset, 23 GLsizeiptr size, 24 const void *data); 25 bool ValidateGetQueryObjectiv(const Context *context, 26 QueryID idPacked, 27 GLenum pname, 28 const GLint *params); 29 bool ValidateMapBuffer(const Context *context, BufferBinding targetPacked, GLenum access); 30 } // namespace gl 31 32 #endif // LIBANGLE_VALIDATION_GL15_AUTOGEN_H_ 33