Home
last modified time | relevance | path

Searched refs:triangleNdx (Results 1 – 9 of 9) 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/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/gles31/functional/
Des31fShaderMultisampleInterpolationTests.cpp790 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData() local
792 const float angle = ((float)triangleNdx) / numTriangles * 2.0f * DE_PI; in setupRenderData()
793 const float nextAngle = ((float)triangleNdx + 1.0f) / numTriangles * 2.0f * DE_PI; in setupRenderData()
795 data[(triangleNdx * 3 + 0) * 3 + 0] = tcu::Vec4(0.2f, -0.3f, 0.0f, 1.0f); in setupRenderData()
796 data[(triangleNdx * 3 + 0) * 3 + 1] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
797 data[(triangleNdx * 3 + 0) * 3 + 2] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
799 data[(triangleNdx * 3 + 1) * 3 + 0] = tcu::Vec4(2.0f * cos(angle), 2.0f * sin(angle), 0.0f, 1.0f); in setupRenderData()
800 data[(triangleNdx * 3 + 1) * 3 + 1] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
801 data[(triangleNdx * 3 + 1) * 3 + 2] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
803 …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()
Des31fPrimitiveBoundingBoxTests.cpp4095 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in createVbo() local
/external/deqp/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp156 for (int triangleNdx = 0; triangleNdx < 2; triangleNdx++) in createCoordData() local
164 const float side = ((triangleNdx % 2) == 0 ? 1.0f : -1.0f); in createCoordData()
180 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createCoordData() local
188 const float side = ((triangleNdx % 2) == 0 ? 1.0f : -1.0f); in createCoordData()
223 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createIndexData() local
225 if ((triangleNdx % 2) == 0) in createIndexData()
/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in iterate() local
Des3fRasterizationTests.cpp882 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
886 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
887 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
888 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
889 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp605 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
609 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
610 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
611 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
612 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()