Lines Matching refs:prior
245 // prior clip. This could be wildly incorrect if the
248 // size of the prior bound (e.g., if the second clip
249 // exactly matched the bottom half of the prior clip).
304 // the prior clip's finite bound
377 // current clip. The prior clip could reduce the size of this
387 void SkClipStack::Element::updateBoundAndGenID(const Element* prior) {
401 (SkRegion::kIntersect_Op == fOp && nullptr == prior) ||
402 (SkRegion::kIntersect_Op == fOp && prior->fIsIntersectionOfRects &&
403 prior->rectRectIntersectAllowed(this->getRect(), fDoAA))) {
437 if (nullptr == prior) {
438 // no prior clip means the entire plane is writable
442 prevFinite = prior->fFiniteBound;
443 prevType = prior->fFiniteBoundType;
459 // Now integrate with clip with the prior clips
477 // Replace just ignores everything prior
679 Element* prior = (Element*) iter.prev();
681 if (prior) {
682 if (prior->canBeIntersectedInPlace(fSaveCount, element.getOp())) {
683 switch (prior->fType) {
685 SkDEBUGCODE(prior->checkEmpty();)
689 if (prior->rectRectIntersectAllowed(element.getRect(), element.isAA())) {
691 if (!isectRect.intersect(prior->getRect(), element.getRect())) {
692 prior->setEmpty();
696 prior->fRRect.setRect(isectRect);
697 prior->fDoAA = element.isAA();
699 prior->updateBoundAndGenID(priorPrior);
706 if (!SkRect::Intersects(prior->getBounds(), element.getBounds())) {
707 prior->setEmpty();
714 prior = (Element*) fDeque.back();
718 newElement->updateBoundAndGenID(prior);