Edit

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

Branch :

  • Show log

    Commit

  • Author : Jiacheng Lu
    Date : 2019-08-22 11:50:43
    Hash : 814a0a1b
    Message : Use QueryID in place of GLuint handle Bug: angleproject:3804 Change-Id: I921bbe7f67c025ab2b624fe14530c04ac17346f3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1765889 Reviewed-by: Jiacheng Lu <lujc@google.com> Commit-Queue: Jiacheng Lu <lujc@google.com>

  • src/libANGLE/validationGL15.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.
    //
    
    // validationGL15.cpp: Validation functions for OpenGL 1.5 entry point parameters
    
    #include "libANGLE/validationGL15_autogen.h"
    
    namespace gl
    {
    
    bool ValidateGetBufferSubData(Context *context,
                                  GLenum target,
                                  GLintptr offset,
                                  GLsizeiptr size,
                                  void *data)
    {
        return true;
    }
    
    bool ValidateGetQueryObjectiv(Context *context, QueryID id, GLenum pname, GLint *params)
    {
        return true;
    }
    
    bool ValidateMapBuffer(Context *context, BufferBinding targetPacked, GLenum access)
    {
        return true;
    }
    
    }  // namespace gl