Home
last modified time | relevance | path

Searched refs:triangleNdx (Results 1 – 8 of 8) sorted by relevance

/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp108 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in genIndices() local
110 indices.push_back((GLushort)triangleNdx*3); in genIndices()
111 indices.push_back((GLushort)triangleNdx*3+1); in genIndices()
112 indices.push_back((GLushort)triangleNdx*3+2); in genIndices()
120 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in genCoords() local
122 if ((triangleNdx % 2) == 0) in genCoords()
/external/deqp/modules/gles31/functional/
Des31fShaderMultisampleInterpolationTests.cpp788 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData() local
790 const float angle = ((float)triangleNdx) / numTriangles * 2.0f * DE_PI; in setupRenderData()
791 const float nextAngle = ((float)triangleNdx + 1.0f) / numTriangles * 2.0f * DE_PI; in setupRenderData()
793 data[(triangleNdx * 3 + 0) * 3 + 0] = tcu::Vec4(0.2f, -0.3f, 0.0f, 1.0f); in setupRenderData()
794 data[(triangleNdx * 3 + 0) * 3 + 1] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
795 data[(triangleNdx * 3 + 0) * 3 + 2] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
797 data[(triangleNdx * 3 + 1) * 3 + 0] = tcu::Vec4(2.0f * cos(angle), 2.0f * sin(angle), 0.0f, 1.0f); in setupRenderData()
798 data[(triangleNdx * 3 + 1) * 3 + 1] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
799 data[(triangleNdx * 3 + 1) * 3 + 2] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
801 …data[(triangleNdx * 3 + 2) * 3 + 0] = tcu::Vec4(2.0f * cos(nextAngle), 2.0f * sin(nextAngle), 0.0f… in setupRenderData()
[all …]
Des31fTextureMultisampleTests.cpp515 for (int triangleNdx = 0; triangleNdx < (int)m_testTriangles.size(); ++triangleNdx) in convertToSceneSpec() local
519 triangle.positions[0] = m_testTriangles[triangleNdx].p1 - offset; in convertToSceneSpec()
520 triangle.positions[1] = m_testTriangles[triangleNdx].p2 - offset; in convertToSceneSpec()
521 triangle.positions[2] = m_testTriangles[triangleNdx].p3 - offset; in convertToSceneSpec()
/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() local
178 m_dynamicIndexData.push_back(triangleNdx * 3); in createIndexData()
179 m_dynamicIndexData.push_back(triangleNdx * 3 + 1); in createIndexData()
180 m_dynamicIndexData.push_back(triangleNdx * 3 + 2); in createIndexData()
188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() local
190 m_staticIndexData.push_back(triangleNdx * 3); in createIndexData()
191 m_staticIndexData.push_back(triangleNdx * 3 + 1); in createIndexData()
192 m_staticIndexData.push_back(triangleNdx * 3 + 2); in createIndexData()
/external/deqp/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp173 for (int triangleNdx = 0; triangleNdx < 2; triangleNdx++) in createCoordData() local
181 const float side = ((triangleNdx % 2) == 0 ? 1.0f : -1.0f); in createCoordData()
197 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createCoordData() local
205 const float side = ((triangleNdx % 2) == 0 ? 1.0f : -1.0f); in createCoordData()
240 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createIndexData() local
242 if ((triangleNdx % 2) == 0) in createIndexData()
/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in iterate() local
Des3fRasterizationTests.cpp870 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
874 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
875 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
876 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
877 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp593 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
597 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
598 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
599 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
600 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()