Home
last modified time | relevance | path

Searched refs:numTriangles (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrMiddleOutPolygonTriangulator.h107 int numTriangles = finalVertexCount - 2; in close() local
108 SkASSERT(numTriangles >= 0); in close()
109 fTotalClosedTriangleCount += numTriangles; in close()
/external/deqp/modules/gles3/functional/
Des3fShaderInvarianceTests.cpp206 const int numTriangles = 72; in init() local
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()
212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()
237 m_verticesInPattern = numTriangles * 3; in init()
Des3fMultisampleTests.cpp679 const int numTriangles = 25; in renderPattern() local
680 for (int i = 0; i < numTriangles; i++) in renderPattern()
682 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
683 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
1149 const int numTriangles = 25; in iterate() local
1150 for (int i = 0; i < numTriangles; i++) in iterate()
1152 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
1153 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in iterate()
1553 const int numTriangles = 25; in drawPattern() local
1554 for (int i = 0; i < numTriangles; i++) in drawPattern()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp206 const int numTriangles = 72; in init() local
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()
212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()
237 m_verticesInPattern = numTriangles * 3; in init()
Des2fMultisampleTests.cpp511 const int numTriangles = 25; in renderPattern() local
512 for (int i = 0; i < numTriangles; i++) in renderPattern()
514 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
515 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
990 const int numTriangles = 25; in iterate() local
991 for (int i = 0; i < numTriangles; i++) in iterate()
993 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
994 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in iterate()
1403 const int numTriangles = 25; in drawPattern() local
1404 for (int i = 0; i < numTriangles; i++) in drawPattern()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderInvarianceTests.cpp172 const int numTriangles = 72; in iterate() local
174 std::vector<tcu::Vec4> vertices (numTriangles * 3 * 2); in iterate()
178 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in iterate()
190 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in iterate()
192 vertices[(numTriangles + triNdx) * 3 + 0] = genRandomVector(rnd); in iterate()
193 vertices[(numTriangles + triNdx) * 3 + 1] = genRandomVector(rnd); in iterate()
194 vertices[(numTriangles + triNdx) * 3 + 2] = genRandomVector(rnd); in iterate()
DvktShaderRender.hpp519 deUint32 numTriangles,
DvktShaderRenderDerivateTests.cpp678 const deUint32 numTriangles = 2; in iterate() local
710 render(numVertices, numTriangles, indices); in iterate()
DvktShaderRender.cpp1773 deUint32 numTriangles, in render() argument
1777 render(numVertices, numTriangles * 3, indices, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, constCoords); in render()
DvktShaderRenderTextureGatherTests.cpp1355 const deUint32 numTriangles = 2; in iterate() local
1379 render(numVertices, numTriangles, indices); in iterate()
DvktShaderRenderTextureFunctionTests.cpp1504 const deUint32 numTriangles = 2; in render() local
1509 ShaderRenderCaseInstance::render(numVertices, numTriangles, indices); in render()
/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp117 GLsizei numTriangles = (numIndices - 2); in copyIndices() local
118 for(GLsizei tri = 0; tri < numTriangles; ++tri) in copyIndices()
132 GLsizei numTriangles = (numIndices - 2); in copyIndices() local
133 for(GLsizei tri = 0; tri < numTriangles; ++tri) in copyIndices()
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp491 const int numTriangles = 25; in drawPattern() local
494 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in drawPattern()
496 const float angle0 = 2.0f*DE_PI * (float)triNdx / (float)numTriangles; in drawPattern()
497 const float angle1 = 2.0f*DE_PI * ((float)triNdx + 0.5f) / (float)numTriangles; in drawPattern()
498 const Vec4 color = Vec4(0.4f + (float)triNdx/(float)numTriangles*0.6f, in drawPattern()
499 0.5f + (float)triNdx/(float)numTriangles*0.3f, in drawPattern()
500 0.6f - (float)triNdx/(float)numTriangles*0.5f, in drawPattern()
501 0.7f - (float)triNdx/(float)numTriangles*0.7f); in drawPattern()
Des31fShaderMultisampleInterpolationTests.cpp794 const int numTriangles = 200; in setupRenderData() local
796 std::vector<tcu::Vec4> data (numTriangles * 3 * 3); in setupRenderData()
799 m_renderCount = numTriangles * 3; in setupRenderData()
809 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData()
811 const float angle = ((float)triangleNdx) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
812 const float nextAngle = ((float)triangleNdx + 1.0f) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
Des31fPrimitiveBoundingBoxTests.cpp4296 const int numTriangles = rnd.getInt(1, 4); in createVbo() local
4304 drawObject.numVertices = numTriangles * 3; in createVbo()
4308 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in createVbo()
Des31fTessellationTests.cpp1478 const int numTriangles = aOrB == 0 ? numTrianglesA : numTrianglesB; in compareTriangleSets() local
1481 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in compareTriangleSets()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtessellator.cpp859 int numTriangles = numPointsForInsideEdge[parity] + numPointsForOutsideEdge[edge] - 2; in QuadGenerateConnectivity() local
926 m_NumIndices += numTriangles*3; in QuadGenerateConnectivity()
1341 int numTriangles = numPointsForInsideEdge + numPointsForOutsideEdge[edge] - 2; in TriGenerateConnectivity() local
1382 m_NumIndices += numTriangles*3; in TriGenerateConnectivity()
/external/mesa3d/src/gallium/auxiliary/tessellator/
Dtessellator.cpp873 int numTriangles = numPointsForInsideEdge[parity] + numPointsForOutsideEdge[edge] - 2; in QuadGenerateConnectivity() local
940 m_NumIndices += numTriangles*3; in QuadGenerateConnectivity()
1355 int numTriangles = numPointsForInsideEdge + numPointsForOutsideEdge[edge] - 2; in TriGenerateConnectivity() local
1396 m_NumIndices += numTriangles*3; in TriGenerateConnectivity()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationInvarianceTests.cpp1175 const int numTriangles = aOrB == 0 ? numTrianglesA : numTrianglesB; in compareTriangleSets() local
1178 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in compareTriangleSets()