Hash :
fbaae6ce
Author :
Date :
2020-07-24T11:47:12
GL: Add support for GL_OES/EXT_texture_buffer This extension is core in 3.2 Based on a CL by Jonah Ryan-Davis. Bug: angleproject:3573 Bug: angleproject:4933 Change-Id: Ib5ce038414075a5cdce36e9404e25d7af33fb39c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2519401 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
//
// Copyright 2018 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:
// Inlined validation functions for OpenGL ES 3.1 entry points.
#ifndef LIBANGLE_VALIDATION_ES31_H_
#define LIBANGLE_VALIDATION_ES31_H_
#include "libANGLE/ErrorStrings.h"
#include "libANGLE/validationES31_autogen.h"
namespace gl
{
bool ValidateTexBufferBase(const Context *context,
TextureType target,
GLenum internalformat,
BufferID bufferPacked);
bool ValidateTexBufferRangeBase(const Context *context,
TextureType target,
GLenum internalformat,
BufferID bufferPacked,
GLintptr offset,
GLsizeiptr size);
} // namespace gl
#endif // LIBANGLE_VALIDATION_ES31_H_