Searched refs:DeviceSpaceType (Results 1 – 16 of 16) sorted by relevance
24 case DeviceSpaceType::kEmpty: in Element()29 case DeviceSpaceType::kRect: // Rect uses rrect in Element()30 case DeviceSpaceType::kRRect: in Element()35 case DeviceSpaceType::kPath: in Element()39 case DeviceSpaceType::kShader: in Element()73 case DeviceSpaceType::kShader: in operator ==()75 case DeviceSpaceType::kPath: in operator ==()77 case DeviceSpaceType::kRRect: in operator ==()79 case DeviceSpaceType::kRect: in operator ==()81 case DeviceSpaceType::kEmpty: in operator ==()[all …]
54 enum class DeviceSpaceType { enum68 static const int kTypeCnt = (int)DeviceSpaceType::kLastType + 1;99 DeviceSpaceType getDeviceSpaceType() const { return fDeviceSpaceType; } in getDeviceSpaceType()106 SkASSERT(DeviceSpaceType::kPath == fDeviceSpaceType); in getDeviceSpacePath()112 SkASSERT(DeviceSpaceType::kRRect == fDeviceSpaceType); in getDeviceSpaceRRect()118 SkASSERT(DeviceSpaceType::kRect == fDeviceSpaceType && in getDeviceSpaceRect()140 SkASSERT(DeviceSpaceType::kPath != fDeviceSpaceType); in asDeviceSpaceRRect()178 return DeviceSpaceType::kPath == fDeviceSpaceType && in isInverseFilled()216 DeviceSpaceType fDeviceSpaceType;
22 case DeviceSpaceType::kEmpty: in Element()26 case DeviceSpaceType::kRect: // Rect uses rrect in Element()27 case DeviceSpaceType::kRRect: in Element()31 case DeviceSpaceType::kPath: in Element()64 case DeviceSpaceType::kPath: in operator ==()66 case DeviceSpaceType::kRRect: in operator ==()68 case DeviceSpaceType::kRect: in operator ==()70 case DeviceSpaceType::kEmpty: in operator ==()81 case DeviceSpaceType::kRect: // fallthrough in getBounds()82 case DeviceSpaceType::kRRect: in getBounds()[all …]
53 enum class DeviceSpaceType { enum65 static const int kTypeCnt = (int)DeviceSpaceType::kLastType + 1;92 DeviceSpaceType getDeviceSpaceType() const { return fDeviceSpaceType; } in getDeviceSpaceType()99 SkASSERT(DeviceSpaceType::kPath == fDeviceSpaceType); in getDeviceSpacePath()105 SkASSERT(DeviceSpaceType::kRRect == fDeviceSpaceType); in getDeviceSpaceRRect()111 SkASSERT(DeviceSpaceType::kRect == fDeviceSpaceType && in getDeviceSpaceRect()125 SkASSERT(DeviceSpaceType::kPath != fDeviceSpaceType); in asDeviceSpaceRRect()163 return DeviceSpaceType::kPath == fDeviceSpaceType && in isInverseFilled()200 DeviceSpaceType fDeviceSpaceType;
182 if (element->getDeviceSpaceType() == Element::DeviceSpaceType::kShader) { in walkStack()501 SkASSERT(element->getDeviceSpaceType() != Element::DeviceSpaceType::kShader); in clipInsideElement()516 case Element::DeviceSpaceType::kEmpty: in clipInsideElement()519 case Element::DeviceSpaceType::kRect: in clipInsideElement()538 case Element::DeviceSpaceType::kRRect: in clipInsideElement()543 case Element::DeviceSpaceType::kPath: in clipInsideElement()547 case Element::DeviceSpaceType::kShader: in clipInsideElement()555 SkASSERT(element->getDeviceSpaceType() != Element::DeviceSpaceType::kShader); in clipOutsideElement()558 case Element::DeviceSpaceType::kEmpty: in clipOutsideElement()561 case Element::DeviceSpaceType::kRect: in clipOutsideElement()[all …]
97 if (Element::DeviceSpaceType::kRect == element->getDeviceSpaceType()) { in PathNeedsSWRenderer()103 SkASSERT(Element::DeviceSpaceType::kEmpty != element->getDeviceSpaceType()); in PathNeedsSWRenderer()439 if (Element::DeviceSpaceType::kRect == element->getDeviceSpaceType()) { in draw_clip_elements_to_mask_helper()441 } else if (Element::DeviceSpaceType::kRRect == element->getDeviceSpaceType()) { in draw_clip_elements_to_mask_helper()
495 case Element::DeviceSpaceType::kEmpty: in clipInsideElement()498 case Element::DeviceSpaceType::kRect: in clipInsideElement()517 case Element::DeviceSpaceType::kRRect: in clipInsideElement()522 case Element::DeviceSpaceType::kPath: in clipInsideElement()533 case Element::DeviceSpaceType::kEmpty: in clipOutsideElement()536 case Element::DeviceSpaceType::kRect: in clipOutsideElement()549 case Element::DeviceSpaceType::kRRect: { in clipOutsideElement()589 case Element::DeviceSpaceType::kPath: in clipOutsideElement()690 case SkClipStack::Element::DeviceSpaceType::kEmpty: in stencil_element()693 case SkClipStack::Element::DeviceSpaceType::kRect: in stencil_element()[all …]
98 if (Element::DeviceSpaceType::kRect == element->getDeviceSpaceType()) { in PathNeedsSWRenderer()107 SkASSERT(Element::DeviceSpaceType::kEmpty != element->getDeviceSpaceType()); in PathNeedsSWRenderer()448 if (Element::DeviceSpaceType::kRect == element->getDeviceSpaceType()) { in draw_clip_elements_to_mask_helper()
17 if (element->getDeviceSpaceType() == SkClipStack::Element::DeviceSpaceType::kShader) { in SkClipStack_AsPath()23 if (element->getDeviceSpaceType() != SkClipStack::Element::DeviceSpaceType::kEmpty) { in SkClipStack_AsPath()
109 case SkClipStack::Element::DeviceSpaceType::kShader: in onCoverClipStack()112 case SkClipStack::Element::DeviceSpaceType::kPath: in onCoverClipStack()115 case SkClipStack::Element::DeviceSpaceType::kRRect: in onCoverClipStack()118 case SkClipStack::Element::DeviceSpaceType::kRect: in onCoverClipStack()121 case SkClipStack::Element::DeviceSpaceType::kEmpty: in onCoverClipStack()
185 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == in test_iterators()201 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == in test_iterators()216 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == in test_iterators()224 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds()283 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds()297 case SkClipStack::Element::DeviceSpaceType::kShader: in test_bounds()298 case SkClipStack::Element::DeviceSpaceType::kEmpty: in test_bounds()301 case SkClipStack::Element::DeviceSpaceType::kRect: in test_bounds()305 case SkClipStack::Element::DeviceSpaceType::kRRect: in test_bounds()309 case SkClipStack::Element::DeviceSpaceType::kPath: in test_bounds()[all …]
84 case SkClipStack::Element::DeviceSpaceType::kPath: in onCoverClipStack()87 case SkClipStack::Element::DeviceSpaceType::kRRect: in onCoverClipStack()90 case SkClipStack::Element::DeviceSpaceType::kRect: in onCoverClipStack()93 case SkClipStack::Element::DeviceSpaceType::kEmpty: in onCoverClipStack()
183 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == in test_iterators()199 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == in test_iterators()214 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == in test_iterators()222 SkClipStack::Element::DeviceSpaceType primType) { in test_bounds()281 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds()295 case SkClipStack::Element::DeviceSpaceType::kEmpty: in test_bounds()298 case SkClipStack::Element::DeviceSpaceType::kRect: in test_bounds()302 case SkClipStack::Element::DeviceSpaceType::kRRect: in test_bounds()306 case SkClipStack::Element::DeviceSpaceType::kPath: in test_bounds()318 if (SkClipStack::Element::DeviceSpaceType::kRect == primType) { in test_bounds()[all …]
34 case SkClipStack::Element::DeviceSpaceType::kEmpty: in is_rect()36 case SkClipStack::Element::DeviceSpaceType::kRect: in is_rect()
747 case SkClipStack::Element::DeviceSpaceType::kEmpty: { in syncClipStack()751 case SkClipStack::Element::DeviceSpaceType::kRect: { in syncClipStack()755 case SkClipStack::Element::DeviceSpaceType::kRRect: { in syncClipStack()765 case SkClipStack::Element::DeviceSpaceType::kPath: { in syncClipStack()773 case SkClipStack::Element::DeviceSpaceType::kShader: in syncClipStack()
227 case SkClipStack::Element::DeviceSpaceType::kEmpty: in is_rect()229 case SkClipStack::Element::DeviceSpaceType::kRect: in is_rect()