/external/skia/src/core/ |
D | SkStrokeRec.cpp | 14 SkStrokeRec::SkStrokeRec(InitStyle s) { in SkStrokeRec() function in SkStrokeRec 23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec() function in SkStrokeRec 27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec() function in SkStrokeRec 31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init() 67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() 77 void SkStrokeRec::setFillStyle() { in setFillStyle() 82 void SkStrokeRec::setHairlineStyle() { in setHairlineStyle() 87 void SkStrokeRec::setStrokeStyle(SkScalar width, bool strokeAndFill) { in setStrokeStyle() 105 bool SkStrokeRec::applyToPath(SkPath* dst, const SkPath& src) const { in applyToPath() 125 void SkStrokeRec::applyToPaint(SkPaint* paint) const { in applyToPaint() [all …]
|
/external/skqp/src/core/ |
D | SkStrokeRec.cpp | 14 SkStrokeRec::SkStrokeRec(InitStyle s) { in SkStrokeRec() function in SkStrokeRec 23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec() function in SkStrokeRec 27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec() function in SkStrokeRec 31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init() 67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() 77 void SkStrokeRec::setFillStyle() { in setFillStyle() 82 void SkStrokeRec::setHairlineStyle() { in setHairlineStyle() 87 void SkStrokeRec::setStrokeStyle(SkScalar width, bool strokeAndFill) { in setStrokeStyle() 105 bool SkStrokeRec::applyToPath(SkPath* dst, const SkPath& src) const { in applyToPath() 125 void SkStrokeRec::applyToPaint(SkPaint* paint) const { in applyToPaint() [all …]
|
/external/skqp/src/gpu/ |
D | GrStyle.cpp | 73 GR_STATIC_ASSERT(SkStrokeRec::kStyleCount <= (1 << kStyleBits)); in WriteKey() 115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect() 116 if (recStyle != SkStrokeRec::kFill_Style && recStyle != SkStrokeRec::kStrokeAndFill_Style) { in initPathEffect() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() 158 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, in applyPathEffectToPath() 161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath() 170 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, in applyToPath() 174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath() 187 *style = SkStrokeRec::kFill_InitStyle; in applyToPath() 192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath() [all …]
|
D | GrStyle.h | 30 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); in SimpleFill() 39 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); in SimpleHairline() 76 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {} in GrStyle() 78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle() 80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() 102 void resetToInitStyle(SkStrokeRec::InitStyle fillOrHairline) { in resetToInitStyle() 105 if (SkStrokeRec::kFill_InitStyle == fillOrHairline) { in resetToInitStyle() 139 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() 158 bool SK_WARN_UNUSED_RESULT applyPathEffectToPath(SkPath* dst, SkStrokeRec* remainingStoke, 168 bool SK_WARN_UNUSED_RESULT applyToPath(SkPath* dst, SkStrokeRec::InitStyle* fillOrHairline, [all …]
|
D | GrTestUtils.cpp | 240 static void randomize_stroke_rec(SkStrokeRec* rec, SkRandom* random) { in randomize_stroke_rec() 251 SkStrokeRec TestStrokeRec(SkRandom* random) { in TestStrokeRec() 252 SkStrokeRec::InitStyle style = in TestStrokeRec() 253 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec() 254 SkStrokeRec rec(style); in TestStrokeRec() 260 SkStrokeRec::InitStyle initStyle = in TestStyle() 261 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStyle() 262 SkStrokeRec stroke(initStyle); in TestStyle() 288 bool TestDashPathEffect::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath()
|
/external/skia/src/gpu/ |
D | GrStyle.cpp | 73 static_assert(SkStrokeRec::kStyleCount <= (1 << kStyleBits)); in WriteKey() 115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect() 116 if (recStyle != SkStrokeRec::kFill_Style && recStyle != SkStrokeRec::kStrokeAndFill_Style) { in initPathEffect() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() 158 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, in applyPathEffectToPath() 161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath() 170 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, in applyToPath() 174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath() 187 *style = SkStrokeRec::kFill_InitStyle; in applyToPath() 192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath() [all …]
|
D | GrStyle.h | 31 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); in SimpleFill() 40 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); in SimpleHairline() 77 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {} in GrStyle() 79 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle() 81 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() 103 void resetToInitStyle(SkStrokeRec::InitStyle fillOrHairline) { in resetToInitStyle() 106 if (SkStrokeRec::kFill_InitStyle == fillOrHairline) { in resetToInitStyle() 140 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec() 159 bool SK_WARN_UNUSED_RESULT applyPathEffectToPath(SkPath* dst, SkStrokeRec* remainingStoke, 169 bool SK_WARN_UNUSED_RESULT applyToPath(SkPath* dst, SkStrokeRec::InitStyle* fillOrHairline, [all …]
|
D | GrTestUtils.cpp | 247 static void randomize_stroke_rec(SkStrokeRec* rec, SkRandom* random) { in randomize_stroke_rec() 258 SkStrokeRec TestStrokeRec(SkRandom* random) { in TestStrokeRec() 259 SkStrokeRec::InitStyle style = in TestStrokeRec() 260 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec() 261 SkStrokeRec rec(style); in TestStrokeRec() 267 SkStrokeRec::InitStyle initStyle = in TestStyle() 268 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStyle() 269 SkStrokeRec stroke(initStyle); in TestStyle() 295 bool TestDashPathEffect::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath()
|
/external/skia/tests/ |
D | StrokeTest.cpp | 91 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 92 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 118 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 119 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 135 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 136 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
|
/external/skqp/tests/ |
D | StrokeTest.cpp | 90 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 91 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 117 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 118 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 134 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() 135 SkStrokeRec s2(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality()
|
/external/skqp/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 58 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 60 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath() 61 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath() 66 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath() 76 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath() 128 SkStrokeRec::Style style, in Make() 143 SkStrokeRec::Style style, in AAFlatteningConvexPathOp() 319 SkStrokeRec::Style fStyle; 343 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() 363 SkStrokeRec::Style styles[3] = { SkStrokeRec::kFill_Style, in GR_DRAW_OP_TEST_DEFINE() [all …]
|
/external/skia/src/effects/ |
D | SkOpPathEffect.cpp | 23 bool SkOpPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath() 114 bool SkMatrixPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 142 bool SkStrokePE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 143 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); in onFilterPath() 151 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); in computeFastBounds() 197 bool SkStrokeAndFillPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath() 201 if (rec->getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onFilterPath() 206 if (rec->getStyle() == SkStrokeRec::kStroke_Style) { in onFilterPath()
|
D | SkOpPE.h | 20 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 40 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 63 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 84 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override;
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 59 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 61 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath() 62 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath() 67 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath() 77 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath() 141 SkStrokeRec::Style style, in Make() 156 SkStrokeRec::Style style, in AAFlatteningConvexPathOp() 374 SkStrokeRec::Style fStyle; 400 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() 420 SkStrokeRec::Style styles[3] = { SkStrokeRec::kFill_Style, in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | GrOvalOpFactory.h | 22 class SkStrokeRec; variable 47 const SkStrokeRec&, 54 const SkStrokeRec&,
|
/external/skia/include/core/ |
D | SkStrokeRec.h | 17 class SK_API SkStrokeRec { 23 SkStrokeRec(InitStyle style); 24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1); 25 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1); 125 bool hasEqualEffect(const SkStrokeRec& other) const { in hasEqualEffect()
|
D | SkPathEffect.h | 17 class SkStrokeRec; variable 61 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect* cullR) const; 109 const SkStrokeRec&, const SkMatrix&, 161 virtual bool onFilterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const = 0; 162 virtual bool onAsPoints(PointData*, const SkPath&, const SkStrokeRec&, const SkMatrix&, in onAsPoints() argument
|
/external/skqp/include/core/ |
D | SkPathEffect.h | 17 class SkStrokeRec; variable 61 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect* cullR) const; 115 const SkStrokeRec&, const SkMatrix&, 167 virtual bool onFilterPath(SkPath*, const SkPath&, SkStrokeRec*, const SkRect*) const = 0; 171 virtual bool onAsPoints(PointData*, const SkPath&, const SkStrokeRec&, const SkMatrix&, in onAsPoints() argument
|
D | SkStrokeRec.h | 17 class SkStrokeRec { 23 SkStrokeRec(InitStyle style); 24 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1); 25 explicit SkStrokeRec(const SkPaint&, SkScalar resScale = 1); 125 bool hasEqualEffect(const SkStrokeRec& other) const { in hasEqualEffect()
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeTessellateShader.h | 79 static float GetJoinType(const SkStrokeRec& stroke) { in GetJoinType() 90 static bool StrokesHaveEqualDynamicState(const SkStrokeRec& a, const SkStrokeRec& b) { in StrokesHaveEqualDynamicState() 94 void set(const SkStrokeRec& stroke) { in set() 104 const SkStrokeRec& stroke, SkPMColor4f color) in GrStrokeTessellateShader() 188 const SkStrokeRec fStroke;
|
/external/skia/modules/sksg/src/ |
D | SkSGGeometryEffect.cpp | 65 SkStrokeRec rec(SkStrokeRec::kHairline_InitStyle); in onRevalidateEffect() 122 SkStrokeRec rec(SkStrokeRec::kHairline_InitStyle); in onRevalidateEffect() 133 SkStrokeRec rec(SkStrokeRec::kHairline_InitStyle); in onRevalidateEffect()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.cpp | 67 const SkStrokeRec& stroke = shape.style().strokeRec(); in onCanDrawPath() 69 case SkStrokeRec::kFill_Style: { in onCanDrawPath() 104 case SkStrokeRec::kStroke_Style: in onCanDrawPath() 112 case SkStrokeRec::kHairline_Style: { in onCanDrawPath() 128 case SkStrokeRec::kStrokeAndFill_Style: in onCanDrawPath() 317 const SkStrokeRec& stroke, in GetStrokeDevWidth() 323 SkASSERT(SkStrokeRec::kStroke_Style == stroke.getStyle()); in GetStrokeDevWidth() 331 *inflationRadius = SkStrokeRec::GetInflationRadius( in GetStrokeDevWidth()
|
/external/skqp/src/effects/ |
D | SkOpPathEffect.cpp | 21 bool SkOpPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in onFilterPath() 74 bool SkMatrixPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 102 bool SkStrokePE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const { in onFilterPath() argument 103 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle); in onFilterPath()
|
D | SkOpPE.h | 20 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 38 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override; 54 bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override;
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 78 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { in outset_for_stroke() 158 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, in cull_path() 222 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, in init() 288 bool SkDashPath::InternalFilter(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in InternalFilter() 297 SkStrokeRec::Style style = rec->getStyle(); in InternalFilter() 298 if (SkStrokeRec::kFill_Style == style || SkStrokeRec::kStrokeAndFill_Style == style) { in InternalFilter() 437 bool SkDashPath::FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in FilterDashPath()
|