#include "libANGLE/VertexAttribute.h"
namespace gl
{
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)
{ … }
GLintptr ComputeVertexAttributeOffset(const VertexAttribute &attrib, const VertexBinding &binding)
{ … }
size_t ComputeVertexBindingElementCount(GLuint divisor, size_t drawCount, size_t instanceCount)
{ … }
}