Lines Matching defs:other
494 // Test the shapes directly against each other, with a special check for a rrect+rrect
496 // path for small paths means they contain each other).
598 bool ClipStack::RawElement::combine(const RawElement& other, const SaveRecord& current) {
602 if (other.fOp != SkClipOp::kIntersect || fOp != SkClipOp::kIntersect) {
609 if (fShape.isRect() && other.fShape.isRect()) {
610 bool aaMatch = fAA == other.fAA;
611 if (fLocalToDevice.isIdentity() && other.fLocalToDevice.isIdentity() && !aaMatch) {
613 // Our AA type doesn't really matter, take other's since its edges may not be
615 fAA = other.fAA;
616 } else if (!GrClip::IsPixelAligned(other.fShape.rect())) {
620 // Either we've updated this->fAA to actually match, or other->fAA doesn't matter so
621 // this can be set to true. We just can't modify other to set it's aa to this->fAA.
622 // But since 'this' becomes the combo of the two, other will be deleted so that's fine.
626 if (aaMatch && fLocalToDevice == other.fLocalToDevice) {
627 if (!fShape.rect().intersect(other.fShape.rect())) {
636 (other.fShape.isRect() || other.fShape.isRRect())) {
638 if (fAA == other.fAA && fLocalToDevice == other.fLocalToDevice) {
641 SkRRect b = other.fShape.isRect() ? SkRRect::MakeRect(other.fShape.rect())
642 : other.fShape.rrect();
666 SkASSERT(fOp == SkClipOp::kIntersect && other.fOp == SkClipOp::kIntersect);
667 SkAssertResult(fOuterBounds.intersect(other.fOuterBounds));
668 if (!fInnerBounds.intersect(other.fInnerBounds)) {