Lines Matching defs:rect
218 return GrFPSuccess(GrFragmentProcessor::Rect(std::move(fp), edgeType, e.fShape.rect()));
224 // A convex hull can be transformed into device space (this will handle rect shapes with a
541 // rects because a non-AA axis aligned rect can always be set as just a scissor test or window
542 // rect, avoiding an expensive stencil mask generation.
555 fShape.rect() = outer;
606 // At the moment, only rect+rect or rrect+rrect are supported (although rect+rrect is
612 if (GrClip::IsPixelAligned(fShape.rect())) {
616 } else if (!GrClip::IsPixelAligned(other.fShape.rect())) {
627 if (!fShape.rect().intersect(other.fShape.rect())) {
639 // Treat rrect+rect intersections as rrect+rrect
640 SkRRect a = fShape.isRect() ? SkRRect::MakeRect(fShape.rect()) : fShape.rrect();
641 SkRRect b = other.fShape.isRect() ? SkRRect::MakeRect(other.fShape.rect())
649 fShape.setRect(joined.rect());
655 // Like the rect+rect combination, the intersection is actually empty
952 // NOTE: this does the right thing if either rect is empty, since we set the
1239 return {back.shape().rect(), back.aa()};
1530 void ClipStack::replaceClip(const SkIRect& rect) {
1540 if (rect != fDeviceBounds) {
1541 this->clipRect(SkMatrix::I(), SkRect::Make(rect), GrAA::kNo, SkClipOp::kIntersect);