/third_party/flutter/skia/src/gpu/ |
D | GrStyle.cpp | 26 if (style.strokeRec().needToApply()) { in KeySize() 63 if (Apply::kPathEffectAndStrokeRec == apply && style.strokeRec().needToApply()) { in WriteKey() 80 cap = style.strokeRec().getCap(); in WriteKey() 87 join = style.strokeRec().getJoin(); in WriteKey() 90 miter = style.strokeRec().getMiter(); in WriteKey() 94 key[i++] = style.strokeRec().getStyle() | in WriteKey() 100 SkScalar width = style.strokeRec().getWidth(); in WriteKey() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() argument 145 if (!SkDashPath::InternalFilter(dst, src, strokeRec, in applyPathEffect() 151 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect() [all …]
|
D | GrStyle.h | 80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() argument 139 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() function 208 bool applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const;
|
D | GrSWMaskHelper.cpp | 59 shape.style().strokeRec().applyToPaint(&paint); in drawShape()
|
D | GrPathRenderer.cpp | 73 const SkStrokeRec& stroke = style.strokeRec(); in IsStrokeHairlineOrEquivalent()
|
/third_party/skia/src/gpu/ |
D | GrStyle.cpp | 26 if (style.strokeRec().needToApply()) { in KeySize() 63 if (Apply::kPathEffectAndStrokeRec == apply && style.strokeRec().needToApply()) { in WriteKey() 80 cap = style.strokeRec().getCap(); in WriteKey() 87 join = style.strokeRec().getJoin(); in WriteKey() 90 miter = style.strokeRec().getMiter(); in WriteKey() 94 key[i++] = style.strokeRec().getStyle() | in WriteKey() 100 SkScalar width = style.strokeRec().getWidth(); in WriteKey() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() argument 150 if (!SkDashPath::InternalFilter(dst, src, strokeRec, in applyPathEffect() 156 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect() [all …]
|
D | GrStyle.h | 81 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() argument 140 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() function 210 bool applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const;
|
D | GrUtil.cpp | 71 const SkStrokeRec& stroke = style.strokeRec(); in GrIsStrokeHairlineOrEquivalent()
|
D | GrSWMaskHelper.cpp | 76 shape.style().strokeRec().applyToPaint(&paint); in drawShape()
|
/third_party/skia/src/gpu/geometry/ |
D | GrStyledShape.cpp | 360 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrStyledShape() local 361 if (!parent.fStyle.applyPathEffectToPath(&fShape.path(), &strokeRec, *srcForPathEffect, in GrStyledShape() 363 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrStyledShape() 369 SkASSERT(scale == strokeRec.getResScale()); in GrStyledShape() 370 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrStyledShape() 378 tmpParent.init(fShape.path(), GrStyle(strokeRec, nullptr)); in GrStyledShape() 398 fStyle = GrStyle(strokeRec, nullptr); in GrStyledShape() 591 if (!fShape.isArc() || fStyle.strokeRec().getCap() == SkPaint::kButt_Cap) { in simplify() 611 (fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in simplify() 612 fStyle.strokeRec().getStyle() == SkStrokeRec::kHairline_Style || in simplify() [all …]
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrShape.cpp | 443 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrShape() local 444 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect, in GrShape() 446 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrShape() 452 SkASSERT(scale == strokeRec.getResScale()); in GrShape() 453 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrShape() 461 tmpParent.init(this->path(), GrStyle(strokeRec, nullptr)); in GrShape() 481 fStyle = GrStyle(strokeRec, nullptr); in GrShape() 579 if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in attemptToSimplifyPath() 580 this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) { in attemptToSimplifyPath() 632 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style && in attemptToSimplifyRRect() [all …]
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCDrawPathsOp.cpp | 35 const SkStrokeRec& stroke = shape.style().strokeRec(); in Make() 170 !fShape.style().strokeRec().isFillStyle() && fStrokeDevWidth < 1) { in finalize() 174 SkASSERT(SkStrokeRec::kStroke_Style == fShape.style().strokeRec().getStyle()); in finalize() 180 SkStrokeRec hairlineStroke = fShape.style().strokeRec(); in finalize() 253 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() 272 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() 338 auto fillRule = (fShape.style().strokeRec().isFillStyle()) in setupResources()
|
D | GrCoverageCountingPathRenderer.cpp | 97 const SkStrokeRec& stroke = shape.style().strokeRec(); in onCanDrawPath()
|
/third_party/skia/src/gpu/ops/ |
D | TessellationPathRenderer.cpp | 93 shape.style().strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style || in onCanDrawPath() 129 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() 149 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath()
|
D | AALinearizingConvexPathRenderer.cpp | 362 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 402 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath()
|
D | GrOvalOpFactory.cpp | 1001 const SkStrokeRec& stroke = style.strokeRec(); in Make() 1037 const SkStrokeRec& stroke = style.strokeRec(); in CircleOp() 1107 fRoundCaps = style.strokeRec().getWidth() > 0 && in CircleOp() 1108 style.strokeRec().getCap() == SkPaint::kRound_Cap; in CircleOp() 3319 if (style.strokeRec().getCap() != SkPaint::kButt_Cap || in MakeCircleOp() 3320 style.dashIntervalCnt() != 2 || style.strokeRec().getWidth() >= width) { in MakeCircleOp() 3326 GrStyle strokeStyle(style.strokeRec(), nullptr); in MakeCircleOp() 3340 style.strokeRec().getWidth(), kStartAngle, in MakeCircleOp() 3358 return EllipseOp::Make(context, std::move(paint), viewMatrix, oval, style.strokeRec()); in MakeOvalOp() 3370 style.strokeRec()); in MakeOvalOp()
|
D | DashOp.cpp | 1140 SkPaint::Cap cap = style.strokeRec().getCap(); in MakeDashLineOp() 1143 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp() 1210 SkPaint::Cap cap = style.strokeRec().getCap(); in CanDrawDashLine() 1218 if (style.strokeRec().getWidth() > intervals[1]) { in CanDrawDashLine()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrStencilAndCoverPathRenderer.cpp | 40 if (args.fShape->style().strokeRec().isHairlineStyle() || in onCanDrawPath() 88 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); in onDrawPath()
|
D | GrAALinearizingConvexPathRenderer.cpp | 59 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 348 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath()
|
D | GrOvalOpFactory.cpp | 988 const SkStrokeRec& stroke = style.strokeRec(); in Make() 1023 const SkStrokeRec& stroke = style.strokeRec(); in CircleOp() 1090 fRoundCaps = style.strokeRec().getWidth() > 0 && in CircleOp() 1091 style.strokeRec().getCap() == SkPaint::kRound_Cap; in CircleOp() 3062 if (style.strokeRec().getCap() != SkPaint::kButt_Cap || in MakeCircleOp() 3063 style.dashIntervalCnt() != 2 || style.strokeRec().getWidth() >= width) { in MakeCircleOp() 3069 GrStyle strokeStyle(style.strokeRec(), nullptr); in MakeCircleOp() 3083 style.strokeRec().getWidth(), kStartAngle, in MakeCircleOp() 3108 return EllipseOp::Make(context, std::move(paint), viewMatrix, oval, style.strokeRec()); in MakeOvalOp() 3120 style.strokeRec()); in MakeOvalOp()
|
D | GrDashOp.cpp | 61 SkPaint::Cap cap = style.strokeRec().getCap(); in CanDrawDashLine() 69 if (style.strokeRec().getWidth() > intervals[1]) { in CanDrawDashLine() 700 SkPaint::Cap cap = style.strokeRec().getCap(); in MakeDashLineOp() 703 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
|
D | GrStrokeRectOp.cpp | 802 SkStrokeRec strokeRec(strokePaint); in GR_DRAW_OP_TEST_DEFINE() local 807 return NonAAStrokeRectOp::Make(context, std::move(paint), viewMatrix, rect, strokeRec, aaType); in GR_DRAW_OP_TEST_DEFINE()
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceDrawContext.cpp | 748 const SkStrokeRec& stroke = style->strokeRec(); in drawRect() 1038 const SkStrokeRec& stroke = style.strokeRec(); in drawRRect() 1372 const SkStrokeRec& stroke = style.strokeRec(); in drawOval() 1731 shape.style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style && in drawSimpleShape() 1732 shape.style().strokeRec().getCap() != SkPaint::kRound_Cap) { in drawSimpleShape() 1741 !SkDrawTreatAAStrokeAsHairline(shape.style().strokeRec().getWidth(), viewMatrix, in drawSimpleShape() 1744 shape.style().strokeRec()); in drawSimpleShape() 1818 if (!shape.style().strokeRec().isFillStyle() && !shape.isEmpty()) { in drawShapeUsingPathRenderer()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLPath.cpp | 293 stroke = style.strokeRec(); in GrGLPath()
|
/third_party/skia/tests/ |
D | GrStyledShapeTest.cpp | 104 const SkStrokeRec::Style strokeRecStyle = shape.style().strokeRec().getStyle(); in can_interchange_winding_and_even_odd_fill() 663 REPORTER_ASSERT(r, postPEStrokeRec.hasEqualEffect(fAppliedPE->style().strokeRec())); in init() 1303 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* strokeRec, in test_make_hairline_path_effect() argument 1306 strokeRec->setHairlineStyle(); in test_make_hairline_path_effect() 2345 if (style.strokeRec().getWidth() >= 0 && style.strokeRec().getCap() != SkPaint::kButt_Cap) { in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | GrShapeTest.cpp | 104 const SkStrokeRec::Style strokeRecStyle = shape.style().strokeRec().getStyle(); in can_interchange_winding_and_even_odd_fill() 653 REPORTER_ASSERT(r, postPEStrokeRec.hasEqualEffect(fAppliedPE->style().strokeRec())); in init() 1289 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* strokeRec, in test_make_hairline_path_effect() argument 1292 strokeRec->setHairlineStyle(); in test_make_hairline_path_effect() 2327 if (style.strokeRec().getWidth() >= 0 && style.strokeRec().getCap() != SkPaint::kButt_Cap) { in DEF_TEST()
|