Edit

kc3-lang/angle/src/libGL/entry_points_gl_4_4_autogen.h

Branch :

  • Show log

    Commit

  • Author : Clemen Deng
    Date : 2019-07-15 10:56:26
    Hash : 523dbf40
    Message : Add GL versions to desktop implementation The current implementation generates entry points for GL up to version 3.1. Will need to support later versions for some apps. Bug: angleproject:3698 Change-Id: Ic44d07b12a9eeeceb8cd98dd9c44652dca728dc0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1700572 Commit-Queue: Clemen Deng <clemendeng@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>

  • src/libGL/entry_points_gl_4_4_autogen.h
  • // GENERATED FILE - DO NOT EDIT.
    // Generated by generate_entry_points.py using data from gl.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.
    //
    // entry_points_gl_4_4_autogen.h:
    //   Defines the GL 4.4 entry points.
    
    #ifndef LIBGL_ENTRY_POINTS_GL_4_4_AUTOGEN_H_
    #define LIBGL_ENTRY_POINTS_GL_4_4_AUTOGEN_H_
    
    #include <export.h>
    #include "angle_gl.h"
    
    namespace gl
    {
    ANGLE_EXPORT void GL_APIENTRY BindBuffersBase(GLenum target,
                                                  GLuint first,
                                                  GLsizei count,
                                                  const GLuint *buffers);
    ANGLE_EXPORT void GL_APIENTRY BindBuffersRange(GLenum target,
                                                   GLuint first,
                                                   GLsizei count,
                                                   const GLuint *buffers,
                                                   const GLintptr *offsets,
                                                   const GLsizeiptr *sizes);
    ANGLE_EXPORT void GL_APIENTRY BindImageTextures(GLuint first,
                                                    GLsizei count,
                                                    const GLuint *textures);
    ANGLE_EXPORT void GL_APIENTRY BindSamplers(GLuint first, GLsizei count, const GLuint *samplers);
    ANGLE_EXPORT void GL_APIENTRY BindTextures(GLuint first, GLsizei count, const GLuint *textures);
    ANGLE_EXPORT void GL_APIENTRY BindVertexBuffers(GLuint first,
                                                    GLsizei count,
                                                    const GLuint *buffers,
                                                    const GLintptr *offsets,
                                                    const GLsizei *strides);
    ANGLE_EXPORT void GL_APIENTRY BufferStorage(GLenum target,
                                                GLsizeiptr size,
                                                const void *data,
                                                GLbitfield flags);
    ANGLE_EXPORT void GL_APIENTRY
    ClearTexImage(GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
    ANGLE_EXPORT void GL_APIENTRY ClearTexSubImage(GLuint texture,
                                                   GLint level,
                                                   GLint xoffset,
                                                   GLint yoffset,
                                                   GLint zoffset,
                                                   GLsizei width,
                                                   GLsizei height,
                                                   GLsizei depth,
                                                   GLenum format,
                                                   GLenum type,
                                                   const void *data);
    }  // namespace gl
    
    #endif  // LIBGL_ENTRY_POINTS_GL_4_4_AUTOGEN_H_