Lines Matching refs:triangleCount
77 int triangleCount; member
176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData()
188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData()
274 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas()
276 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas()
278 int sign = (m_spec.triangleCount % 2 == 1 || i % 2 == 0 ? 1 : -1); in createAttributeDatas()
298 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas()
300 for (int i = 0; i < 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas()
314 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas()
316 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas()
338 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas()
340 for (int i = 0; i < 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas()
361 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_staticAttr… in createArrayBuffers()
375 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount, &(m_staticAttributeDatas[attribute][0… in createArrayBuffers()
392 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAtt… in createArrayBuffers()
410 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAtt… in createArrayBuffers()
434 …erData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_dynamicIndexData[drawNdx * m_spec.tr… in createIndexBuffer()
446 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynami… in createIndexBuffer()
460 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_static… in createIndexBuffer()
472 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_staticIndexData[0]), GL_STATI… in createIndexBuffer()
633 …, 4, GL_BYTE, GL_TRUE, 0, &(m_dynamicAttributeDatas[attribNdx][m_spec.triangleCount * 3 * drawNdx … in renderUnbatched()
643 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, NULL); in renderUnbatched()
647 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, NULL); in renderUnbatched()
652 …awElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, &(m_dynamicIndexData[drawNdx … in renderUnbatched()
654 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, &(m_staticIndexData[0])); in renderUnbatched()
658 gl.drawArrays(GL_TRIANGLES, 0, 3 * m_spec.triangleCount); in renderUnbatched()
747 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, N… in renderBatched()
751 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, N… in renderBatched()
756 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, &… in renderBatched()
758 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, &… in renderBatched()
762 gl.drawArrays(GL_TRIANGLES, 0, 3 * m_spec.triangleCount * m_spec.drawCallCount); in renderBatched()
840 …"Rendering " << m_spec.drawCallCount << " draw calls with " << m_spec.triangleCount << " triangles… in logTestInfo()
950 stream << spec.triangleCount << "_triangles"; in specToName()
1046 int triangleCount = triangleCounts[triangleCountNdx]; in init() local
1065 spec.triangleCount = triangleCount; in init()