chromium/third_party/angle/src/libANGLE/VertexAttribute.cpp

//
// Copyright 2014 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.
//
// Implementation of the state classes for mananging GLES 3.1 Vertex Array Objects.
//

#include "libANGLE/VertexAttribute.h"

namespace gl
{

// [OpenGL ES 3.1] (November 3, 2016) Section 20 Page 361
// Table 20.2: Vertex Array Object State
VertexBinding::VertexBinding() :{}

VertexBinding::VertexBinding(GLuint boundAttribute) :{}

VertexBinding::VertexBinding(VertexBinding &&binding)
{}

VertexBinding::~VertexBinding() {}

VertexBinding &VertexBinding::operator=(VertexBinding &&binding)
{}

void VertexBinding::onContainerBindingChanged(const Context *context, int incr) const
{}

VertexAttribute::VertexAttribute(GLuint bindingIndex)
    :{}

VertexAttribute::VertexAttribute(VertexAttribute &&attrib)
    :{}

VertexAttribute &VertexAttribute::operator=(VertexAttribute &&attrib)
{}

void VertexAttribute::updateCachedElementLimit(const VertexBinding &binding)
{}

size_t ComputeVertexAttributeStride(const VertexAttribute &attrib, const VertexBinding &binding)
{}

// Warning: you should ensure binding really matches attrib.bindingIndex before using this function.
GLintptr ComputeVertexAttributeOffset(const VertexAttribute &attrib, const VertexBinding &binding)
{}

size_t ComputeVertexBindingElementCount(GLuint divisor, size_t drawCount, size_t instanceCount)
{}

}  // namespace gl