Lines Matching refs:attrib
69 bool VertexBuffer11::storeVertexAttributes(const gl::VertexAttribute &attrib, const gl::VertexAttribCurrentValueData ¤tValue,
74 gl::Buffer *buffer = attrib.mBoundBuffer.get();
75 int inputStride = attrib.stride();
89 if (attrib.mArrayEnabled)
94 input = static_cast<const char*>(storage->getData()) + static_cast<int>(attrib.mOffset);
98 input = static_cast<const char*>(attrib.mPointer);
106 if (instances == 0 || attrib.mDivisor == 0)
111 gl::VertexFormat vertexFormat(attrib, currentValue.Type);
127 bool VertexBuffer11::getSpaceRequired(const gl::VertexAttribute &attrib, GLsizei count,
131 if (attrib.mArrayEnabled)
133 if (instances == 0 || attrib.mDivisor == 0)
139 if (static_cast<unsigned int>(instances) < std::numeric_limits<unsigned int>::max() - (attrib.mDivisor - 1))
142 elementCount = rx::roundUp(static_cast<unsigned int>(instances), attrib.mDivisor);
146 elementCount = instances / attrib.mDivisor;
150 gl::VertexFormat vertexFormat(attrib);