Home | History | Annotate | Download | only in core

Lines Matching defs:prior

248             // prior clip. This could be wildly incorrect if the
251 // size of the prior bound (e.g., if the second clip
252 // exactly matched the bottom half of the prior clip).
307 // the prior clip's finite bound
380 // current clip. The prior clip could reduce the size of this
390 void SkClipStack::Element::updateBoundAndGenID(const Element* prior) {
404 (kIntersect_SkClipOp == fOp && nullptr == prior) ||
405 (kIntersect_SkClipOp == fOp && prior->fIsIntersectionOfRects &&
406 prior->rectRectIntersectAllowed(this->getRect(), fDoAA))) {
440 if (nullptr == prior) {
441 // no prior clip means the entire plane is writable
445 prevFinite = prior->fFiniteBound;
446 prevType = prior->fFiniteBoundType;
462 // Now integrate with clip with the prior clips
480 // Replace just ignores everything prior
708 Element* prior = (Element*) iter.prev();
710 if (prior) {
711 if (prior->canBeIntersectedInPlace(fSaveCount, element.getOp())) {
712 switch (prior->fType) {
714 SkDEBUGCODE(prior->checkEmpty();)
718 if (prior->rectRectIntersectAllowed(element.getRect(), element.isAA())) {
720 if (!isectRect.intersect(prior->getRect(), element.getRect())) {
721 prior->setEmpty();
725 prior->fRRect.setRect(isectRect);
726 prior->fDoAA = element.isAA();
728 prior->updateBoundAndGenID(priorPrior);
735 if (!SkRect::Intersects(prior->getBounds(), element.getBounds())) {
736 prior->setEmpty();
743 prior = (Element*) fDeque.back();
747 newElement->updateBoundAndGenID(prior);
928 while (const Element* prior = (const Element*)iter.prev()) {
929 if ((prior->getOp() != kIntersect_SkClipOp &&
930 prior->getOp() != kReplace_SkClipOp) ||
931 !prior->contains(backBounds)) {
934 if (prior->getOp() == kReplace_SkClipOp) {