Edit

kc3-lang/angle/src/libANGLE/validationGL11.cpp

Branch :

  • Show log

    Commit

  • Author : Clemen Deng
    Date : 2019-06-18 13:02:03
    Hash : 7558e836
    Message : Windows Desktop GL Implementation Bug: angleproject:3620 Change-Id: I4ef4ab3ee145e5ce9b1ebf0c2d61d0777db72c43 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1678405 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • src/libANGLE/validationGL11.cpp
  • //
    // 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.
    //
    
    // validationGL11.cpp: Validation functions for OpenGL 1.1 entry point parameters
    
    #include "libANGLE/validationGL11_autogen.h"
    
    namespace gl
    {
    
    bool ValidateAreTexturesResident(Context *context,
                                     GLsizei n,
                                     const GLuint *textures,
                                     GLboolean *residences)
    {
        return true;
    }
    
    bool ValidateArrayElement(Context *context, GLint i)
    {
        return true;
    }
    
    bool ValidateCopyTexImage1D(Context *context,
                                GLenum target,
                                GLint level,
                                GLenum internalformat,
                                GLint x,
                                GLint y,
                                GLsizei width,
                                GLint border)
    {
        return true;
    }
    
    bool ValidateCopyTexSubImage1D(Context *context,
                                   GLenum target,
                                   GLint level,
                                   GLint xoffset,
                                   GLint x,
                                   GLint y,
                                   GLsizei width)
    {
        return true;
    }
    
    bool ValidateEdgeFlagPointer(Context *context, GLsizei stride, const void *pointer)
    {
        return true;
    }
    
    bool ValidateIndexPointer(Context *context, GLenum type, GLsizei stride, const void *pointer)
    {
        return true;
    }
    
    bool ValidateIndexub(Context *context, GLubyte c)
    {
        return true;
    }
    
    bool ValidateIndexubv(Context *context, const GLubyte *c)
    {
        return true;
    }
    
    bool ValidateInterleavedArrays(Context *context, GLenum format, GLsizei stride, const void *pointer)
    {
        return true;
    }
    
    bool ValidatePopClientAttrib(Context *context)
    {
        return true;
    }
    
    bool ValidatePrioritizeTextures(Context *context,
                                    GLsizei n,
                                    const GLuint *textures,
                                    const GLfloat *priorities)
    {
        return true;
    }
    
    bool ValidatePushClientAttrib(Context *context, GLbitfield mask)
    {
        return true;
    }
    
    bool ValidateTexSubImage1D(Context *context,
                               GLenum target,
                               GLint level,
                               GLint xoffset,
                               GLsizei width,
                               GLenum format,
                               GLenum type,
                               const void *pixels)
    {
        return true;
    }
    
    }  // namespace gl