• Home
  • Raw
  • Download

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()
657 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe…
721 std::vector<tcu::Vec4> drawBuffer; in iterate()
775 void PointCase::generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSc… in generatePoints()
783 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generatePoints()
784 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
785 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generatePoints()
786 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
787 outData[4] = tcu::Vec4(-0.2f, -0.4f, 0.0f, 1.0f); in generatePoints()
788 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generatePoints()
792 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generatePoints()
793 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generatePoints()
794 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generatePoints()
795 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
796 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generatePoints()
797 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generatePoints()
801 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generatePoints()
802 outData[1] = tcu::Vec4( 0.3f, -0.9f, 0.0f, 1.0f); in generatePoints()
803 outData[2] = tcu::Vec4( -0.4f, -0.1f, 0.0f, 1.0f); in generatePoints()
804 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
805 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generatePoints()
806 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generatePoints()
829 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
842 void TrianglesCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<… in generateTriangles()
850 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generateTriangles()
851 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
852 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generateTriangles()
853 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
854 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
855 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generateTriangles()
859 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
860 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
861 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
862 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
863 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
864 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generateTriangles()
868 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
869 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
870 outData[2] = tcu::Vec4( -1.1f, -0.1f, 0.0f, 1.0f); in generateTriangles()
871 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
872 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
873 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generateTriangles()
905 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
913 void TriangleStripCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vec… in generateTriangles()
921 outData[0] = tcu::Vec4(-0.504f, 0.8f, 0.0f, 1.0f); in generateTriangles()
922 outData[1] = tcu::Vec4(-0.2f, -0.2f, 0.0f, 1.0f); in generateTriangles()
923 outData[2] = tcu::Vec4(-0.2f, 0.199f, 0.0f, 1.0f); in generateTriangles()
924 outData[3] = tcu::Vec4( 0.5f, 0.201f, 0.0f, 1.0f); in generateTriangles()
925 outData[4] = tcu::Vec4( 1.5f, 0.4f, 0.0f, 1.0f); in generateTriangles()
929 outData[0] = tcu::Vec4(-0.499f, 0.129f, 0.0f, 1.0f); in generateTriangles()
930 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
931 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
932 outData[3] = tcu::Vec4( 0.11f, -0.31f, 0.0f, 1.0f); in generateTriangles()
933 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
937 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
938 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
939 outData[2] = tcu::Vec4(-0.87f, -0.1f, 0.0f, 1.0f); in generateTriangles()
940 outData[3] = tcu::Vec4(-0.11f, 0.19f, 0.0f, 1.0f); in generateTriangles()
941 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
974 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
982 void TriangleFanCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vecto… in generateTriangles()
990 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateTriangles()
991 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
992 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateTriangles()
993 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
994 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
998 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
999 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
1000 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
1001 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
1002 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
1006 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
1007 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
1008 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateTriangles()
1009 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
1010 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
1043 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1051 void LinesCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineScen… in generateLines()
1059 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1060 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1061 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1062 outData[3] = tcu::Vec4(-0.3f, 0.2f, 0.0f, 1.0f); in generateLines()
1063 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateLines()
1064 outData[5] = tcu::Vec4( 0.1f, 0.5f, 0.0f, 1.0f); in generateLines()
1068 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1069 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1070 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1071 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1072 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateLines()
1073 outData[5] = tcu::Vec4( 0.18f, -0.2f, 0.0f, 1.0f); in generateLines()
1077 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1078 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1079 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1080 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1081 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateLines()
1082 outData[5] = tcu::Vec4( 0.8f, -0.7f, 0.0f, 1.0f); in generateLines()
1112 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1120 void LineStripCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Line… in generateLines()
1128 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1129 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1130 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1131 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1135 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1136 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1137 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1138 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1142 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1143 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1144 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1145 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1173 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1181 void LineLoopCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineS… in generateLines()
1189 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1190 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1191 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1192 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1196 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1197 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1198 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1199 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1203 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1204 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1205 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1206 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1252 void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const;
1284 std::vector<tcu::Vec4> drawBuffer; in iterate()
1292 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate()
1403 void FillRuleCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const in generateTriangles()
1435 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1436 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1437 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1438 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1439 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1440 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1444 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1445 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1446 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1447 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1448 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1449 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1458 … outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1459 … outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x() * w1, quad[1].y() * w1, 0.0f, w1); in generateTriangles()
1460 … outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1461 … outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1462 … outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1463 … outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x() * w3, quad[3].y() * w3, 0.0f, w3); in generateTriangles()
1489 outData[0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1490 outData[1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1491 outData[2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1492 outData[3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1493 outData[4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1494 outData[5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1511 void generateVertices (std::vector<tcu::Vec4>& outData) const;
1512 …tor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const;
1513 bool triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) const;
1535 std::vector<tcu::Vec4> drawBuffer; in iterate()
1579 void CullingTest::generateVertices (std::vector<tcu::Vec4>& outData) const in generateVertices()
1593 …ctor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const in extractTriangles()
1607 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1608 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1609 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1628 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1629 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1630 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1649 const tcu::Vec4& v0 = vertices[0]; in extractTriangles()
1650 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1651 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1671 bool CullingTest::triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) con… in triangleOrder()
1689 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1690 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4
1721 std::vector<tcu::Vec4> drawBuffer; in iterate()
1722 std::vector<tcu::Vec4> colorBuffer; in iterate()
1770 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
1773 const tcu::Vec4 colors[] = in generateVertices()
1775 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
1776 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
1777 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
1807 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4 in extractTriangles()
1916 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1917 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4
1987 std::vector<tcu::Vec4> drawBuffer; in iterate()
1988 std::vector<tcu::Vec4> colorBuffer; in iterate()
2075 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
2078 const tcu::Vec4 colors[] = in generateVertices()
2080 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
2081 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
2082 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
2112 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4 in extractLines()