Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrStyle.h97 fPathEffect = that.fPathEffect;
105 fPathEffect.reset(nullptr); in resetToInitStyle()
114 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
117 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
119 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect()
120 sk_sp<SkPathEffect> refPathEffect() const { return fPathEffect; } in refPathEffect()
122 bool hasPathEffect() const { return SkToBool(fPathEffect.get()); } in hasPathEffect()
124 bool hasNonDashPathEffect() const { return fPathEffect.get() && !this->isDashed(); } in hasNonDashPathEffect()
212 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/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/core/
DSkScalerContext.h216 SkScalerContextEffects() : fPathEffect(nullptr), fMaskFilter(nullptr) {} in SkScalerContextEffects()
218 : fPathEffect(pe), fMaskFilter(mf) {} in SkScalerContextEffects()
220 : fPathEffect(paint.getPathEffect()) in SkScalerContextEffects()
223 SkPathEffect* fPathEffect; member
345 return { fPathEffect.get(), fMaskFilter.get() }; in getEffects()
409 sk_sp<SkPathEffect> fPathEffect; variable
DSkStrikeSpec.cpp208 fPathEffect = sk_ref_sp(effects.fPathEffect); in SkStrikeSpec()
213 SkScalerContextEffects effects{fPathEffect.get(), fMaskFilter.get()}; in findOrCreateScopedStrike()
218 SkScalerContextEffects effects{fPathEffect.get(), fMaskFilter.get()}; in findOrCreateStrike()
DSkScalerContext.cpp79 , fPathEffect(sk_ref_sp(effects.fPathEffect)) in SkScalerContext()
82 , fGenerateImageFromPath(fRec.fFrameWidth >= 0 || fPathEffect != nullptr) in SkScalerContext()
718 if (fRec.fFrameWidth >= 0 || fPathEffect != nullptr) { in internalGetPath()
746 if (fPathEffect) { in internalGetPath()
748 if (fPathEffect->filterPath(&effectPath, localPath, &rec, nullptr)) { in internalGetPath()
1158 if (effects.fPathEffect || effects.fMaskFilter) { in calculate_size_and_flatten()
1159 if (effects.fPathEffect) { effectBuffer->writeFlattenable(effects.fPathEffect); } in calculate_size_and_flatten()
DSkPaint.cpp76 return EQUAL(fPathEffect) in operator ==()
347 if (fPathEffect && fPathEffect->filterPath(&tmpPath, src, &rec, cullRect)) { in getFillPath()
DSkStrikeSpec.h105 sk_sp<SkPathEffect> fPathEffect; variable
/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.cpp252 sk_sp<SkPathEffect> fPathEffect; member in DrawPointsDashingBench
262 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench()
276 p.setPathEffect(fPathEffect); in onDraw()
299 sk_sp<SkPathEffect> fPathEffect; member in GiantDashBench
322 fPathEffect = SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0); in GiantDashBench()
360 p.setPathEffect(fPathEffect); in onDraw()
378 sk_sp<SkPathEffect> fPathEffect; member in DashGridBench
387 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
401 p.setPathEffect(fPathEffect); in onDraw()
/external/skqp/src/core/
DSkScalerContext.h41 SkScalerContextEffects() : fPathEffect(nullptr), fMaskFilter(nullptr) {} in SkScalerContextEffects()
43 : fPathEffect(pe), fMaskFilter(mf) {} in SkScalerContextEffects()
45 : fPathEffect(paint.getPathEffect()) in SkScalerContextEffects()
48 SkPathEffect* fPathEffect; member
349 return { fPathEffect.get(), fMaskFilter.get() }; in getEffects()
417 sk_sp<SkPathEffect> fPathEffect; variable
DSkPaint.cpp62 : COPY(fPathEffect) in SkPaint()
77 MOVE(fPathEffect); in SkPaint()
98 ASSIGN(fPathEffect); in operator =()
119 MOVE(fPathEffect); in operator =()
136 return EQUAL(fPathEffect) in operator ==()
524 if (fPathEffect && fPathEffect->filterPath(&tmpPath, src, &rec, cullRect)) { in getFillPath()
DSkScalerContext.cpp48 , fPathEffect(sk_ref_sp(effects.fPathEffect)) in SkScalerContext()
51 , fGenerateImageFromPath(fRec.fFrameWidth > 0 || fPathEffect != nullptr) in SkScalerContext()
573 if (fRec.fFrameWidth > 0 || fPathEffect != nullptr) { in internalGetPath()
601 if (fPathEffect) { in internalGetPath()
603 if (fPathEffect->filterPath(&effectPath, localPath, &rec, nullptr)) { in internalGetPath()
1117 if (effects.fPathEffect || effects.fMaskFilter) { in calculate_size_and_flatten()
1118 if (effects.fPathEffect) { effectBuffer->writeFlattenable(effects.fPathEffect); } in calculate_size_and_flatten()
/external/skia/gm/
Dinversepaths.cpp41 , fPathEffect(std::move(pe)) {} in Style()
43 sk_sp<SkPathEffect> fPathEffect; member
112 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/skqp/include/core/
DSkPaint.h483 SkPathEffect* getPathEffect() const { return fPathEffect.get(); } in getPathEffect()
670 sk_sp<SkPathEffect> fPathEffect;
/external/skia/include/core/
DSkPaint.h520 SkPathEffect* getPathEffect() const { return fPathEffect.get(); } in getPathEffect()
689 sk_sp<SkPathEffect> fPathEffect;
/external/skqp/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp172 effects.fPathEffect = fRun->fPathEffect.get(); in doRegen()
DGrTextBlob.cpp64 fPathEffect = sk_ref_sp(effects.fPathEffect); in setupFont()
DGrTextBlob.h498 sk_sp<SkPathEffect> fPathEffect; member
/external/skqp/tools/viewer/
DViewer.h56 bool fPathEffect = false; member
/external/skia/tools/viewer/
DViewer.h67 bool fPathEffect = false; member