Lines Matching refs:Element
25 typedef SkClipStack::Element Element;
84 // Does the path in 'element' require SW rendering? If so, return true (and,
91 const Element* element,
94 if (Element::kRect_Type == element->getType()) {
102 // We shouldn't get here with an empty clip element.
103 SkASSERT(Element::kEmpty_Type != element->getType());
107 element->asPath(&path);
121 if (!element->isAA()) {
144 * will be used on any element. If so, it returns true to indicate that the
161 const Element* element = iter.get();
163 SkClipOp op = element->getOp();
164 bool invert = element->isInverseFilled();
169 renderTargetContext, translate, element, nullptr, needsStencil)) {
200 // element's primitive, so don't attempt to set skip.
219 case SkClipStack::Element::kPath_Type:
222 case SkClipStack::Element::kRRect_Type: {
226 case SkClipStack::Element::kRect_Type: {
286 // An element count of 4 was chosen because of the common pattern in Blink of:
373 while (const Element* element = iter.prev()) {
374 if (element->getGenID() == clipGenID) {
377 element->addResourceInvalidationMessage(std::move(msg));
449 const Element* element = iter.get();
450 SkClipOp op = element->getOp();
451 GrAA aa = GrBoolToAA(element->isAA());
464 element->asPath(&clipPath);
473 if (Element::kRect_Type == element->getType()) {
474 helper.drawRect(element->getRect(), (SkRegion::Op)op, aa, 0xFF);
477 element->asPath(&path);