Home
last modified time | relevance | path

Searched refs:fStrokeRec (Results 1 – 5 of 5) sorted by relevance

/external/skqp/src/gpu/
DGrStyle.h78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle()
80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle()
86 explicit GrStyle(const SkPaint& paint) : fStrokeRec(paint) { in GrStyle()
91 : fStrokeRec(paint, overrideStyle) { in GrStyle()
98 fStrokeRec = that.fStrokeRec;
106 fStrokeRec.setFillStyle(); in resetToInitStyle()
108 fStrokeRec.setHairlineStyle(); in resetToInitStyle()
113 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
116 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
139 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec()
[all …]
DGrStyle.cpp115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect()
161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath()
174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath()
/external/skia/src/gpu/
DGrStyle.h79 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle()
81 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle()
87 explicit GrStyle(const SkPaint& paint) : fStrokeRec(paint) { in GrStyle()
92 : fStrokeRec(paint, overrideStyle) { in GrStyle()
99 fStrokeRec = that.fStrokeRec;
107 fStrokeRec.setFillStyle(); in resetToInitStyle()
109 fStrokeRec.setHairlineStyle(); in resetToInitStyle()
114 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
117 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
140 const SkStrokeRec& strokeRec() const { return fStrokeRec; } in strokeRec()
[all …]
DGrStyle.cpp115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect()
161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath()
174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath()
/external/skia/bench/
DTessellateBench.cpp388 fStrokeRec.setStrokeStyle(8); in onDelayedSetup()
389 fStrokeRec.setStrokeParams(SkPaint::kButt_Cap, fJoin, 4); in onDelayedSetup()
399 GrStrokeTessellator::PathStrokeList pathStroke(path, fStrokeRec, SK_PMColor4fWHITE); in onDraw()
413 SkStrokeRec fStrokeRec{SkStrokeRec::kHairline_InitStyle}; member in GrStrokeIndirectTessellator::Benchmark