/external/deqp/modules/glshared/ |
D | glsStateChangePerfTestCases.cpp | 108 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/ |
D | es2pDrawCallBatchingTests.cpp | 176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() local 178 m_dynamicIndexData.push_back(deUint8(triangleNdx * 3)); in createIndexData() 179 m_dynamicIndexData.push_back(deUint8(triangleNdx * 3 + 1)); in createIndexData() 180 m_dynamicIndexData.push_back(deUint8(triangleNdx * 3 + 2)); in createIndexData() 188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() local 190 m_staticIndexData.push_back(deUint8(triangleNdx * 3)); in createIndexData() 191 m_staticIndexData.push_back(deUint8(triangleNdx * 3 + 1)); in createIndexData() 192 m_staticIndexData.push_back(deUint8(triangleNdx * 3 + 2)); in createIndexData()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderMultisampleInterpolationTests.cpp | 801 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData() local 803 const float angle = ((float)triangleNdx) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData() 804 const float nextAngle = ((float)triangleNdx + 1.0f) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData() 806 data[(triangleNdx * 3 + 0) * 3 + 0] = tcu::Vec4(0.2f, -0.3f, 0.0f, 1.0f); in setupRenderData() 807 data[(triangleNdx * 3 + 0) * 3 + 1] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData() 808 data[(triangleNdx * 3 + 0) * 3 + 2] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData() 810 …data[(triangleNdx * 3 + 1) * 3 + 0] = tcu::Vec4(2.0f * deFloatCos(angle), 2.0f * deFloatSin(angle)… in setupRenderData() 811 data[(triangleNdx * 3 + 1) * 3 + 1] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData() 812 data[(triangleNdx * 3 + 1) * 3 + 2] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData() 814 …data[(triangleNdx * 3 + 2) * 3 + 0] = tcu::Vec4(2.0f * deFloatCos(nextAngle), 2.0f * deFloatSin(ne… in setupRenderData() [all …]
|
D | es31fTextureMultisampleTests.cpp | 527 for (int triangleNdx = 0; triangleNdx < (int)m_testTriangles.size(); ++triangleNdx) in convertToSceneSpec() local 531 triangle.positions[0] = m_testTriangles[triangleNdx].p1 - offset; in convertToSceneSpec() 532 triangle.positions[1] = m_testTriangles[triangleNdx].p2 - offset; in convertToSceneSpec() 533 triangle.positions[2] = m_testTriangles[triangleNdx].p3 - offset; in convertToSceneSpec()
|
D | es31fPrimitiveBoundingBoxTests.cpp | 4308 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in createVbo() local
|
/external/deqp/modules/egl/ |
D | teglGLES2SharedRenderingPerfTests.cpp | 156 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/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 550 for (int triangleNdx = 0; triangleNdx < TRIANGLE_COUNT; triangleNdx++) in init() local 552 VkDeviceSize vertexBufferOffset = triangleOffset * triangleNdx; in init() 555 …shaderStage, m_pushConstantRange[0].range.offset, m_pushConstantRange[0].range.size, &triangleNdx); in init() 617 for (int triangleNdx = 0; triangleNdx < TRIANGLE_COUNT; triangleNdx++) in verifyImage() local 623 std::vector<Vertex4RGBA>(m_vertices.begin() + triangleNdx * 3, in verifyImage() 624 m_vertices.begin() + (triangleNdx + 1) * 3)); in verifyImage()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPixelBufferObjectTests.cpp | 454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in iterate() local
|
D | es3fRasterizationTests.cpp | 886 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local 890 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles() 891 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles() 892 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles() 893 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
|
/external/deqp/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 737 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local 741 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles() 742 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles() 743 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles() 744 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
|
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 1279 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local 1283 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles() 1284 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles() 1285 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles() 1286 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
|