Home
last modified time | relevance | path

Searched refs:fPathEffect (Results 1 – 23 of 23) sorted by relevance

/external/skqp/src/gpu/
DGrStyle.h96 fPathEffect = that.fPathEffect;
104 fPathEffect.reset(nullptr); in resetToInitStyle()
113 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
116 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
118 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect()
119 sk_sp<SkPathEffect> refPathEffect() const { return fPathEffect; } in refPathEffect()
121 bool hasPathEffect() const { return SkToBool(fPathEffect.get()); } in hasPathEffect()
123 bool hasNonDashPathEffect() const { return fPathEffect.get() && !this->isDashed(); } in hasNonDashPathEffect()
211 sk_sp<SkPathEffect> fPathEffect; variable
DGrStyle.cpp107 SkASSERT(!fPathEffect); in initPathEffect()
122 fPathEffect = std::move(pe); in initPathEffect()
125 fPathEffect = std::move(pe); in initPathEffect()
130 if (!fPathEffect) { in applyPathEffect()
151 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
179 } else if (fPathEffect) { in applyToPath()
188 } else if (!fPathEffect) { in applyToPath()
/external/skia/src/gpu/
DGrStyle.h96 fPathEffect = that.fPathEffect;
104 fPathEffect.reset(nullptr); in resetToInitStyle()
113 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
116 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
118 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect()
119 sk_sp<SkPathEffect> refPathEffect() const { return fPathEffect; } in refPathEffect()
121 bool hasPathEffect() const { return SkToBool(fPathEffect.get()); } in hasPathEffect()
123 bool hasNonDashPathEffect() const { return fPathEffect.get() && !this->isDashed(); } in hasNonDashPathEffect()
211 sk_sp<SkPathEffect> fPathEffect; variable
DGrStyle.cpp107 SkASSERT(!fPathEffect); in initPathEffect()
122 fPathEffect = std::move(pe); in initPathEffect()
125 fPathEffect = std::move(pe); in initPathEffect()
130 if (!fPathEffect) { in applyPathEffect()
151 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
179 } else if (fPathEffect) { in applyToPath()
188 } else if (!fPathEffect) { in applyToPath()
/external/skqp/src/core/
DSkScalerContext.h35 SkScalerContextEffects() : fPathEffect(nullptr), fMaskFilter(nullptr) {} in SkScalerContextEffects()
37 : fPathEffect(pe), fMaskFilter(mf) {} in SkScalerContextEffects()
39 : fPathEffect(paint.getPathEffect()) in SkScalerContextEffects()
42 SkPathEffect* fPathEffect; member
304 return { fPathEffect.get(), fMaskFilter.get() }; in getEffects()
378 sk_sp<SkPathEffect> fPathEffect; variable
DSkScalerContext.cpp74 , fPathEffect(sk_ref_sp(effects.fPathEffect)) in SkScalerContext()
77 , fGenerateImageFromPath(fRec.fFrameWidth > 0 || fPathEffect != nullptr) in SkScalerContext()
570 if (fRec.fFrameWidth > 0 || fPathEffect != nullptr) { in internalGetPath()
598 if (fPathEffect) { in internalGetPath()
600 if (fPathEffect->filterPath(&effectPath, localPath, &rec, nullptr)) { in internalGetPath()
1071 if (effects->fPathEffect) { in MakeRecAndEffects()
1135 if (effects.fPathEffect) { in calculate_size_and_flatten()
1136 effects.fPathEffect->flatten(*pathEffectBuffer); in calculate_size_and_flatten()
1184 if (effects.fPathEffect) { in test_desc()
1216 if (effects.fPathEffect) { in generate_descriptor()
DSkPaint.cpp73 , COPY(fPathEffect) in SkPaint()
93 MOVE(fPathEffect); in SkPaint()
119 ASSIGN(fPathEffect); in operator =()
145 MOVE(fPathEffect); in operator =()
167 && EQUAL(fPathEffect) in operator ==()
1500 if (fPathEffect && fPathEffect->filterPath(&tmpPath, src, &rec, cullRect)) { in getFillPath()
/external/skia/src/core/
DSkScalerContext.h37 SkScalerContextEffects() : fPathEffect(nullptr), fMaskFilter(nullptr) {} in SkScalerContextEffects()
39 : fPathEffect(pe), fMaskFilter(mf) {} in SkScalerContextEffects()
41 : fPathEffect(paint.getPathEffect()) in SkScalerContextEffects()
44 SkPathEffect* fPathEffect; member
334 return { fPathEffect.get(), fMaskFilter.get() }; in getEffects()
408 sk_sp<SkPathEffect> fPathEffect; variable
DSkScalerContext.cpp74 , fPathEffect(sk_ref_sp(effects.fPathEffect)) in SkScalerContext()
77 , fGenerateImageFromPath(fRec.fFrameWidth > 0 || fPathEffect != nullptr) in SkScalerContext()
564 if (fRec.fFrameWidth > 0 || fPathEffect != nullptr) { in internalGetPath()
592 if (fPathEffect) { in internalGetPath()
594 if (fPathEffect->filterPath(&effectPath, localPath, &rec, nullptr)) { in internalGetPath()
1063 if (effects->fPathEffect) { in MakeRecAndEffects()
1136 if (effects.fPathEffect) { in calculate_size_and_flatten()
1137 effects.fPathEffect->flatten(*pathEffectBuffer); in calculate_size_and_flatten()
1185 if (effects.fPathEffect) { in test_desc()
1217 if (effects.fPathEffect) { in generate_descriptor()
DSkPaint.cpp73 , COPY(fPathEffect) in SkPaint()
93 MOVE(fPathEffect); in SkPaint()
119 ASSIGN(fPathEffect); in operator =()
145 MOVE(fPathEffect); in operator =()
167 && EQUAL(fPathEffect) in operator ==()
1498 if (fPathEffect && fPathEffect->filterPath(&tmpPath, src, &rec, cullRect)) { in getFillPath()
/external/skqp/bench/
DDashBench.cpp254 sk_sp<SkPathEffect> fPathEffect; member in DrawPointsDashingBench
264 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench()
278 p.setPathEffect(fPathEffect); in onDraw()
301 sk_sp<SkPathEffect> fPathEffect; member in GiantDashBench
324 fPathEffect = SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0); in GiantDashBench()
362 p.setPathEffect(fPathEffect); in onDraw()
380 sk_sp<SkPathEffect> fPathEffect; member in DashGridBench
389 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
403 p.setPathEffect(fPathEffect); in onDraw()
/external/skia/bench/
DDashBench.cpp254 sk_sp<SkPathEffect> fPathEffect; member in DrawPointsDashingBench
264 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench()
278 p.setPathEffect(fPathEffect); in onDraw()
301 sk_sp<SkPathEffect> fPathEffect; member in GiantDashBench
324 fPathEffect = SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0); in GiantDashBench()
362 p.setPathEffect(fPathEffect); in onDraw()
380 sk_sp<SkPathEffect> fPathEffect; member in DashGridBench
389 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
403 p.setPathEffect(fPathEffect); in onDraw()
/external/skia/gm/
Dinversepaths.cpp44 , fPathEffect(std::move(pe)) {} in Style()
46 sk_sp<SkPathEffect> fPathEffect; member
115 paint.setPathEffect(styles[styleIndex].fPathEffect);
/external/skqp/gm/
Dinversepaths.cpp44 , fPathEffect(std::move(pe)) {} in Style()
46 sk_sp<SkPathEffect> fPathEffect; member
115 paint.setPathEffect(styles[styleIndex].fPathEffect);
/external/skia/src/gpu/text/
DGrAtlasTextBlobVertexRegenerator.cpp245 effects.fPathEffect = fRun->fPathEffect.get(); in doRegen()
DGrAtlasTextBlob.cpp71 run->fPathEffect = sk_ref_sp(effects.fPathEffect); in setupCache()
DGrAtlasTextBlob.h477 sk_sp<SkPathEffect> fPathEffect; member
/external/skqp/src/gpu/text/
DGrAtlasTextBlobVertexRegenerator.cpp241 effects.fPathEffect = fRun->fPathEffect.get(); in doRegen()
DGrAtlasTextBlob.cpp65 run->fPathEffect = sk_ref_sp(effects.fPathEffect); in setupCache()
DGrAtlasTextBlob.h490 sk_sp<SkPathEffect> fPathEffect; member
/external/skia/tools/viewer/
DViewer.h42 bool fPathEffect = false; member
/external/skqp/include/core/
DSkPaint.h818 SkPathEffect* getPathEffect() const { return fPathEffect.get(); } in getPathEffect()
1644 sk_sp<SkPathEffect> fPathEffect; variable
/external/skia/include/core/
DSkPaint.h821 SkPathEffect* getPathEffect() const { return fPathEffect.get(); } in getPathEffect()
1647 sk_sp<SkPathEffect> fPathEffect; variable