/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 | 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/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 | GrSWMaskHelper.cpp | 58 shape.style().strokeRec().applyToPaint(&paint); in drawShape()
|
D | GrPathRenderer.cpp | 77 const SkStrokeRec& stroke = style.strokeRec(); in IsStrokeHairlineOrEquivalent()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCDrawPathsOp.cpp | 34 const SkStrokeRec& stroke = shape.style().strokeRec(); in Make() 160 !fShape.style().strokeRec().isFillStyle() && fStrokeDevWidth < 1) { in finalize() 164 SkASSERT(SkStrokeRec::kStroke_Style == fShape.style().strokeRec().getStyle()); in finalize() 170 SkStrokeRec hairlineStroke = fShape.style().strokeRec(); in finalize() 243 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() 262 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() 329 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/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/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() 347 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() 1089 fRoundCaps = style.strokeRec().getWidth() > 0 && in CircleOp() 1090 style.strokeRec().getCap() == SkPaint::kRound_Cap; in CircleOp() 3007 if (style.strokeRec().getCap() != SkPaint::kButt_Cap || in MakeOvalOp() 3008 style.dashIntervalCnt() != 2 || style.strokeRec().getWidth() >= width) { in MakeOvalOp() 3014 GrStyle strokeStyle(style.strokeRec(), nullptr); in MakeOvalOp() 3028 style.strokeRec().getWidth(), kStartAngle, in MakeOvalOp() 3040 return EllipseOp::Make(context, std::move(paint), viewMatrix, oval, style.strokeRec()); in MakeOvalOp() 3052 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() 699 SkPaint::Cap cap = style.strokeRec().getCap(); in MakeDashLineOp() 702 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
|
/external/skia/src/gpu/gl/ |
D | GrGLPath.cpp | 293 stroke = style.strokeRec(); in GrGLPath()
|
/external/skqp/src/gpu/gl/ |
D | GrGLPath.cpp | 293 stroke = style.strokeRec(); in GrGLPath()
|