Edit

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

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2016-10-14 12:27:35
    Hash : 2e43dbb7
    Message : Implement remaining robust Get entry points. BUG=angleproject:1354 Change-Id: I204962a7178d47a43034d0213c81b82d8f6a25be Reviewed-on: https://chromium-review.googlesource.com/399043 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>

  • src/libANGLE/validationES31.h
  • //
    // Copyright (c) 2016 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.
    //
    
    // validationES31.h: Validation functions for OpenGL ES 3.1 entry point parameters
    
    #ifndef LIBANGLE_VALIDATION_ES31_H_
    #define LIBANGLE_VALIDATION_ES31_H_
    
    #include <GLES3/gl31.h>
    
    namespace gl
    {
    class Context;
    
    bool ValidateGetBooleani_v(Context *context, GLenum target, GLuint index, GLboolean *data);
    bool ValidateGetBooleani_vRobustANGLE(Context *context,
                                          GLenum target,
                                          GLuint index,
                                          GLsizei bufSize,
                                          GLsizei *length,
                                          GLboolean *data);
    
    }  // namespace gl
    
    #endif  // LIBANGLE_VALIDATION_ES31_H_