Home
last modified time | relevance | path

Searched refs:kRRect (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/experimental/graphite/src/geom/
DShape.cpp21 case Type::kRRect: this->setRRect(shape.rrect()); break; in operator =()
34 case Type::kRRect: return fRRect.contains(rect.asSkRect()); in conservativeContains()
45 case Type::kRRect: return SkRRectPriv::ContainsPoint(fRRect, {point.x(), point.y()}); in conservativeContains()
56 case Type::kRRect: return true; in closed()
77 case Type::kRRect: return fRRect.getBounds(); in bounds()
94 case Type::kRRect: builder.addRRect(fRRect); break; in asPath()
DShape.h30 kEmpty, kLine, kRect, kRRect, kPath enumerator
61 bool isRRect() const { return fType == Type::kRRect; } in isRRect()
134 this->setType(Type::kRRect); in setRRect()
/third_party/flutter/skia/src/gpu/geometry/
DGrShape.h56 this->initType(Type::kRRect); in GrShape()
67 this->initType(Type::kRRect); in GrShape()
85 this->initType(Type::kRRect); in GrShape()
99 this->initType(Type::kRRect); in GrShape()
108 this->initType(Type::kRRect); in GrShape()
155 if (Type::kRRect != fType) { in isRect()
164 if (Type::kRRect != fType) { in asRRect()
210 case Type::kRRect: in asPath()
320 case Type::kRRect: in knownToBeConvex()
349 case Type::kRRect: in inverseFilled()
[all …]
DGrShape.cpp20 case Type::kRRect: in operator =()
83 case Type::kRRect: in MakeFilled()
158 case Type::kRRect: in bounds()
231 case Type::kRRect: in unstyledKeySize()
273 case Type::kRRect: in writeUnstyledKey()
394 case Type::kRRect: in GrShape()
524 this->changeType(Type::kRRect); in attemptToSimplifyPath()
531 this->changeType(Type::kRRect); in attemptToSimplifyPath()
538 this->changeType(Type::kRRect); in attemptToSimplifyPath()
551 this->changeType(Type::kRRect); in attemptToSimplifyPath()
[all …]
/third_party/skia/src/gpu/geometry/
DGrShape.cpp24 case Type::kRRect: in operator =()
158 this->setType(Type::kRRect); in simplifyRRect()
241 SkASSERT((fType == Type::kRect || fType == Type::kRRect) || in simplify()
261 case Type::kRRect: in simplify()
276 if (((flags & kIgnoreWinding_Flag) || (fType != Type::kRect && fType != Type::kRRect))) { in simplify()
292 case Type::kRRect: in conservativeContains()
317 case Type::kRRect: in conservativeContains()
329 case Type::kRRect: in closed()
347 case Type::kRRect: in convex()
373 case Type::kRRect: in bounds()
[all …]
DGrShape.h53 kEmpty, kPoint, kRect, kRRect, kPath, kArc, kLine enumerator
86 bool isRRect() const { return this->type() == Type::kRRect; } in isRRect()
163 this->reset(Type::kRRect); in setRRect()
DGrStyledShape.cpp148 case GrShape::Type::kRRect: in unstyledKeySize()
218 case GrShape::Type::kRRect: in writeUnstyledKey()
/third_party/flutter/skia/src/core/
DSkPath_serial.cpp38 kRRect = 1 enumerator
77 (SerializationType::kRRect << kType_SerializationShift) | in writeToMemoryAsRRect()
164 SkASSERT(extract_serializationtype(packed) == SerializationType::kRRect); in readAsRRect()
205 case SerializationType::kRRect: in readFromMemory_EQ4()
295 case SerializationType::kRRect: in readFromMemory_LE3()
DSkClipStack.cpp27 case DeviceSpaceType::kRRect: in Element()
66 case DeviceSpaceType::kRRect: in operator ==()
82 case DeviceSpaceType::kRRect: in getBounds()
98 case DeviceSpaceType::kRRect: in contains()
114 case DeviceSpaceType::kRRect: in contains()
135 case DeviceSpaceType::kRRect: in invertShapeFillType()
185 fDeviceSpaceType = DeviceSpaceType::kRRect; in initRRect()
232 case DeviceSpaceType::kRRect: in asDeviceSpacePath()
492 case DeviceSpaceType::kRRect: in updateBoundAndGenID()
976 back->getDeviceSpaceType() != SkClipStack::Element::DeviceSpaceType::kRRect) { in isRRect()
[all …]
DSkClipStack.h59 kRRect, enumerator
105 SkASSERT(DeviceSpaceType::kRRect == fDeviceSpaceType); in getDeviceSpaceRRect()
/third_party/skia/src/core/
DSkClipStack.cpp29 case DeviceSpaceType::kRRect: in Element()
78 case DeviceSpaceType::kRRect: in operator ==()
95 case DeviceSpaceType::kRRect: in getBounds()
116 case DeviceSpaceType::kRRect: in contains()
133 case DeviceSpaceType::kRRect: in contains()
155 case DeviceSpaceType::kRRect: in invertShapeFillType()
209 fDeviceSpaceType = DeviceSpaceType::kRRect; in initRRect()
270 case DeviceSpaceType::kRRect: in asDeviceSpacePath()
440 case DeviceSpaceType::kRRect: in updateBoundAndGenID()
894 back->getDeviceSpaceType() != SkClipStack::Element::DeviceSpaceType::kRRect) { in isRRect()
[all …]
DSkPath_serial.cpp41 kRRect = 1 enumerator
80 (SerializationType::kRRect << kType_SerializationShift) | in writeToMemoryAsRRect()
168 SkASSERT(extract_serializationtype(packed) == SerializationType::kRRect); in readAsRRect()
212 case SerializationType::kRRect: in readFromMemory_EQ4Or5()
DSkClipStack.h59 kRRect, enumerator
115 SkASSERT(DeviceSpaceType::kRRect == fDeviceSpaceType); in getDeviceSpaceRRect()
/third_party/flutter/skia/gm/
Dblurignorexform.cpp33 kRRect, enumerator
153 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRRect);)
Dwindowrectangles.cpp113 case SkClipStack::Element::DeviceSpaceType::kRRect: in onCoverClipStack()
/third_party/skia/gm/
Dblurignorexform.cpp33 kRRect, enumerator
153 DEF_GM(return new BlurIgnoreXformGM(BlurIgnoreXformGM::DrawType::kRRect);)
Dwindowrectangles.cpp67 case SkClipStack::Element::DeviceSpaceType::kRRect: in coverClipStack()
/third_party/flutter/skia/src/gpu/
DGrReducedClip.cpp517 case Element::DeviceSpaceType::kRRect: in clipInsideElement()
548 case Element::DeviceSpaceType::kRRect: { in clipOutsideElement()
/third_party/skia/tests/
DClipStackTest.cpp273 case SkClipStack::Element::DeviceSpaceType::kRRect: in test_bounds()
889 test_bounds(reporter, SkClipStack::Element::DeviceSpaceType::kRRect); in DEF_TEST()
DGrClipStackTest.cpp287 case GrShape::Type::kRRect: in compare_elements()
324 case GrShape::Type::kRRect: in run()
1594 enum ShapeType { kRect, kRRect, kConvex }; in DEF_TEST() enumerator
1597 for (ShapeType type : { kRect, kRRect, kConvex }) { in DEF_TEST()
1624 case kRRect: { in DEF_TEST()
DGrStyledShapeTest.cpp1161 static const SkRRect kRRect = SkRRect::MakeRectXY(SkRect::MakeWH(12, 12), 3, 5); in test_path_effect_makes_rrect() local
1162 return kRRect; in test_path_effect_makes_rrect()
/third_party/flutter/skia/tests/
DClipStackTest.cpp304 case SkClipStack::Element::DeviceSpaceType::kRRect: in test_bounds()
933 case SkClipStack::Element::DeviceSpaceType::kRRect: in add_elem_to_stack()
1502 test_bounds(reporter, SkClipStack::Element::DeviceSpaceType::kRRect); in DEF_TEST()
DGrShapeTest.cpp1151 static const SkRRect kRRect = SkRRect::MakeRectXY(SkRect::MakeWH(12, 12), 3, 5); in test_path_effect_makes_rrect() local
1152 return kRRect; in test_path_effect_makes_rrect()
/third_party/skia/src/svg/
DSkSVGDevice.cpp760 case SkClipStack::Element::DeviceSpaceType::kRRect: { in syncClipStack()
/third_party/skia/src/gpu/v1/
DClipStack.cpp722 case GrShape::Type::kRRect: in clipType()