Home | History | Annotate | Download | only in performance

Lines Matching refs:attribute

204 		vertexShader << "attribute mediump vec4 a_static" << attributeNdx << ";\n";
210 vertexShader << "attribute mediump vec4 a_dyn" << attributeNdx << ";\n";
268 for (int attribute = 0; attribute < m_spec.staticAttributeCount; attribute++)
272 if (m_spec.dynamicAttributeCount == 0 && attribute == 0)
308 for (int attribute = 0; attribute < m_spec.dynamicAttributeCount; attribute++)
312 if (attribute == 0)
355 for (int attribute = 0; attribute < m_spec.staticAttributeCount; attribute++)
361 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_staticAttributeDatas[attribute][0]), GL_STATIC_DRAW);
369 for (int attribute = 0; attribute < m_spec.staticAttributeCount; attribute++)
375 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount, &(m_staticAttributeDatas[attribute][0]), GL_STATIC_DRAW);
386 for (int attribute = 0; attribute < m_spec.dynamicAttributeCount; attribute++)
392 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAttributeDatas[attribute][0]), GL_STATIC_DRAW);
400 for (int attribute = 0; attribute < m_spec.dynamicAttributeCount; attribute++)
410 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAttributeDatas[attribute][0]), GL_STATIC_DRAW);
728 for (int attribute = 0; attribute < m_spec.dynamicAttributeCount; attribute++)
732 gl.bindBuffer(GL_ARRAY_BUFFER, m_batchedDynamicBuffers[attribute]);
733 gl.vertexAttribPointer(dynamicAttributeLocations[attribute], 4, GL_BYTE, GL_TRUE, 0, NULL);
737 gl.vertexAttribPointer(dynamicAttributeLocations[attribute], 4, GL_BYTE, GL_TRUE, 0, &(m_dynamicAttributeDatas[attribute][0]));
835 log << TestLog::Message << "Using " << m_spec.staticAttributeCount << " static attribute" << (m_spec.staticAttributeCount > 1 ? "s" : "") << " from " << (m_spec.useStaticBuffer ? "buffer" : "pointer") << "." << TestLog::EndMessage;
838 log << TestLog::Message << "Using " << m_spec.dynamicAttributeCount << " dynamic attribute" << (m_spec.dynamicAttributeCount > 1 ? "s" : "") << " from " << (m_spec.useDynamicBuffer ? "buffer" : "pointer") << "." << TestLog::EndMessage;
1022 TestCaseGroup* attributeCount1Group = new TestCaseGroup(m_context, "1_attribute", "Test draw call batching with 1 attribute.");