Edit

kc3-lang/angle/src/libANGLE/validationGL31_autogen.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2019-08-06 17:44:12
    Hash : 3b3fe837
    Message : Use BufferID in place of GLuint handles. Introduces enable_if handling for "FromGL". Avoids the use of any macro code to handle resource id casting. Bug: angleproject:3611 Change-Id: I1a6d10c3c9cc6ba0dc072bad1d62c33551f05d87 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1736127 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Tim Van Patten <timvp@google.com>

  • src/libANGLE/validationGL31_autogen.h
  • // GENERATED FILE - DO NOT EDIT.
    // Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
    //
    // Copyright 2019 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // validationGL31_autogen.h:
    //   Validation functions for the OpenGL 3.1 entry points.
    
    #ifndef LIBANGLE_VALIDATION_GL31_AUTOGEN_H_
    #define LIBANGLE_VALIDATION_GL31_AUTOGEN_H_
    
    #include "common/PackedEnums.h"
    
    namespace gl
    {
    class Context;
    
    bool ValidateGetActiveUniformName(Context *context,
                                      GLuint program,
                                      GLuint uniformIndex,
                                      GLsizei bufSize,
                                      GLsizei *length,
                                      GLchar *uniformName);
    bool ValidatePrimitiveRestartIndex(Context *context, GLuint index);
    bool ValidateTexBuffer(Context *context,
                           GLenum target,
                           GLenum internalformat,
                           BufferID bufferPacked);
    }  // namespace gl
    
    #endif  // LIBANGLE_VALIDATION_GL31_AUTOGEN_H_