• Home
  • Raw
  • Download

Lines Matching refs:rrect

124     ElementsBuilder& rrect(const SkRRect& rrect) {  in rrect()  argument
125 return this->rrect(rrect, fLocalToDevice, fAA, fOp); in rrect()
127 ElementsBuilder& rrect(const SkRRect& rrect, GrAA aa, SkClipOp op) { in rrect() function in __anon14e25fe30111::ElementsBuilder
128 return this->rrect(rrect, fLocalToDevice, aa, op); in rrect()
130 ElementsBuilder& rrect(const SkRRect& rrect, const SkMatrix& m, GrAA aa, SkClipOp op) { in rrect() function in __anon14e25fe30111::ElementsBuilder
131 fElements->push_back({GrShape(rrect), m, op, aa}); in rrect()
266 elementBounds = GrClip::GetPixelIBounds(SkRRectPriv::InnerBounds(e.fShape.rrect()), in getOptimalBounds()
288 return a.fShape.rrect() == b.fShape.rrect(); in compare_elements()
325 cs.clipRRect(e.fLocalToDevice, e.fShape.rrect(), e.fAA, e.fOp); in run()
645 .rrect(r1).rrect(r2) in DEF_TEST()
647 .expect().aa().intersect().rrect(intersect).finishElements() in DEF_TEST()
654 .rrect(r1).rrect(r2) in DEF_TEST()
656 .expect().nonAA().intersect().rrect(intersect).finishElements() in DEF_TEST()
663 .aa().rrect(r1).nonAA().rrect(r2) in DEF_TEST()
673 .rrect(r1).rrect(r2) in DEF_TEST()
676 .rrect(intersect).finishElements() in DEF_TEST()
681 .rrect(r1).rrect(r2) in DEF_TEST()
684 .rrect(intersect).finishElements() in DEF_TEST()
693 SkRRect rrect = SkRRect::MakeRectXY({0, 0, 10, 10}, 2.f, 2.f); in DEF_TEST() local
702 .actual().intersect().aa().rrect(rrect).rect(cutTop).finishElements() in DEF_TEST()
703 .expect().intersect().aa().rrect(cutRRect).finishElements() in DEF_TEST()
710 .actual().intersect().aa().rrect(rrect).rect(cutMid).finishElements() in DEF_TEST()
718 .actual().intersect().aa().rrect(rrect).rect(cutRect).finishElements() in DEF_TEST()
755 .rrect(SkRRect::MakeRectXY(crossesDeviceEdge, 4.f, 4.f)) in DEF_TEST()
811 .expect().rrect(SkRRect::MakeOval(rect)).finishElements() in DEF_TEST()
816 SkRRect rrect = SkRRect::MakeRectXY(rect, 2.f, 2.f); in DEF_TEST() local
818 rrectPath.addRRect(rrect); in DEF_TEST()
821 .expect().rrect(rrect).finishElements() in DEF_TEST()
847 SkRRect rrect = SkRRect::MakeRectXY(rect, 5.f, 2.5f); in DEF_TEST() local
849 .actual().rrect(rrect).rrect(rrect).rrect(rrect).finishElements() in DEF_TEST()
850 .expect().rrect(rrect).finishElements() in DEF_TEST()
854 .actual().localToDevice(lm).rrect(rrect).rrect(rrect).rrect(rrect) in DEF_TEST()
856 .expect().localToDevice(lm).rrect(rrect).finishElements() in DEF_TEST()
957 .rrect(offscreenRRect) in DEF_TEST()
970 .rrect(offscreenRRect) in DEF_TEST()
985 .rrect(offscreenRRect) in DEF_TEST()
998 .rrect(offscreenRRect) in DEF_TEST()
1026 SkRRect rrect = SkRRect::MakeRectXY({4.f, 10.f, 16.f, 32.f}, 2.f, 2.f); in DEF_TEST() local
1028 .actual().difference().rrect(rrect).rect(SkRect::MakeEmpty()) in DEF_TEST()
1030 .expect().difference().rrect(rrect).finishElements() in DEF_TEST()
1143 SkRRect rrect = SkRRect::MakeRectXY(rect, 5.f, 5.f); in DEF_TEST() local
1145 .actual().intersect().aa().rrect(rrect).finishElements() in DEF_TEST()
1153 .actual().localToDevice(lm).intersect().aa().rrect(rrect) in DEF_TEST()
1161 .actual().difference().aa().rrect(rrect).finishElements() in DEF_TEST()
1192 .actual().rrect(localRRect, lm, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1194 .expect().rrect(deviceRRect, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1231 .actual().rrect(localRRect, lm, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1233 .expect().rrect(deviceRRect, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1253 SkRRect rrect = SkRRect::MakeRectXY(rect, 5.f, 5.f); in DEF_TEST() local
1263 .actual().aa().intersect().rrect(rrect).path(bigPath).finishElements() in DEF_TEST()
1264 .expect().aa().intersect().rrect(rrect).finishElements() in DEF_TEST()
1275 .actual().aa().difference().rrect(rrect).path(bigPath) in DEF_TEST()
1288 .actual().aa().intersect().rrect(rrect) in DEF_TEST()
1301 .actual().aa().intersect().path(bigPath).difference().rrect(rrect) in DEF_TEST()
1331 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1332 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1334 .expect().rrect(smRR, lm2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1340 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1342 .expect().rrect(smRR, lm2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1347 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1365 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1366 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1368 .expect().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1374 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1381 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1384 .expect().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1397 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1398 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1404 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1409 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1424 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1425 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1431 .actual().rrect(bigRR, lm1, GrAA::kYes, SkClipOp::kIntersect) in DEF_TEST()
1439 .rrect(smRR, lm2, GrAA::kYes, SkClipOp::kDifference) in DEF_TEST()
1499 SkRRect rrect = SkRRect::MakeRectXY(rect, 10.f, 10.f); in DEF_TEST() local
1508 .actual().intersect().rrect(rrect).finishElements() in DEF_TEST()
1522 .actual().difference().rrect(rrect).finishElements() in DEF_TEST()
1542 .actual().aa().intersect().rect(rt).rrect(rr).path(p).finishElements() in DEF_TEST()
1548 .actual().nonAA().difference().rect(rt).rrect(rr).path(p) in DEF_TEST()
1557 .nonAA().difference().rrect(rr).path(p) in DEF_TEST()
1565 .actual().aa().intersect().rrect(rr) in DEF_TEST()
1568 .expect().aa().intersect().rrect(rr).finishElements() in DEF_TEST()
1575 .nonAA().difference().rect(rt).rrect(rr) in DEF_TEST()
1625 SkRRect rrect = SkRRect::MakeRectXY(rects[i], kR, kR); in DEF_TEST() local
1626 b.actual().rrect(rrect, GrAA::kYes, op); in DEF_TEST()
1629 expectedRRectIntersection, rrect); in DEF_TEST()
1632 b.expect().rrect(rrect, GrAA::kYes, SkClipOp::kDifference); in DEF_TEST()
1663 b.expect().rrect(expectedRRectIntersection, GrAA::kYes, SkClipOp::kIntersect); in DEF_TEST()
1685 SkRRect rrect = SkRRect::MakeRectXY({15.f, 12.25f, 40.3f, 23.5f}, 4.f, 6.f); in DEF_TEST() local
1686 cs.clipRRect(SkMatrix::I(), rrect, GrAA::kYes, SkClipOp::kIntersect); in DEF_TEST()
1707 REPORTER_ASSERT(r, rrectElem.fShape.rrect() == rrect && in DEF_TEST()