• Home
  • Raw
  • Download

Lines Matching refs:Vec4

95 …void					drawPrimitives		(tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
96 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec…
185 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives()
188 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
193 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives()
228 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria…
254 std::vector<tcu::Vec4> drawBuffer; in iterate()
304 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce…
340 std::vector<tcu::Vec4> drawBuffer; in iterate()
413 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe…
444 std::vector<tcu::Vec4> drawBuffer; in iterate()
497 void PointCase::generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSc… in generatePoints()
505 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generatePoints()
506 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
507 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generatePoints()
508 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
509 outData[4] = tcu::Vec4(-0.2f, -0.4f, 0.0f, 1.0f); in generatePoints()
510 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generatePoints()
514 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generatePoints()
515 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generatePoints()
516 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generatePoints()
517 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
518 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generatePoints()
519 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generatePoints()
523 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generatePoints()
524 outData[1] = tcu::Vec4( 0.3f, -0.9f, 0.0f, 1.0f); in generatePoints()
525 outData[2] = tcu::Vec4( -0.4f, -0.1f, 0.0f, 1.0f); in generatePoints()
526 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
527 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generatePoints()
528 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generatePoints()
680 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
693 void TrianglesCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<… in generateTriangles()
701 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generateTriangles()
702 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
703 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generateTriangles()
704 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
705 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
706 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generateTriangles()
710 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
711 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
712 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
713 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
714 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
715 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generateTriangles()
719 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
720 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
721 outData[2] = tcu::Vec4( -1.1f, -0.1f, 0.0f, 1.0f); in generateTriangles()
722 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
723 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
724 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generateTriangles()
756 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
764 void TriangleStripCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vec… in generateTriangles()
772 outData[0] = tcu::Vec4(-0.504f, 0.8f, 0.0f, 1.0f); in generateTriangles()
773 outData[1] = tcu::Vec4(-0.2f, -0.2f, 0.0f, 1.0f); in generateTriangles()
774 outData[2] = tcu::Vec4(-0.2f, 0.199f, 0.0f, 1.0f); in generateTriangles()
775 outData[3] = tcu::Vec4( 0.5f, 0.201f, 0.0f, 1.0f); in generateTriangles()
776 outData[4] = tcu::Vec4( 1.5f, 0.4f, 0.0f, 1.0f); in generateTriangles()
780 outData[0] = tcu::Vec4(-0.499f, 0.129f, 0.0f, 1.0f); in generateTriangles()
781 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
782 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
783 outData[3] = tcu::Vec4( 0.11f, -0.31f, 0.0f, 1.0f); in generateTriangles()
784 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
788 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
789 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
790 outData[2] = tcu::Vec4(-0.87f, -0.1f, 0.0f, 1.0f); in generateTriangles()
791 outData[3] = tcu::Vec4(-0.11f, 0.19f, 0.0f, 1.0f); in generateTriangles()
792 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
825 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
833 void TriangleFanCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vecto… in generateTriangles()
841 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateTriangles()
842 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
843 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateTriangles()
844 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
845 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
849 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
850 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
851 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
852 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
853 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
857 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
858 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
859 outData[2] = tcu::Vec4( 0.7f, -0.1f, 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.7f, 0.0f, 1.0f); in generateTriangles()
894 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
902 void LinesCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineScen… in generateLines()
910 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
911 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
912 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
913 outData[3] = tcu::Vec4(-0.3f, 0.2f, 0.0f, 1.0f); in generateLines()
914 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateLines()
915 outData[5] = tcu::Vec4( 0.1f, 0.5f, 0.0f, 1.0f); in generateLines()
919 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
920 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
921 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
922 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
923 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateLines()
924 outData[5] = tcu::Vec4( 0.18f, -0.2f, 0.0f, 1.0f); in generateLines()
928 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
929 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
930 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
931 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
932 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateLines()
933 outData[5] = tcu::Vec4( 0.8f, -0.7f, 0.0f, 1.0f); in generateLines()
963 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
971 void LineStripCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Line… in generateLines()
979 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
980 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
981 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
982 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
986 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
987 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
988 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
989 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
993 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
994 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
995 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
996 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1024 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
1032 void LineLoopCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineS… in generateLines()
1040 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
1041 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1042 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
1043 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
1047 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
1048 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
1049 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
1050 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1054 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
1055 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
1056 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
1057 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
1103 void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const;
1135 std::vector<tcu::Vec4> drawBuffer; in iterate()
1143 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate()
1254 void FillRuleCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const in generateTriangles()
1286 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1287 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1288 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1289 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1290 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1291 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1295 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1296 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1297 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1298 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1299 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1300 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1309 … outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1310 … outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x() * w1, quad[1].y() * w1, 0.0f, w1); in generateTriangles()
1311 … outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1312 … outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1313 … outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1314 … outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x() * w3, quad[3].y() * w3, 0.0f, w3); in generateTriangles()
1340 outData[0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1341 outData[1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1342 outData[2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1343 outData[3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1344 outData[4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1345 outData[5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1362 void generateVertices (std::vector<tcu::Vec4>& outData) const;
1363 …tor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const;
1364 bool triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) const;
1386 std::vector<tcu::Vec4> drawBuffer; in iterate()
1430 void CullingTest::generateVertices (std::vector<tcu::Vec4>& outData) const in generateVertices()
1444 …ctor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const in extractTriangles()
1458 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1459 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1460 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1479 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1480 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1481 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1500 const tcu::Vec4& v0 = vertices[0]; in extractTriangles()
1501 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1502 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1522 bool CullingTest::triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) con… in triangleOrder()
1540 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1541 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4
1571 std::vector<tcu::Vec4> drawBuffer; in iterate()
1572 std::vector<tcu::Vec4> colorBuffer; in iterate()
1620 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
1623 const tcu::Vec4 colors[] = in generateVertices()
1625 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
1626 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
1627 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
1657 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4 in extractTriangles()
1737 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1738 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4
1768 std::vector<tcu::Vec4> drawBuffer; in iterate()
1769 std::vector<tcu::Vec4> colorBuffer; in iterate()
1850 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
1853 const tcu::Vec4 colors[] = in generateVertices()
1855 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
1856 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
1857 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
1887 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4 in extractLines()