Lines Matching refs:Vec4
123 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
124 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec…
351 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives()
354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
359 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives()
431 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria…
457 std::vector<tcu::Vec4> drawBuffer; in iterate()
510 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce…
578 std::vector<tcu::Vec4> drawBuffer; in iterate()
655 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe…
719 std::vector<tcu::Vec4> drawBuffer; in iterate()
773 void PointCase::generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSc… in generatePoints()
781 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generatePoints()
782 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
783 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generatePoints()
784 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
785 outData[4] = tcu::Vec4(-0.2f, -0.4f, 0.0f, 1.0f); in generatePoints()
786 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generatePoints()
790 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generatePoints()
791 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generatePoints()
792 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generatePoints()
793 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
794 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generatePoints()
795 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generatePoints()
799 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generatePoints()
800 outData[1] = tcu::Vec4( 0.3f, -0.9f, 0.0f, 1.0f); in generatePoints()
801 outData[2] = tcu::Vec4( -0.4f, -0.1f, 0.0f, 1.0f); in generatePoints()
802 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
803 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generatePoints()
804 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generatePoints()
827 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
840 void TrianglesCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<… in generateTriangles()
848 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generateTriangles()
849 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
850 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generateTriangles()
851 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
852 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
853 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generateTriangles()
857 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
858 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
859 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
860 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
861 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
862 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generateTriangles()
866 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
867 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
868 outData[2] = tcu::Vec4( -1.1f, -0.1f, 0.0f, 1.0f); in generateTriangles()
869 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
870 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
871 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generateTriangles()
903 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
911 void TriangleStripCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vec… in generateTriangles()
919 outData[0] = tcu::Vec4(-0.504f, 0.8f, 0.0f, 1.0f); in generateTriangles()
920 outData[1] = tcu::Vec4(-0.2f, -0.2f, 0.0f, 1.0f); in generateTriangles()
921 outData[2] = tcu::Vec4(-0.2f, 0.199f, 0.0f, 1.0f); in generateTriangles()
922 outData[3] = tcu::Vec4( 0.5f, 0.201f, 0.0f, 1.0f); in generateTriangles()
923 outData[4] = tcu::Vec4( 1.5f, 0.4f, 0.0f, 1.0f); in generateTriangles()
927 outData[0] = tcu::Vec4(-0.499f, 0.129f, 0.0f, 1.0f); in generateTriangles()
928 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
929 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
930 outData[3] = tcu::Vec4( 0.11f, -0.31f, 0.0f, 1.0f); in generateTriangles()
931 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
935 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
936 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
937 outData[2] = tcu::Vec4(-0.87f, -0.1f, 0.0f, 1.0f); in generateTriangles()
938 outData[3] = tcu::Vec4(-0.11f, 0.19f, 0.0f, 1.0f); in generateTriangles()
939 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
972 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
980 void TriangleFanCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vecto… in generateTriangles()
988 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateTriangles()
989 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
990 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateTriangles()
991 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
992 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
996 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
997 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
998 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
999 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
1000 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
1004 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
1005 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
1006 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateTriangles()
1007 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
1008 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
1041 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1049 void LinesCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineScen… in generateLines()
1057 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1058 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1059 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1060 outData[3] = tcu::Vec4(-0.3f, 0.2f, 0.0f, 1.0f); in generateLines()
1061 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateLines()
1062 outData[5] = tcu::Vec4( 0.1f, 0.5f, 0.0f, 1.0f); in generateLines()
1066 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1067 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1068 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1069 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1070 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateLines()
1071 outData[5] = tcu::Vec4( 0.18f, -0.2f, 0.0f, 1.0f); in generateLines()
1075 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1076 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1077 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1078 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1079 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateLines()
1080 outData[5] = tcu::Vec4( 0.8f, -0.7f, 0.0f, 1.0f); in generateLines()
1110 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1118 void LineStripCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Line… in generateLines()
1126 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1127 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1128 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1129 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1133 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1134 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1135 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1136 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1140 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1141 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1142 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1143 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1171 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1179 void LineLoopCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineS… in generateLines()
1187 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1188 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1189 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1190 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1194 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1195 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1196 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1197 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1201 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1202 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1203 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1204 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1250 void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const;
1282 std::vector<tcu::Vec4> drawBuffer; in iterate()
1290 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate()
1401 void FillRuleCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const in generateTriangles()
1433 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1434 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1435 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1436 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1437 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1438 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1442 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1443 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1444 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1445 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1446 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1447 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1456 … outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1457 … outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x() * w1, quad[1].y() * w1, 0.0f, w1); in generateTriangles()
1458 … outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1459 … outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1460 … outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1461 … outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x() * w3, quad[3].y() * w3, 0.0f, w3); in generateTriangles()
1487 outData[0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1488 outData[1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1489 outData[2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1490 outData[3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1491 outData[4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1492 outData[5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1509 void generateVertices (std::vector<tcu::Vec4>& outData) const;
1510 …tor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const;
1511 bool triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) const;
1533 std::vector<tcu::Vec4> drawBuffer; in iterate()
1577 void CullingTest::generateVertices (std::vector<tcu::Vec4>& outData) const in generateVertices()
1591 …ctor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const in extractTriangles()
1605 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1606 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1607 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1626 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1627 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1628 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1647 const tcu::Vec4& v0 = vertices[0]; in extractTriangles()
1648 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1649 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1669 bool CullingTest::triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) con… in triangleOrder()
1687 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1688 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4…
1719 std::vector<tcu::Vec4> drawBuffer; in iterate()
1720 std::vector<tcu::Vec4> colorBuffer; in iterate()
1768 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
1771 const tcu::Vec4 colors[] = in generateVertices()
1773 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
1774 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
1775 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
1805 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4… in extractTriangles()
1914 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1915 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4…
1985 std::vector<tcu::Vec4> drawBuffer; in iterate()
1986 std::vector<tcu::Vec4> colorBuffer; in iterate()
2070 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
2073 const tcu::Vec4 colors[] = in generateVertices()
2075 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
2076 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
2077 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
2107 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4… in extractLines()