Lines Matching defs:drawCallCount
78 int drawCallCount;
174 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++)
186 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++)
274 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount);
276 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++)
298 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount);
300 for (int i = 0; i < 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount; i++)
314 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount);
316 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++)
338 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount);
340 for (int i = 0; i < 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount; i++)
361 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_staticAttributeDatas[attribute][0]), GL_STATIC_DRAW);
392 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAttributeDatas[attribute][0]), GL_STATIC_DRAW);
404 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++)
410 gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAttributeDatas[attribute][0]), GL_STATIC_DRAW);
428 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++)
446 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicIndexData[0]), GL_STATIC_DRAW);
460 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_staticIndexData[0]), GL_STATIC_DRAW);
622 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++)
747 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, NULL);
751 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, NULL);
756 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, &(m_dynamicIndexData[0]));
758 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, &(m_staticIndexData[0]));
762 gl.drawArrays(GL_TRIANGLES, 0, 3 * m_spec.triangleCount * m_spec.drawCallCount);
840 log << TestLog::Message << "Rendering " << m_spec.drawCallCount << " draw calls with " << m_spec.triangleCount << " triangles per call." << TestLog::EndMessage;
1019 int drawCallCount = drawCallCounts[drawCallCountNdx];
1021 TestCaseGroup* callCountGroup = new TestCaseGroup(m_context, (de::toString(drawCallCount) + (drawCallCount == 1 ? "_draw" : "_draws")).c_str(), ("Test batched rendering performance with " + de::toString(drawCallCount) + " draw calls.").c_str());
1064 spec.drawCallCount = drawCallCount;