Searched refs:triangles (Results 1 - 15 of 15) sorted by relevance

/external/deqp/framework/common/
H A DtcuRasterizationVerifier.cpp583 calcTriangleInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[0]),
584 calcTriangleInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[1]),
585 calcTriangleInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[2]),
586 calcTriangleInterpolationWeights(scene.triangles[primitiveNd
[all...]
H A DtcuRasterizationVerifier.hpp69 std::vector<SceneTriangle> triangles; member in struct:tcu::TriangleSceneSpec
152 * rasterized as two triangles.
207 * as two triangles.
/external/deqp/modules/gles2/functional/
H A Des2fShaderInvarianceTests.cpp208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2);
216 const tcu::Vec4 vertex3 = vertex2 + genRandomVector(rnd) * 0.01f; // generate narrow triangles
218 triangles[triNdx*3 + 0] = vertex1;
219 triangles[triNdx*3 + 1] = vertex2;
220 triangles[triNdx*3 + 2] = vertex3;
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd);
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd);
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd);
234 gl.bufferData(GL_ARRAY_BUFFER, (int)(triangles.size() * sizeof(tcu::Vec4)), &triangles[
[all...]
H A Des2fPolygonOffsetTests.cpp1078 const tcu::Vec4 triangles[2][3] = local
1098 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangles[0]); ++ndx)
1100 << "\tx=" << triangles[0][ndx].x()
1101 << "\ty=" << triangles[0][ndx].y()
1102 << "\tz=" << triangles[0][ndx].z()
1103 << "\tw=" << triangles[0][ndx].w()
1106 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangles[1]); ++ndx)
1108 << "\tx=" << triangles[1][ndx].x()
1109 << "\ty=" << triangles[1][ndx].y()
1110 << "\tz=" << triangles[
[all...]
H A Des2fRasterizationTests.cpp255 std::vector<TriangleSceneSpec::SceneTriangle> triangles; local
257 generateTriangles(m_iteration, drawBuffer, triangles);
274 scene.triangles.swap(triangles);
1143 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing gray triangles with shared edges.\nEnabling additive blending to detect overlapping fragments." << tcu::TestLog::EndMessage;
1385 std::vector<TriangleSceneSpec::SceneTriangle> triangles;
1389 extractTriangles(triangles, drawBuffer);
1417 scene.triangles.swap(triangles);
1446 // No triangles
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderInvarianceTests.cpp208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2);
216 const tcu::Vec4 vertex3 = vertex2 + genRandomVector(rnd) * 0.01f; // generate narrow triangles
218 triangles[triNdx*3 + 0] = vertex1;
219 triangles[triNdx*3 + 1] = vertex2;
220 triangles[triNdx*3 + 2] = vertex3;
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd);
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd);
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd);
234 gl.bufferData(GL_ARRAY_BUFFER, (int)(triangles.size() * sizeof(tcu::Vec4)), &triangles[
[all...]
H A Des3fPolygonOffsetTests.cpp1081 const tcu::Vec4 triangles[2][3] = local
1101 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangles[0]); ++ndx)
1103 << "\tx=" << triangles[0][ndx].x()
1104 << "\ty=" << triangles[0][ndx].y()
1105 << "\tz=" << triangles[0][ndx].z()
1106 << "\tw=" << triangles[0][ndx].w()
1109 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangles[1]); ++ndx)
1111 << "\tx=" << triangles[1][ndx].x()
1112 << "\ty=" << triangles[1][ndx].y()
1113 << "\tz=" << triangles[
[all...]
H A Des3fRasterizationTests.cpp458 std::vector<TriangleSceneSpec::SceneTriangle> triangles;
460 generateTriangles(m_iteration, drawBuffer, triangles);
477 scene.triangles.swap(triangles);
1292 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing gray triangles with shared edges.\nEnabling additive blending to detect overlapping fragments." << tcu::TestLog::EndMessage;
1534 std::vector<TriangleSceneSpec::SceneTriangle> triangles;
1538 extractTriangles(triangles, drawBuffer);
1566 scene.triangles.swap(triangles);
1595 // No triangles
[all...]
/external/ImageMagick/www/api/
H A Dshear.php117 <p>ShearImage() creates a new image that is a shear_image copy of an existing one. Shearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image.. ShearImage() allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
141 <p>ShearRotateImage() creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image. ShearRotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
H A Ddistort.php158 <p>RotateImage() creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image. RotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p>
H A Dmagick-image.php5211 <p>MagickRotateImage() rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.</p>
6754 <p>MagickShearImage() slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the background color.</p>
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationTests.cpp1028 std::vector<TriangleSceneSpec::SceneTriangle> triangles; local
1030 generateTriangles(m_iteration, drawBuffer, triangles);
1049 scene.triangles.swap(triangles);
1769 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Drawing gray triangles with shared edges.\nEnabling additive blending to detect overlapping fragments." << tcu::TestLog::EndMessage;
2051 std::vector<TriangleSceneSpec::SceneTriangle> triangles;
2064 extractTriangles(triangles, drawBuffer);
2067 extractLines(triangles ,lines);
2069 extractPoints(triangles, points);
2112 scene.triangles
[all...]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationInvarianceTests.cpp144 tcu::Vec4 tessCoord[3]; //!< 3 coords for triangles/quads, 2 for isolines, 1 for point mode. Vec4 due to alignment.
1135 //! Compare triangle sets, ignoring triangle order and vertex order within triangle, and possibly exclude some triangles too.
1155 TriangleSet& triangles = aOrB == 0 ? trianglesA : trianglesB;
1164 triangles.insert(triangle);
1251 * order; rule #5 only requires that the same triangles are output, but
1550 * Test that the set of triangles input to the TES only depends on the
1552 * winding doesn't change the set of triangles, though it can change the
1571 * Test that the set of inner triangles input to the TES only depends on
1637 return compareTriangleSets(primitivesA, primitivesB, m_context.getTestContext().getLog(), IsInnerTriangleTriangle(), "outer triangles");
1639 return compareTriangleSets(primitivesA, primitivesB, m_context.getTestContext().getLog(), IsInnerQuadTriangle(), "outer triangles");
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fTextureMultisampleTests.cpp524 // Triangles are offset from the pixel center by "offset". Move the triangles back to take this into account.
539 scene.triangles.push_back(triangle);
H A Des31fTessellationTests.cpp442 case TESSPRIMITIVETYPE_TRIANGLES: return "triangles";
1456 //! Compare triangle sets, ignoring triangle order and vertex order within triangle, and possibly exclude some triangles too.
1479 TriangleSet& triangles = aOrB == 0 ? trianglesA : trianglesB;
1490 triangles.insert(triangle);
1755 // triangles/quads share a vertex, it's at the same index for everyone.
1828 << (m_primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? "triangles" : m_primitiveType == TESSPRIMITIVETYPE_QUADS ? "quads" : DE_NULL)
3513 * order; rule #5 only requires that the same triangles are output, but
4694 * Test that the set of triangles input to the TES only depends on the
4696 * winding doesn't change the set of triangles, though it can change the
4719 * Test that the set of inner triangles inpu
[all...]

Completed in 448 milliseconds