• Home
  • Raw
  • Download

Lines Matching full:prior

364             // prior clip. This could be wildly incorrect if the  in combineBoundsDiff()
367 // size of the prior bound (e.g., if the second clip in combineBoundsDiff()
368 // exactly matched the bottom half of the prior clip). in combineBoundsDiff()
409 void SkClipStack::Element::updateBoundAndGenID(const Element* prior) { in updateBoundAndGenID() argument
423 (SkClipOp::kIntersect == fOp && nullptr == prior) || in updateBoundAndGenID()
424 (SkClipOp::kIntersect == fOp && prior->fIsIntersectionOfRects && in updateBoundAndGenID()
425 prior->rectRectIntersectAllowed(this->getDeviceSpaceRect(), fDoAA))) { in updateBoundAndGenID()
460 if (nullptr == prior) { in updateBoundAndGenID()
461 // no prior clip means the entire plane is writable in updateBoundAndGenID()
465 prevFinite = prior->fFiniteBound; in updateBoundAndGenID()
466 prevType = prior->fFiniteBoundType; in updateBoundAndGenID()
482 // Now integrate with clip with the prior clips in updateBoundAndGenID()
496 } // else Replace just ignores everything prior and should already have filled in bounds. in updateBoundAndGenID()
689 Element* prior = (Element*) iter.prev(); in pushElement() local
691 if (prior) { in pushElement()
694 prior = (Element*) fDeque.back(); in pushElement()
695 } else if (prior->canBeIntersectedInPlace(fSaveCount, element.getOp())) { in pushElement()
696 switch (prior->fDeviceSpaceType) { in pushElement()
698 SkDEBUGCODE(prior->checkEmpty();) in pushElement()
702 prior->fShader = SkShaders::Blend(SkBlendMode::kSrcIn, in pushElement()
703 element.fShader, prior->fShader); in pushElement()
705 prior->updateBoundAndGenID(priorPrior); in pushElement()
711 if (prior->rectRectIntersectAllowed(element.getDeviceSpaceRect(), in pushElement()
714 if (!isectRect.intersect(prior->getDeviceSpaceRect(), in pushElement()
716 prior->setEmpty(); in pushElement()
720 prior->fDeviceSpaceRRect.setRect(isectRect); in pushElement()
721 prior->fDoAA = element.isAA(); in pushElement()
723 prior->updateBoundAndGenID(priorPrior); in pushElement()
730 if (!SkRect::Intersects(prior->getBounds(), element.getBounds())) { in pushElement()
731 prior->setEmpty(); in pushElement()
739 newElement->updateBoundAndGenID(prior); in pushElement()
906 while (const Element* prior = (const Element*)iter.prev()) { in isRRect() local
908 if ((prior->getOp() != SkClipOp::kIntersect && !prior->isReplaceOp()) || in isRRect()
909 !prior->contains(backBounds)) { in isRRect()
912 if (prior->isReplaceOp()) { in isRRect()