Lines Matching refs:attribNdx

588 	for (int attribNdx = 0; attribNdx < m_spec.staticAttributeCount; attribNdx++)
590 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_static" + de::toString(attribNdx)).c_str());
596 gl.bindBuffer(GL_ARRAY_BUFFER, m_unbatchedStaticBuffers[attribNdx]);
601 gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, &(m_staticAttributeDatas[attribNdx][0]));
605 for (int attribNdx = 0; attribNdx < m_spec.dynamicAttributeCount; attribNdx++)
607 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_dyn" + de::toString(attribNdx)).c_str());
624 for (int attribNdx = 0; attribNdx < m_spec.dynamicAttributeCount; attribNdx++)
628 gl.bindBuffer(GL_ARRAY_BUFFER, m_unbatchedDynamicBuffers[attribNdx][drawNdx]);
629 gl.vertexAttribPointer(dynamicAttributeLocations[attribNdx], 4, GL_BYTE, GL_TRUE, 0, NULL);
633 gl.vertexAttribPointer(dynamicAttributeLocations[attribNdx], 4, GL_BYTE, GL_TRUE, 0, &(m_dynamicAttributeDatas[attribNdx][m_spec.triangleCount * 3 * drawNdx * 4]));
669 for (int attribNdx = 0; attribNdx < m_spec.staticAttributeCount; attribNdx++)
671 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_static" + de::toString(attribNdx)).c_str());
675 for (int attribNdx = 0; attribNdx < m_spec.dynamicAttributeCount; attribNdx++)
676 gl.disableVertexAttribArray(dynamicAttributeLocations[attribNdx]);
694 for (int attribNdx = 0; attribNdx < m_spec.staticAttributeCount; attribNdx++)
696 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_static" + de::toString(attribNdx)).c_str());
702 gl.bindBuffer(GL_ARRAY_BUFFER, m_batchedStaticBuffers[attribNdx]);
707 gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, &(m_staticAttributeDatas[attribNdx][0]));
711 for (int attribNdx = 0; attribNdx < m_spec.dynamicAttributeCount; attribNdx++)
713 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_dyn" + de::toString(attribNdx)).c_str());
772 for (int attribNdx = 0; attribNdx < m_spec.staticAttributeCount; attribNdx++)
774 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_static" + de::toString(attribNdx)).c_str());
778 for (int attribNdx = 0; attribNdx < m_spec.dynamicAttributeCount; attribNdx++)
779 gl.disableVertexAttribArray(dynamicAttributeLocations[attribNdx]);