/external/skqp/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 | GrShape.cpp | 445 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrShape() local 446 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect, in GrShape() 448 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrShape() 454 SkASSERT(scale == strokeRec.getResScale()); in GrShape() 455 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrShape() 463 tmpParent.init(this->path(), GrStyle(strokeRec, nullptr)); in GrShape() 483 fStyle = GrStyle(strokeRec, nullptr); in GrShape() 581 if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in attemptToSimplifyPath() 582 this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) { in attemptToSimplifyPath() 634 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style && in attemptToSimplifyRRect() [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 | GrPathRenderer.cpp | 77 const SkStrokeRec& stroke = style.strokeRec(); in IsStrokeHairlineOrEquivalent()
|
D | GrSWMaskHelper.cpp | 58 shape.style().strokeRec().applyToPaint(&paint); in drawShape()
|
/external/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 | 81 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() argument 140 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() function 209 bool applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const;
|
D | GrPathRenderer.cpp | 75 const SkStrokeRec& stroke = style.strokeRec(); in IsStrokeHairlineOrEquivalent()
|
D | GrSurfaceDrawContext.cpp | 758 const SkStrokeRec& stroke = style->strokeRec(); in drawRect() 1036 const SkStrokeRec& stroke = style.strokeRec(); in drawRRect() 1376 const SkStrokeRec& stroke = style.strokeRec(); in drawOval() 1711 shape.style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style && in drawSimpleShape() 1712 shape.style().strokeRec().getCap() != SkPaint::kRound_Cap) { in drawSimpleShape() 1721 !SkDrawTreatAAStrokeAsHairline(shape.style().strokeRec().getWidth(), viewMatrix, in drawSimpleShape() 1724 shape.style().strokeRec()); in drawSimpleShape() 1794 if (!shape.style().strokeRec().isFillStyle() && !shape.isEmpty()) { in drawShapeUsingPathRenderer()
|
D | GrSWMaskHelper.cpp | 76 shape.style().strokeRec().applyToPaint(&paint); in drawShape()
|
/external/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 …]
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCDrawPathsOp.cpp | 34 const SkStrokeRec& stroke = shape.style().strokeRec(); in Make() 157 !fShape.style().strokeRec().isFillStyle() && fStrokeDevWidth < 1) { in finalize() 161 SkASSERT(SkStrokeRec::kStroke_Style == fShape.style().strokeRec().getStyle()); in finalize() 167 SkStrokeRec hairlineStroke = fShape.style().strokeRec(); in finalize() 240 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() 259 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() 326 auto doEvenOddFill = DoEvenOddFill(fShape.style().strokeRec().isFillStyle() && in setupResources()
|
D | GrCoverageCountingPathRenderer.cpp | 67 const SkStrokeRec& stroke = shape.style().strokeRec(); in onCanDrawPath()
|
/external/skqp/src/gpu/ops/ |
D | GrStencilAndCoverPathRenderer.cpp | 41 if (args.fShape->style().strokeRec().isHairlineStyle() || in onCanDrawPath() 91 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); in onDrawPath()
|
D | GrAALinearizingConvexPathRenderer.cpp | 58 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 343 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath()
|
D | GrOvalOpFactory.cpp | 914 const SkStrokeRec& stroke = style.strokeRec(); in Make() 949 const SkStrokeRec& stroke = style.strokeRec(); in CircleOp() 1015 fRoundCaps = style.strokeRec().getWidth() > 0 && in CircleOp() 1016 style.strokeRec().getCap() == SkPaint::kRound_Cap; in CircleOp() 2865 if (style.strokeRec().getCap() != SkPaint::kButt_Cap || in MakeOvalOp() 2866 style.dashIntervalCnt() != 2 || style.strokeRec().getWidth() >= width) { in MakeOvalOp() 2872 GrStyle strokeStyle(style.strokeRec(), nullptr); in MakeOvalOp() 2886 style.strokeRec().getWidth(), kStartAngle, in MakeOvalOp() 2898 return EllipseOp::Make(context, std::move(paint), viewMatrix, oval, style.strokeRec()); in MakeOvalOp() 2910 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() 693 SkPaint::Cap cap = style.strokeRec().getCap(); in MakeDashLineOp() 696 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
|
D | GrStrokeRectOp.cpp | 787 SkStrokeRec strokeRec(strokePaint); in GR_DRAW_OP_TEST_DEFINE() local 792 return NonAAStrokeRectOp::Make(context, std::move(paint), viewMatrix, rect, strokeRec, aaType); in GR_DRAW_OP_TEST_DEFINE()
|
/external/skia/src/gpu/tessellate/ |
D | GrTessellationPathRenderer.cpp | 134 shape.style().strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style || in onCanDrawPath() 175 const SkStrokeRec& stroke = shape.style().strokeRec(); in make_op() 213 const SkStrokeRec& stroke = shape.style().strokeRec(); in make_op()
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 59 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 400 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath()
|
D | GrDashOp.cpp | 62 SkPaint::Cap cap = style.strokeRec().getCap(); in CanDrawDashLine() 70 if (style.strokeRec().getWidth() > intervals[1]) { in CanDrawDashLine() 751 SkPaint::Cap cap = style.strokeRec().getCap(); in MakeDashLineOp() 754 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
|
D | GrOvalOpFactory.cpp | 1035 const SkStrokeRec& stroke = style.strokeRec(); in Make() 1071 const SkStrokeRec& stroke = style.strokeRec(); in CircleOp() 1141 fRoundCaps = style.strokeRec().getWidth() > 0 && in CircleOp() 1142 style.strokeRec().getCap() == SkPaint::kRound_Cap; in CircleOp() 3306 if (style.strokeRec().getCap() != SkPaint::kButt_Cap || in MakeCircleOp() 3307 style.dashIntervalCnt() != 2 || style.strokeRec().getWidth() >= width) { in MakeCircleOp() 3313 GrStyle strokeStyle(style.strokeRec(), nullptr); in MakeCircleOp() 3327 style.strokeRec().getWidth(), kStartAngle, in MakeCircleOp() 3352 return EllipseOp::Make(context, std::move(paint), viewMatrix, oval, style.strokeRec()); in MakeOvalOp() 3364 style.strokeRec()); in MakeOvalOp()
|
D | GrStrokeRectOp.cpp | 886 SkStrokeRec strokeRec(strokePaint); in GR_DRAW_OP_TEST_DEFINE() local 891 return NonAAStrokeRectOp::Make(context, std::move(paint), viewMatrix, rect, strokeRec, aaType); in GR_DRAW_OP_TEST_DEFINE()
|
/external/skqp/src/gpu/gl/ |
D | GrGLPath.cpp | 293 stroke = style.strokeRec(); in GrGLPath()
|
/external/skqp/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()
|