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…
186 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives()
189 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
194 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives()
229 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria…
255 std::vector<tcu::Vec4> drawBuffer; in iterate()
305 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce…
341 std::vector<tcu::Vec4> drawBuffer; in iterate()
412 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe…
443 std::vector<tcu::Vec4> drawBuffer; in iterate()
496 void PointCase::generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSc… in generatePoints()
504 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generatePoints()
505 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
506 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generatePoints()
507 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generatePoints()
508 outData[4] = tcu::Vec4(-0.2f, -0.4f, 0.0f, 1.0f); in generatePoints()
509 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generatePoints()
513 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generatePoints()
514 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generatePoints()
515 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generatePoints()
516 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
517 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generatePoints()
518 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generatePoints()
522 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generatePoints()
523 outData[1] = tcu::Vec4( 0.3f, -0.9f, 0.0f, 1.0f); in generatePoints()
524 outData[2] = tcu::Vec4( -0.4f, -0.1f, 0.0f, 1.0f); in generatePoints()
525 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generatePoints()
526 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generatePoints()
527 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generatePoints()
550 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
563 void TrianglesCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<… in generateTriangles()
571 outData[0] = tcu::Vec4( 0.2f, 0.8f, 0.0f, 1.0f); in generateTriangles()
572 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
573 outData[2] = tcu::Vec4( 0.5f, 0.3f, 0.0f, 1.0f); in generateTriangles()
574 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
575 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
576 outData[5] = tcu::Vec4(-0.4f, 0.2f, 0.0f, 1.0f); in generateTriangles()
580 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
581 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
582 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
583 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
584 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
585 outData[5] = tcu::Vec4( 0.4f, 1.2f, 0.0f, 1.0f); in generateTriangles()
589 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
590 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
591 outData[2] = tcu::Vec4( -1.1f, -0.1f, 0.0f, 1.0f); in generateTriangles()
592 outData[3] = tcu::Vec4(-0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
593 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
594 outData[5] = tcu::Vec4( -0.4f, 0.4f, 0.0f, 1.0f); in generateTriangles()
626 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
634 void TriangleStripCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vec… in generateTriangles()
642 outData[0] = tcu::Vec4(-0.504f, 0.8f, 0.0f, 1.0f); in generateTriangles()
643 outData[1] = tcu::Vec4(-0.2f, -0.2f, 0.0f, 1.0f); in generateTriangles()
644 outData[2] = tcu::Vec4(-0.2f, 0.199f, 0.0f, 1.0f); in generateTriangles()
645 outData[3] = tcu::Vec4( 0.5f, 0.201f, 0.0f, 1.0f); in generateTriangles()
646 outData[4] = tcu::Vec4( 1.5f, 0.4f, 0.0f, 1.0f); in generateTriangles()
650 outData[0] = tcu::Vec4(-0.499f, 0.129f, 0.0f, 1.0f); in generateTriangles()
651 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
652 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateTriangles()
653 outData[3] = tcu::Vec4( 0.11f, -0.31f, 0.0f, 1.0f); in generateTriangles()
654 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateTriangles()
658 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
659 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
660 outData[2] = tcu::Vec4(-0.87f, -0.1f, 0.0f, 1.0f); in generateTriangles()
661 outData[3] = tcu::Vec4(-0.11f, 0.19f, 0.0f, 1.0f); in generateTriangles()
662 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
695 …void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneS…
703 void TriangleFanCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vecto… in generateTriangles()
711 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateTriangles()
712 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
713 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateTriangles()
714 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateTriangles()
715 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateTriangles()
719 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateTriangles()
720 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateTriangles()
721 outData[2] = tcu::Vec4( 0.11f, -0.2f, 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.9f, 0.0f, 1.0f); in generateTriangles()
727 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateTriangles()
728 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateTriangles()
729 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateTriangles()
730 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateTriangles()
731 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateTriangles()
764 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
772 void LinesCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineScen… in generateLines()
780 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
781 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
782 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
783 outData[3] = tcu::Vec4(-0.3f, 0.2f, 0.0f, 1.0f); in generateLines()
784 outData[4] = tcu::Vec4(-1.5f, -0.4f, 0.0f, 1.0f); in generateLines()
785 outData[5] = tcu::Vec4( 0.1f, 0.5f, 0.0f, 1.0f); in generateLines()
789 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
790 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
791 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
792 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
793 outData[4] = tcu::Vec4( 0.88f, 0.9f, 0.0f, 1.0f); in generateLines()
794 outData[5] = tcu::Vec4( 0.18f, -0.2f, 0.0f, 1.0f); in generateLines()
798 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
799 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
800 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
801 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
802 outData[4] = tcu::Vec4( 0.88f, 0.7f, 0.0f, 1.0f); in generateLines()
803 outData[5] = tcu::Vec4( 0.8f, -0.7f, 0.0f, 1.0f); in generateLines()
833 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
841 void LineStripCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Line… in generateLines()
849 outData[0] = tcu::Vec4( 0.01f, 0.0f, 0.0f, 1.0f); in generateLines()
850 outData[1] = tcu::Vec4( 0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
851 outData[2] = tcu::Vec4( 0.46f, 0.3f, 0.0f, 1.0f); in generateLines()
852 outData[3] = tcu::Vec4(-0.5f, 0.2f, 0.0f, 1.0f); in generateLines()
856 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
857 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
858 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
859 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
863 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
864 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
865 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
866 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
894 …void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSceneSpec::Sce…
902 void LineLoopCase::generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineS… 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.5f, 0.2f, 0.0f, 1.0f); in generateLines()
917 outData[0] = tcu::Vec4(-0.499f, 0.128f, 0.0f, 1.0f); in generateLines()
918 outData[1] = tcu::Vec4(-0.501f, -0.3f, 0.0f, 1.0f); in generateLines()
919 outData[2] = tcu::Vec4( 0.11f, -0.2f, 0.0f, 1.0f); in generateLines()
920 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
924 outData[0] = tcu::Vec4( -0.9f, -0.3f, 0.0f, 1.0f); in generateLines()
925 outData[1] = tcu::Vec4( 1.1f, -0.9f, 0.0f, 1.0f); in generateLines()
926 outData[2] = tcu::Vec4( 0.7f, -0.1f, 0.0f, 1.0f); in generateLines()
927 outData[3] = tcu::Vec4( 0.11f, 0.2f, 0.0f, 1.0f); in generateLines()
973 void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const;
1005 std::vector<tcu::Vec4> drawBuffer; in iterate()
1013 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate()
1124 void FillRuleCase::generateTriangles (int iteration, std::vector<tcu::Vec4>& outData) const in generateTriangles()
1156 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1157 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1158 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1159 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1160 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1161 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1165 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1166 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1167 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1168 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1169 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1170 outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1179 … outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1180 … outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x() * w1, quad[1].y() * w1, 0.0f, w1); in generateTriangles()
1181 … outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1182 … outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x() * w2, quad[2].y() * w2, 0.0f, w2); in generateTriangles()
1183 … outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x() * w0, quad[0].y() * w0, 0.0f, w0); in generateTriangles()
1184 … outData[6 * (col * numRows + row) + 5] = tcu::Vec4(quad[3].x() * w3, quad[3].y() * w3, 0.0f, w3); in generateTriangles()
1210 outData[0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1211 outData[1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1212 outData[2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1213 outData[3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1214 outData[4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1215 outData[5] = tcu::Vec4(quad[3].x(), quad[3].y(), 0.0f, 1.0f); in generateTriangles()
1232 void generateVertices (std::vector<tcu::Vec4>& outData) const;
1233 …tor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const;
1234 bool triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) const;
1256 std::vector<tcu::Vec4> drawBuffer; in iterate()
1300 void CullingTest::generateVertices (std::vector<tcu::Vec4>& outData) const in generateVertices()
1314 …ctor<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices) const in extractTriangles()
1328 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1329 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1330 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1349 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1350 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1351 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1370 const tcu::Vec4& v0 = vertices[0]; in extractTriangles()
1371 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1372 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1392 bool CullingTest::triangleOrder (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2) con… in triangleOrder()
1410 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1411 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4…
1441 std::vector<tcu::Vec4> drawBuffer; in iterate()
1442 std::vector<tcu::Vec4> colorBuffer; in iterate()
1490 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
1493 const tcu::Vec4 colors[] = in generateVertices()
1495 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
1496 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
1497 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
1527 …:SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4… in extractTriangles()
1607 … generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>…
1608 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4…
1638 std::vector<tcu::Vec4> drawBuffer; in iterate()
1639 std::vector<tcu::Vec4> colorBuffer; in iterate()
1717 …Test::generateVertices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>… in generateVertices()
1720 const tcu::Vec4 colors[] = in generateVertices()
1722 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in generateVertices()
1723 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in generateVertices()
1724 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), in generateVertices()
1754 …eneSpec::SceneLine>& outLines, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4… in extractLines()