Lines Matching refs:Element
21 SkClipStack::Element::Element(const Element& that) { in Element() function in SkClipStack::Element
46 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
71 void SkClipStack::Element::replay(SkCanvasClipVisitor* visitor) const { in replay()
90 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
113 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, SkRegion::Op op, in initPath()
135 void SkClipStack::Element::asPath(SkPath* path) const { in asPath()
158 void SkClipStack::Element::setEmpty() { in setEmpty()
169 void SkClipStack::Element::checkEmpty() const { in checkEmpty()
177 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { in canBeIntersectedInPlace()
189 bool SkClipStack::Element::rectRectIntersectAllowed(const SkRect& newR, bool newAA) const { in rectRectIntersectAllowed()
217 void SkClipStack::Element::combineBoundsDiff(FillCombo combination, const SkRect& prevFinite) { in combineBoundsDiff()
259 void SkClipStack::Element::combineBoundsXOR(int combination, const SkRect& prevFinite) { in combineBoundsXOR()
292 void SkClipStack::Element::combineBoundsUnion(int combination, const SkRect& prevFinite) { in combineBoundsUnion()
322 void SkClipStack::Element::combineBoundsIntersection(int combination, const SkRect& prevFinite) { in combineBoundsIntersection()
353 void SkClipStack::Element::combineBoundsRevDiff(int combination, const SkRect& prevFinite) { in combineBoundsRevDiff()
387 void SkClipStack::Element::updateBoundAndGenID(const Element* prior) { in updateBoundAndGenID()
495 : fDeque(sizeof(Element), kDefaultElementAllocCnt) in SkClipStack()
500 : fDeque(sizeof(Element), kDefaultElementAllocCnt) { in SkClipStack()
505 : fDeque(sizeof(Element), kDefaultElementAllocCnt) in SkClipStack()
513 : fDeque(sizeof(Element), kDefaultElementAllocCnt) in SkClipStack()
534 for (const Element* element = (const Element*)recIter.next(); in operator =()
536 element = (const Element*)recIter.next()) { in operator =()
537 new (fDeque.push_back()) Element(*element); in operator =()
553 const Element* myElement = (const Element*)myIter.next(); in operator ==()
554 const Element* bElement = (const Element*)bIter.next(); in operator ==()
560 myElement = (const Element*)myIter.next(); in operator ==()
561 bElement = (const Element*)bIter.next(); in operator ==()
570 Element* element = (Element*)fDeque.back(); in reset()
571 element->~Element(); in reset()
589 Element* element = (Element*)fDeque.back(); in restoreTo()
593 element->~Element(); in restoreTo()
603 Element* element = (Element*)fDeque.back(); in getBounds()
625 const Element* element = iter.prev(); in quickContains()
654 while (const SkClipStack::Element* element = iter.next()) { in asPath()
656 if (element->getType() != SkClipStack::Element::kEmpty_Type) { in asPath()
676 void SkClipStack::pushElement(const Element& element) { in pushElement()
679 Element* prior = (Element*) iter.prev(); in pushElement()
684 case Element::kEmpty_Type: in pushElement()
687 case Element::kRect_Type: in pushElement()
688 if (Element::kRect_Type == element.getType()) { in pushElement()
698 Element* priorPrior = (Element*) iter.prev(); in pushElement()
714 prior = (Element*) fDeque.back(); in pushElement()
717 Element* newElement = new (fDeque.push_back()) Element(element); in pushElement()
722 Element element(fSaveCount, rrect, op, doAA); in clipDevRRect()
727 Element element(fSaveCount, rect, op, doAA); in clipDevRect()
732 Element element(fSaveCount, path, op, doAA); in clipDevPath()
737 Element* element = (Element*) fDeque.back(); in clipEmpty()
742 new (fDeque.push_back()) Element(fSaveCount); in clipEmpty()
744 ((Element*)fDeque.back())->fGenID = kEmptyGenID; in clipEmpty()
761 const SkClipStack::Element* SkClipStack::Iter::next() { in next()
762 return (const SkClipStack::Element*)fIter.next(); in next()
765 const SkClipStack::Element* SkClipStack::Iter::prev() { in prev()
766 return (const SkClipStack::Element*)fIter.prev(); in prev()
769 const SkClipStack::Element* SkClipStack::Iter::skipToTopmost(SkRegion::Op op) { in skipToTopmost()
777 const SkClipStack::Element* element = nullptr; in skipToTopmost()
779 for (element = (const SkClipStack::Element*) fIter.prev(); in skipToTopmost()
781 element = (const SkClipStack::Element*) fIter.prev()) { in skipToTopmost()
852 const Element* back = static_cast<const Element*>(fDeque.back()); in getTopmostGenID()
861 void SkClipStack::Element::dump() const { in dump()
912 const Element* e; in dump()