/third_party/skia/modules/sksg/src/ |
D | SkSGRect.cpp | 40 RRect::RRect(const SkRRect& rr) : fRRect(rr) {} in RRect() 43 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip() 47 canvas->drawRRect(fRRect, paint); in onDraw() 51 if (!fRRect.rect().contains(p.x(), p.y())) { in onContains() 55 if (fRRect.isRect()) { in onContains() 60 return fRRect.contains(SkRect::MakeLTRB(p.x() - SK_ScalarNearlyZero, in onContains() 69 return fRRect.getBounds(); in onRevalidate() 73 return SkPath::RRect(fRRect, this->getDirection(), this->getInitialPointIndex()); in onAsPath()
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGRect.cpp | 42 RRect::RRect(const SkRRect& rr) : fRRect(rr) {} in RRect() 45 canvas->clipRRect(fRRect, SkClipOp::kIntersect, antiAlias); in onClip() 49 canvas->drawRRect(fRRect, paint); in onDraw() 53 if (!fRRect.rect().contains(p.x(), p.y())) { in onContains() 57 if (fRRect.isRect()) { in onContains() 62 return fRRect.contains(SkRect::MakeLTRB(p.x() - SK_ScalarNearlyZero, in onContains() 71 return fRRect.getBounds(); in onRevalidate() 76 path.addRRect(fRRect, this->getDirection(), this->getInitialPointIndex()); in onAsPath()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrShape.h | 57 fRRectData.fRRect = rrect; in GrShape() 68 fRRectData.fRRect = rrect; in GrShape() 73 if (fRRectData.fRRect.getType() == SkRRect::kRect_Type) { in GrShape() 75 } else if (fRRectData.fRRect.getType() == SkRRect::kOval_Type) { in GrShape() 86 fRRectData.fRRect = SkRRect::MakeRect(rect); in GrShape() 100 fRRectData.fRRect = rrect; in GrShape() 109 fRRectData.fRRect = SkRRect::MakeRect(rect); in GrShape() 159 return fRRectData.fRRect.isRect(); in isRect() 168 *rrect = fRRectData.fRRect; in asRRect() 212 out->addRRect(fRRectData.fRRect, fRRectData.fDir, fRRectData.fStart); in asPath() [all …]
|
D | GrShape.cpp | 85 result.fRRectData.fRRect = original.fRRectData.fRRect; in MakeFilled() 159 return fRRectData.fRRect.getBounds(); in bounds() 274 fRRectData.fRRect.writeToMemory(key); in writeUnstyledKey() 525 fRRectData.fRRect = rrect; in attemptToSimplifyPath() 529 SkASSERT(!fRRectData.fRRect.isEmpty()); in attemptToSimplifyPath() 532 fRRectData.fRRect.setOval(rect); in attemptToSimplifyPath() 542 fRRectData.fRRect.setRect(rect); in attemptToSimplifyPath() 552 fRRectData.fRRect.setRect(rect); in attemptToSimplifyPath() 605 if (fRRectData.fRRect.isEmpty()) { in attemptToSimplifyRRect() 615 if (fStyle.isDashed() && !fRRectData.fRRect.width() && !fRRectData.fRRect.height()) { in attemptToSimplifyRRect() [all …]
|
/third_party/skia/src/gpu/geometry/ |
D | GrShape.cpp | 25 this->setRRect(shape.fRRect); in operator =() 159 fRRect = rrect; in simplifyRRect() 164 SkASSERT(fRRect == rrect && this->dir() == dir && this->startIndex() == start); in simplifyRRect() 262 this->simplifyRRect(fRRect, this->dir(), this->startIndex(), flags); in simplify() 293 return fRRect.contains(rect); in conservativeContains() 318 return SkRRectPriv::ContainsPoint(fRRect, point); in conservativeContains() 374 return fRRect.getBounds(); in bounds() 395 if (fRRect.isEmpty() || fRRect.isRect()) { in segmentMask() 397 } else if (fRRect.isOval()) { in segmentMask() 443 out->addRRect(fRRect, this->dir(), this->startIndex()); in asPath()
|
D | GrShape.h | 136 SkRRect& rrect() { SkASSERT(this->isRRect()); return fRRect; } in rrect() 137 const SkRRect& rrect() const { SkASSERT(this->isRRect()); return fRRect; } in rrect() 164 fRRect = rrect; in setRRect() 269 SkRRect fRRect; member
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Shape.cpp | 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() 77 case Type::kRRect: return fRRect.getBounds(); in bounds() 94 case Type::kRRect: builder.addRRect(fRRect); break; in asPath()
|
D | Shape.h | 108 const SkRRect& rrect() const { SkASSERT(this->isRRect()); return fRRect; } in rrect() 135 fRRect = rrect; in setRRect() 165 SkRRect fRRect; member
|
/third_party/skia/src/gpu/effects/ |
D | GrRRectEffect.cpp | 69 SkRRect fRRect; member in __anon6efb9f330111::CircularRRectEffect 96 , fRRect(rrect) in CircularRRectEffect() 104 , fRRect(that.fRRect) in CircularRRectEffect() 115 return fEdgeType == crre.fEdgeType && fRRect == crre.fRRect; in onIsEqual() 295 const SkRRect& rrect = crre.fRRect; in onSetData() 408 SkRRect fRRect; member in __anon6efb9f330211::EllipticalRRectEffect 432 , fRRect(rrect) in EllipticalRRectEffect() 439 , fRRect(that.fRRect) in EllipticalRRectEffect() 448 return fEdgeType == erre.fEdgeType && fRRect == erre.fRRect; in onIsEqual() 544 switch (erre.fRRect.getType()) { in emitCode() [all …]
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrRRectEffect.cpp | 57 const SkRRect& getRRect() const { return fRRect; } in getRRect() 72 SkRRect fRRect; member in CircularRRectEffect 94 , fRRect(rrect) in CircularRRectEffect() 101 new CircularRRectEffect(fEdgeType, fCircularCornerFlags, fRRect)); in clone() 107 return fEdgeType == crre.fEdgeType && fRRect == crre.fRRect; in onIsEqual() 395 const SkRRect& getRRect() const { return fRRect; } in getRRect() 408 SkRRect fRRect; member in EllipticalRRectEffect 426 , fRRect(rrect) in EllipticalRRectEffect() 431 return std::unique_ptr<GrFragmentProcessor>(new EllipticalRRectEffect(fEdgeType, fRRect)); in clone() 436 return fEdgeType == erre.fEdgeType && fRRect == erre.fRRect; in onIsEqual()
|
/third_party/flutter/skia/gm/ |
D | bigrrectaaeffect.cpp | 44 : fRRect(rrect) in BigRRectAAEffectGM() 91 SkRRect rrect = fRRect; in onDraw() 120 SkRRect fRRect; member in skiagm::BigRRectAAEffectGM
|
/third_party/skia/gm/ |
D | bigrrectaaeffect.cpp | 42 : fRRect(rrect) in BigRRectAAEffectGM() 92 SkRRect rrect = fRRect; in onDraw() 124 SkRRect fRRect; member in skiagm::BigRRectAAEffectGM
|
/third_party/skia/src/gpu/ops/ |
D | FillRRectOp.cpp | 117 : fViewMatrix(viewMatrix), fRRect(rrect), fLocalRect(localRect), fColor(color) {} in Instance() 119 SkRRect fRRect; member 263 if (fHeadInstance->fRRect.isRect() && clipRRect.isRect()) { in clipToShape() 265 if (!isectRect.intersect(fHeadInstance->fRRect.rect(), clipRRect.rect())) { in clipToShape() 270 isectRRect = SkRRectPriv::ConservativeIntersect(fHeadInstance->fRRect, clipRRect); in clipToShape() 286 auto rect = skvx::bit_pun<grvx::float4>(fHeadInstance->fRRect.rect()); in clipToShape() 294 fHeadInstance->fRRect = isectRRect; in clipToShape() 524 auto [l, t, r, b] = i->fRRect.rect(); in onPrepareDraws() 535 skvx::strided_load2(&SkRRectPriv::GetRadiiArray(i->fRRect)->fX, radiiX, radiiY); in onPrepareDraws()
|
/third_party/skia/bench/ |
D | ShapesBench.cpp | 141 fRRect.setNinePatch(fRect.rect(), w / 8, h / 13, w / 11, h / 7); in onDelayedSetup() 186 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup() 194 case kRRect_ShapesType: outer = &fRRect; break; in onDelayedSetup() 242 SkRRect fRRect; member in ShapesBench
|
/third_party/flutter/skia/bench/ |
D | ShapesBench.cpp | 141 fRRect.setNinePatch(fRect.rect(), w / 8, h / 13, w / 11, h / 7); in onDelayedSetup() 186 fShapes[i].fDraw = bind(&SkCanvas::drawRRect, _1, cref(fRRect), _2); in onDelayedSetup() 194 case kRRect_ShapesType: outer = &fRRect; break; in onDelayedSetup() 242 SkRRect fRRect; member in ShapesBench
|
/third_party/flutter/skia/src/core/ |
D | SkMaskCache.cpp | 26 , fRRect(rrect) in RRectBlurKey() 29 sizeof(fSigma) + sizeof(fStyle) + sizeof(fRRect)); in RRectBlurKey() 34 SkRRect fRRect; member
|
/third_party/skia/src/core/ |
D | SkMaskCache.cpp | 26 , fRRect(rrect) in RRectBlurKey() 29 sizeof(fSigma) + sizeof(fStyle) + sizeof(fRRect)); in RRectBlurKey() 34 SkRRect fRRect; member
|
/third_party/skia/modules/sksg/include/ |
D | SkSGRect.h | 76 SG_ATTRIBUTE(RRect, SkRRect, fRRect) 92 SkRRect fRRect; variable
|
/third_party/flutter/skia/modules/sksg/include/ |
D | SkSGRect.h | 76 SG_ATTRIBUTE(RRect, SkRRect, fRRect) 92 SkRRect fRRect; variable
|
/third_party/skia/src/gpu/ |
D | GrClip.h | 36 SkRRect fRRect; // Ignore if 'isRRect' is false member 44 , fRRect(rrect) in PreClipResult()
|
/third_party/flutter/skia/tools/debugger/ |
D | DrawCommand.cpp | 1076 fRRect = rrect; in ClipRRectCommand() 1081 void ClipRRectCommand::execute(SkCanvas* canvas) const { canvas->clipRRect(fRRect, fOp, fDoAA); } in execute() 1084 render_rrect(canvas, fRRect); in render() 1091 make_json_rrect(writer, fRRect); in toJSON() 1881 fRRect = rrect; in DrawRRectCommand() 1885 void DrawRRectCommand::execute(SkCanvas* canvas) const { canvas->drawRRect(fRRect, fPaint); } in execute() 1888 render_rrect(canvas, fRRect); in render() 1895 make_json_rrect(writer, fRRect); in toJSON()
|
D | DrawCommand.h | 189 SkRRect fRRect; 566 SkRRect fRRect;
|
/third_party/skia/tools/debugger/ |
D | DrawCommand.cpp | 1048 fRRect = rrect; in ClipRRectCommand() 1053 void ClipRRectCommand::execute(SkCanvas* canvas) const { canvas->clipRRect(fRRect, fOp, fDoAA); } in execute() 1056 render_rrect(canvas, fRRect); in render() 1063 make_json_rrect(writer, fRRect); in toJSON() 1786 fRRect = rrect; in DrawRRectCommand() 1790 void DrawRRectCommand::execute(SkCanvas* canvas) const { canvas->drawRRect(fRRect, fPaint); } in execute() 1793 render_rrect(canvas, fRRect); in render() 1800 make_json_rrect(writer, fRRect); in toJSON()
|
/third_party/flutter/skia/tests/ |
D | GrShapeTest.cpp | 369 RRectGeo(const SkRRect& rrect) : fRRect(rrect) {} in RRectGeo() 372 return GrShape(fRRect, paint); in makeShape() 377 path.addRRect(fRRect); in path() 383 if (fRRect.isRect()) { in strokeAndFillIsConvertedToFill() 384 return RectGeo(fRRect.rect()).strokeAndFillIsConvertedToFill(paint); in strokeAndFillIsConvertedToFill() 390 SkRRect fRRect; member in __anon513ea9cd0111::RRectGeo 495 , fRRect(equivalentRRect) in RRectPathGeo() 509 const SkRRect& rrect() const { return fRRect; } in rrect() 512 SkRRect fRRect; member in __anon513ea9cd0111::RRectPathGeo
|
/third_party/skia/tests/ |
D | GrStyledShapeTest.cpp | 375 RRectGeo(const SkRRect& rrect) : fRRect(rrect) {} in RRectGeo() 378 return GrStyledShape(fRRect, paint); in makeShape() 383 path.addRRect(fRRect); in path() 389 if (fRRect.isRect()) { in strokeAndFillIsConvertedToFill() 390 return RectGeo(fRRect.rect()).strokeAndFillIsConvertedToFill(paint); in strokeAndFillIsConvertedToFill() 396 SkRRect fRRect; member in __anona06219ed0111::RRectGeo 502 , fRRect(equivalentRRect) in RRectPathGeo() 516 const SkRRect& rrect() const { return fRRect; } in rrect() 519 SkRRect fRRect; member in __anona06219ed0111::RRectPathGeo
|