Home
last modified time | relevance | path

Searched refs:triangleSize (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/ui/src/common/
Dcanvas_utils.ts79 const triangleSize = width / 4; constant
82 ctx.lineTo(x + length - 3, y + triangleSize * 0.5);
83 ctx.lineTo(x + length, y + triangleSize);
84 ctx.lineTo(x + length - 3, y + (triangleSize * 1.5));
85 ctx.lineTo(x + length, y + 2 * triangleSize);
86 ctx.lineTo(x + length - 3, y + (triangleSize * 2.5));
87 ctx.lineTo(x + length, y + 3 * triangleSize);
88 ctx.lineTo(x + length - 3, y + (triangleSize * 3.5));
89 ctx.lineTo(x + length, y + 4 * triangleSize);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp704 const float triangleSize = 1.0f / (static_cast<float>(samples) * 2.0f); in genPerSampleTriangleVertices() local
712 …Vec4(0 + coordinates[i * 2 + 0] * 2 - 1, -triangleSize + coordinates[i * 2 + 1] * 2 - 1, 0.0f, 1.0… in genPerSampleTriangleVertices()
716 …Vec4(-triangleSize + coordinates[i * 2 + 0] * 2 - 1, triangleSize + coordinates[i * 2 + 1] * 2 - 1… in genPerSampleTriangleVertices()
720 …Vec4(triangleSize + coordinates[i * 2 + 0] * 2 - 1, triangleSize + coordinates[i * 2 + 1] * 2 - 1,… in genPerSampleTriangleVertices()