• Home
  • Raw
  • Download

Lines Matching refs:element

36         const Element* element = iter.prev();  in reduced_stack_walker()  local
37 if (nullptr == element) { in reduced_stack_walker()
41 if (SkClipStack::kEmptyGenID == element->getGenID()) { in reduced_stack_walker()
45 if (SkClipStack::kWideOpenGenID == element->getGenID()) { in reduced_stack_walker()
53 switch (element->getOp()) { in reduced_stack_walker()
57 if (element->isInverseFilled()) { in reduced_stack_walker()
58 if (element->contains(queryBounds)) { in reduced_stack_walker()
60 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
65 if (element->contains(queryBounds)) { in reduced_stack_walker()
68 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
80 if (element->isInverseFilled()) { in reduced_stack_walker()
81 if (element->contains(queryBounds)) { in reduced_stack_walker()
84 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
88 if (element->contains(queryBounds)) { in reduced_stack_walker()
90 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
103 if (element->isInverseFilled()) { in reduced_stack_walker()
104 if (element->contains(queryBounds)) { in reduced_stack_walker()
106 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
111 if (element->contains(queryBounds)) { in reduced_stack_walker()
114 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
127 if (element->isInverseFilled()) { in reduced_stack_walker()
128 if (element->contains(queryBounds)) { in reduced_stack_walker()
130 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
134 if (element->contains(queryBounds)) { in reduced_stack_walker()
136 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
149 if (element->isInverseFilled()) { in reduced_stack_walker()
150 if (element->contains(queryBounds)) { in reduced_stack_walker()
153 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
157 if (element->contains(queryBounds)) { in reduced_stack_walker()
159 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
173 if (element->isInverseFilled()) { in reduced_stack_walker()
174 if (element->contains(queryBounds)) { in reduced_stack_walker()
177 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
182 if (element->contains(queryBounds)) { in reduced_stack_walker()
185 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
202 *resultGenID = element->getGenID(); in reduced_stack_walker()
207 SkASSERT(SkRegion::kXOR_Op == element->getOp() || in reduced_stack_walker()
208 SkRegion::kReverseDifference_Op == element->getOp()); in reduced_stack_walker()
211 Element* newElement = result->addToHead(*element); in reduced_stack_walker()
236 Element* element = result->headIter().get(); in reduced_stack_walker() local
237 while (element) { in reduced_stack_walker()
239 switch (element->getOp()) { in reduced_stack_walker()
251 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
260 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
266 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
276 skippable = element->isInverseFilled() ? in reduced_stack_walker()
277 !SkRect::Intersects(element->getBounds(), queryBounds) : in reduced_stack_walker()
278 element->contains(queryBounds); in reduced_stack_walker()
282 element->setOp(SkRegion::kReplace_Op); in reduced_stack_walker()
297 if (element->isAA()) { in reduced_stack_walker()
301 element = result->headIter().get(); in reduced_stack_walker()